/* =========================================================================
   SVAYAMPOST Royal — design system
   Mirrors the React reference tokens 1:1. Never hardcode colors in templates;
   use these tokens and component classes.
   ========================================================================= */

:root {
  --radius: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.5rem;

  --background: oklch(0.995 0.003 285);
  --foreground: oklch(0.24 0.055 272);
  --surface: oklch(0.985 0.006 285);
  --surface-2: oklch(0.965 0.012 286);
  --card: oklch(1 0 0);

  --primary: oklch(0.52 0.22 292);
  --primary-foreground: oklch(0.99 0.005 285);
  --royal: oklch(0.44 0.2 288);
  --violet: oklch(0.62 0.21 300);
  --indigo: oklch(0.53 0.2 268);
  --navy: oklch(0.24 0.055 272);
  --ember: oklch(0.72 0.17 55);
  --ember-foreground: oklch(0.22 0.05 60);

  --muted: oklch(0.965 0.01 288);
  --muted-foreground: oklch(0.53 0.035 277);
  --accent: oklch(0.955 0.025 296);
  --accent-foreground: oklch(0.36 0.13 288);
  --success: oklch(0.66 0.15 158);
  --border: oklch(0.915 0.014 288);
  --ring: oklch(0.52 0.22 292);

  --gradient-royal: linear-gradient(135deg, oklch(0.44 0.2 288) 0%, oklch(0.52 0.22 292) 45%, oklch(0.55 0.2 262) 100%);
  --gradient-soft: linear-gradient(160deg, oklch(0.985 0.012 292) 0%, oklch(0.97 0.02 300) 55%, oklch(0.98 0.012 262) 100%);
  --gradient-text: linear-gradient(100deg, oklch(0.36 0.16 285) 0%, oklch(0.52 0.22 292) 50%, oklch(0.52 0.19 258) 100%);

  --shadow-soft: 0 1px 2px oklch(0.32 0.08 280 / 0.04), 0 8px 24px -12px oklch(0.32 0.08 280 / 0.12);
  --shadow-card: 0 1px 2px oklch(0.32 0.08 280 / 0.05), 0 18px 40px -22px oklch(0.32 0.08 280 / 0.22);
  --shadow-float: 0 30px 70px -30px oklch(0.35 0.14 288 / 0.35);
  --shadow-glow: 0 20px 60px -18px oklch(0.52 0.22 292 / 0.42);

  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;

  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.6em;
  line-height: 1.12;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1rem; }
img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}
a:hover { color: var(--royal); }

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection { background: oklch(0.52 0.22 292 / 0.18); }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed; left: 1rem; top: 1rem; z-index: 100;
  width: auto; height: auto; clip: auto;
  background: var(--card); color: var(--navy);
  padding: 0.75rem 1rem; border-radius: 10px; box-shadow: var(--shadow-card);
}

