/* ══════════════════════════════════════════
   CONVERS BRAND — INNER PAGES (Oct 2026)
   Loaded after css/home.css, which holds the
   tokens, fonts, nav, footer, buttons and cursor.
══════════════════════════════════════════ */

/* ══════════════════════════════════════════
   PAGE HERO
══════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: clamp(8rem, 15vh, 10rem) 0 clamp(4.5rem, 8vw, 6.5rem);
  overflow: hidden;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.page-hero h1 { font-size: clamp(3rem, 6.6vw, 6.6rem); margin-bottom: 1.6rem; }
.page-hero h1 .hand { display: inline-block; font-size: 1.3em; padding: 0 0.1em; }
.page-hero .lead { font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: var(--muted); max-width: 44ch; margin-bottom: 2.2rem; }
.page-hero.is-center { text-align: center; }
.page-hero.is-center .lead { margin-left: auto; margin-right: auto; }
.page-hero.is-center .hero-actions { justify-content: center; }
.page-hero.is-short { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.page-hero.is-short h1 { font-size: clamp(2.8rem, 5.6vw, 5.4rem); }

.pill-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.7rem 1.2rem; border-radius: 999px;
  border: 1.5px solid var(--plum);
}
.pill.is-soon { border-style: dashed; color: var(--muted); border-color: var(--muted); }
.pill.is-soon::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--marigold); }

/* Arch portrait (hero side) */
.arch-visual {
  position: relative;
  width: 100%; max-width: 400px;
  aspect-ratio: 4 / 5;
  justify-self: end;
}
.arch-visual .sun {
  position: absolute; inset: -5% -9% 7% 11%;
  border-radius: 999px 999px 24px 24px;
  background: var(--marigold);
}
.arch-visual .arch {
  position: absolute; inset: 0;
  border-radius: 999px 999px 24px 24px; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(21,20,18,0.45);
}
.arch-visual .arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.arch-visual .arch-note {
  position: absolute; left: -18%; bottom: -11%;
  font-size: clamp(1.8rem, 2.4vw, 2.4rem); color: var(--magenta);
  rotate: -6deg; white-space: nowrap;
}

@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .arch-visual { justify-self: center; max-width: 300px; }
  .arch-visual .arch-note { left: -6%; bottom: -8%; }
}

/* ══════════════════════════════════════════
   GENERIC SECTIONS
══════════════════════════════════════════ */
.sec { padding: clamp(5rem, 9vw, 7.5rem) 0; position: relative; }
.sec.is-plum    { background: var(--plum); color: var(--on-dark); }
.sec.is-magenta { background: var(--magenta); color: var(--on-dark); }
.sec.is-paper   { background: var(--paper); }
.sec.is-marigold { background: var(--marigold); }
.sec.is-plum .display em, .sec.is-magenta .display em { color: var(--marigold); }
.sec.is-plum.round-top { border-radius: 48px 48px 0 0; }

