/* VeeWill website, "B. Midnight" direction.
   Colours and sizes come from the design canvas. Change them here only. */
:root {
  --night: #141C3D;        /* page background */
  --navy: #213062;         /* panels, brand navy */
  --line: #34407A;         /* borders on dark */
  --muted: #C9CEE0;        /* secondary text on dark */
  --faint: #9AA3C7;        /* footer text */
  --gold: #E8B04A;         /* buttons and highlights */
  --gold-deep: #C08500;    /* brand gold */
  --paper: #FFFFFF;
  --mist: #F3F4F8;         /* cards on white */
  --ink: #1D2233;          /* text on white */
  --ink-soft: #4A4F5E;
  --rule: #E3E6EF;
  --btn-radius: 14px;
  --card-radius: 24px;
  --gutter: clamp(20px, 6.6vw, 96px);
  --font: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:hover { color: var(--paper); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--gold); color: var(--night); padding: 10px 16px;
  border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 28px; border-radius: var(--btn-radius);
  font: 700 17px/1.2 var(--font); text-decoration: none; text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: #F2C268; color: var(--night); }
.btn-ghost { color: var(--paper); border: 1.5px solid var(--line); font-weight: 600; }
.btn-ghost:hover { border-color: var(--muted); color: var(--paper); }
.btn-night { background: var(--night); color: var(--paper); }
.btn-night:hover { background: var(--navy); color: var(--paper); }
.btn-sm { padding: 12px 20px; font-size: 15px; border-radius: 12px; }

/* Header */
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 28px; padding-bottom: 28px;
}
.logo img { height: 32px; width: auto; }
.nav { display: flex; gap: 36px; align-items: center; font-size: 15px; font-weight: 500; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--paper); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.link-login { padding: 12px 18px; font-size: 15px; font-weight: 600; color: var(--paper); text-decoration: none; }
.lang-toggle { padding: 8px 12px; font-size: 13px; font-weight: 700; color: var(--muted); text-decoration: none; border: 1.5px solid rgba(255,255,255,0.18); border-radius: 8px; letter-spacing: 0.04em; }
.lang-toggle:hover { color: var(--paper); border-color: rgba(255,255,255,0.4); }
.menu { display: none; }

/* Hero */
.hero .wrap {
  display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: center;
  padding-top: 72px;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.pill {
  align-self: flex-start; display: inline-flex; gap: 10px; align-items: center;
  padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; color: var(--muted);
}
.pill b { background: var(--gold); color: var(--night); font-weight: 700; padding: 4px 10px; border-radius: 999px; font-size: 12px; }
h1 {
  margin: 0; font-weight: 800; font-size: clamp(46px, 6.4vw, 92px);
  line-height: 0.98; letter-spacing: -0.033em; text-wrap: balance;
}
h1 .accent { color: var(--gold); display: block; }
.lede { margin: 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); max-width: 34em; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; padding-top: 8px; }
.hero-note { margin: -8px 0 0; font-size: 15px; color: var(--muted); }
.hero-note::before { content: "✓"; color: var(--gold); font-weight: 800; margin-right: 8px; }

