/*  pune.broker  |  Landing + Wizard v2 — Corporate ("The Advisory")
    Navy + Gold + Paper. Tenor Sans display, Inter body.
    Preserves every class from prior versions; reskins for awards-grade polish.
*/

:root {
  --paper:        #f6f1e7;
  --paper-2:      #fffdf7;
  --paper-3:      #efe7d4;
  --ink:          #0f0f10;
  --ink-2:        #2a2a2e;
  --ink-3:        #2a2a2e;
  --navy:         #0e2a47;
  --navy-2:       #0a1f36;
  --navy-3:       #1d3a5c;
  --navy-deep:    #061528;
  --gold:         #c9a24a;
  --gold-2:       #e9c876;
  --gold-soft:    rgba(201,162,74,0.12);
  --gold-glow:    rgba(233,200,118,0.22);
  --muted:        #6e6862;
  --muted-2:      rgba(110,104,98,0.7);
  --line:         #e7e0d1;
  --line-strong:  #d5cab2;
  --line-dark:    rgba(246,241,231,0.14);
  --line-dark-2:  rgba(246,241,231,0.32);
  --display: "Tenor Sans", "Cormorant Garamond", Georgia, serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --max: 1180px;
  --max-narrow: 800px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
  --radius: 14px;
  --radius-sm: 6px;
  --radius-lg: 22px;
  --shadow: 0 12px 32px rgba(14,42,71,0.10);
  --shadow-lg: 0 24px 64px rgba(14,42,71,0.16);
}