.sec h2.display { font-size: clamp(2.4rem, 5vw, 4.8rem); margin-bottom: 1.6rem; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.split p { color: var(--muted); margin-bottom: 1.2rem; max-width: 54ch; font-size: 1.04rem; }
.split p strong { color: var(--plum); }
.sec.is-plum .split p, .sec.is-magenta .split p { color: var(--on-dark-mut); }
.sec.is-plum .split p strong { color: var(--on-dark); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Feature cards (what you get, what's inside) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.card {
  background: var(--plum-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
}
.sec:not(.is-plum) .card { background: var(--paper); border-color: var(--line); }
.card-icon { display: block; margin-bottom: 1.2rem; }
.card-icon svg { width: 36px; height: 36px; display: block; }
.card h3 {
  font-family: var(--display); font-weight: 400;
  font-size: 1.6rem; line-height: 1.1; letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.card p { font-size: 0.95rem; color: var(--on-dark-mut); }
.sec:not(.is-plum) .card p { color: var(--muted); }

/* Check list */
.checklist { list-style: none; display: grid; gap: 1rem; }
.checklist li { display: grid; grid-template-columns: 30px 1fr; gap: 0.9rem; align-items: start; font-size: 1.04rem; }
.checklist li::before {
  content: '';
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--marigold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231D1129' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.5 3.5L15 7'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* 3-step process variant */
.steps.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps.is-three { grid-template-columns: 1fr; } }

/* Personal note card */
.note-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: var(--paper);
  border-radius: 36px;
  padding: clamp(1.8rem, 4vw, 3rem);
}
.note-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 15%; border-radius: 999px 999px 18px 18px; }
.note-card .hand { font-size: clamp(2rem, 3vw, 2.8rem); margin-bottom: 0.8rem; display: block; }
.note-card p { color: var(--muted); font-size: 1.04rem; }
@media (max-width: 700px) { .note-card { grid-template-columns: 1fr; } .note-card img { max-width: 200px; } }

/* Price / summary card */
.price-card {
  background: var(--plum);
  color: var(--on-dark);
  border-radius: 30px;
  padding: clamp(2rem, 4vw, 2.8rem);
}
.price-card .kicker { color: var(--on-dark-mut); }
.price-card .kicker::before { background: var(--marigold); }
.price-card .checklist li { font-size: 0.98rem; }

/* Big quote */
.big-quote {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  line-height: 1.15; letter-spacing: -0.015em;
  max-width: 24ch;
  margin-bottom: 1.8rem;
}
.big-quote-cite { display: flex; align-items: center; gap: 1rem; font-size: 0.92rem; }
.big-quote-cite img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--marigold); }
.big-quote-cite strong { display: block; }

