/* paperkeep-modern.css — "Quiet Pro" re-theme overlay.
   Layered on paperkeep-styles.css, scoped to body.v3.mod.
   Modern product-site craft: confident type ramp, hairline depth, warm-gold
   accent used sparingly, soft elevation, refined motion + focus states. */

.v3.mod {
  --bg:        #ffffff;
  --bg-alt:    #f5f5f7;
  --bg-warm:   #faf8f4;
  --ink:       #1d1d1f;
  --ink-2:     #5f5f66;
  --ink-3:     #86868b;
  --hair:      rgba(0,0,0,0.11);
  --hair-soft: rgba(0,0,0,0.065);
  --gold:      #F5A800;
  --gold-deep: #9c6f07;
  --gold-wash: rgba(245,168,0,0.12);
  --navy:      #1B3A6B;
  --navy-2:    #16315C;
  --blue:      #0071e3;

  --r-sm: 12px;  --r: 16px;  --r-lg: 22px;  --r-xl: 30px;
  --sh-1: 0 1px 2px rgba(16,24,40,0.04), 0 1px 1px rgba(16,24,40,0.03);
  --sh-2: 0 14px 36px rgba(16,24,40,0.10), 0 2px 6px rgba(16,24,40,0.05);
  --sh-3: 0 30px 70px rgba(16,24,40,0.14);

  --disp: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;

  background: #fff;
  background-image: none;
  color: var(--ink);
  font-family: var(--disp);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html { scroll-behavior: smooth; }
.v3.mod ::selection { background: rgba(245,168,0,0.26); }

/* ── type: confident, tight, modern ── */
.v3.mod h1, .v3.mod h2, .v3.mod h3 { font-family: var(--disp); font-weight: 600; letter-spacing: -0.035em; color: var(--ink); text-wrap: balance; }
.v3.mod h1 { font-size: clamp(42px, 5.4vw, 72px); line-height: 1.05; }
.v3.mod h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; }
.v3.mod h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.v3.mod p { color: var(--ink-2); }
.v3.mod .em { font-style: normal; color: var(--gold-deep); }
.v3.mod .mono { font-family: var(--disp); letter-spacing: -0.005em; }

/* eyebrow → modern pill label with a dot */
.v3.mod .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--disp); font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
  text-transform: none; color: var(--gold-deep);
  background: var(--gold-wash); padding: 7px 15px 7px 13px; border-radius: 999px;
}
.v3.mod .kicker::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 999px; background: var(--gold); margin: 0; }

/* ── buttons ── */
.v3.mod .btn { font-family: var(--disp); font-weight: 500; font-size: 16px; letter-spacing: -0.01em; border-radius: 980px; padding: 14px 28px; box-shadow: none; transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease, background .2s ease; }
.v3.mod .btn svg { display: none; }
.v3.mod .btn-gold, .v3.mod .btn-ink { background: var(--navy); color: #fff; box-shadow: 0 1px 2px rgba(16,24,40,0.12); }
.v3.mod .btn-gold:hover, .v3.mod .btn-ink:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(27,58,107,0.28); background: var(--navy-2); }
.v3.mod .btn-ghost { background: transparent; color: var(--blue); box-shadow: none; padding: 14px 12px; }
.v3.mod .btn-ghost::after { content: '\203A'; margin-left: 5px; font-weight: 500; transition: transform .2s ease; display: inline-block; }
.v3.mod .btn-ghost:hover { background: transparent; }
.v3.mod .btn-ghost:hover::after { transform: translateX(4px); }

/* focus-visible (accessibility / professionalism) */
.v3.mod a:focus-visible, .v3.mod .btn:focus-visible, .v3.mod summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* ── nav: thin, frosted ── */
.v3.mod .nav { background: rgba(255,255,255,0.7); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--hair-soft); }
.v3.mod .nav-in { height: 56px; }
.v3.mod .nav span { font-family: var(--disp) !important; font-weight: 600 !important; font-size: 19px !important; letter-spacing: -0.02em; }
.v3.mod .nav span span:first-child { color: var(--ink); }
.v3.mod .nav span span:last-child { color: var(--gold-deep); }
.v3.mod .nav-links a { font-size: 14px; color: var(--ink-2); transition: color .18s ease; }
.v3.mod .nav-links a:hover { color: var(--ink); }
.v3.mod .nav .btn-ink { padding: 9px 18px; font-size: 14px; }