@import url("https://fonts.googleapis.com/css2?family=Tenor+Sans&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&display=swap");

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
html { background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-size: 16px; }
body { background: var(--paper); color: var(--ink); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
::selection { background: var(--gold-soft); color: var(--navy); }

/* =========================================================================
   Type system — Tenor Sans display, Inter body. Headings capped per spec.
   ========================================================================= */
h1, h2, h3, h4, .display, blockquote {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0;
}
.it { font-style: italic; font-weight: 400; color: var(--gold); font-family: var(--display); }
p { line-height: 1.65; color: var(--ink-2); margin: 0; font-size: 0.96rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.subtle { color: var(--muted); font-size: 0.84rem; }

/* =========================================================================
   Layout
   ========================================================================= */
.shell { width: min(100% - 2rem, var(--max)); margin: 0 auto; }
.shell-narrow { width: min(100% - 2rem, var(--max-narrow)); margin: 0 auto; }
.section { padding: clamp(2.4rem, 6vw, 4.5rem) 0; }
.section-tight { padding: clamp(1.6rem, 4vw, 2.6rem) 0; }
.rule { display: block; width: 100%; height: 1px; background: var(--line); border: 0; margin: 0; }
.rule-short { display: block; width: 56px; height: 1px; background: var(--gold); border: 0; margin: 1.4rem auto; }

/* =========================================================================
   Nav — corporate navy-on-paper, gold cta
   ========================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  background: rgba(246,241,231,0.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.nav.is-scrolled { background: rgba(246,241,231,0.97); box-shadow: 0 4px 18px rgba(14,42,71,0.06); }
.nav .brand {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  white-space: nowrap;
  display: flex; align-items: center; gap: .55rem;
}
.nav .brand .dot { color: var(--gold); padding: 0 0.02em; font-weight: 700; }
.nav .links { display: none; }
.nav .cta {
  padding: 0.6rem 1rem;
  background: var(--gold-2);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--gold-2);
  border-radius: 4px;
  cursor: pointer;
  min-height: 40px;
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: 0 6px 16px rgba(233,200,118,0.28);
}
.nav .cta:hover { background: var(--gold); box-shadow: 0 10px 22px rgba(201,162,74,0.36); }
@media (min-width: 640px) {
  .nav { padding: 0.85rem 1.5rem; }
  .nav .brand { font-size: 1.1rem; }
}
@media (min-width: 820px) {
  .nav { padding: 0.95rem 2rem; }
  .nav .brand { font-size: 1.2rem; }
  .nav .links { display: flex; gap: 1.6rem; }
  .nav .links a {
    font-family: var(--sans); font-size: 0.78rem; font-weight: 500;
    color: var(--ink-2); transition: color .2s var(--ease);
    position: relative; padding: .25rem .1rem;
  }
  .nav .links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
    background: var(--gold); transform: scaleX(0); transform-origin: left;
    transition: transform .28s var(--ease);
  }
  .nav .links a:hover::after { transform: scaleX(1); }
  .nav .links a:hover { color: var(--navy); }
  .nav .cta { padding: 0.7rem 1.15rem; font-size: 0.74rem; }
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
  min-height: 48px;
  text-align: center;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  position: relative; overflow: hidden;
}
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .55s var(--ease);
  pointer-events: none;
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-1px); }
.btn-ink, .btn-primary, .btn-gold {
  background: var(--gold-2); color: var(--navy);
  box-shadow: 0 10px 24px rgba(233,200,118,0.32);
}
.btn-ink:hover, .btn-primary:hover, .btn-gold:hover {
  background: var(--gold); box-shadow: 0 14px 28px rgba(201,162,74,0.40);
}
.btn-ghost {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--paper); }
.btn-secondary {
  background: var(--paper-2); color: var(--navy); border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--navy); }
.btn-lg { padding: 1rem 1.65rem; font-size: 0.82rem; min-height: 52px; letter-spacing: 0.22em; }
.btn-block { width: 100%; }
.btn .arrow { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.4; fill: none; }

/* =========================================================================
   Title page (homepage)
   ========================================================================= */
.title-page {
  min-height: calc(100vh - 4rem);
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 calc(2rem + var(--safe-bottom));
  background:
    radial-gradient(ellipse at 25% 12%, rgba(233,200,118,0.16), transparent 42%),
    radial-gradient(ellipse at 80% 80%, rgba(14,42,71,0.07), transparent 50%),
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 60%, var(--paper-3) 100%);
  position: relative; overflow: hidden;
}
.title-page::before {
  /* breathing blueprint grid */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14,42,71,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,42,71,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
  animation: pb-drift 36s linear infinite;
  pointer-events: none;
}
@keyframes pb-drift {
  to { background-position: 56px 56px, 56px 56px; }
}
.title-page .center {
  text-align: center;
  max-width: 56ch;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 3.5rem) 1rem 1rem;
  position: relative; z-index: 2;
}
.title-page .imprint {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-bottom: 1.5rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.title-page .imprint::before, .title-page .imprint::after {
  content: ""; width: 22px; height: 1px; background: currentColor;
}
.title-page h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: var(--ink);
  max-width: 16ch;
  margin: 0 auto;
}
.title-page h1 .it { color: var(--gold); font-style: normal; }
.title-page p {
  margin: 1.2rem auto 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}
.title-page .cta-row {
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center;
  margin: 2rem auto 0;
}
.title-page .below {
  margin-top: 1.4rem;
  display: flex; flex-wrap: wrap; gap: 1.1rem; justify-content: center;
  font-size: 0.84rem; color: var(--muted);
}
.title-page .below a {
  color: var(--navy); border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.title-page .below a:hover { color: var(--gold); border-color: var(--gold); }

/* Title bento — credibility row */
.title-bento {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem;
  width: min(100% - 2rem, 760px); margin: 2rem auto 0;
  position: relative; z-index: 2;
}
@media (min-width: 760px) { .title-bento { grid-template-columns: repeat(4, 1fr); } }
.title-bento .bx {
  background: var(--paper-2); border: 1px solid var(--line);
  padding: 1rem 1.1rem; border-radius: var(--radius);
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  text-align: left;
}
.title-bento .bx:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: var(--shadow); }
.title-bento .bx strong {
  display: block; font-family: var(--display); font-weight: 400; font-size: 1.4rem; line-height: 1;
  color: var(--navy); margin-bottom: .4rem;
}
.title-bento .bx span {
  color: var(--muted); font-size: .62rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-family: var(--sans); font-weight: 500;
}

