/* ============================================================
   BlackPen: shared design system
   Direction: refined editorial. Cool pearl base, deep blue-navy
   anchor sections + dark hero, gold for emphasis, green for "success".
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Light surfaces: cool pearl, not warm beige. (token names kept as
     --parchment* so existing .bg-soft / .card markup still maps cleanly) */
  --parchment:      #ecedf1;
  --parchment-soft: #e0e4ec;
  --card:           #f6f8fb;
  /* Dark surfaces: deep cool blue-navy */
  --ink:            #0e2138;
  --ink-soft:       #18324d;
  --ink-deep:       #081320;
  /* Gold accent, a touch richer */
  --gold:           #c9a35b;
  --gold-soft:      #e7d3a3;
  --gold-deep:      #9b7c3b;
  /* Cool blue accent for glows/depth */
  --blue:           #2f5f92;
  --blue-soft:      #cdd9e6;
  --sage:           #4f7c72;
  --sage-soft:      #d9e5e0;
  --success:        #2f9e63;

  --text:           #14233a;
  --text-muted:     #495467;
  --text-faint:     #79839a;
  --on-ink:         #eaeef5;
  --on-ink-muted:   rgba(234, 238, 245, 0.74);
  --on-ink-faint:   rgba(234, 238, 245, 0.72);

  --line:           rgba(18, 32, 56, 0.12);
  --line-strong:    rgba(18, 32, 56, 0.2);
  --line-on-ink:    rgba(234, 238, 245, 0.16);
  --line-gold:      rgba(201, 163, 91, 0.4);

  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --s-1: 0.5rem;  --s-2: 1rem;   --s-3: 1.5rem;  --s-4: 2rem;
  --s-5: 3rem;    --s-6: 4rem;   --s-7: 6rem;    --s-8: 8rem;

  --r-sm: 8px;  --r-md: 14px;  --r-lg: 22px;  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 38, 0.04), 0 2px 6px rgba(16, 24, 38, 0.05);
  --shadow-md: 0 2px 4px rgba(16, 24, 38, 0.05), 0 10px 24px -8px rgba(16, 24, 38, 0.12);
  --shadow-lg: 0 4px 8px rgba(16, 24, 38, 0.06), 0 24px 50px -12px rgba(16, 24, 38, 0.22);
  --shadow-gold: 0 10px 30px -10px rgba(193, 154, 85, 0.45);

  --container: 1140px;
  --container-narrow: 760px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--body); background: var(--parchment); color: var(--text);
  line-height: 1.7; font-size: 1.0625rem; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