/* Phone */
.stage { position: relative; display: flex; justify-content: center; padding: 40px 0 0; }
.stage::before {
  content: ""; position: absolute; width: min(520px, 100%); aspect-ratio: 1;
  border-radius: 50%; background: var(--navy); top: 90px;
}
.phone {
  position: relative; width: 320px; height: 640px; background: #0B1030;
  border-radius: 48px; padding: 14px; border: 1px solid var(--line);
}
.screen {
  position: relative;
  height: 100%; background: #F5F6FA; border-radius: 36px; padding: 52px 20px 20px;
  display: flex; flex-direction: column; gap: 14px; color: var(--ink); overflow: hidden;
}
.screen-step { font-size: 12px; font-weight: 700; color: #6B6F7B; }
.screen-bar { height: 6px; background: var(--rule); border-radius: 3px; }
.screen-bar span { display: block; width: 33%; height: 6px; background: var(--navy); border-radius: 3px; }
.screen-title { font-size: 22px; font-weight: 800; line-height: 1.2; color: var(--navy); }
.bubble { max-width: 235px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.bubble.ai { align-self: flex-start; background: #fff; border: 1px solid var(--rule); border-radius: 16px 16px 16px 4px; }
.bubble.me { align-self: flex-end; max-width: 200px; background: var(--navy); color: #fff; border-radius: 16px 16px 4px 16px; }
.screen-who { font-size: 11px; font-weight: 700; color: #6B6F7B; margin-bottom: -8px; }
.chips { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.chips span { padding: 8px 12px; border-radius: 999px; background: #FFF4DA; color: #6A4A00; font-size: 13px; font-weight: 600; }

/* The one motion moment: the chat plays in once on load. */
@media (prefers-reduced-motion: no-preference) {
  .play > * { opacity: 0; transform: translateY(8px); animation: rise .45s ease-out forwards; }
  .play > :nth-child(1) { animation-delay: .5s; }
  .play > :nth-child(2) { animation-delay: .6s; }
  .play > :nth-child(3) { animation-delay: 1.4s; }
  .play > :nth-child(4) { animation-delay: 2.2s; }
  .play > :nth-child(5) { animation-delay: 2.3s; }
  .play > :nth-child(6) { animation-delay: 2.9s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
.play { display: contents; }

/* How it works (white) */
.how { margin-top: 96px; background: var(--paper); color: var(--ink); }
.how .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
h2 { margin: 0; font-weight: 800; font-size: clamp(36px, 3.9vw, 56px); line-height: 1.05; letter-spacing: -0.027em; }
.how h2 { color: var(--night); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { background: var(--mist); border-radius: var(--card-radius); padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.num {
  width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--gold);
  font-weight: 800; font-size: 22px; display: flex; align-items: center; justify-content: center;
}
.steps h3 { margin: 0; font-size: 24px; font-weight: 800; color: var(--night); line-height: 1.2; }
.steps p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; border-top: 1px solid var(--rule); padding-top: 12px; }
.facts div { padding-top: 16px; }
.facts h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; color: var(--night); }
.facts p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

/* Pricing */
.pricing .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.pricing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.pricing-head p { margin: 8px 0 0; font-size: 18px; color: var(--muted); }
.audience { display: inline-flex; padding: 5px; border: 1px solid var(--line); border-radius: 16px; gap: 4px; }
.audience button {
  font: 600 15px/1 var(--font); color: var(--muted); background: none; border: 0;
  padding: 12px 18px; border-radius: 11px; cursor: pointer;
}
.audience button[aria-pressed="true"] { background: var(--navy); color: var(--paper); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.plan { border: 1px solid var(--line); border-radius: var(--card-radius); padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan h3 { margin: 0; font-size: 20px; font-weight: 800; }
.plan .short { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 30em; }
.price { margin: 10px 0 0; font-size: clamp(44px, 4vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.period { margin: 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.saving { margin: 0; font-size: 14px; font-weight: 700; color: var(--gold); }
.plan ul { list-style: none; margin: 10px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan li { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; }
.plan li::before { content: "✓"; font-weight: 800; color: var(--gold); flex: none; }
.plan .btn { margin-top: auto; }
.plan-cta { padding-top: 14px; margin-top: auto; }
.plan-cta .btn { width: 100%; }
.plan.featured { background: var(--gold); color: var(--night); border-color: var(--gold); }
.plan.featured .short, .plan.featured .period { color: #3A3420; }
.plan.featured .saving { color: var(--night); }
.plan.featured ul { border-top-color: rgba(20, 28, 61, .18); }
.plan.featured li::before { color: var(--night); }
.badge { font-size: 13px; font-weight: 800; background: var(--night); color: var(--gold); padding: 6px 12px; border-radius: 999px; }
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.extras div { background: var(--navy); border-radius: 18px; padding: 24px 26px; }
.extras h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.extras p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.extras strong { color: var(--paper); font-weight: 700; }
.fineprint { margin: 0; font-size: 14px; color: var(--faint); }
[data-for="couple"] { display: none; }
.is-couple [data-for="single"] { display: none; }
.is-couple [data-for="couple"] { display: revert; }

/* Closing call to action */
.closing { margin: 0 var(--gutter); max-width: calc(1440px - 2 * 96px); }
@media (min-width: 1440px) { .closing { margin: 0 auto; } }
.closing-inner {
  position: relative; overflow: hidden; background: var(--navy); border-radius: 32px;
  padding: clamp(36px, 5vw, 72px); display: flex; justify-content: space-between; align-items: center; gap: 32px;
}
.closing-inner img { position: absolute; right: -40px; top: -30px; width: 420px; opacity: .12; pointer-events: none; }
.closing h2 { font-size: clamp(32px, 3.4vw, 48px); max-width: 14em; position: relative; text-wrap: balance; }
.closing .btn { position: relative; flex: none; }

/* Tablet */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; }
  .stage { padding-top: 24px; }
  .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extras { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header .wrap { padding-top: 18px; padding-bottom: 18px; }
  .logo img { height: 26px; }
  .nav, .header-actions .link-login, .header-actions .lang-toggle { display: none; }
  .menu { display: block; position: relative; }
  .menu summary {
    list-style: none; cursor: pointer; width: 44px; height: 44px; border: 1px solid var(--line);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
  }
  .menu summary::-webkit-details-marker { display: none; }
  .menu-panel {
    position: absolute; right: 0; top: 54px; z-index: 5; width: min(280px, 80vw);
    background: var(--navy); border: 1px solid var(--line); border-radius: 18px; padding: 10px;
    display: flex; flex-direction: column; box-shadow: 0 18px 40px rgba(0,0,0,.35);
  }
  .menu-panel a { padding: 12px 14px; color: var(--paper); text-decoration: none; font-weight: 600; border-radius: 10px; }
  .menu-panel a:hover { background: var(--night); }
  .header-actions .btn-sm { padding: 11px 14px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .stage::before { width: 360px; top: 70px; }
  .phone { transform: scale(.88); transform-origin: top center; margin-bottom: -76px; }
  .how { margin-top: 56px; }
  .how .wrap, .pricing .wrap { padding-top: 64px; padding-bottom: 64px; gap: 32px; }
  .steps li { padding: 28px; }
  .facts { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 28px; }
  .audience { width: 100%; }
  .audience button { flex: 1; }
  .closing-inner { flex-direction: column; align-items: flex-start; }
  .closing .btn { width: 100%; }
}

/* Keep "one payment" and "Includes 1 year of updates" together under the price. */

/* Footer */
.site-footer .wrap {
  padding-top: 64px; padding-bottom: 48px; display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px;
  font-size: 14px; color: var(--faint);
}
.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.foot-brand img { height: 24px; width: auto; }
.foot-brand p { margin: 0; max-width: 30em; }
.foot-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-links div { display: flex; flex-direction: column; gap: 10px; }
.foot-links h2 { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: var(--paper); letter-spacing: 0; }
.foot-links a { color: var(--faint); text-decoration: none; }
.foot-links a:hover { color: var(--paper); text-decoration: underline; }
.nav a[aria-current="page"] { color: var(--paper); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 8px; text-decoration-thickness: 2px; }

/* Shared page pieces */
.more { margin: 0; font-weight: 700; }
.how .more a { color: var(--navy); }
.paper .more a, .paper a { color: #8A5A00; }
.paper a:hover { color: var(--night); }
.page-hero .wrap { padding-top: 64px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 24px; }
.page-hero h1 { font-size: clamp(44px, 5.4vw, 80px); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: 16px; }
.ticks li::before { content: "✓"; color: var(--gold); font-weight: 800; margin-right: 8px; }
.how:first-child, .page-hero + .how { margin-top: 0; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.band .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 32px; }
.band-tight .wrap { padding-top: 0; }
.band-top0 .wrap { padding-top: 0; }
.section-lede { margin: -16px 0 0; color: var(--muted); font-size: 18px; max-width: 40em; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tile { border: 1px solid var(--line); border-radius: var(--card-radius); padding: 32px; }
.tile h3 { margin: 0 0 10px; font-size: 22px; font-weight: 800; }
.tile p { margin: 0 0 10px; color: var(--muted); line-height: 1.65; }
.tile p:last-child { margin-bottom: 0; }
.tile-note { font-size: 14px; color: var(--faint) !important; padding-top: 6px; }
.extras-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.paper { background: var(--paper); color: var(--ink); }
.paper .wrap { padding-top: 88px; padding-bottom: 88px; }
.paper h2 { color: var(--night); margin-bottom: 28px; }
.narrow { max-width: calc(820px + 2 * var(--gutter)); }
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.prose { font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.prose h2 { font-size: clamp(28px, 2.6vw, 38px); margin: 48px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 8px; font-size: 20px; font-weight: 800; color: var(--night); }
.prose p { margin: 0 0 16px; max-width: 42em; }
.prose ul { margin: 0 0 16px; padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.prose-ctas { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 24px; }
.btn-line { color: var(--night) !important; border: 1.5px solid #C9CEE0; }
.btn-line:hover { border-color: var(--night); }
.btn-night { color: var(--paper) !important; }
.checklist { background: var(--mist); border-radius: var(--card-radius); padding: 32px; position: sticky; top: 24px; }
.checklist h3 { margin: 0 0 14px; font-size: 20px; font-weight: 800; color: var(--night); }
.checklist ol { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; color: var(--ink-soft); }
.checklist p { margin: 0; color: var(--ink-soft); line-height: 1.65; }
.legal .eff { font-weight: 700; color: var(--night); }
mark.todo { background: #FFE7A8; color: var(--night); padding: 0 4px; border-radius: 4px; }

/* Compare table */
.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--card-radius); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 16px; }
.compare th, .compare td { padding: 16px 24px; border-bottom: 1px solid var(--rule); text-align: left; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--mist); font-weight: 800; color: var(--night); vertical-align: bottom; }
.compare thead th + th, .compare td { text-align: center; width: 22%; }
.compare tbody th { font-weight: 500; color: var(--ink); }
.th-price { font-weight: 600; color: var(--ink-soft); font-size: 15px; }
.yes { color: var(--navy); font-weight: 800; font-size: 18px; }
.no { color: #A6ABBA; }

/* Small product cards */
.mini { border: 1px solid var(--line); border-radius: var(--card-radius); padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.mini h3 { margin: 0; font-size: 20px; font-weight: 800; }
.mini .short { margin: 0; color: var(--muted); }
.mini-price { margin: 8px 0 0; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.mini ul { list-style: none; margin: 8px 0 8px; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 15px; }
.mini li { display: flex; gap: 10px; }
.mini li::before { content: "✓"; color: var(--gold); font-weight: 800; }
.mini .btn { margin-top: auto; padding: 14px 20px; font-size: 16px; }

/* FAQ */
.chips-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.chips-nav a { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.chips-nav a:hover { color: var(--paper); border-color: var(--muted); }
.qa-group { margin-bottom: 56px; scroll-margin-top: 24px; }
.qa-group h2 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 12px; }
.qas { border-top: 1px solid var(--rule); }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-size: 19px; font-weight: 700; color: var(--night); line-height: 1.4;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; position: absolute; right: 8px; top: 18px; font-size: 26px; font-weight: 500; color: var(--navy);
  transition: transform .2s ease;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0 0 24px; font-size: 17px; line-height: 1.7; color: var(--ink-soft); max-width: 44em; }
.still { background: var(--mist); border-radius: var(--card-radius); padding: 32px; }
.still h2 { margin: 0 0 8px; font-size: 24px; }
.still p { margin: 0; color: var(--ink-soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.mail-card { background: var(--gold); color: var(--night); border-radius: var(--card-radius); padding: 32px; }
.mail-card h2 { font-size: 22px; letter-spacing: 0; margin: 0 0 12px; }
.mail-card p { margin: 0; line-height: 1.6; }
.mail-big { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; margin: 0 0 14px !important; word-break: break-word; }
.mail-big a { color: var(--night); }
.tile a { color: var(--gold); font-weight: 700; }

/* 404 */
.nf .wrap { padding-bottom: 120px; }
.nf-fr { margin-top: 40px; font-size: 32px; }

.pricing-head-solo { justify-content: flex-start; }

@media (max-width: 1080px) {
  .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .checklist { position: static; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .mail-card { grid-column: 1 / -1; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .steps-4, .duo, .extras-2, .contact-grid { grid-template-columns: 1fr; }
  .page-hero .wrap { padding-top: 32px; padding-bottom: 56px; }
  .band .wrap, .paper .wrap { padding-top: 56px; padding-bottom: 56px; }
  .band-tight .wrap, .band-top0 .wrap { padding-top: 0; }
  .tile, .mini, .checklist, .still, .mail-card { padding: 26px; }
  .foot-links { grid-template-columns: 1fr 1fr; }
  .qa summary { font-size: 17px; }
  .prose { font-size: 17px; }
}

/* Keep "one payment" and "Includes 1 year of updates" together under the price. */
.period + .period { margin-top: -10px; }

/* Fixes after review */
.foot-brand img { align-self: flex-start; }
.narrow { max-width: 1440px; }
.narrow > * { max-width: 820px; }
.page-hero + .pricing .wrap { padding-top: 0; }
.paper + .closing, .how + .closing, .page-hero + .closing { margin-top: 88px; }
@media (max-width: 760px) { .paper + .closing, .how + .closing { margin-top: 56px; } }
@media (max-width: 760px) {
  .compare { min-width: 0; font-size: 14px; }
  .compare th, .compare td { padding: 12px 10px; }
  .compare th:first-child { padding-left: 16px; }
  .compare thead th + th, .compare td { width: 26%; }
  .th-price { font-size: 13px; }
}

/* Hero store buttons (App Store, Google Play). Text-only until the apps are
   published and Apple's and Google's official badges replace them. */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  position: relative; display: inline-flex; flex-direction: column; justify-content: center;
  min-width: 172px; min-height: 56px; padding: 8px 18px; border-radius: 12px;
  background: #0B1030; border: 1px solid var(--line); color: var(--paper); text-decoration: none;
}
a.store:hover { border-color: var(--muted); color: var(--paper); }
.store-top { font-size: 11px; line-height: 1.2; color: var(--muted); }
.store-name { font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.store.is-soon { cursor: default; opacity: 0.7; }
.stores-wrap { display: flex; flex-direction: column; gap: 10px; }
.stores-note { margin: 0; font-size: 14px; color: var(--muted); }
/* The visitor's own phone store comes first (set by site.js). */
[data-platform="android"] .store-android, [data-platform="ios"] .store-ios { order: -1; border-color: var(--gold); }
@media (max-width: 760px) { .store { flex: 1 1 150px; min-width: 0; } }

/* The W at the top middle of the phone animation's screen. */
.screen-logo { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); height: 24px; width: auto; }
/* Footer: the W mark instead of the full "veewill" name. */
.foot-mark { height: 40px; width: auto; display: block; }

/* Probate fee calculator (pages_c.py) */
.calc { background: #fff; border: 1px solid #E3E6F0; border-radius: 20px; padding: 24px; display: grid; gap: 16px; margin-bottom: 40px; }
.calc-field { display: grid; gap: 6px; }
.calc-field label { font-weight: 700; color: var(--navy); }
.calc select, .calc input { font: inherit; font-size: 17px; padding: 12px 14px; border: 1px solid #C9CEE0; border-radius: 12px; background: #fff; color: #141C3D; width: 100%; box-sizing: border-box; }
.calc-money { position: relative; }
.calc-money span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #5A6380; }
.calc-money input { padding-left: 30px; }
.calc .btn { justify-self: start; border: 0; cursor: pointer; font-size: 16px; }
.calc-error { color: #B42318; margin: 0; min-height: 1em; }
.calc-error:empty { display: none; }
.calc-result { background: #F5F6FA; border-radius: 16px; padding: 18px 20px; outline: none; }
.calc-label { margin: 0; color: #5A6380; font-weight: 600; }
.calc-fee { margin: 4px 0 8px; font-size: 40px; line-height: 1.1; font-weight: 800; color: var(--navy); }
.calc-basis, .calc-rule, .calc-source { margin: 6px 0 0; color: #3B4466; }
.calc-note { margin: 0; font-size: 14px; color: #5A6380; }
.calc-h2 { margin-top: 40px; }
.calc-table-wrap { overflow-x: auto; }
.calc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.calc-table th, .calc-table td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid #E3E6F0; }
.calc-table thead th { color: var(--navy); font-size: 14px; }
.calc-table tbody th { color: var(--navy); white-space: nowrap; }

/* Blog (blog.py) */
.crumbs { font-size: 14px; color: #C9CEE0; margin-bottom: 10px; }
.crumbs a { color: #C9CEE0; }
.article-meta { font-size: 14px; color: #C9CEE0; margin-top: 10px; }
.paper .article-meta { color: #5A6380; }
.article-toc { background: #F5F6FA; border-radius: 16px; padding: 16px 20px; margin-bottom: 32px; display: grid; gap: 6px; }
.article-toc p { margin: 0 0 4px; font-weight: 700; color: var(--navy); }
.article h2 { margin-top: 36px; }
.article-note { font-size: 14px; color: #5A6380; border-top: 1px solid #E3E6F0; padding-top: 16px; margin-top: 40px; }
.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-card { background: #fff; border: 1px solid #E3E6F0; border-radius: 20px; padding: 24px 26px; display: flex; flex-direction: column; }
.post-card h2 { margin: 0 0 10px; font-size: 20px; }
.post-card h2 a { color: var(--navy); text-decoration: none; }
.post-card p { flex: 1; margin: 0 0 18px; color: #5A6380; font-size: 15px; line-height: 1.55; }
.post-card .article-meta { margin: 0 0 18px; }
.post-card .btn-gold { align-self: flex-start; }
@media (max-width: 760px) { .post-list { grid-template-columns: 1fr; } }

/* ── Promo announcement bar ── */
.promo-bar { display: flex; align-items: center; justify-content: center; gap: 14px; background: var(--gold); color: var(--night); font-size: 14px; font-weight: 600; padding: 10px var(--gutter); position: relative; flex-wrap: wrap; }
.promo-bar[hidden] { display: none; }
.promo-countdown { background: var(--night); color: var(--gold); border-radius: 6px; padding: 3px 10px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em; white-space: nowrap; }
.promo-dismiss { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--night); font-size: 20px; line-height: 1; cursor: pointer; opacity: .6; padding: 4px 6px; font-family: inherit; }
.promo-dismiss:hover { opacity: 1; }
@media (max-width: 760px) { .promo-bar { font-size: 13px; padding: 10px 40px 10px 14px; } .promo-dismiss { right: 8px; } }