/* =========================================================================
   Hero (sub-pages)
   ========================================================================= */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
  background:
    radial-gradient(circle at 15% 20%, rgba(233,200,118,0.10), transparent 38%),
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.hero .shell { display: grid; gap: 1.4rem; }
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.12;
  max-width: 18ch;
  color: var(--ink);
}
.hero h1 .it { color: var(--gold); }
.hero p.lede {
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hero-meta {
  display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr);
  padding-top: 1.4rem; margin-top: .8rem; border-top: 1px solid var(--line);
}
@media (min-width: 640px) { .hero-meta { grid-template-columns: repeat(4, 1fr); } }
.hero-meta .m { text-align: left; }
.hero-meta .m strong {
  display: block;
  font-family: var(--display);
  font-weight: 400; font-size: 1.7rem; line-height: 1;
  color: var(--navy); margin-bottom: .4rem;
}
.hero-meta .m span {
  font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}

/* =========================================================================
   Section heads
   ========================================================================= */
.section-head { max-width: 64ch; margin: 0 0 1.6rem; }
.section-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: .4rem 0 .5rem; color: var(--ink); }
.section-head h2 .it { color: var(--gold); }
.section-head p { color: var(--muted); font-size: 0.98rem; max-width: 58ch; }

/* =========================================================================
   Bento — homepage / landing variants
   ========================================================================= */
.bento {
  display: grid; gap: .9rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .bento { grid-template-columns: repeat(4, 1fr); } }

.box {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem 1.35rem;
  display: flex; flex-direction: column; gap: .55rem;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  position: relative; overflow: hidden;
  min-height: 140px;
}
.box::after {
  content: ""; position: absolute; top: -50%; right: -50%; width: 100%; height: 100%;
  background: radial-gradient(circle, var(--gold-glow), transparent 60%);
  opacity: 0; transition: opacity .35s var(--ease);
  pointer-events: none;
}
.box:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: var(--shadow); }
.box:hover::after { opacity: 1; }
.box[role="link"], a.box { cursor: pointer; }
.box .lbl {
  font-family: var(--sans); font-size: 0.62rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.box h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 400; line-height: 1.15; max-width: 16ch; color: var(--ink); }
.box .val {
  font-family: var(--display); font-size: 1.7rem; font-weight: 400; line-height: 1;
  color: var(--navy); margin-top: auto;
}
.box .small { color: var(--muted); font-size: 0.82rem; line-height: 1.5; }
.box .open {
  display: inline-flex; align-items: center; gap: .35rem; margin-top: auto;
  font-family: var(--sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy);
  transition: color .2s var(--ease), gap .2s var(--ease);
}
.box .open::after { content: "→"; transition: transform .2s var(--ease); }
.box:hover .open::after { transform: translateX(3px); }
.box:hover .open { color: var(--gold); }

.box.box--ink {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--paper); border-color: var(--navy-3);
}
.box.box--ink:hover { border-color: var(--gold); }
.box.box--ink h3, .box.box--ink .val { color: var(--paper); }
.box.box--ink .lbl { color: var(--gold-2); }
.box.box--ink .small, .box.box--ink .open { color: rgba(246,241,231,0.78); }
.box.box--ink .open { color: var(--gold-2); }
.box.box--ink:hover .open { color: var(--gold-2); }
.box.box--big { grid-column: span 1; }
@media (min-width: 980px) { .box.box--big { grid-column: span 2; } }
.box.box--tall { grid-row: span 2; }

/* =========================================================================
   Area / list rows
   ========================================================================= */
.area-index { display: grid; gap: 0; border-top: 1px solid var(--line); }
.area-index a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0.4rem;
  border-bottom: 1px solid var(--line);
  transition: padding .2s var(--ease), background .2s var(--ease);
  color: var(--ink);
}
.area-index a:hover { padding-left: 0.9rem; padding-right: 0.9rem; background: var(--paper-3); }
.area-index .name { font-family: var(--display); font-size: 1.15rem; font-weight: 400; }
.area-index .price { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); white-space: nowrap; }