::selection { background: var(--gold-soft); color: var(--ink); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); }
.display-xl { font-size: clamp(2rem, 5vw + 1rem, 5rem); letter-spacing: -0.025em; line-height: 1.05; }
.display-lg { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
.display-md { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
.display-sm { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
p { color: var(--text-muted); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-muted); line-height: 1.6; }

.kicker {
  display: inline-flex; align-items: center; gap: 0.6em; font-family: var(--body);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold); display: inline-block; }
.kicker.center { justify-content: center; }
.kicker.center::before { display: none; }

/* ---------- Layout ---------- */
.container { width: min(var(--container), calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { width: min(var(--container-narrow), calc(100% - 2.5rem)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.center { text-align: center; }
.section-head { max-width: 640px; margin-bottom: var(--s-5); }
.section-head.center { margin-inline: auto; }
.section-head .display-md, .section-head .display-lg, .section-head .display-sm { margin-top: var(--s-2); }
.section-head p { margin-top: var(--s-2); }

.bg-parchment { background: var(--parchment); }
.bg-soft { background: var(--parchment-soft); }
.bg-ink { background: var(--ink); color: var(--on-ink); }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: var(--on-ink); }
.bg-ink p { color: var(--on-ink-muted); }
.bg-ink .kicker { color: var(--gold-soft); }
.bg-ink .kicker::before { background: var(--gold-soft); }
.bg-ink.textured {
  background:
    radial-gradient(60% 80% at 15% 0%, rgba(193,154,85,0.10), transparent 60%),
    radial-gradient(50% 60% at 100% 100%, rgba(79,124,114,0.12), transparent 60%),
    var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--body); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  padding: 0.85em 1.5em; border-radius: var(--r-pill);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform; border: 1px solid transparent; text-align: center;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform 0.25s var(--ease); flex: none; }
.btn-primary { background: var(--gold); color: #2a2008; box-shadow: var(--shadow-gold); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(193,154,85,0.6); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary:active { transform: translateY(0); }
.btn-ink { background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-md); }
.btn-ink:hover { transform: translateY(-2px); background: var(--ink-soft); }
.btn-ink:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(16,24,38,0.04); transform: translateY(-2px); }
.bg-ink .btn-ghost { color: var(--on-ink); border-color: var(--line-on-ink); }
.bg-ink .btn-ghost:hover { border-color: var(--gold-soft); background: rgba(243,236,224,0.06); }
.btn-lg { padding: 1.05em 1.9em; font-size: 1.05rem; }
.btn-block { width: 100%; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.link {
  color: var(--gold-deep); font-weight: 600; display: inline-flex; align-items: center; gap: 0.4em;
  border-bottom: 1px solid var(--line-gold); padding-bottom: 1px;
  transition: gap 0.25s var(--ease), border-color 0.25s var(--ease);
}
.link:hover { gap: 0.7em; border-color: var(--gold); }
.bg-ink .link { color: var(--gold-soft); }

/* ---------- Header / nav (persistent dark) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; border-bottom: 1px solid var(--line-on-ink);
  background: rgba(8, 19, 32, 0.72);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(8, 19, 32, 0.92);
  border-bottom-color: var(--line-gold); box-shadow: 0 8px 30px -12px rgba(0,0,0,0.6);
}
.nav { width: min(var(--container), calc(100% - 2.5rem)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--on-ink); letter-spacing: -0.01em; }
.brand .pen-mark { width: 38px; height: 38px; border-radius: 10px; background: #0a1422; display: grid; place-items: center; box-shadow: var(--shadow-sm); flex: none; overflow: hidden; border: 1px solid var(--line-gold); }
.brand .pen-mark svg { width: 20px; height: 20px; }
.brand .pen-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand .brand-text { line-height: 1; }
.brand small { font-family: var(--body); font-weight: 500; font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--on-ink-faint); display: block; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: var(--s-1); }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--on-ink-muted); padding: 0.5em 0.85em; border-radius: var(--r-pill); transition: color 0.2s var(--ease), background-color 0.2s var(--ease); }
.nav-links a:hover { color: var(--on-ink); background: rgba(234,238,245,0.08); }
.nav-links a.active { color: var(--gold-soft); }
.nav-cta { display: flex; align-items: center; gap: var(--s-2); }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center; }
.nav-toggle span { position: relative; width: 22px; height: 2px; background: var(--on-ink); border-radius: 2px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--on-ink); border-radius: 2px; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.mobile-menu { position: fixed; inset: 0; z-index: 99; background: var(--ink-deep); padding: calc(var(--header-h) + var(--s-3)) 1.5rem var(--s-4); transform: translateY(-100%); opacity: 0; visibility: hidden; transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), visibility 0.3s; display: flex; flex-direction: column; overflow-y: auto; }
.mobile-menu a:not(.btn) { font-family: var(--display); font-size: 1.5rem; color: var(--on-ink); padding: 0.6rem 0; border-bottom: 1px solid var(--line-on-ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.mobile-menu a svg { width: 20px; height: 20px; flex: none; }
.mobile-menu .btn { margin-top: var(--s-3); }
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu { transform: translateY(0); opacity: 1; visibility: visible; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-4); box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-gold); }
.bg-ink .card { background: var(--ink-soft); border-color: var(--line-on-ink); box-shadow: none; }
.bg-ink .card:hover { border-color: var(--line-gold); }
.bg-ink .card h3 { color: var(--on-ink); }
.bg-ink .card p { color: var(--on-ink-muted); }

.grid { display: grid; gap: var(--s-3); }
.grid > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .hero-grid > *, .pricing-hero-grid > *, .band-grid > *, .split-grid > *, .card-grid > *, .sample > *, .guarantee > *, .calc-grid > *, .form-grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.badge-num { width: 46px; height: 46px; flex: none; border-radius: var(--r-md); display: grid; place-items: center; font-family: var(--display); font-size: 1.35rem; font-weight: 600; background: var(--parchment-soft); color: var(--gold-deep); border: 1px solid var(--line-gold); }
.bg-ink .badge-num { background: rgba(193,154,85,0.12); color: var(--gold-soft); border-color: var(--line-gold); }
.icon-chip { width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center; background: linear-gradient(160deg, var(--card), var(--parchment-soft)); border: 1px solid var(--line-gold); color: var(--gold-deep); box-shadow: var(--shadow-sm); }
.icon-chip svg { width: 26px; height: 26px; }
.bg-ink .icon-chip { background: rgba(193,154,85,0.12); border-color: var(--line-gold); color: var(--gold-soft); }

.stat-num { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.stat-num.stat-text { font-size: clamp(1.7rem, 2.8vw, 2.2rem); line-height: 1.05; }
.bg-ink .stat-num { color: var(--gold-soft); }
.stat-label { font-size: 0.85rem; color: var(--text-faint); margin-top: 0.4rem; letter-spacing: 0.04em; }
.bg-ink .stat-label { color: var(--on-ink-faint); }

.trust-bar { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); align-items: center; justify-content: center; }
.trust-item { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; color: var(--text-muted); font-weight: 500; }
.trust-item svg { width: 20px; height: 20px; color: var(--gold-deep); flex: none; }
.bg-ink .trust-item { color: var(--on-ink-muted); }
.bg-ink .trust-item svg { color: var(--gold-soft); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 0.95rem; }

.pill { display: inline-flex; align-items: center; gap: 0.45em; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; padding: 0.4em 0.85em; border-radius: var(--r-pill); background: var(--parchment-soft); color: var(--gold-deep); border: 1px solid var(--line-gold); }
.pill-success { background: rgba(47,158,99,0.1); color: var(--success); border-color: rgba(47,158,99,0.3); }
.bg-ink .pill { background: rgba(243,236,224,0.08); color: var(--gold-soft); border-color: var(--line-on-ink); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: var(--on-ink-muted); padding-block: var(--s-6) var(--s-4); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--s-4); }
.site-footer h4 { color: var(--on-ink); font-family: var(--body); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; margin-bottom: var(--s-2); }
.site-footer p { color: var(--on-ink-muted); }
.site-footer a { color: var(--on-ink-muted); font-size: 0.95rem; transition: color 0.2s; display: inline-block; padding: 0.25rem 0; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer .brand { color: var(--on-ink); }
.footer-bottom { margin-top: var(--s-5); padding-top: var(--s-3); border-top: 1px solid var(--line-on-ink); display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--on-ink-faint); }
.footer-credit a { color: var(--gold-soft); font-weight: 600; }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: var(--s-1); } .mt-2 { margin-top: var(--s-2); } .mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); }
.mb-2 { margin-bottom: var(--s-2); } .mb-3 { margin-bottom: var(--s-3); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.cta-row.center { justify-content: center; }
.max-60 { max-width: 60ch; }
.muted { color: var(--text-muted); }
.divider { height: 1px; background: var(--line); border: 0; margin-block: var(--s-4); }

/* ============================================================
   Page blocks
   ============================================================ */

/* Hero */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: hidden; background: var(--ink-deep); color: var(--on-ink); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(55% 60% at 82% -5%, rgba(201,163,91,0.20), transparent 62%),
    radial-gradient(50% 65% at 5% 110%, rgba(47,95,146,0.34), transparent 60%),
    radial-gradient(40% 50% at 100% 100%, rgba(47,95,146,0.18), transparent 60%); }
.hero > * { position: relative; z-index: 1; }
.hero h1, .hero h2, .hero h3 { color: var(--on-ink); }
.hero p, .hero .lead { color: var(--on-ink-muted); }
.hero .kicker { color: var(--gold-soft); }
.hero .kicker::before { background: var(--gold-soft); }
.hero .btn-ghost { color: var(--on-ink); border-color: var(--line-on-ink); }
.hero .btn-ghost:hover { border-color: var(--gold-soft); background: rgba(234,238,245,0.06); }
.hero .trust-item { color: var(--on-ink-muted); }
.hero .trust-item svg { color: var(--gold-soft); }
.hero .link { color: var(--gold-soft); }
.hero .muted { color: var(--on-ink-faint); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s-6); align-items: center; }
.hero h1 { margin-top: var(--s-3); }
.hero .lead { margin-top: var(--s-3); max-width: 44ch; }
.hero-cta { margin-top: var(--s-4); }
.hero-trust { margin-top: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); align-items: center; }
.hero-trust .trust-item { font-size: 0.88rem; }