/* ---------------------------------------------------------------- layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); position: relative; }
.section--surface { background: var(--surface); }
.section--soft { background-image: var(--gradient-soft); }
.section--tight { padding-block: clamp(2.5rem, 4vw, 3.5rem); }

.section-head { max-width: 46rem; margin-inline: auto; text-align: center; margin-bottom: 3rem; }
.section-head p { color: var(--muted-foreground); font-size: 1.05rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem; border-radius: 999px;
  background: var(--accent); color: var(--accent-foreground);
  border: 1px solid var(--border);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.text-gradient {
  background-image: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-muted { color: var(--muted-foreground); }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.4rem; border-radius: 999px;
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--royal { background-image: var(--gradient-royal); color: var(--primary-foreground); box-shadow: var(--shadow-glow); }
.btn--royal:hover { color: var(--primary-foreground); box-shadow: 0 26px 70px -20px oklch(0.52 0.22 292 / 0.55); }
.btn--outline { background: var(--card); color: var(--navy); border-color: var(--border); box-shadow: var(--shadow-soft); }
.btn--outline:hover { color: var(--royal); border-color: var(--primary); }
.btn--ghost { background: transparent; color: var(--muted-foreground); }
.btn--ghost:hover { color: var(--royal); background: var(--accent); }
.btn--on-royal { background: var(--card); color: var(--royal); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--background) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand__mark {
  width: 2.25rem; height: 2.25rem; border-radius: 0.75rem;
  background-image: var(--gradient-royal); box-shadow: var(--shadow-glow);
  display: grid; place-items: center; color: var(--primary-foreground);
  font-family: var(--font-display); font-weight: 700;
}
.brand__name {
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em;
  font-size: 1.05rem; color: var(--navy);
}
.brand__name span { color: var(--primary); }
.brand__tagline { display: block; font-size: 0.72rem; color: var(--muted-foreground); letter-spacing: 0.04em; }

.primary-nav { display: none; }
@media (min-width: 1024px) { .primary-nav { display: block; } }
.primary-nav ul { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  display: inline-block; padding: 0.5rem 0.75rem; border-radius: 999px;
  color: var(--muted-foreground); font-size: 0.93rem; font-weight: 500;
}
.primary-nav a:hover { color: var(--navy); background: var(--muted); }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.primary-nav a[aria-current="page"] {
  color: var(--royal); background: var(--accent); font-weight: 600;
}

.header-actions { display: none; align-items: center; gap: 0.6rem; }
@media (min-width: 1024px) { .header-actions { display: flex; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 999px;
  background: var(--card); border: 1px solid var(--border); color: var(--navy);
  box-shadow: var(--shadow-soft); cursor: pointer;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.mobile-nav {
  display: none; border-top: 1px solid var(--border); background: var(--card);
  padding: 1rem 0 1.5rem;
}
.mobile-nav.is-open { display: block; }
@media (min-width: 1024px) { .mobile-nav.is-open { display: none; } }
.mobile-nav ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.25rem; }
.mobile-nav a { display: block; padding: 0.75rem 1rem; border-radius: var(--radius); color: var(--navy); font-weight: 500; }
.mobile-nav .current-menu-item > a,
.mobile-nav a[aria-current="page"] { background: var(--accent); color: var(--royal); font-weight: 600; }
.mobile-nav__actions { display: grid; gap: 0.6rem; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; background-image: var(--gradient-soft); padding-block: clamp(3.5rem, 8vw, 7rem); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 0%, oklch(0.52 0.22 292 / 0.14), transparent 70%);
}
.hero__inner { position: relative; z-index: 1; text-align: center; max-width: 52rem; margin-inline: auto; }
.hero__subtitle { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--muted-foreground); max-width: 42rem; margin-inline: auto; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; margin-top: 2rem; }

.trust-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem 1.75rem;
  margin-top: 1.75rem; font-size: 0.9rem; font-weight: 500; color: var(--foreground);
}
.trust-row span { display: inline-flex; align-items: center; gap: 0.45rem; }
.trust-row svg { color: var(--success); }

/* ----------------------------------------------------------------- cards */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: color-mix(in oklab, var(--primary) 35%, var(--border)); }
.card__icon {
  width: 2.9rem; height: 2.9rem; border-radius: 0.9rem; display: grid; place-items: center;
  background: var(--accent); color: var(--royal); margin-bottom: 1.1rem;
}
.card h3 { margin-bottom: 0.45rem; }
.card p { color: var(--muted-foreground); font-size: 0.95rem; margin: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.25rem 0.65rem; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.badge--royal { background: var(--accent); color: var(--accent-foreground); }
.badge--ember { background: color-mix(in oklab, var(--ember) 25%, white); color: var(--ember-foreground); }
.badge--success { background: color-mix(in oklab, var(--success) 18%, white); color: oklch(0.36 0.1 158); }
.badge--muted { background: var(--muted); color: var(--muted-foreground); }

.stat { text-align: center; }
.stat__value { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--navy); }
.stat__label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-foreground); }

/* -------------------------------------------------------- platform strip */
.platform-strip { border-block: 1px solid var(--border); background: var(--surface); padding-block: 2.25rem; text-align: center; }
.platform-strip__label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 1.25rem; }
.platform-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; }
.platform-strip li { font-family: var(--font-display); font-weight: 600; color: var(--navy); opacity: 0.75; }