.list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.list .row {
  display: grid; grid-template-columns: 1fr auto; gap: .4rem 1rem; align-items: baseline;
  padding: 1.1rem 0.4rem;
  border-bottom: 1px solid var(--line);
  transition: padding .2s var(--ease), background .2s var(--ease);
  color: var(--ink);
}
.list .row:hover { padding-left: 0.9rem; padding-right: 0.9rem; background: var(--paper-3); }
.list .row .lbl { font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); grid-column: 1 / -1; margin-bottom: -0.2rem; font-weight: 600; }
.list .row h3, .list .row .name { font-family: var(--display); font-size: 1.1rem; font-weight: 400; }
.list .row .small, .list .row p { color: var(--ink-2); font-size: 0.86rem; line-height: 1.55; grid-column: 1 / -1; margin: 0.2rem 0 0; }
.list .row .open {
  font-family: var(--sans); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy);
  display: inline-flex; align-items: center; gap: .3rem;
}
.list .row .open::after { content: "→"; transition: transform .2s var(--ease); }
.list .row:hover .open::after { transform: translateX(3px); }
.list a.row { color: inherit; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
.tag-row span {
  font-family: var(--mono); font-size: 0.72rem; color: var(--muted);
  background: var(--paper-3); padding: .25rem .55rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

/* =========================================================================
   Quote
   ========================================================================= */
.quote {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--paper);
  border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3rem);
  position: relative; overflow: hidden;
}
.quote::before {
  content: '"'; position: absolute; top: -.4em; left: .25em;
  font-family: var(--display); font-size: 12rem; color: var(--gold-2); opacity: .15;
  line-height: 1;
}
.quote blockquote {
  margin: 0; max-width: 60ch;
  font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 400;
  line-height: 1.4; color: var(--paper); position: relative; z-index: 1;
}
.quote blockquote .it { color: var(--gold-2); }
.quote cite {
  display: block; margin-top: 1.2rem; font-family: var(--sans); font-style: normal;
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(246,241,231,0.7); font-weight: 500;
}

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 0; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 0.4rem; cursor: pointer; list-style: none;
  font-family: var(--display); font-size: 1.05rem; font-weight: 400; color: var(--ink);
  transition: padding .2s var(--ease), color .2s var(--ease);
}
.faq-item:hover summary { padding-left: 0.6rem; padding-right: 0.6rem; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { display: inline-block; width: 18px; height: 18px; position: relative; flex-shrink: 0; transition: transform .25s var(--ease); }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--gold); transform: translate(-50%,-50%); }
.faq-item summary .plus::before { width: 14px; height: 1.5px; }
.faq-item summary .plus::after { width: 1.5px; height: 14px; transition: transform .25s var(--ease); }
.faq-item[open] summary .plus::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-item p { margin: 0 0 1.2rem .4rem; color: var(--ink-2); font-size: 0.94rem; max-width: 60ch; line-height: 1.65; }

/* =========================================================================
   Final CTA
   ========================================================================= */
.final-cta {
  text-align: center; padding: clamp(2.8rem, 6vw, 4.5rem) 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--paper); border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(233,200,118,0.12), transparent 38%),
    radial-gradient(circle at 80% 70%, rgba(233,200,118,0.08), transparent 42%);
  pointer-events: none;
}
.final-cta .eyebrow { display: inline-flex; margin-bottom: 1rem; color: var(--gold-2); position: relative; z-index: 1; }
.final-cta h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--paper); margin: 0 auto 1.4rem; max-width: 22ch;
  position: relative; z-index: 1;
}
.final-cta h2 .it { color: var(--gold-2); }
.final-cta .cta-row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.final-cta .btn-ghost { color: var(--paper); border-color: var(--line-dark-2); }
.final-cta .btn-ghost:hover { background: var(--gold-2); color: var(--navy); border-color: var(--gold-2); }

/* =========================================================================
   Footer
   ========================================================================= */