/* ══════════════════════════════════════════
   FREEBIE
══════════════════════════════════════════ */
.guide-mock {
  display: flex; align-items: center; gap: 1.2rem;
  margin-bottom: 2rem;
}
.guide-book {
  width: 82px; aspect-ratio: 3 / 4; flex-shrink: 0;
  border-radius: 6px 12px 12px 6px;
  background: var(--plum); color: var(--marigold);
  display: grid; place-items: center; text-align: center;
  font-family: var(--poster); font-size: 1.15rem; line-height: 0.95;
  box-shadow: 8px 10px 0 var(--magenta);
  rotate: -5deg;
}
.guide-mock strong { display: block; font-size: 1rem; }
.guide-mock span { font-size: 0.85rem; color: var(--muted); }
.form-card {
  background: var(--paper);
  border-radius: 30px;
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  box-shadow: 0 40px 80px -40px rgba(21,20,18,0.4);
}
.form-card h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 0.8rem; }
.form-card > p { color: var(--muted); margin-bottom: 1.4rem; }
.form-card form { display: grid; gap: 0.9rem; }
.form-card input {
  width: 100%; padding: 0.95rem 1.1rem;
  border: 1.5px solid var(--line); border-radius: 14px;
  background: #fff; font: inherit; color: var(--plum); outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-card input:focus { border-color: var(--magenta); box-shadow: 0 0 0 4px rgba(200,23,122,0.14); }
.form-card .btn { justify-content: center; }
.form-card .form-note { margin-top: 0.9rem; text-align: center; }

.numbered { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.numbered li { background: var(--plum-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1.8rem; }
.numbered .num { font-family: var(--poster); font-size: 2.6rem; color: var(--marigold); line-height: 1; display: block; margin-bottom: 0.8rem; }
.numbered h3 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.12; margin-bottom: 0.6rem; }
.numbered p { color: var(--on-dark-mut); font-size: 0.95rem; }

/* ══════════════════════════════════════════
   CENTERED MESSAGE PAGES (thank you, download, 404)
══════════════════════════════════════════ */
.message {
  min-height: 100svh;
  display: grid; place-items: center;
  text-align: center;
  padding: 8rem var(--gutter) 5rem;
  position: relative; overflow: hidden;
}
.message-inner { position: relative; z-index: 2; max-width: 680px; }
.message h1 { font-size: clamp(3rem, 7vw, 6.4rem); margin-bottom: 1.4rem; }
.message h1 .hand { display: inline-block; font-size: 1.3em; }
.message .lead { color: var(--muted); font-size: 1.1rem; max-width: 46ch; margin: 0 auto 2.2rem; }
.message .hero-actions { justify-content: center; }
.message .sign { margin-top: 2.4rem; font-size: 2.2rem; color: var(--magenta); }
.message-ghost {
  position: absolute; left: 50%; top: 50%;
  translate: -50% -50%;
  font-family: var(--poster); font-size: 52vw; line-height: 0.8;
  color: transparent; -webkit-text-stroke: 2px var(--lilac-2);
  z-index: 1; pointer-events: none; white-space: nowrap;
}
.message-links { margin-top: 3rem; }
.message-links p { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.message-links ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.message-links a { display: inline-block; padding: 0.5rem 1rem; border-radius: 999px; background: var(--paper); font-weight: 600; font-size: 0.9rem; transition: background 0.2s, color 0.2s; }
.message-links a:hover { background: var(--magenta); color: #fff; }
.check-badge {
  width: 84px; height: 84px; margin: 0 auto 2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--marigold); color: var(--plum);
  box-shadow: 0 0 0 12px rgba(244,178,62,0.22);
}
.teaser { margin-top: 4rem; padding: 2.4rem; border-radius: 30px; background: var(--plum); color: var(--on-dark); text-align: center; }
.teaser h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 0.8rem; color: var(--on-dark); }
.teaser h2 em { color: var(--marigold); }
.teaser p { color: var(--on-dark-mut); max-width: 46ch; margin: 0 auto 1.6rem; }

/* ══════════════════════════════════════════
   PROSE (articles, legal)
══════════════════════════════════════════ */
.prose { font-size: 1.1rem; line-height: 1.8; color: #2B2824; max-width: 68ch; }
.prose > * + * { margin-top: 1.2rem; }
.prose h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.12; letter-spacing: -0.015em;
  color: var(--plum);
  margin-top: 3rem; scroll-margin-top: 6rem;
}
.prose h2[style] { font-size: clamp(1.4rem, 2vw, 1.7rem) !important; margin-top: 2.2rem !important; }
.prose h3 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: var(--plum); margin-top: 2rem; }
.prose a { color: var(--magenta); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose strong { color: var(--plum); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: 0.4rem; }
.prose li::marker { color: var(--magenta); }
.prose blockquote {
  margin: 2.6rem 0; padding: 2rem 2.2rem;
  background: var(--magenta); color: var(--on-dark);
  border-radius: var(--radius);
  rotate: -0.6deg;
}
.prose blockquote p { font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.3; color: var(--on-dark); }

/* ══════════════════════════════════════════
   BLOG — ARTICLE
══════════════════════════════════════════ */
.article-meta { display: flex; gap: 0.8rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.6rem; }
.article-meta span { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.article-meta .tag { background: var(--magenta); color: #fff; padding: 0.35rem 0.8rem; border-radius: 999px; }
.article-meta .date { color: var(--muted); }
.page-hero.is-article h1 { font-size: clamp(2.6rem, 5.2vw, 5rem); max-width: 18ch; }
.page-hero.is-article .lead { max-width: 58ch; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  padding-bottom: clamp(5rem, 9vw, 7rem);
}
.article-side { position: sticky; top: 6.5rem; display: grid; gap: 1rem; }
.side-card { background: var(--paper); border-radius: var(--radius); padding: 1.6rem; }
.side-card .kicker { margin-bottom: 1rem; }
.side-toc { list-style: none; display: grid; gap: 0.6rem; }
.side-toc a { font-size: 0.92rem; font-weight: 600; line-height: 1.35; display: block; transition: color 0.2s; }
.side-toc a:hover { color: var(--magenta); }
.side-author { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.side-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 40% 20%; border: 3px solid var(--marigold); }
.side-author strong { display: block; }
.side-author span { font-size: 0.82rem; color: var(--muted); }
.side-card > p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.2rem; }
.side-card .btn { width: 100%; justify-content: center; font-size: 0.88rem; padding: 0.9rem 1.2rem; }
@media (max-width: 1000px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
}

/* Old article blocks, restyled */
.article-cta-inline {
  display: inline-flex !important; align-items: center; gap: 0.6rem;
  margin-top: 2rem;
  background: var(--magenta); color: #fff !important;
  text-decoration: none !important;
  padding: 1rem 1.7rem; border-radius: 999px; font-weight: 700;
  transition: background 0.25s;
}
.article-cta-inline:hover { background: var(--magenta-dk); }
.translate-link { display: inline-flex !important; align-items: center; gap: 0.5rem; }
.translate-link svg { width: 18px; height: 18px; }
.prose p[style*="border-top"] { border-top-color: var(--line) !important; }

.engagement-section {
  margin-top: 3rem !important;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid; gap: 1rem;
}
.engagement-label { font-size: 0.74rem !important; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted) !important; margin: 0 !important; }
.like-row, .share-row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin: 0 !important; }
.like-btn, .share-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font: inherit; font-size: 0.88rem; font-weight: 700;
  padding: 0.65rem 1.1rem; border-radius: 999px;
  border: 1.5px solid var(--plum); background: transparent; color: var(--plum) !important;
  text-decoration: none !important; cursor: pointer;
  position: relative;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.like-btn svg, .share-btn svg { width: 16px; height: 16px; }
.like-btn:hover, .share-btn:hover { background: var(--plum); color: var(--on-dark) !important; }
.like-btn.liked { background: var(--magenta); border-color: var(--magenta); color: #fff !important; }
.like-btn.liked svg { fill: currentColor; }
.like-count { font-size: 0.9rem; color: var(--muted); }
.copy-toast {
  position: absolute; left: 50%; bottom: calc(100% + 8px); translate: -50% 0;
  background: var(--plum); color: var(--on-dark); font-size: 0.75rem;
  padding: 0.3rem 0.7rem; border-radius: 999px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.copy-toast.show { opacity: 1; }

/* ══════════════════════════════════════════
   BLOG — INDEX
══════════════════════════════════════════ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.2rem;
  padding-bottom: clamp(5rem, 9vw, 7rem);
}
.post {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 2rem 1.9rem 1.7rem;
  min-height: 320px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.post:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: 0 30px 60px -30px rgba(21,20,18,0.45); }
.post:nth-child(3n+1) { background: var(--rose); }
.post:nth-child(3n+2) { background: var(--paper); }
.post:nth-child(3n)   { background: #F9E4B8; }
.post h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.7rem, 2.2vw, 2.1rem); line-height: 1.1; letter-spacing: -0.015em;
  margin-bottom: 0.9rem;
}
.post h2 em { font-style: normal; color: var(--magenta); }
.post h2 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.post p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.post-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 1.4rem; position: relative; z-index: 1; }
.post-langs { display: flex; gap: 0.35rem; }
.post-langs a { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; padding: 0.3rem 0.6rem; border-radius: 999px; border: 1.5px solid var(--plum); }
.post-langs a:hover { background: var(--plum); color: var(--on-dark); }
.post-read { font-weight: 700; font-size: 0.9rem; color: var(--magenta); }

/* ══════════════════════════════════════════
   LEGAL TABS
══════════════════════════════════════════ */
.legal-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 3rem; }
.legal-tab {
  font: inherit; font-weight: 700; font-size: 0.92rem;
  padding: 0.75rem 1.3rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--plum); background: transparent; color: var(--plum);
  transition: background 0.2s, color 0.2s;
}
.legal-tab:hover, .legal-tab.active { background: var(--plum); color: var(--on-dark); }
.legal-panel { display: none; padding-bottom: clamp(5rem, 9vw, 7rem); }
.legal-panel.active { display: block; }
.legal-panel .container { padding: 0; }