/* Pricing hero: two-column with embedded form */
.pricing-hero-grid { display: grid; grid-template-columns: 1fr 0.78fr; gap: var(--s-6); align-items: center; }
.hero-form-card {
  background: rgba(8, 19, 32, 0.72);
  border: 1px solid var(--line-gold);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.55), 0 0 0 1px rgba(201,163,91,0.1) inset;
}
.hero-form-card .hfc-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--s-3); padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--line-on-ink);
}
.hero-form-card .hfc-title { font-family: var(--display); font-size: 1.25rem; color: var(--on-ink); font-weight: 600; }
.hero-form-card .field label { color: var(--on-ink-muted); }
.hero-form-card .field input,
.hero-form-card .field select {
  background: rgba(255,255,255,0.07);
  border-color: var(--line-on-ink);
  color: var(--on-ink);
}
.hero-form-card .field input::placeholder { color: var(--on-ink-faint); }
.hero-form-card .field select option { background: var(--ink-deep); color: var(--on-ink); }
.hero-form-card .field input:focus,
.hero-form-card .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(193,154,85,0.2); }
.hero-form-card .hfc-note { font-size: 0.8rem; color: var(--on-ink-faint); text-align: center; margin-top: var(--s-2); }

.hero-visual { position: relative; }
.report-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: var(--s-4); }
.report-card .rc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-3); }
.report-card .rc-title { font-family: var(--display); font-size: 1.2rem; color: var(--ink); }
.report-card .rc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(47,158,99,0.15); }
.rc-line { height: 9px; border-radius: 5px; background: var(--parchment-soft); margin-bottom: 12px; }
.rc-line.short { width: 55%; }
.rc-line.mid { width: 78%; }
.rc-line.gold { background: linear-gradient(90deg, var(--gold-soft), var(--gold)); width: 42%; height: 11px; }
.rc-tag { position: absolute; right: -14px; background: var(--ink); color: var(--gold-soft); font-size: 0.8rem; font-weight: 600; padding: 0.55em 1em; border-radius: var(--r-pill); box-shadow: var(--shadow-lg); }
.rc-tag.top { top: 26px; }
.rc-float { position: absolute; left: -22px; bottom: -26px; background: var(--ink); color: var(--on-ink); border-radius: var(--r-md); padding: var(--s-2) var(--s-3); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 0.7rem; max-width: 240px; }
.rc-float .stars { font-size: 0.85rem; }
.rc-float small { color: var(--on-ink-muted); font-size: 0.78rem; }
.float-anim { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Steps */
.steps { display: grid; gap: var(--s-2); }
.step { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; padding: var(--s-3); border-radius: var(--r-md); transition: background-color 0.3s var(--ease); }
.step:hover { background: var(--parchment-soft); }
.step h3 { font-size: 1.3rem; }
.step .step-meta { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); }