.foot {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: rgba(246,241,231,0.78);
  padding: clamp(2.2rem, 5vw, 3.5rem) 1.2rem 1.2rem;
  position: relative; overflow: hidden;
}
.foot::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(233,200,118,0.10), transparent 38%),
    radial-gradient(circle at 84% 70%, rgba(233,200,118,0.06), transparent 42%);
  pointer-events: none;
}
.foot .shell { position: relative; }
.foot .grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .foot .grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot .grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 720px) { .foot .grid > div:first-child { grid-column: auto; } }
.foot h5 {
  font-family: var(--sans); font-weight: 600; font-size: 0.7rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-2); margin: 0 0 1rem;
}
.foot a { display: block; padding: 0.3rem 0; color: rgba(246,241,231,0.7); font-size: 0.88rem; transition: color .2s var(--ease); }
.foot a:hover { color: var(--gold-2); }
.foot .brand {
  font-family: var(--display); font-weight: 400; font-size: 1.3rem;
  color: var(--paper); margin: 0 0 0.7rem; letter-spacing: 0.02em;
  display: flex; align-items: center; gap: .55rem;
}
.foot .brand img { width: 30px; height: 30px; }
.foot .brand .dot { color: var(--gold-2); padding: 0 0.04em; font-weight: 700; font-style: normal; }
.foot p { color: rgba(246,241,231,0.68); font-size: 0.88rem; line-height: 1.65; margin: 0 0 1rem; max-width: 38ch; }
.foot .pwa { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-dark); }
.foot .pwa strong { display: block; color: var(--gold-2); font-family: var(--display); font-size: 1.05rem; margin-bottom: 0.3rem; font-weight: 400; }
.foot .pwa small { display: block; color: rgba(246,241,231,0.6); font-size: 0.82rem; line-height: 1.55; max-width: 32ch; margin-bottom: 0.7rem; }
.foot .pwa button {
  padding: 0.65rem 1.15rem;
  background: var(--gold-2); color: var(--navy);
  font-family: var(--sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 4px; cursor: pointer; border: 0;
  transition: background .2s var(--ease);
}
.foot .pwa button:hover { background: var(--gold); }
.foot-bottom {
  margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; font-size: 0.78rem; color: rgba(246,241,231,0.5);
}

/* =========================================================================
   Thumb CTA (mobile)
   ========================================================================= */
.thumb-cta {
  position: fixed; bottom: calc(0.85rem + var(--safe-bottom)); left: 0.75rem; right: 0.75rem;
  z-index: 70;
  transform: translateY(120%); transition: transform .4s var(--ease);
  display: flex; gap: .5rem;
}
.thumb-cta.is-visible { transform: none; }
.thumb-cta .btn { width: 100%; box-shadow: 0 16px 36px rgba(14,42,71,0.22); }
@media (min-width: 820px) { .thumb-cta { display: none; } }

/* =========================================================================
   Reveal on scroll
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================================
   Wizard v2 overlay — corporate restyle
   ========================================================================= */
.wiz-overlay {
  position: fixed; inset: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(233,200,118,0.20), transparent 38%),
    radial-gradient(circle at 82% 90%, rgba(14,42,71,0.5), transparent 42%),
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  z-index: 100; opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.wiz-overlay.is-open { opacity: 1; pointer-events: auto; }
.wiz-overlay::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14,42,71,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,42,71,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 80%);
  pointer-events: none;
  animation: pb-drift 36s linear infinite;
}

.wiz-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.2rem; position: relative; z-index: 2;
  border-bottom: 1px solid var(--line);
  background: rgba(246,241,231,0.86);
  backdrop-filter: blur(12px);
}
.wiz-head .brand {
  font-family: var(--display); font-weight: 400; font-size: 1.05rem;
  letter-spacing: 0.02em; color: var(--navy);
  display: flex; align-items: center; gap: .5rem;
}
.wiz-head .brand .dot { color: var(--gold); padding: 0 0.02em; font-weight: 700; }