/* ----------------------------------------------------- dashboard mockup */
.mockup {
  margin-top: 3.5rem; background: var(--card); border: 1px solid var(--border);
  border-radius: 1.75rem; box-shadow: var(--shadow-float); overflow: hidden;
}
.mockup__bar { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.mockup__dots { display: flex; gap: 0.35rem; }
.mockup__dots i { width: 0.6rem; height: 0.6rem; border-radius: 999px; background: var(--muted-foreground); opacity: 0.35; }
.mockup__url { font-size: 0.8rem; color: var(--muted-foreground); }
.mockup__body { display: grid; gap: 1rem; padding: 1.25rem; }
@media (min-width: 900px) { .mockup__body { grid-template-columns: 1fr 1.9fr; } }
.panel { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.1rem; background: var(--surface); }
.panel__title { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 0.9rem; }
.account { display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0; }
.account__avatar { width: 2rem; height: 2rem; border-radius: 999px; background-image: var(--gradient-royal); color: var(--primary-foreground); display: grid; place-items: center; font-size: 0.7rem; font-weight: 700; }
.account__name { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.account__meta { font-size: 0.75rem; color: var(--muted-foreground); }
.progress { height: 0.5rem; border-radius: 999px; background: var(--muted); overflow: hidden; }
.progress > span { display: block; height: 100%; width: 60%; background-image: var(--gradient-royal); }
.post-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0.9rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); margin-top: 0.6rem; }
.post-row__title { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.post-row__meta { font-size: 0.75rem; color: var(--muted-foreground); }

/* -------------------------------------------------------------- pipeline */
.pipeline { display: grid; gap: 1rem; }
@media (min-width: 1024px) { .pipeline { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.pipeline__step { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 1.5rem 1.25rem; box-shadow: var(--shadow-soft); }
.pipeline__num {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 0.7rem;
  background-image: var(--gradient-royal); color: var(--primary-foreground); margin-bottom: 0.9rem;
}
.pipeline__step h3 { font-size: 1rem; }
.pipeline__step p { font-size: 0.88rem; color: var(--muted-foreground); margin: 0; }
@media (min-width: 1024px) {
  .pipeline__step:not(:last-child)::after {
    content: ""; position: absolute; top: 50%; right: -0.62rem; width: 0.75rem; height: 2px;
    background: color-mix(in oklab, var(--primary) 45%, var(--border));
  }
}

/* --------------------------------------------------------------- pricing */
.billing-toggle {
  display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.3rem;
  background: var(--card); border: 1px solid var(--border); border-radius: 999px;
  box-shadow: var(--shadow-soft); margin-top: 1.75rem;
}
.billing-toggle button {
  border: 0; background: transparent; cursor: pointer; border-radius: 999px;
  padding: 0.55rem 1.1rem; font-weight: 600; font-size: 0.92rem; color: var(--muted-foreground);
  font-family: var(--font-sans);
}
.billing-toggle button[aria-pressed="true"] { background-image: var(--gradient-royal); color: var(--primary-foreground); }

.pricing-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2rem 1.75rem; box-shadow: var(--shadow-soft); }
.plan--popular { border-color: color-mix(in oklab, var(--primary) 50%, var(--border)); box-shadow: var(--shadow-card); }
@media (min-width: 1024px) { .plan--popular { transform: translateY(-0.75rem); } }
.plan__flag { position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%); }
.plan__name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--navy); }
.plan__blurb { color: var(--muted-foreground); font-size: 0.92rem; }
.plan__price { display: flex; align-items: baseline; gap: 0.4rem; margin-top: 1.25rem; }
.plan__amount { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--navy); }
.plan__period { color: var(--muted-foreground); font-size: 0.95rem; }
.plan__note { font-size: 0.8rem; color: var(--muted-foreground); }
.plan__features { list-style: none; margin: 1.5rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--border); display: grid; gap: 0.7rem; }
.plan__features li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.92rem; }
.plan__features li.is-off { color: var(--muted-foreground); text-decoration: line-through; }
.tick { display: grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 999px; background: var(--accent); color: var(--royal); flex: none; }
.tick--off { background: var(--muted); color: var(--muted-foreground); }

.trust-strip { display: grid; gap: 1rem; }
@media (min-width: 640px) { .trust-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-strip div { text-align: center; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); font-weight: 600; color: var(--navy); font-size: 0.95rem; }