.callout { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; background: var(--card); border: 1px solid var(--line-gold); border-left: 3px solid var(--gold); border-radius: var(--r-md); padding: var(--s-3) var(--s-4); }
.callout .icon-chip { background: rgba(193,154,85,0.14); }

/* Timeline */
.timeline { position: relative; display: grid; gap: var(--s-3); }
.timeline::before { content: ""; position: absolute; left: 23px; top: 12px; bottom: 12px; width: 2px; background: var(--line-on-ink); }
.tl-item { display: grid; grid-template-columns: 48px 1fr; gap: var(--s-3); align-items: start; position: relative; }
.tl-dot { width: 48px; height: 48px; border-radius: 50%; background: var(--ink-soft); border: 2px solid var(--gold); color: var(--gold-soft); display: grid; place-items: center; font-weight: 700; font-size: 0.95rem; z-index: 1; }
.tl-day { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
.tl-item h3 { font-size: 1.25rem; margin-top: 2px; }

/* Sample doc */
.sample { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); align-items: center; }
.sample-doc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.sample-doc .sd-top { background: var(--ink); color: var(--on-ink); padding: var(--s-3) var(--s-4); display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
.sample-doc .sd-top h3 { color: var(--on-ink); font-size: 1.15rem; }
.sample-doc .sd-body { padding: var(--s-4); }
.sd-row { padding: var(--s-2) 0; border-bottom: 1px dashed var(--line); }
.sd-row:last-child { border-bottom: 0; }
.sd-row .lbl { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.sd-row p { margin-top: 4px; color: var(--text); font-size: 0.98rem; }
.sd-quote { background: var(--parchment-soft); border-radius: var(--r-sm); padding: var(--s-2) var(--s-3); font-style: italic; font-family: var(--display); font-size: 1.05rem; color: var(--ink); margin-top: 6px; }

/* Testimonials */
.tcard { display: flex; flex-direction: column; height: 100%; }
.tcard .stars { margin-bottom: var(--s-2); }
.tcard blockquote { font-family: var(--display); font-size: 1.28rem; line-height: 1.4; color: var(--ink); font-weight: 500; }
.bg-ink .tcard blockquote { color: var(--on-ink); }
.tcard .tperson { margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 0.8rem; }
.bg-ink .tcard .tperson { border-top-color: var(--line-on-ink); }
.tavatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(150deg, var(--ink), var(--ink-soft)); color: var(--gold-soft); display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 1.1rem; flex: none; }
.tperson .tname { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.bg-ink .tperson .tname { color: var(--on-ink); }
.tperson .tbook { font-size: 0.83rem; color: var(--text-faint); }
.verified { display: inline-flex; align-items: center; gap: 0.3em; font-size: 0.75rem; color: var(--success); font-weight: 600; margin-left: auto; }
.verified svg { width: 15px; height: 15px; }

/* Guarantee */
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: var(--s-5); align-items: center; }
.seal { width: 168px; height: 168px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle, var(--ink-soft), var(--ink)); border: 2px dashed var(--gold); color: var(--gold-soft); flex: none; }
.seal .seal-num { font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--on-ink); }
.seal small { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 4px; }