.wiz-progress {
  flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden;
  max-width: 220px; position: relative;
}
.wiz-progress span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .55s var(--ease); }

.wiz-close {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 1.3rem; line-height: 1;
  background: transparent; border: 0; border-radius: 50%; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.wiz-close:hover { background: var(--paper-3); color: var(--navy); }

.wiz-stage {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem) 1.2rem;
  position: relative; z-index: 2; overflow-y: auto;
}
.wiz-stage-inner { width: min(580px, 100%); margin: 0 auto; }
.wiz-step { display: none; opacity: 0; }
.wiz-step.is-active { display: block; animation: stepIn .5s var(--ease) forwards; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wiz-counter {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 0.7rem; font-weight: 500;
}
.wiz-question {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.18; color: var(--ink);
  max-width: 22ch; margin: 0 0 0.6rem;
  letter-spacing: 0.005em;
}
.wiz-question .it { color: var(--gold); font-style: normal; }
.wiz-helper { color: var(--muted); font-size: 0.94rem; line-height: 1.6; max-width: 44ch; margin: 0 0 1.6rem; }

.wiz-opts { display: grid; gap: .6rem; }
.cols-1 { grid-template-columns: 1fr; }
.cols-3 { grid-template-columns: repeat(2, 1fr); }
.cols-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 540px) { .cols-3 { grid-template-columns: repeat(3, 1fr); } .cols-4 { grid-template-columns: repeat(4, 1fr); } }

.wiz-opt {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.95rem 1rem;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; text-align: left;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.wiz-opt:hover { border-color: var(--gold); transform: translateY(-1px); box-shadow: var(--shadow); }
.wiz-opt.is-selected { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.wiz-opt .label { display: grid; gap: 0.15rem; min-width: 0; flex: 1; }
.wiz-opt .label strong { font-family: var(--display); font-weight: 400; font-size: 1rem; line-height: 1.15; color: inherit; }
.wiz-opt .label small { color: var(--muted); font-size: 0.84rem; line-height: 1.4; }
.wiz-opt.is-selected .label small { color: rgba(246,241,231,0.7); }
.wiz-opt .check {
  width: 22px; height: 22px; flex-shrink: 0;
  border: 1.5px solid var(--line-strong); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: transparent; transition: background .2s var(--ease), border-color .2s var(--ease);
}
.wiz-opt .check svg { width: 11px; height: 11px; stroke: currentColor; stroke-width: 2; fill: none; opacity: 0; transition: opacity .22s var(--ease); }
.wiz-opt:hover .check { border-color: var(--gold); }
.wiz-opt.is-selected .check { background: var(--gold-2); border-color: var(--gold-2); color: var(--navy); }
.wiz-opt.is-selected .check svg { opacity: 1; }
.wiz-opt .ic { display: none; }

.wiz-input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--sans); font-size: 1rem;
  background: var(--paper-2); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.wiz-input::placeholder { color: var(--muted-2); }
.wiz-input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(14,42,71,0.10); }

.wiz-field { display: grid; gap: 0.4rem; margin-bottom: 1.2rem; }
.wiz-field label { color: var(--muted); font-family: var(--sans); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.wiz-field select.wiz-input {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%230e2a47' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem;
}

.wiz-slider {
  appearance: none; -webkit-appearance: none;
  width: 100%; height: 4px; background: var(--line); border-radius: 4px;
  outline: none; cursor: pointer;
}
.wiz-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 999px; background: var(--gold-2); border: 2px solid var(--navy); cursor: pointer; box-shadow: 0 4px 12px rgba(201,162,74,0.32); }
.wiz-slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 999px; background: var(--gold-2); border: 2px solid var(--navy); cursor: pointer; box-shadow: 0 4px 12px rgba(201,162,74,0.32); }
.wiz-budget-read { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.4rem; }
.wiz-budget-read strong { font-family: var(--display); font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 400; color: var(--navy); letter-spacing: 0; line-height: 1; }
.wiz-budget-read span { color: var(--muted); font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; }
.wiz-budget-marks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.7rem; color: var(--muted); margin-top: 0.7rem; letter-spacing: 0.02em; }