/* --------------------------------------------------------------- plugins */
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2.5rem; }
.tab {
  border: 1px solid var(--border); background: var(--card); color: var(--muted-foreground);
  padding: 0.55rem 1.05rem; border-radius: 999px; font-weight: 600; font-size: 0.9rem; cursor: pointer;
  font-family: var(--font-sans);
}
.tab[aria-selected="true"] { background-image: var(--gradient-royal); color: var(--primary-foreground); border-color: transparent; }
.plugin-card { display: flex; flex-direction: column; gap: 0.75rem; }
.plugin-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.is-hidden { display: none !important; }

/* ------------------------------------------------------------------ blog */
.featured-post {
  display: grid; gap: 2rem; align-items: center; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2rem;
  box-shadow: var(--shadow-card);
}
@media (min-width: 900px) { .featured-post { grid-template-columns: 1.2fr 1fr; padding: 2.5rem; } }
.featured-post__visual { border-radius: var(--radius-lg); min-height: 15rem; background-image: var(--gradient-royal); box-shadow: var(--shadow-glow); }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.82rem; color: var(--muted-foreground); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; }
.search-field { position: relative; max-width: 32rem; margin-inline: auto; }
.search-field input {
  width: 100%; padding: 0.95rem 1.15rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--card); color: var(--foreground);
  font-family: var(--font-sans); font-size: 0.98rem; box-shadow: var(--shadow-soft);
}
.search-field input:focus-visible { border-color: var(--primary); }
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.pagination .page-numbers,
.pagination a, .pagination span {
  display: inline-grid; place-items: center; min-width: 2.5rem; height: 2.5rem; padding-inline: 0.6rem;
  border-radius: 999px; border: 1px solid var(--border); background: var(--card);
  color: var(--navy); font-weight: 600; font-size: 0.9rem;
}
.pagination .current { background-image: var(--gradient-royal); color: var(--primary-foreground); border-color: transparent; }

/* -------------------------------------------------------------- accordion */
.faq { display: grid; gap: 0.75rem; max-width: 48rem; margin-inline: auto; }
.faq__item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); overflow: hidden; }
.faq__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.35rem; background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--navy); text-align: left;
}
.faq__trigger svg { flex: none; transition: transform 0.2s ease; color: var(--primary); }
.faq__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq__panel { padding: 0 1.35rem 1.3rem; color: var(--muted-foreground); font-size: 0.95rem; }
.faq__panel[hidden] { display: none; }

/* ------------------------------------------------------------- CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: 2rem; padding: clamp(2.5rem, 5vw, 4rem);
  background-image: var(--gradient-royal); color: var(--primary-foreground); text-align: center;
  box-shadow: var(--shadow-float);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 80% 10%, oklch(1 0 0 / 0.22), transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--primary-foreground); }
.cta-band p { color: oklch(1 0 0 / 0.85); max-width: 38rem; margin-inline: auto; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; margin-top: 1.75rem; }

/* ------------------------------------------------------------------ auth */
.auth { display: grid; gap: 3rem; align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
@media (min-width: 1024px) { .auth { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.auth__aside { text-align: center; }
@media (min-width: 1024px) { .auth__aside { text-align: left; } }
.auth__bullets { list-style: none; margin: 2rem 0 0; padding: 0; display: none; gap: 0.9rem; }
@media (min-width: 1024px) { .auth__bullets { display: grid; } }
.auth__bullets li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.95rem; font-weight: 500; }
.auth__card {
  width: 100%; max-width: 27rem; margin-inline: auto; background: var(--card);
  border: 1px solid var(--border); border-radius: 1.75rem; padding: 2rem;
  box-shadow: var(--shadow-float);
}
@media (min-width: 640px) { .auth__card { padding: 2.5rem; } }
.field { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.field input {
  width: 100%; padding: 0.8rem 1rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--card); color: var(--foreground);
  font-family: var(--font-sans); font-size: 0.95rem;
}
.field input:focus-visible { border-color: var(--primary); }
.field-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.88rem; margin-bottom: 1.25rem; }
.checkbox { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.88rem; color: var(--muted-foreground); }
.divider { display: flex; align-items: center; gap: 0.75rem; margin: 1.25rem 0; color: var(--muted-foreground); font-size: 0.8rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding-block: 3.5rem 2rem; margin-top: 0; }
.site-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); } }
.site-footer p { color: var(--muted-foreground); font-size: 0.92rem; max-width: 22rem; }
.footer-col h3 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: var(--muted-foreground); font-size: 0.92rem; }
.footer-col a:hover { color: var(--royal); }
.socials { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.socials a {
  width: 2.35rem; height: 2.35rem; border-radius: 999px; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--border); color: var(--navy); box-shadow: var(--shadow-soft);
}
.socials a:hover { color: var(--royal); border-color: var(--primary); }
.site-footer__bottom {
  margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between;
  font-size: 0.85rem; color: var(--muted-foreground);
}