/* ── section rhythm ── */
.v3.mod .sec { padding: clamp(84px, 9vw, 120px) 0; }
.v3.mod .rule { display: none; }
.v3.mod .sec-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.v3.mod .sec-head .kicker { margin-bottom: 20px; }
.v3.mod .sec-head h2 { margin-top: 0; }
.v3.mod .sec-head p { font-size: 20px; line-height: 1.5; color: var(--ink-2); margin-top: 18px; }

.v3.mod #clock, .v3.mod #proof, .v3.mod #faq { background: var(--bg-alt); }
.v3.mod #desk, .v3.mod #receipt, .v3.mod .fin, .v3.mod .hero, .v3.mod #vault { background: #fff; }

/* ── hero: horizontal, text left + ring right, soft gold halo ── */
.v3.mod .hero { padding: clamp(72px,8vw,104px) 0 clamp(80px,9vw,112px); overflow: visible; }
.v3.mod .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; text-align: left; justify-items: stretch; align-items: center; }
.v3.mod .hero-grid > div:first-child { max-width: 560px; }
.v3.mod .hero h1 { margin-top: 22px !important; }
.v3.mod .hero .em { color: var(--gold-deep); }
.v3.mod .hero-sub { font-size: 21px; line-height: 1.5; color: var(--ink-2); margin: 26px 0 0; max-width: 510px; }
.v3.mod .hero-cta { justify-content: flex-start; margin-top: 32px; gap: 8px; align-items: center; }
.v3.mod .platforms { justify-content: flex-start; margin-top: 30px; }
.v3.mod .hero-fine { justify-content: flex-start; margin-top: 22px; }
.v3.mod .hero-fine span { color: var(--ink-3); }
.v3.mod .ring-stage { min-height: 0; justify-self: center; position: relative; }
.v3.mod .ring-stage::before { content: ''; position: absolute; left: 50%; top: 50%; width: 540px; height: 540px; max-width: 110%; aspect-ratio: 1; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(245,168,0,0.16) 0%, rgba(245,168,0,0.05) 40%, transparent 64%); filter: blur(12px); z-index: 0; pointer-events: none; }
.v3.mod .ring-stage > div { position: relative; z-index: 1; }
.v3.mod .ring-svg circle:first-of-type { stroke: #ececf0; }
.v3.mod .doc { box-shadow: var(--sh-2); }

/* ── timeline: centered single column, hairline spine ── */
.v3.mod .tl { max-width: 640px; margin: 0 auto; }
.v3.mod .tl::before { left: 50%; transform: translateX(-50%); background: repeating-linear-gradient(180deg, var(--hair) 0 7px, transparent 7px 15px); }
.v3.mod .tl-row { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 16px; }
.v3.mod .tl-ring { width: auto; }
.v3.mod .tl-ring svg { background: var(--bg-alt); }
.v3.mod .tl-when { color: var(--ink-3); }
.v3.mod .tl-card { background: #fff; border: 1px solid var(--hair-soft); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 28px 32px; max-width: 560px; margin: 0 auto; text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.v3.mod .tl-row.in .tl-card { box-shadow: var(--sh-1); }
.v3.mod .tl-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.v3.mod .tl-card h3 { color: var(--ink); }
.v3.mod .tl-card p { color: var(--ink-2); }
.v3.mod .tl-note { margin-left: auto; margin-right: auto; }

/* ── desk: quiet uniform cards, colour only in the icon tile ── */
.v3.mod .tools { gap: 18px; }
.v3.mod .tool { background: #fff; border: 1px solid var(--hair-soft); border-radius: var(--r-lg); box-shadow: var(--sh-1); color: var(--ink); padding: 30px 28px 28px; transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, border-color .25s ease; }
.v3.mod .tool::after { display: none; }
.v3.mod .tool:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: var(--hair); }
.v3.mod .tool h3 { color: var(--ink); margin-top: 24px; }
.v3.mod .tool p { color: var(--ink-2); }
.v3.mod .tool .tno { color: var(--ink-3); font-family: var(--disp); letter-spacing: 0; font-weight: 500; }
.v3.mod .tool .tic { border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.02); }
.v3.mod .tool-signature, .v3.mod .tool-wide { background: #fff; border-color: var(--hair-soft); }
.v3.mod .tool-signature .tno { color: var(--ink-3); }

/* the Sign feature: the hero of the desk, warm tinted panel */
.v3.mod .tool-wide.tool-sign { background: linear-gradient(165deg, #FFFDF8 0%, #FBF4E6 100%); border: 1px solid rgba(245,168,0,0.22); }
.v3.mod .tool-wide.tool-sign .tno { color: var(--gold-deep); }
/* warm-tinted panels matching the Sign card's background, without its 2-row span */
.v3.mod .tool-warm { background: linear-gradient(165deg, #FFFDF8 0%, #FBF4E6 100%); border: 1px solid rgba(245,168,0,0.22); }
.v3.mod .tool-warm .tno { color: var(--gold-deep); }
.v3.mod .sign-feat { background: rgba(255,255,255,0.7); border: 1px solid var(--hair-soft); border-radius: var(--r); }
.v3.mod .sign-feat b { color: var(--ink); }
.v3.mod .sf-ic { background: var(--gold-wash); }

/* ── proof: clean device showcase ── */
.v3.mod .exhibit { background: #fff; border: 1px solid var(--hair-soft); border-radius: var(--r-xl); box-shadow: var(--sh-1); padding: 30px 26px 24px; transition: transform .25s ease, box-shadow .25s ease; }
.v3.mod .exhibit::after { display: none; }
.v3.mod .proof-grid .exhibit:nth-child(1),
.v3.mod .proof-grid .exhibit:nth-child(2),
.v3.mod .proof-grid .exhibit:nth-child(3) { transform: none; }
.v3.mod .proof-grid .exhibit:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.v3.mod .device { border-color: #1d1d1f; background: #1d1d1f; }
.v3.mod .ex-plate { border-top: 1px solid var(--hair-soft); }
.v3.mod .ex-fig .no { color: var(--gold-deep); }
.v3.mod .ex-fig .nm { color: var(--ink-3); }
.v3.mod .proof-foot span { color: var(--ink-3); }

/* ── vault: full-bleed near-black privacy section ── */
.v3.mod #vault { background: #1d1d1f; }
.v3.mod #vault .vault { background: transparent; border-radius: 0; padding: 8px 0; }
.v3.mod #vault .vault::before { display: none; }
.v3.mod #vault h2, .v3.mod #vault .vault h2 { color: #f5f5f7; }
.v3.mod #vault .em { color: var(--gold); }
.v3.mod #vault p { color: rgba(245,245,247,0.66); }
.v3.mod #vault .kicker { color: var(--gold); background: rgba(245,168,0,0.16); }
.v3.mod #vault .kicker::before { background: var(--gold); }
.v3.mod #vault .vault-row { border-top-color: rgba(245,245,247,0.14); }
.v3.mod #vault .vault-row:last-child { border-bottom-color: rgba(245,245,247,0.14); }
.v3.mod #vault .vault-row .k { color: var(--gold); }
.v3.mod #vault .vault-row .v { color: rgba(245,245,247,0.8); }

/* ── receipt: calm, upright, elevated ── */
.v3.mod .receipt { transform: rotate(5deg); box-shadow: var(--sh-3); }
@media (max-width: 640px) { .v3.mod .receipt { transform: rotate(6deg); } }
.v3.mod #receipt .em { color: var(--gold-deep); }

/* ── faq: hairline accordion ── */
.v3.mod .faq-item { border-top-color: var(--hair); }
.v3.mod .faq-item:last-child { border-bottom-color: var(--hair); }
.v3.mod .faq-q { transition: opacity .18s ease; }
.v3.mod .faq-q:hover { opacity: 0.7; }
.v3.mod .faq-q h3 { color: var(--ink); font-weight: 600; }
.v3.mod .faq-q .pm { color: var(--ink-3); font-family: var(--disp); }
.v3.mod #faq .em { color: var(--gold-deep); }

/* ── final cta ── */
.v3.mod .fin { padding: clamp(96px,11vw,128px) 0; }
.v3.mod .fin h2 { font-size: clamp(36px, 5vw, 60px); }
.v3.mod .fin .em { color: var(--gold-deep); }
.v3.mod .fin p { font-size: 20px; color: var(--ink-2); margin-top: 16px; }

/* ── footer ── */
.v3.mod .foot { background: var(--bg-alt); border-top: 1px solid var(--hair-soft); }
.v3.mod .foot span { font-family: var(--disp) !important; }
.v3.mod .foot span span:first-child { color: var(--ink); }
.v3.mod .foot span span:last-child { color: var(--gold-deep); }
.v3.mod .foot a { color: var(--ink-2); transition: color .18s ease; }
.v3.mod .foot a:hover { color: var(--ink); }
.v3.mod .foot .fine, .v3.mod .foot .legal-links a { color: var(--ink-3); }
.v3.mod .foot-legal { border-top-color: var(--hair-soft); }

/* ── platforms / fine pills ── */
.v3.mod .plat { background: var(--bg-alt); border: 1px solid var(--hair-soft); color: var(--ink-2); border-radius: 999px; }

/* ════════ scroll-reveal motion ════════ */
.v3.mod.reveal-ready .reveal { transition: opacity 0.8s cubic-bezier(.22,.61,.36,1), transform 0.8s cubic-bezier(.22,.61,.36,1); }
.v3.mod.reveal-ready .reveal:not(.in) { opacity: 0; transform: translateY(26px); }
@media (prefers-reduced-motion: reduce) {
  .v3.mod.reveal-ready .reveal:not(.in) { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── responsive ── */
@media (max-width: 960px) {
  .v3.mod .hero-sub { font-size: 19px; margin-left: auto; margin-right: auto; }
  .v3.mod .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 48px; }
  .v3.mod .hero-grid > div:first-child { max-width: none; }
  .v3.mod .hero-cta, .v3.mod .hero-fine, .v3.mod .platforms { justify-content: center; }
}
@media (max-width: 600px) {
  .v3.mod h1 { font-size: clamp(34px, 9vw, 44px); }
  .v3.mod .sec-head p { font-size: 18px; }
}

/* ════════════════════════════════════════════════════════════
   PROFESSIONAL POLISH LAYER  ·  elevated craft, appended last so
   these rules win on equal specificity. Refined hero atmosphere,
   confident type, scrolled-nav state, layered depth, finer detail.
   ════════════════════════════════════════════════════════════ */

/* — refined type ramp: a touch larger + tighter for a premium feel — */
.v3.mod h1 { font-size: clamp(44px, 5.8vw, 80px); line-height: 1.02; letter-spacing: -0.04em; }
.v3.mod h2 { font-size: clamp(31px, 3.8vw, 52px); line-height: 1.06; letter-spacing: -0.038em; }
.v3.mod .sec-head { max-width: 740px; margin: 0 auto 72px; }
.v3.mod .sec-head p { font-size: 20.5px; line-height: 1.5; color: var(--ink-2); }

/* — nav: tighter, with a scrolled state (shadow + solidify), set by JS — */
.v3.mod .nav { transition: background .25s ease, box-shadow .25s ease, border-color .25s ease; }
.v3.mod .nav.scrolled { background: rgba(255,255,255,0.82); box-shadow: 0 1px 0 rgba(16,24,40,0.06), 0 8px 30px rgba(16,24,40,0.06); border-bottom-color: transparent; }
.v3.mod .nav-links { gap: 34px; }
.v3.mod .nav-links a { position: relative; font-weight: 500; }
.v3.mod .nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .24s cubic-bezier(.2,.7,.3,1); }
.v3.mod .nav-links a:hover::after { transform: scaleX(1); }

/* — hero: atmospheric mesh + masked dot-grid, more confident spacing — */
.v3.mod .hero {
  position: relative;
  background:
    radial-gradient(54% 48% at 84% 26%, rgba(245,168,0,0.12), transparent 72%),
    radial-gradient(46% 55% at 8% 88%, rgba(46,123,246,0.055), transparent 72%),
    #fff;
}
.v3.mod .hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(31,39,53,0.055) 1px, transparent 1.4px);
  background-size: 27px 27px;
  -webkit-mask-image: radial-gradient(78% 72% at 60% 38%, #000 0%, transparent 76%);
  mask-image: radial-gradient(78% 72% at 60% 38%, #000 0%, transparent 76%);
}
.v3.mod .hero .wrap { position: relative; z-index: 1; }
.v3.mod .hero h1 { letter-spacing: -0.045em; }
.v3.mod .hero-sub { font-size: 21.5px; color: var(--ink-2); }
.v3.mod .ring-stage::before { background: radial-gradient(circle, rgba(245,168,0,0.22) 0%, rgba(245,168,0,0.06) 42%, transparent 66%); width: 580px; height: 580px; filter: blur(8px); }
.v3.mod .doc { box-shadow: 0 30px 70px rgba(16,24,40,0.16), 0 6px 16px rgba(16,24,40,0.08); }

/* — hero fine print: refine into crisp uppercase micro-labels — */
.v3.mod .hero-fine span { font-size: 11.5px; letter-spacing: 0.1em; font-weight: 600; color: var(--ink-3); }
.v3.mod .hero-fine span.mono { color: var(--gold-deep); }
.v3.mod .plat { font-weight: 550; box-shadow: var(--sh-1); }

/* — primary CTA: keep navy, add a subtle sheen + crisper lift — */
.v3.mod .btn-gold, .v3.mod .btn-ink { background: linear-gradient(180deg, #21457D 0%, var(--navy) 60%, var(--navy-2) 100%); box-shadow: 0 1px 2px rgba(16,24,40,0.16), 0 8px 22px rgba(27,58,107,0.22); }
.v3.mod .btn-gold:hover, .v3.mod .btn-ink:hover { box-shadow: 0 2px 4px rgba(16,24,40,0.18), 0 16px 34px rgba(27,58,107,0.30); }

/* — section rhythm: warm-tint the alternating bands for depth — */
.v3.mod #clock, .v3.mod #faq { background: linear-gradient(180deg, #faf9f7 0%, #f5f5f7 100%); }
.v3.mod #proof { background: linear-gradient(180deg, #f5f5f7 0%, #f1f1f4 100%); }

/* — kicker label: a hair more refined — */
.v3.mod .kicker { font-size: 12.5px; letter-spacing: 0.02em; padding: 7px 14px 7px 12px; box-shadow: inset 0 0 0 1px rgba(245,168,0,0.16); }

/* — cards: more layered, modern depth + smoother lift — */
.v3.mod .tool { border-radius: var(--r-xl); box-shadow: 0 1px 2px rgba(16,24,40,0.04), 0 1px 3px rgba(16,24,40,0.03); }
.v3.mod .tool:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(16,24,40,0.12), 0 4px 10px rgba(16,24,40,0.05); }
.v3.mod .tool .tic { border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03); }
.v3.mod .exhibit { border-radius: var(--r-xl); }

/* — desk: promote the Sign card to a true 2-col bento hero on wide screens — */
@media (min-width: 880px) {
  .v3.mod .tools { grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; }
  .v3.mod .tool-wide.tool-sign { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
  .v3.mod .tool-wide.tool-sign > p { font-size: 17px; max-width: 540px; }
  .v3.mod .tool-wide.tool-sign .sign-feats { margin-top: auto; padding-top: 24px; }
  .v3.mod .tool-wide:not(.tool-sign) { grid-column: span 2; }
}

/* — timeline: crisper card + active ring glow — */
.v3.mod .tl-card { border-radius: var(--r-xl); }
.v3.mod .tl-row.in .tl-ring svg { filter: drop-shadow(0 4px 12px rgba(245,168,0,0.18)); }

/* — vault: richer near-black with a faint gold horizon — */
.v3.mod #vault { background: radial-gradient(120% 90% at 50% -10%, #2a2a2e 0%, #1d1d1f 46%, #161618 100%); }

/* — receipt section: warm paper backdrop so the receipt sits in context — */
.v3.mod #receipt { background: linear-gradient(180deg, #ffffff 0%, #faf8f4 100%); }

/* — final CTA: subtle radial spotlight — */
.v3.mod .fin { background: radial-gradient(70% 120% at 50% 0%, #faf9f7 0%, #ffffff 60%); }

/* — footer: a touch more structured — */
.v3.mod .foot { padding-top: 52px; padding-bottom: 60px; }

@media (max-width: 600px) {
  .v3.mod .hero-sub { font-size: 19px; }
  .v3.mod .sec-head { margin-bottom: 52px; }
}