/* Thanks page: true vertical + horizontal centering */
.thanks-hero { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding-block: var(--s-6); }
.thanks-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.thanks-inner .seal { margin-bottom: var(--s-3); }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.4rem 0; }
.check-list svg { width: 22px; height: 22px; color: var(--success); flex: none; margin-top: 2px; }
.bg-ink .check-list li { color: var(--on-ink-muted); }

/* Web design */
.webdesign { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); align-items: center; }
.browser { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--card); }
.browser .bbar { background: var(--parchment-soft); padding: 0.7rem 1rem; display: flex; align-items: center; gap: 0.4rem; border-bottom: 1px solid var(--line); }
.browser .bdot { width: 11px; height: 11px; border-radius: 50%; background: #d9cdb8; }
.browser .burl { margin-left: 0.6rem; font-size: 0.78rem; color: var(--text-faint); background: var(--card); padding: 0.25em 0.8em; border-radius: var(--r-pill); }
.browser .bview { aspect-ratio: 16/10; background: linear-gradient(165deg, var(--ink), var(--ink-soft)); position: relative; display: grid; place-items: center; color: var(--on-ink); padding: var(--s-4); text-align: center; }
.browser .bview .bv-kicker { color: var(--gold-soft); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }
.browser .bview h4 { color: var(--on-ink); font-size: 1.6rem; margin: 0.4rem 0; }
.browser .bview .bv-btn { margin-top: var(--s-2); display: inline-block; background: var(--gold); color: #2a2008; font-weight: 600; font-size: 0.8rem; padding: 0.5em 1.1em; border-radius: var(--r-pill); }

/* FAQ */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); padding: var(--s-3) 0; text-align: left; font-family: var(--display); font-size: 1.25rem; color: var(--ink); font-weight: 600; }
.bg-ink .faq-item { border-bottom-color: var(--line-on-ink); }
.bg-ink .faq-q { color: var(--on-ink); }
.faq-icon { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; position: relative; transition: background-color 0.25s, border-color 0.25s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease); }
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; }
.faq-item.open .faq-icon { background: var(--gold); border-color: var(--gold); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: #2a2008; }
.faq-item.open .faq-icon::after { transform: rotate(90deg) scaleX(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding-bottom: var(--s-3); color: var(--text-muted); max-width: 68ch; }

/* CTA band */
.cta-band { text-align: center; border-radius: var(--r-lg); padding: clamp(2.5rem, 6vw, 5rem); position: relative; overflow: hidden; }

/* Pricing tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); align-items: stretch; }
.tier { display: flex; flex-direction: column; height: 100%; position: relative; }
/* Featured tier: rich navy card so it pops against pearl */
.tier.featured { background: linear-gradient(165deg, var(--ink), var(--ink-deep)); border-color: var(--gold); box-shadow: 0 30px 60px -20px rgba(8,19,32,0.55); transform: translateY(-10px); }
.tier.featured .tier-name, .tier.featured .tier-price { color: var(--on-ink); }
.tier.featured .tier-kicker { color: var(--gold-soft); }
.tier.featured .tier-price .pre { color: var(--on-ink-faint); }
.tier.featured .tier-sub { color: var(--on-ink-muted); }
.tier.featured .feature-list li { color: var(--on-ink-muted); }
.tier.featured .feature-list svg { color: var(--gold-soft); }
.tier .tier-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #2a2008; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.4em 1em; border-radius: var(--r-pill); white-space: nowrap; box-shadow: var(--shadow-gold); }
.tier .tier-kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }
.tier .tier-name { font-family: var(--display); font-size: 1.7rem; color: var(--ink); margin-top: 0.2rem; }
.tier .tier-price { font-family: var(--display); font-size: 2.8rem; color: var(--ink); line-height: 1; margin: 0.5rem 0 0.1rem; }
.tier .tier-price .pre { font-family: var(--body); font-size: 0.78rem; font-weight: 600; color: var(--text-faint); display: block; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.2rem; }
.tier .tier-sub { font-size: 0.9rem; color: var(--text-muted); min-height: 2.6em; }
.tier .feature-list { margin: var(--s-3) 0; display: grid; gap: 0.7rem; flex: 1; }
.tier .feature-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; color: var(--text-muted); }
.tier .feature-list svg { width: 19px; height: 19px; color: var(--success); flex: none; margin-top: 3px; }