/* ------------------------------------------------------- editorial / 404 */
.entry { max-width: 46rem; margin-inline: auto; }
.entry__title { margin-bottom: 0.75rem; }
.entry-content > * { margin-bottom: 1.15rem; }
.entry-content h2, .entry-content h3 { margin-top: 2rem; }
.entry-content blockquote {
  margin: 2rem 0; padding: 1.25rem 1.5rem; border-left: 3px solid var(--primary);
  background: var(--surface); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; color: var(--navy);
}
.error-404 { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.error-404 .code { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 7rem); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------- handoff additions */
.container--narrow { max-width: 48rem; }

.notice {
  margin-top: 2.5rem; text-align: center; font-size: 0.9rem; color: var(--muted-foreground);
  background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius-lg); padding: 1rem 1.25rem;
}

.btn--social { justify-content: center; gap: 0.6rem; }

.link { color: var(--primary); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

.checkbox { display: flex; align-items: center; gap: 0.55rem; font-size: 0.88rem; color: var(--muted-foreground); }
.checkbox--terms { align-items: flex-start; margin-bottom: 1.25rem; line-height: 1.5; }
.checkbox input { width: 1.05rem; height: 1.05rem; accent-color: var(--primary); flex: none; margin-top: 0.1rem; }

.auth__points { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.9rem; justify-content: center; }
.auth__points li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.95rem; font-weight: 500; text-align: left; }
@media (min-width: 1024px) { .auth__points { justify-content: start; } }
.auth__inner { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .auth__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.auth__sub { color: var(--muted-foreground); font-size: 1.02rem; }
.auth__card-title { font-size: 1.4rem; margin-bottom: 0.35rem; }
.auth__card-sub { color: var(--muted-foreground); font-size: 0.92rem; margin-bottom: 1.5rem; }
.auth__divider { display: flex; align-items: center; gap: 0.85rem; margin: 1.35rem 0; color: var(--muted-foreground); font-size: 0.8rem; }
.auth__divider::before, .auth__divider::after { content: ""; height: 1px; flex: 1; background: var(--border); }
.auth__swap { margin-top: 1.35rem; text-align: center; font-size: 0.9rem; color: var(--muted-foreground); }
.auth__note { margin-top: 1.1rem; text-align: center; font-size: 0.76rem; color: var(--muted-foreground); }

.blog-toolbar { display: grid; gap: 1.25rem; margin: 3rem 0 2rem; }
@media (min-width: 900px) { .blog-toolbar { grid-template-columns: 1fr auto; align-items: center; } .blog-toolbar .chips { justify-content: flex-start; margin-bottom: 0; } }
.search-field--lg input { padding-block: 1rem; font-size: 1rem; }
.help-search { display: grid; gap: 0.85rem; justify-items: center; }
@media (min-width: 720px) { .help-search { grid-template-columns: minmax(0, 32rem) auto; justify-content: center; align-items: center; } }

.article-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; }
.article-row h3 { font-size: 1.02rem; margin: 0 0 0.2rem; }
.article-row__chev { color: var(--muted-foreground); }
.card__meta { font-size: 0.82rem; color: var(--muted-foreground); margin-top: 0.6rem; }

.entry-head { text-align: center; margin-bottom: 2.5rem; }
.entry-head h1 { margin: 0.9rem 0 0.75rem; }
.entry-media { margin: 0 0 2.5rem; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-card); }
.entry-media img { display: block; width: 100%; height: auto; }
.entry-foot { margin-top: 3rem; text-align: center; }