.wiz-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.2rem calc(1rem + var(--safe-bottom));
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(246,241,231,0.86); backdrop-filter: blur(12px);
}
.wiz-nav .back {
  background: transparent; border: 0; color: var(--muted);
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.6rem 0.4rem; cursor: pointer;
  transition: color .2s var(--ease);
}
.wiz-nav .back:hover { color: var(--navy); }
.wiz-nav .next {
  padding: 0.85rem 1.4rem;
  background: var(--gold-2); color: var(--navy);
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 4px; border: 1px solid var(--gold-2); cursor: pointer;
  min-height: 48px;
  display: inline-flex; align-items: center; gap: .55rem;
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
  box-shadow: 0 10px 24px rgba(233,200,118,0.32);
}
.wiz-nav .next:hover { background: var(--gold); transform: translateY(-1px); box-shadow: 0 14px 28px rgba(201,162,74,0.40); }
.wiz-nav .next:disabled { opacity: 0.4; pointer-events: none; }
.wiz-nav .next .arrow { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.6; fill: none; }

.wiz-final { text-align: center; padding-top: 1rem; }
.wiz-final .seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin: 0 auto 1.4rem;
  border: 1.5px solid var(--gold); border-radius: 50%;
  color: var(--gold); position: relative;
  background: var(--gold-soft);
}
.wiz-final .seal::before {
  content: ""; position: absolute; inset: -8px; border: 1px solid rgba(201,162,74,0.4); border-radius: 50%;
  animation: pb-ping-seal 2.6s ease-out infinite;
}
@keyframes pb-ping-seal {
  0%   { transform: scale(0.92); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.wiz-final .seal svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.wiz-final h2 {
  font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 auto 1rem;
  max-width: 22ch; font-weight: 400; line-height: 1.12; color: var(--ink);
}
.wiz-final h2 .it { color: var(--gold); }
.wiz-final p { color: var(--muted); max-width: 46ch; margin: 0 auto 1.8rem; font-size: 0.96rem; line-height: 1.65; }

/* =========================================================================
   PWA install pill — corporate
   ========================================================================= */
.install-prompt {
  position: fixed;
  bottom: calc(0.75rem + var(--safe-bottom));
  left: 0.75rem; right: 0.75rem;
  margin: 0 auto; max-width: 640px;
  padding: 0.4rem 0.4rem 0.4rem 1rem;
  background: var(--navy); color: var(--paper);
  display: none; align-items: center; gap: 0.6rem;
  z-index: 90;
  border-radius: var(--radius-pill, 999px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  border: 1px solid var(--navy-3);
}
.install-prompt.is-visible { display: flex; }
.install-prompt .copy { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 0.5rem; white-space: nowrap; overflow: hidden; }
.install-prompt strong { font-family: var(--display); font-size: 0.95rem; font-weight: 400; color: var(--gold-2); }
.install-prompt small { color: rgba(246,241,231,0.7); font-size: 0.72rem; overflow: hidden; text-overflow: ellipsis; }
.install-prompt button[data-install] {
  padding: 0.45rem 1rem; background: var(--gold-2); color: var(--navy); border: 0;
  border-radius: 999px; font-family: var(--sans); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; flex-shrink: 0;
}
.install-prompt .dismiss {
  width: 1.7rem; height: 1.7rem; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: rgba(246,241,231,0.75); border: 0;
  border-radius: 999px; font-size: 1.15rem; line-height: 1; cursor: pointer;
  flex-shrink: 0; transition: background 0.15s ease, color 0.15s ease;
}
.install-prompt .dismiss:hover { background: rgba(246,241,231,0.10); color: var(--paper); }
@media (max-width: 480px) { .install-prompt .copy small { display: none; } }

/* Helpers */
.center-text { text-align: center; }
.muted { color: var(--muted); }

@media print {
  .nav, .thumb-cta, .install-prompt, .wiz-overlay { display: none !important; }
  .foot { background: white; color: black; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