/* Estimator */
.calc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(1.5rem, 4vw, 2.5rem); }
.calc-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-5); align-items: center; }
.calc label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text-muted); text-transform: uppercase; display: block; margin-bottom: 0.5rem; }
.calc input[type="range"] { width: 100%; accent-color: var(--gold); margin-top: var(--s-2); }
.calc .num-input { display: inline-flex; align-items: center; gap: 0.4rem; border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 0.5rem 1rem; background: var(--parchment); }
.calc .num-input input { border: none; background: transparent; font: inherit; font-weight: 600; width: 7ch; color: var(--ink); }
.calc .num-input input:focus { outline: none; }
.calc-total { text-align: right; }
.calc-total .ct-label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.calc-total .price { font-family: var(--display); font-size: clamp(2.8rem, 7vw, 4rem); color: var(--ink); line-height: 1; }
.calc-total .price span { color: var(--gold-deep); }
.calc-total .ct-split { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.4rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--s-3); }
.chip { padding: 0.45em 1em; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--parchment); font-size: 0.85rem; font-weight: 600; color: var(--text-muted); transition: all 0.2s var(--ease); }
.chip:hover { border-color: var(--gold); color: var(--ink); }
.chip.active { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

/* About */
.about-hero-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: var(--s-6); align-items: center; }
.about-portrait { background: linear-gradient(160deg, var(--ink), var(--ink-soft)); border-radius: var(--r-lg); aspect-ratio: 4/5; display: grid; place-items: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; border: 1px solid var(--line-on-ink); }
.about-portrait .mono { font-family: var(--display); font-size: 7rem; color: var(--gold-soft); }
.about-portrait.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.about-portrait .ap-cap { position: absolute; bottom: 0; left: 0; right: 0; padding: var(--s-4) var(--s-3) var(--s-3); background: linear-gradient(transparent, rgba(11,17,28,0.55) 35%, rgba(11,17,28,0.92)); color: var(--on-ink); z-index: 1; }
.value-card .icon-chip { margin-bottom: var(--s-3); }
.value-card h3 { font-size: 1.3rem; }

/* Editor section (home) */
.editor-grid { display: grid; grid-template-columns: 0.8fr 1fr; gap: var(--s-6); align-items: center; }
.editor-photo { position: relative; }
.editor-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 28%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.editor-photo .editor-badge { position: absolute; right: -16px; bottom: 20px; background: var(--ink); border: 1px solid var(--line-gold); border-radius: var(--r-md); padding: var(--s-2) var(--s-3); box-shadow: var(--shadow-lg); text-align: center; }
.editor-photo .editor-badge .stars { font-size: 0.95rem; display: block; }
.editor-photo .editor-badge small { color: var(--on-ink-muted); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* Contact form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.02em; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 0.8em 1em; transition: border-color 0.2s, box-shadow 0.2s; width: 100%; min-width: 0; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(193,154,85,0.18); }
.form-note { font-size: 0.85rem; color: var(--text-faint); }
.form-status { padding: var(--s-2) var(--s-3); border-radius: var(--r-md); font-size: 0.92rem; font-weight: 500; margin-top: var(--s-2); display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(47,158,99,0.12); color: var(--success); }
.form-status.err { background: rgba(214,90,70,0.12); color: #c0492f; }

/* Blog */
.coming-soon { text-align: center; padding-block: clamp(3rem,7vw,5rem); }
.notify-form { display: flex; gap: 0.6rem; max-width: 460px; margin: var(--s-4) auto 0; }
.notify-form input { flex: 1; border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 0.85em 1.3em; font: inherit; background: var(--card); color: var(--ink); }
.notify-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(193,154,85,0.2); }
.post-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; padding: 0; }
.post-card .post-thumb { aspect-ratio: 16/9; background: linear-gradient(150deg, var(--card), var(--parchment-soft)); display: grid; place-items: center; color: var(--gold-deep); border-bottom: 1px solid var(--line); }
.post-card .post-thumb svg { width: 42px; height: 42px; opacity: 0.8; }
.post-card .post-thumb.alt { background: linear-gradient(150deg, var(--ink), var(--ink-soft)); color: var(--gold-soft); }
.post-card .post-body { padding: var(--s-3); display: flex; flex-direction: column; flex: 1; }
.post-card .post-meta { font-size: 0.76rem; color: var(--text-faint); letter-spacing: 0.04em; text-transform: uppercase; }
.post-card h3 { font-size: 1.3rem; margin: 0.5rem 0; }
.post-card .post-soon { margin-top: auto; padding-top: var(--s-2); font-size: 0.82rem; color: var(--gold-deep); font-weight: 600; }

/* Article (post template) */
.article { max-width: 720px; margin-inline: auto; }
.article > p:first-of-type { font-size: 1.2rem; color: var(--text); }
.article h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: var(--s-5); margin-bottom: var(--s-2); }
.article h3 { font-size: 1.4rem; margin-top: var(--s-4); margin-bottom: var(--s-1); }
.article p { margin-bottom: var(--s-3); font-size: 1.12rem; color: var(--text); }
.article ul.dotted { margin: 0 0 var(--s-3); display: grid; gap: 0.5rem; }
.article ul.dotted li { position: relative; padding-left: 1.5rem; color: var(--text); }
.article ul.dotted li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.article blockquote { border-left: 3px solid var(--gold); padding-left: var(--s-3); margin: var(--s-4) 0; font-family: var(--display); font-size: 1.5rem; color: var(--ink); font-style: italic; }

/* Responsive two-col utility grids (replace inline styles) */
.band-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-5); align-items: center; }
.split-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s-6); align-items: start; }
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); align-items: center; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid, .about-hero-grid, .editor-grid, .pricing-hero-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .hero-visual { max-width: 460px; }
  .editor-photo { max-width: 380px; }
  .sample, .guarantee, .webdesign, .grid-4, .calc-grid { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .tier.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-3); }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4, .sample, .guarantee, .webdesign, .calc-grid, .form-grid,
  .band-grid, .split-grid, .card-grid { grid-template-columns: 1fr; gap: var(--s-4); }
  .hero-visual { margin-inline: auto; }
  .editor-photo { max-width: 320px; margin-inline: auto; }
  .editor-photo .editor-badge { right: 8px; }
  .guarantee { text-align: center; justify-items: center; }
  .seal { width: 140px; height: 140px; }
  .notify-form { flex-direction: column; }
  .notify-form .btn { width: 100%; }
  .calc-total { text-align: left; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar { gap: var(--s-2) var(--s-3); }
  .rc-float { left: 0; }
  .rc-tag { right: 8px; }
}
