/* Dev Brief — shared styles */
:root {
  --ink: #07111f;
  --ink-soft: #15263a;
  --muted: #4a5d72;
  --line: #b7c7d8;
  --paper: #f4f7fb;
  --paper-alt: #d9e4ef;
  --accent: #1a7aa3;
  --accent-hover: #145f80;
  --accent-soft: #c5e4f2;
  --soon: #5f6f82;
  --radius: 12px;
  --shadow: 0 4px 14px rgba(7, 17, 31, 0.12);
  --shadow-lg: 0 18px 44px rgba(7, 17, 31, 0.18);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.35rem, 5.5vw, 3.35rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.35rem); letter-spacing: -0.015em; }
h3 { font-size: 1.28rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  border-bottom: 1px solid rgba(183, 199, 216, 0.7);
  background: rgba(7, 17, 31, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .logo { color: #f4f7fb; }
.site-header .logo:hover { color: #f4f7fb; }
.site-header .logo span { color: #5ec4e8; }
.site-header .nav a { color: #c8d6e5; }
.site-header .nav a:hover,
.site-header .nav a.is-active { color: #7fd0ef; }
.site-header .btn-ghost {
  color: #e8eef5;
  border-color: rgba(200, 214, 229, 0.35);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}
.logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo:hover { text-decoration: none; color: var(--ink); }
.logo span { color: var(--accent); font-weight: 600; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
}
.nav a:hover { color: var(--accent); }
.nav a.is-active { color: var(--accent); }

.btn {
  display: inline-block;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-family: inherit;
  line-height: 1.3;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 0.95rem 1.55rem; font-size: 1.08rem; }
.btn-block { display: block; text-align: center; width: 100%; }
.btn-disabled, .btn[aria-disabled="true"] {
  background: var(--paper-alt);
  color: var(--soon);
  border-color: var(--line);
  cursor: not-allowed;
  pointer-events: none;
}
.nav .btn-primary {
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
}
.btn-punch {
  box-shadow: 0 6px 20px rgba(26, 122, 163, 0.45);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.btn-punch:hover {
  box-shadow: 0 8px 28px rgba(26, 122, 163, 0.55);
  transform: translateY(-1px);
}
.site-header .btn-primary {
  background: #2eb5e8;
  border-color: #2eb5e8;
  color: #07111f;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(46, 181, 232, 0.35);
}
.site-header .btn-primary:hover {
  background: #5ec4e8;
  border-color: #5ec4e8;
  color: #07111f;
}

/* Hero */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem 2.5rem;
  align-items: center;
}
.hero-video-wrap {
  justify-self: center;
  width: min(100%, 320px);
}
.hero-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 14px;
  background: #0a1628;
  box-shadow: 0 16px 48px rgba(7, 17, 31, 0.35);
  border: 1px solid rgba(183, 199, 216, 0.55);
  position: relative;
}
.hero-video .explainer {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  background: #0a1628;
  border: 0;
  /* no aspect-ratio / max-height / transform on the video itself — iOS WebKit safe */
  transform: none;
  -webkit-transform: none;
  image-orientation: none;
}
.hero-video-cap {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-video-wrap {
    order: -1;
    width: min(100%, 360px, calc(72vh * 9 / 16));
  }
  .hero-video {
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 72vh;
  }
  .hero-video .explainer {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0a1628;
  }
}

.hero {
  padding: 3.75rem 0 3.25rem;
  background:
    radial-gradient(ellipse 70% 55% at 88% 8%, rgba(26, 122, 163, 0.28), transparent 58%),
    radial-gradient(ellipse 55% 45% at 8% 92%, rgba(7, 17, 31, 0.18), transparent 52%),
    linear-gradient(165deg, #0c1a2e 0%, #152a42 38%, #1a334f 62%, #243f5c 100%);
  border-bottom: 1px solid rgba(7, 17, 31, 0.4);
  color: #e8eef5;
}
.hero h1,
.hero .tagline,
.hero .lede { color: #f4f7fb; }
.hero .tagline { color: #c5d6e8; }
.hero .lede { color: #b7c9db; }
.hero-kicker { color: #5ec4e8; }
.hero-note { color: #8fa3b8; }
.hero .hero-video-cap { color: #9eb0c2; }
.hero .btn-ghost {
  color: #e8eef5;
  border-color: rgba(200, 214, 229, 0.4);
}
.hero .btn-ghost:hover {
  border-color: #5ec4e8;
  color: #7fd0ef;
}
.hero-kicker {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.hero h1 { margin-bottom: 0.35em; }
.hero .tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 1.25rem;
  line-height: 1.35;
}
.hero .lede {
  max-width: 40rem;
  font-size: 1.18rem;
  color: var(--ink-soft);
  font-weight: 450;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1rem;
}
.hero-note {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
  margin: 0;
}

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt {
  background:
    linear-gradient(180deg, rgba(7,17,31,0.06), rgba(26,122,163,0.08)),
    #c8d6e4;
  border-top: 1px solid #a8bacd;
  border-bottom: 1px solid #a8bacd;
}
.section-head { margin-bottom: 2rem; }
.section-head p {
  color: var(--ink-soft);
  max-width: 38rem;
  font-size: 1.12rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem 1.55rem 1.45rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #8eb0c8;
  transform: translateY(-2px);
}
.card h3 {
  margin-bottom: 0.45em;
  font-size: 1.32rem;
  color: var(--ink);
}
.card p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.card p:last-child { margin-bottom: 0; }
.feature-card {
  border-left: 4px solid var(--accent);
  background: linear-gradient(180deg, #ffffff 0%, #eaf3f9 100%);
}
.feature-card h3 { font-size: 1.35rem; }
.card .meta {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.1rem;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: center;
  background: linear-gradient(180deg, #ffffff, #f4f9fc);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow);
  font-size: 1.12rem;
  font-weight: 550;
  color: var(--ink);
}
.steps li::before {
  content: counter(step);
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(31,111,148,0.35);
}
.audience-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}
.audience-list li {
  padding: 1.05rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0;
  font-size: 1.12rem;
  font-weight: 550;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.audience-list li::before {
  content: "→ ";
  color: var(--accent);
  font-weight: 800;
}

/* Pricing */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.price-table th, .price-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.price-table th {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table .live { font-weight: 700; }
.price-table .soon-row { color: var(--muted); }
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.badge-live { background: var(--accent-soft); color: var(--accent); }
.badge-soon { background: #eef0f3; color: var(--soon); }

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), var(--shadow-lg);
  background: linear-gradient(180deg, #ffffff 0%, #eef7fb 100%);
}
.plan .plan-name { font-size: 1.4rem !important; }
.plan .plan-price { font-size: 2.1rem !important; }
.plan .plan-name { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 0.25rem; }
.plan .plan-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.plan .plan-price span { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.plan .plan-desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; }
.plan ul { flex: 1; font-size: 0.95rem; }
.plan .plan-cta { margin-top: 1.25rem; }

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.65rem;
  background: var(--paper);
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}
.faq details[open] summary { margin-bottom: 0.5rem; }
.faq p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Sample brief */
.brief-intro {
  max-width: 40rem;
  color: var(--muted);
}
.brief-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.brief-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin-bottom: 1rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.brief-item h3 { margin-bottom: 0.35em; }
.brief-item .suburb { color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.75rem; }
.brief-item dl {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}
.brief-item dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.brief-item dd { margin: 0; }

/* Auth / dashboard shells — superseded by .auth-* / .app-* below; keep minimal legacy hooks */
.empty-state {
  max-width: 28rem;
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--paper-alt);
  color: var(--muted);
  text-align: center;
}

/* Legal */
.legal-block {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}
.legal-block h2 { margin-bottom: 0.75rem; }
.legal-block p { color: var(--ink-soft); }

/* CTA band */
.cta-band {
  padding: 3rem 0;
  background: var(--ink);
  color: #c8d4e0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 0.35em; }
.cta-band p { color: #a8b8c8; margin-bottom: 1.5rem; }
.cta-band .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band .btn-primary:hover { background: var(--accent-soft); color: var(--ink); }

.disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  line-height: 1.5;
}
.disclaimer strong { color: var(--ink-soft); }

.fine-print {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: var(--paper-alt);
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer a { color: var(--ink-soft); }
.site-footer .foot-disclaimer {
  flex: 1 1 280px;
  max-width: 36rem;
  font-size: 0.82rem;
  line-height: 1.5;
}
.site-footer nav { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 720px) {
  .hero { padding: 2.25rem 0 2rem; }
  .price-table { font-size: 0.9rem; }
  .price-table th, .price-table td { padding: 0.7rem 0.75rem; }
}


/* Process section — bigger step titles */
.process-section .section-head h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.55rem);
}
.process-section .section-head p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 42rem;
}
.steps-process li {
  align-items: flex-start;
  padding: 1.45rem 1.55rem;
}
.steps-process li::before {
  width: 2.9rem;
  height: 2.9rem;
  font-size: 1.15rem;
  margin-top: 0.15rem;
}
.steps-process .step-title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 700;
  margin: 0 0 0.35rem;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.steps-process p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.55;
}


/* Proof strip */
.proof-strip {
  padding: 1.75rem 0 1.9rem;
  background: #07111f;
  border-bottom: 1px solid rgba(94, 196, 232, 0.25);
  color: #e8eef5;
}
.proof-label {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fa3b8;
  text-align: center;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 1.5rem;
}
.proof-item {
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(183, 199, 216, 0.18);
}
.proof-value {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: #f4f7fb;
  letter-spacing: -0.02em;
}
.proof-desc {
  margin: 0;
  font-size: 0.88rem;
  color: #9eb0c2;
  line-height: 1.4;
}
@media (max-width: 720px) {
  .proof-grid { grid-template-columns: 1fr; }
}

/* Dark section rhythm */
.section-dark {
  background:
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(26, 122, 163, 0.22), transparent 55%),
    linear-gradient(165deg, #0c1a2e 0%, #152a42 55%, #1a334f 100%);
  color: #e8eef5;
  border-top: 1px solid rgba(7, 17, 31, 0.5);
  border-bottom: 1px solid rgba(7, 17, 31, 0.5);
}
.section-head-light h2 { color: #f4f7fb; }
.section-head-light p { color: #b7c9db; }

/* How it works — large numbered steps in a row on desktop */
.how-section .steps-how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.how-section .steps-how li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.6rem 1.5rem 1.55rem;
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
  border: 1px solid rgba(183, 199, 216, 0.28);
  box-shadow: 0 12px 32px rgba(0,0,0,0.22);
}
.how-section .steps-how li::before {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.35rem;
  background: #2eb5e8;
  color: #07111f;
  box-shadow: 0 6px 18px rgba(46, 181, 232, 0.4);
}
.how-section .steps-how .step-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: #f4f7fb;
  letter-spacing: -0.015em;
}
.how-section .steps-how p {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 500;
  color: #b7c9db;
  line-height: 1.55;
}
@media (max-width: 860px) {
  .how-section .steps-how { grid-template-columns: 1fr; }
}

/* Home pricing strip cards */
.pricing-strip-cards {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 860px) {
  .pricing-strip-cards { grid-template-columns: 1fr; }
}

/* State jurisdiction grid */
.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem;
}
.state-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.4rem;
  background: #ffffff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.state-card.state-live {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), var(--shadow-lg);
  background: linear-gradient(180deg, #ffffff 0%, #eef7fb 100%);
  grid-column: span 2;
}
@media (max-width: 720px) {
  .state-card.state-live { grid-column: span 1; }
}
.state-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.state-top h3 {
  margin: 0;
  font-size: 1.2rem;
}
.state-price {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.state-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
.state-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  flex: 1;
}
.state-card ul {
  margin: 0.25rem 0 0.5rem;
  padding-left: 1.15em;
  font-size: 0.95rem;
  color: var(--ink-soft);
  flex: 1;
}
.state-card .btn,
.state-card .btn-disabled { margin-top: auto; }

/* Featured plan polish */
.plan.featured .plan-price {
  color: var(--accent);
}

/* === Restyle 2026-09 — product mock, coverage, bento, CTA === */

.hero-grid-stage {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 2rem 2.25rem;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.72fr);
  gap: 1.1rem 1.15rem;
  align-items: start;
}

.hero-stage .hero-video-wrap {
  width: 100%;
  justify-self: stretch;
  max-width: 280px;
  margin-inline: auto;
}

/* Product UI mock — morning brief */
.product-mock {
  background: linear-gradient(165deg, #0a1422 0%, #122033 55%, #152a40 100%);
  border: 1px solid rgba(94, 196, 232, 0.28);
  border-radius: 16px;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.04) inset;
  overflow: hidden;
  color: #e8eef5;
}

.mock-chrome {
  padding: 0.95rem 1.1rem 0.75rem;
  border-bottom: 1px solid rgba(183, 199, 216, 0.18);
  background: rgba(255,255,255,0.03);
}

.mock-dots {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}
.mock-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(183, 199, 216, 0.35);
}
.mock-dots span:first-child { background: #ff5f57; }
.mock-dots span:nth-child(2) { background: #febc2e; }
.mock-dots span:nth-child(3) { background: #28c840; }

.mock-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #f4f7fb;
  letter-spacing: -0.015em;
}
.mock-meta {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: #8fa3b8;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.mock-list {
  list-style: none;
  margin: 0;
  padding: 0.75rem;
  display: grid;
  gap: 0.55rem;
}

.mock-card {
  margin: 0;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(183, 199, 216, 0.16);
}
.mock-card-dim { opacity: 0.78; }

.mock-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.mock-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.18rem 0.45rem;
  border-radius: 4px;
  background: rgba(94, 196, 232, 0.15);
  color: #7fd0ef;
}
.mock-pill-live {
  background: rgba(46, 181, 232, 0.28);
  color: #d7f4ff;
}
.mock-time {
  font-size: 0.72rem;
  color: #8fa3b8;
  font-weight: 600;
}
.mock-card-title {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #f4f7fb;
  letter-spacing: -0.01em;
}
.mock-card-body {
  margin: 0;
  font-size: 0.82rem;
  color: #9eb0c2;
  line-height: 1.4;
}
.mock-pack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}
.mock-pack span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(46, 181, 232, 0.12);
  color: #9edaf0;
  border: 1px solid rgba(94, 196, 232, 0.22);
}
.mock-foot {
  margin: 0;
  padding: 0.55rem 1rem 0.85rem;
  font-size: 0.7rem;
  color: #6f8499;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.15rem);
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.hero .tagline {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  margin-bottom: 1rem;
}

.proof-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .proof-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .proof-grid-4 { grid-template-columns: 1fr; }
}

/* Bento feature layout */
.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}
.bento-wide { grid-column: 1 / -1; }
.bento-ui {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem;
  border-radius: 10px;
  background: rgba(7, 17, 31, 0.04);
  border: 1px solid var(--line);
}
.bento-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(183, 199, 216, 0.55);
}
.bento-row strong { color: var(--ink); }
.bento-row span { color: var(--muted); font-weight: 500; }
@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr; }
}

/* Coverage grid — 8 jurisdictions */
.coverage-section { padding-bottom: 3.75rem; }
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.coverage-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(183, 199, 216, 0.2);
  border-radius: var(--radius);
  padding: 1.1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}
.coverage-live {
  background: linear-gradient(180deg, rgba(46,181,232,0.18), rgba(255,255,255,0.06));
  border-color: rgba(46, 181, 232, 0.55);
  box-shadow: 0 0 0 1px rgba(46,181,232,0.35), 0 14px 36px rgba(0,0,0,0.28);
}
.coverage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}
.coverage-top h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f4f7fb;
}
.coverage-name {
  margin: 0;
  font-size: 0.85rem;
  color: #9eb0c2;
  font-weight: 500;
}
.coverage-price {
  margin: 0.35rem 0 0.55rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: #f4f7fb;
  letter-spacing: -0.02em;
}
.coverage-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: #8fa3b8;
}
.coverage-card .btn,
.coverage-card .btn-disabled { margin-top: auto; }
.coverage-card .badge-live {
  background: rgba(46, 181, 232, 0.25);
  color: #d7f4ff;
}
.coverage-card .badge-soon {
  background: rgba(255,255,255,0.08);
  color: #a8b8c8;
}
.coverage-note {
  margin: 1.35rem 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: #9eb0c2;
}
.coverage-note a { color: #7fd0ef; font-weight: 600; }
@media (max-width: 960px) {
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .coverage-grid { grid-template-columns: 1fr; }
}

/* Trust / privacy strip */
.trust-strip {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.75rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.75rem 2.5rem;
}
.trust-grid h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  margin-bottom: 0.5rem;
}
.trust-grid h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.trust-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}
@media (max-width: 720px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* Stronger final CTA */
.cta-band-strong {
  padding: 4rem 0 3.75rem;
  background:
    radial-gradient(ellipse 55% 60% at 50% 0%, rgba(46, 181, 232, 0.28), transparent 60%),
    linear-gradient(165deg, #050b14 0%, #0c1a2e 45%, #122844 100%);
  border-top: 1px solid rgba(46, 181, 232, 0.25);
}
.cta-band-strong .cta-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5ec4e8;
}
.cta-band-strong h2 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.45em;
}
.cta-band-strong .cta-lead {
  max-width: 32rem;
  margin: 0 auto 1.75rem;
  font-size: 1.12rem;
  color: #b7c9db;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.cta-band-strong .btn-primary {
  background: #2eb5e8;
  border-color: #2eb5e8;
  color: #07111f;
  box-shadow: 0 8px 28px rgba(46, 181, 232, 0.45);
}
.cta-band-strong .btn-primary:hover {
  background: #5ec4e8;
  border-color: #5ec4e8;
  color: #07111f;
}
.cta-band-strong .cta-ghost {
  color: #e8eef5;
  border-color: rgba(200, 214, 229, 0.4);
}
.cta-band-strong .cta-ghost:hover {
  color: #7fd0ef;
  border-color: #5ec4e8;
}
.cta-fine {
  margin: 0;
  font-size: 0.82rem;
  color: #6f8499;
}

.section-link { margin-top: 1.5rem; }

/* Featured pricing punch */
.plan.featured {
  transform: translateY(-4px);
  position: relative;
}
.plan.featured .plan-price {
  font-size: 2.35rem !important;
}

@media (max-width: 1100px) {
  .hero-stage {
    grid-template-columns: 1fr;
  }
  .hero-stage .hero-video-wrap {
    max-width: 260px;
  }
}

@media (max-width: 860px) {
  .hero-grid-stage {
    grid-template-columns: 1fr;
  }
  .hero-stage {
    order: -1;
  }
  .hero h1 { max-width: none; }
  .hero-stage .hero-video-wrap {
    width: min(100%, 360px, calc(72vh * 9 / 16));
    max-width: none;
  }
}

/* Dark section coverage badge contrast on light pages */
.section-dark .coverage-card .btn-disabled {
  background: rgba(255,255,255,0.08);
  color: #a8b8c8;
  border-color: rgba(183, 199, 216, 0.25);
}

/* =========================================================
   Member app — auth + dashboard (product-mock interior)
   ========================================================= */

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
}

/* --- Login page --- */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(26, 122, 163, 0.22), transparent 55%),
    linear-gradient(180deg, #07111f 0%, #0d1a2b 40%, #f4f7fb 40%);
}
.auth-page .site-footer {
  margin-top: auto;
}
.auth-main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2.5rem 1rem 3rem;
}
.auth-card {
  width: min(100%, 420px);
  background: linear-gradient(165deg, #0a1422 0%, #122033 55%, #152a40 100%);
  border: 1px solid rgba(94, 196, 232, 0.28);
  border-radius: 16px;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.04) inset;
  padding: 1.75rem 1.6rem 1.5rem;
  color: #e8eef5;
}
.auth-card-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(183, 199, 216, 0.18);
}
.auth-logo {
  color: #f4f7fb !important;
  font-size: 1.15rem;
}
.auth-logo span { color: #5ec4e8 !important; }
.auth-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8fa3b8;
}
.auth-card h1 {
  color: #f4f7fb;
  font-size: 1.55rem;
  margin-bottom: 0.35em;
}
.auth-lede {
  margin: 0 0 1.35rem;
  font-size: 0.95rem;
  color: #9eb0c2;
  line-height: 1.5;
}
.auth-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #c8d6e5;
  margin-bottom: 0.35rem;
}
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(183, 199, 216, 0.28);
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  background: rgba(255,255,255,0.06);
  color: #f4f7fb;
}
.auth-form input::placeholder { color: #6f8499; }
.auth-form input:focus {
  outline: 2px solid rgba(94, 196, 232, 0.45);
  border-color: #5ec4e8;
}
.auth-row {
  display: flex;
  justify-content: flex-end;
  margin: -0.35rem 0 1rem;
}
.auth-link {
  font-size: 0.82rem;
  color: #7fd0ef;
  font-weight: 500;
}
.auth-link:hover { color: #d7f4ff; }
.auth-demo {
  margin: 1.1rem 0 0;
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: center;
  color: #9edaf0;
  background: rgba(46, 181, 232, 0.12);
  border: 1px solid rgba(94, 196, 232, 0.22);
  border-radius: 8px;
}
.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  justify-content: center;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(183, 199, 216, 0.16);
  font-size: 0.85rem;
}
.auth-links a {
  color: #9eb0c2;
  font-weight: 500;
}
.auth-links a:hover { color: #7fd0ef; }

/* --- App chrome --- */
.app-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #07111f;
  color: #e8eef5;
  font-size: 16px;
}
.app-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 17, 31, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(94, 196, 232, 0.2);
}
.app-topbar-inner {
  width: min(100% - 1.5rem, 1100px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}
.app-logo {
  color: #f4f7fb !important;
  margin-right: 0.25rem;
}
.app-logo span { color: #5ec4e8 !important; }
.app-plan-chip,
.app-user-chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(94, 196, 232, 0.28);
  background: rgba(46, 181, 232, 0.12);
  color: #9edaf0;
}
.app-user-chip {
  background: rgba(255,255,255,0.06);
  border-color: rgba(183, 199, 216, 0.22);
  color: #c8d6e5;
  margin-left: auto;
}
.app-logout {
  font-size: 0.85rem;
  font-weight: 600;
  color: #8fa3b8;
  text-decoration: none;
}
.app-logout:hover { color: #7fd0ef; text-decoration: none; }

.app-shell {
  flex: 1;
  width: min(100% - 1.5rem, 1100px);
  margin: 1.25rem auto 2rem;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.1rem;
  align-items: start;
}
.app-nav {
  position: sticky;
  top: 4.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.85rem;
  border-radius: 14px;
  background: linear-gradient(165deg, #0a1422 0%, #122033 100%);
  border: 1px solid rgba(94, 196, 232, 0.22);
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
}
.app-nav-btn {
  appearance: none;
  border: none;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: #c8d6e5;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.app-nav-btn:hover {
  background: rgba(255,255,255,0.06);
  color: #7fd0ef;
}
.app-nav-btn.is-active {
  background: rgba(46, 181, 232, 0.18);
  color: #d7f4ff;
}
.app-nav-logout {
  margin-top: 0.5rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #8fa3b8;
  text-decoration: none;
  border-top: 1px solid rgba(183, 199, 216, 0.14);
  padding-top: 0.85rem;
}
.app-nav-logout:hover { color: #7fd0ef; text-decoration: none; }

.app-main {
  min-width: 0;
  padding: 1.15rem 1.25rem 1.5rem;
  border-radius: 16px;
  background: linear-gradient(165deg, #0a1422 0%, #122033 55%, #152a40 100%);
  border: 1px solid rgba(94, 196, 232, 0.28);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.app-panel[hidden] { display: none !important; }
.app-panel-head {
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(183, 199, 216, 0.16);
}
.app-panel-head h1 {
  color: #f4f7fb;
  font-size: 1.45rem;
  margin: 0 0 0.25em;
}
.app-date-line {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #8fa3b8;
  letter-spacing: 0.01em;
}

.app-brief-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.app-brief-card {
  margin: 0;
  padding: 1rem 1.05rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(183, 199, 216, 0.16);
}
.app-brief-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}
.app-brief-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 700;
  color: #f4f7fb;
  letter-spacing: -0.01em;
}
.app-brief-body {
  margin: 0;
  font-size: 0.92rem;
  color: #9eb0c2;
  line-height: 1.5;
}
.app-brief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.app-brief-actions .btn-ghost {
  color: #c8d6e5;
  border-color: rgba(183, 199, 216, 0.35);
}
.app-brief-actions .btn-ghost:hover {
  color: #7fd0ef;
  border-color: #5ec4e8;
}
.app-brief-actions .btn-ghost:disabled {
  opacity: 0.65;
  cursor: default;
  color: #9edaf0;
  border-color: rgba(94, 196, 232, 0.35);
}

.app-disclaimer {
  margin: 1.35rem 0 0;
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #8fa3b8;
  background: rgba(0,0,0,0.22);
  border-radius: 10px;
  border: 1px solid rgba(183, 199, 216, 0.12);
}
.app-disclaimer strong { color: #c8d6e5; }

.app-row-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(183, 199, 216, 0.16);
}
.app-row strong {
  display: block;
  color: #f4f7fb;
  font-size: 0.98rem;
}
.app-row-meta {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: #8fa3b8;
  font-weight: 500;
}
.app-row .btn-ghost {
  color: #c8d6e5;
  border-color: rgba(183, 199, 216, 0.35);
  flex-shrink: 0;
}
.app-row .btn-ghost:hover {
  color: #7fd0ef;
  border-color: #5ec4e8;
}
.app-row .btn-ghost:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.app-account-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.app-account-card {
  padding: 1.1rem 1.15rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(183, 199, 216, 0.16);
}
.app-account-card h2 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: #f4f7fb;
  margin: 0 0 0.65rem;
}
.app-plan-price {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: #e8eef5;
  font-weight: 600;
}
.app-plan-price strong {
  font-size: 1.85rem;
  color: #7fd0ef;
  font-weight: 700;
}
.app-plan-price span {
  font-size: 1rem;
  color: #8fa3b8;
  font-weight: 500;
}
.app-muted {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: #9eb0c2;
  line-height: 1.45;
}
.app-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.app-account-actions .btn-ghost {
  color: #c8d6e5;
  border-color: rgba(183, 199, 216, 0.35);
}
.app-coming {
  margin: 0;
  font-size: 0.78rem;
  color: #6f8499;
}
.app-plan-list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
}
.app-plan-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(183, 199, 216, 0.12);
  font-size: 0.92rem;
  color: #c8d6e5;
  margin: 0;
}
.app-plan-list strong { color: #7fd0ef; }

.app-waitlist {
  margin-top: 0;
}
.app-waitlist-form fieldset {
  border: 1px solid rgba(183, 199, 216, 0.18);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  margin: 0 0 0.85rem;
}
.app-waitlist-form legend {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8fa3b8;
  padding: 0 0.35rem;
}
.app-waitlist-form label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.25rem 0.85rem 0.25rem 0;
  font-size: 0.9rem;
  color: #c8d6e5;
  cursor: pointer;
}
.app-waitlist-form input[type="checkbox"] {
  accent-color: #1a7aa3;
  width: 1rem;
  height: 1rem;
}
.app-waitlist-email {
  display: block !important;
  margin: 0 0 0.35rem !important;
  font-size: 0.82rem !important;
  font-weight: 600;
  color: #c8d6e5;
}
.app-waitlist-form input[type="email"] {
  width: min(100%, 320px);
  display: block;
  padding: 0.65rem 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(183, 199, 216, 0.28);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: #f4f7fb;
  font: inherit;
}
.app-waitlist-form input[type="email"]:focus {
  outline: 2px solid rgba(94, 196, 232, 0.45);
  border-color: #5ec4e8;
}
.app-waitlist-status {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: #9edaf0;
}

.app-footer {
  border-top: 1px solid rgba(183, 199, 216, 0.14);
  padding: 1.1rem 1rem 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: #6f8499;
}
.app-footer a { color: #8fa3b8; }
.app-footer a:hover { color: #7fd0ef; }
.app-footer p { margin: 0; }

@media (max-width: 820px) {
  .app-shell {
    grid-template-columns: 1fr;
    margin-top: 0.85rem;
  }
  .app-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .app-nav-btn { flex: 1 1 auto; text-align: center; }
  .app-nav-logout {
    width: 100%;
    margin-top: 0.15rem;
    border-top: none;
    padding-top: 0.55rem;
    text-align: center;
  }
  .app-user-chip { margin-left: 0; }
  .app-account-grid { grid-template-columns: 1fr; }
  .app-row { flex-wrap: wrap; }
}

/* =========================================================
   Checkout plans (pricing.html) — Stripe-ready
   ========================================================= */

.checkout-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 960px) {
  .checkout-plans { grid-template-columns: 1fr; }
}

.checkout-plan {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.45rem;
  background: #ffffff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.checkout-plan.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), var(--shadow-lg);
  background: linear-gradient(180deg, #ffffff 0%, #eef7fb 100%);
}
.checkout-plan .plan-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 0;
}
.checkout-plan .plan-price {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.checkout-plan.featured .plan-price { color: var(--accent); }
.checkout-plan .plan-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
.checkout-plan .plan-desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.checkout-plan ul {
  margin: 0.35rem 0 0.5rem;
  padding-left: 1.15em;
  font-size: 0.95rem;
  color: var(--ink-soft);
  flex: 0 0 auto;
}
.checkout-plan .plan-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}
.checkout-plan .plan-cta { margin-top: auto; padding-top: 0.75rem; }

.state-picker {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  margin: 0.35rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem 0.65rem;
  background: var(--paper);
}
.state-picker legend {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0.3rem;
}
.state-check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  margin: 0;
}
.state-check input {
  accent-color: var(--accent);
  width: 1rem;
  height: 1rem;
}
.state-check .badge { font-size: 0.65rem; padding: 0.12rem 0.35rem; }
.state-picker-locked {
  opacity: 0.92;
  background: #eef3f8;
}
.state-picker-locked .state-check { cursor: default; color: var(--muted); }

.checkout-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 100;
  max-width: min(92vw, 420px);
  padding: 0.85rem 1.15rem;
  border-radius: 10px;
  background: #07111f;
  color: #f4f7fb;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 12px 36px rgba(0,0,0,0.35);
  border: 1px solid rgba(94, 196, 232, 0.35);
  transition: transform 0.25s ease;
  text-align: center;
}
.checkout-toast.is-visible {
  transform: translateX(-50%) translateY(0);
}

/* Dashboard tool forms */
.app-tool-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #c8d6e5;
  margin: 0.55rem 0 0.3rem;
}
.app-tool-form label:first-of-type { margin-top: 0; }
.app-tool-form input,
.app-tool-form select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(183, 199, 216, 0.28);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: #f4f7fb;
  font: inherit;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}
.app-tool-form select option { color: #07111f; }
.app-tool-form input:focus,
.app-tool-form select:focus {
  outline: 2px solid rgba(94, 196, 232, 0.45);
  border-color: #5ec4e8;
}
.app-tool-form .btn { margin-top: 0.65rem; }

/* =========================================================
   Today shortlist + property pack (member sample)
   ========================================================= */

a.app-nav-btn {
  display: block;
  text-decoration: none;
  appearance: none;
  border: none;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: #c8d6e5;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
a.app-nav-btn:hover {
  background: rgba(255,255,255,0.06);
  color: #7fd0ef;
  text-decoration: none;
}
a.app-nav-btn.is-active {
  background: rgba(46, 181, 232, 0.18);
  color: #d7f4ff;
}

.sample-live-banner {
  margin: 0 0 1.1rem;
  padding: 0.7rem 0.95rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  color: #f4e4b0;
  background: rgba(180, 130, 20, 0.18);
  border: 1px solid rgba(240, 190, 70, 0.35);
}

.today-section {
  margin: 0 0 1.65rem;
}
.today-section-head {
  margin-bottom: 0.75rem;
}
.today-section-head h2 {
  margin: 0 0 0.2em;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #f4f7fb;
  letter-spacing: -0.01em;
}
.today-section-sub {
  margin: 0;
  font-size: 0.82rem;
  color: #8fa3b8;
  line-height: 1.45;
}

.today-card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.today-prop-card {
  display: block;
  margin: 0;
  padding: 1rem 1.05rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(183, 199, 216, 0.16);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.today-prop-card:hover {
  text-decoration: none;
  border-color: rgba(94, 196, 232, 0.45);
  background: rgba(46, 181, 232, 0.1);
  box-shadow: 0 0 0 1px rgba(94, 196, 232, 0.15);
}
.today-prop-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}
.today-prop-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #f4f7fb;
  letter-spacing: -0.01em;
}
.today-prop-body {
  margin: 0;
  font-size: 0.9rem;
  color: #9eb0c2;
  line-height: 1.5;
}
.today-prop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8fa3b8;
}
.today-prop-cta {
  margin-left: auto;
  color: #7fd0ef;
}
.today-prop-card:hover .today-prop-cta { color: #b8eaf8; }

.today-notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.today-notice {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(183, 199, 216, 0.14);
}
.today-notice-da {
  opacity: 0.92;
}
.today-notice-main {
  min-width: 0;
}
.today-notice-main strong {
  display: block;
  color: #f4f7fb;
  font-size: 0.95rem;
  font-weight: 700;
}
.today-notice-meta {
  display: block;
  margin: 0.2rem 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #7fd0ef;
}
.today-notice-main p {
  margin: 0;
  font-size: 0.86rem;
  color: #9eb0c2;
  line-height: 1.45;
}
.today-notice-tag {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  color: #9edaf0;
  background: rgba(46, 181, 232, 0.12);
  border: 1px solid rgba(94, 196, 232, 0.28);
}

/* Property pack */
.app-shell-pack { /* same shell */ }
.pack-main { }
.pack-back {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.pack-back a { color: #7fd0ef; text-decoration: none; }
.pack-back a:hover { color: #b8eaf8; text-decoration: underline; }

.pack-hero {
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(183, 199, 216, 0.16);
}
.pack-hero-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}
.pack-sample-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f4e4b0;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 190, 70, 0.35);
  background: rgba(180, 130, 20, 0.15);
}
.pack-hero h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: #f4f7fb;
}
.pack-lede {
  margin: 0;
  font-size: 0.95rem;
  color: #9eb0c2;
  line-height: 1.55;
}

.pack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.pack-block {
  margin: 0;
  padding: 1rem 1.05rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(183, 199, 216, 0.16);
}
.pack-block-wide { grid-column: 1 / -1; }
.pack-block h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7fd0ef;
}
.pack-block p {
  margin: 0;
  font-size: 0.9rem;
  color: #c8d6e5;
  line-height: 1.5;
}
.pack-unknown {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  color: #f4e4b0;
  background: rgba(180, 130, 20, 0.2);
  border: 1px solid rgba(240, 190, 70, 0.3);
  vertical-align: middle;
}

.pack-disclaimer {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #8fa3b8;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(183, 199, 216, 0.14);
}
.pack-disclaimer strong { color: #e8eef5; }

.pack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pack-actions .btn-ghost {
  color: #c8d6e5;
  border-color: rgba(183, 199, 216, 0.35);
}
.pack-actions .btn-ghost:hover {
  color: #7fd0ef;
  border-color: #5ec4e8;
}
.pack-actions .btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.today-dash-callout {
  margin: 0 0 1.1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(46, 181, 232, 0.12);
  border: 1px solid rgba(94, 196, 232, 0.35);
}
.today-dash-callout p {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  color: #c8d6e5;
  line-height: 1.45;
}
.today-dash-callout p:last-child { margin-bottom: 0; }
.today-dash-callout strong { color: #f4f7fb; }
.today-dash-callout a.btn { margin-top: 0.15rem; }

@media (max-width: 720px) {
  .pack-grid { grid-template-columns: 1fr; }
  .today-notice { flex-wrap: wrap; }
  .today-prop-cta { margin-left: 0; width: 100%; }
}

/* =========================================================
   Member tools — Portfolio + Feasibility (scaffold 26 Sep 2026)
   ========================================================= */

.portfolio-sticky-strip,
.portfolio-sticky-total {
  position: sticky;
  top: 3.75rem;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  margin: 0 0 0.85rem;
  padding: 0.75rem 1.05rem;
  border-radius: 12px;
  background: rgba(46, 181, 232, 0.14);
  border: 1px solid rgba(94, 196, 232, 0.35);
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
.portfolio-sticky-nw strong,
.portfolio-sticky-lvr-wrap strong,
.portfolio-sticky-total strong {
  font-size: 1.25rem;
  color: #7fd0ef;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.portfolio-sticky-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8fa3b8;
  margin-bottom: 0.1rem;
}
.portfolio-sticky-meta {
  font-size: 0.78rem;
  color: #9eb0c2;
  font-weight: 500;
  flex: 1 1 12rem;
  text-align: right;
}

.portfolio-headline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.55rem;
  margin: 0 0 0.85rem;
}
.portfolio-tile {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(183, 199, 216, 0.16);
}
.portfolio-tile--primary {
  background: rgba(46, 181, 232, 0.12);
  border-color: rgba(94, 196, 232, 0.35);
}
.portfolio-tile-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8fa3b8;
  margin-bottom: 0.25rem;
}
.portfolio-tile strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #f4f7fb;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.portfolio-tile--primary strong { color: #7fd0ef; }
.portfolio-tile-counts {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #c8d6e5 !important;
  letter-spacing: 0 !important;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
}
.portfolio-filter-chip {
  appearance: none;
  border: 1px solid rgba(183, 199, 216, 0.28);
  background: rgba(255,255,255,0.04);
  color: #c8d6e5;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}
.portfolio-filter-chip:hover {
  border-color: rgba(94, 196, 232, 0.45);
  color: #f4f7fb;
}
.portfolio-filter-chip.is-active {
  background: rgba(46, 181, 232, 0.2);
  border-color: rgba(94, 196, 232, 0.55);
  color: #9edaf0;
}

.portfolio-field-hint {
  margin: 0.2rem 0 0.35rem;
  font-size: 0.75rem;
  color: #8fa3b8;
  line-height: 1.35;
}
.portfolio-form-disclaimer {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  color: #8fa3b8;
  line-height: 1.4;
}

.portfolio-loan-fieldset {
  border: 1px solid rgba(183, 199, 216, 0.18);
  border-radius: 10px;
  padding: 0.65rem 0.75rem 0.75rem;
  margin: 0.75rem 0 0.35rem;
}
.portfolio-loan-fieldset legend {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8fa3b8;
  padding: 0 0.3rem;
}
.portfolio-loan-rows {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}
.portfolio-loan-row {
  display: grid;
  grid-template-columns: 1fr minmax(6rem, 7.5rem) auto;
  gap: 0.4rem;
  align-items: center;
}
.portfolio-loan-row input {
  margin: 0 !important;
}
#portfolio-add-loan { margin-top: 0.15rem; }

.tool-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 0.85rem;
  align-items: start;
}
.tool-layout--feas {
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 360px);
}
.tool-form-card h2 { margin-bottom: 0.35rem; }
.tool-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}
.tool-form-actions .btn { margin-top: 0; }
.tool-list-wrap { min-width: 0; }
.tool-empty {
  list-style: none;
  margin: 0;
  padding: 1.25rem 1.1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(183, 199, 216, 0.28);
  color: #9eb0c2;
}
.tool-empty strong {
  display: block;
  color: #f4f7fb;
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
}
.tool-empty span { font-size: 0.88rem; line-height: 1.45; }
.tool-disclaimer { margin-top: 1.15rem; }

.portfolio-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.portfolio-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(183, 199, 216, 0.16);
}
.portfolio-card-main { min-width: 0; flex: 1; }
.portfolio-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  margin-bottom: 0.35rem;
}
.portfolio-card-title {
  display: block;
  color: #f4f7fb;
  font-size: 0.98rem;
  font-weight: 700;
}
.portfolio-card-meta {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #8fa3b8;
  line-height: 1.4;
}
.portfolio-card-links {
  margin-top: 0.4rem;
  font-size: 0.8rem;
}
.portfolio-card-links a { color: #7fd0ef; }
.portfolio-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-shrink: 0;
}
.portfolio-card-actions .btn-ghost {
  color: #c8d6e5;
  border-color: rgba(183, 199, 216, 0.35);
}

.portfolio-card-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem 0.65rem;
  margin-top: 0.55rem;
}
.portfolio-metric-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8fa3b8;
  margin-bottom: 0.15rem;
}
.portfolio-metric-num,
.portfolio-metric-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #e8eef6;
}
.portfolio-metric-hint {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: #8fa3b8;
  margin-top: 0.1rem;
}
.portfolio-add-estimate {
  appearance: none;
  border: 1px dashed rgba(94, 196, 232, 0.45);
  background: rgba(46, 181, 232, 0.08);
  color: #9edaf0;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
}
.portfolio-add-estimate:hover {
  border-style: solid;
  background: rgba(46, 181, 232, 0.16);
}

.status-pill--sub {
  color: #d5c4f0;
  background: rgba(140, 110, 200, 0.16);
  border-color: rgba(140, 110, 200, 0.4);
  text-transform: none;
  letter-spacing: 0.02em;
}

.status-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
}
.status-pill--watching {
  color: #9edaf0;
  background: rgba(94, 196, 232, 0.14);
  border-color: rgba(94, 196, 232, 0.35);
}
.status-pill--owned {
  color: #b8f0c8;
  background: rgba(56, 180, 110, 0.16);
  border-color: rgba(56, 180, 110, 0.4);
}
.status-pill--under-offer {
  color: #ffe0a3;
  background: rgba(220, 160, 40, 0.16);
  border-color: rgba(220, 160, 40, 0.4);
}

.feas-path-fieldset {
  border: 1px solid rgba(183, 199, 216, 0.18);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  margin: 0.75rem 0 0.5rem;
}
.feas-path-fieldset legend {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8fa3b8;
  padding: 0 0.3rem;
}
.feas-check {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  margin: 0.25rem 0.85rem 0.25rem 0 !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: #c8d6e5;
  cursor: pointer;
}
.feas-check input {
  accent-color: #1a7aa3;
  width: 1rem;
  height: 1rem;
}
.feas-stamp-block {
  margin: 0.35rem 0 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(183, 199, 216, 0.14);
}
.feas-stamp-hint {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #8fa3b8;
}
.feas-stamp-hint.is-unverified {
  color: #ffe0a3;
}

.feas-stamp-foreign {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: #9fd4ef;
}
.feas-stamp-foreign.is-none {
  color: #a8b8c8;
  font-weight: 500;
}
.feas-duty-calc {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #7fd0ef;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.feas-duty-calc[hidden] {
  display: none !important;
}
.feas-duty-calc:hover,
.feas-duty-calc:focus {
  color: #b8e8f8;
}

.feas-results h2 { margin-bottom: 0.75rem; }
.feas-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}
.feas-metric {
  padding: 0.65rem 0.7rem;
  border-radius: 10px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(183, 199, 216, 0.12);
}
.feas-metric-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #8fa3b8;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.feas-metric strong {
  font-size: 1.05rem;
  color: #f4f7fb;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.feas-verdict {
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(183, 199, 216, 0.16);
  margin-bottom: 0.65rem;
}
.feas-verdict-band {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}
.feas-verdict-band--good {
  color: #b8f0c8;
  background: rgba(56, 180, 110, 0.18);
  border: 1px solid rgba(56, 180, 110, 0.4);
}
.feas-verdict-band--tight {
  color: #ffe0a3;
  background: rgba(220, 160, 40, 0.16);
  border: 1px solid rgba(220, 160, 40, 0.4);
}
.feas-verdict-band--bad {
  color: #ffb4b4;
  background: rgba(200, 70, 70, 0.16);
  border: 1px solid rgba(200, 70, 70, 0.4);
}
.feas-verdict-band--neutral {
  color: #9eb0c2;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(183, 199, 216, 0.22);
}
.feas-verdict-detail {
  margin: 0;
  font-size: 0.85rem;
  color: #9eb0c2;
  line-height: 1.45;
}
.feas-results-note {
  margin: 0;
  font-size: 0.75rem;
  color: #6f8499;
  line-height: 1.4;
}
.feas-results-note strong { color: #8fa3b8; }

@media (max-width: 900px) {
  .tool-layout,
  .tool-layout--feas {
    grid-template-columns: 1fr;
  }
  .feas-results-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-sticky-strip,
  .portfolio-sticky-total { top: 0.5rem; }
  .portfolio-card-metrics { grid-template-columns: 1fr 1fr; }
  .portfolio-loan-row { grid-template-columns: 1fr; }
  .portfolio-sticky-meta { text-align: left; }
}

@media (max-width: 520px) {
  .feas-results-grid { grid-template-columns: 1fr; }
  .portfolio-card { flex-direction: column; }
  .portfolio-card-actions { flex-direction: row; }
  .portfolio-headline { grid-template-columns: 1fr 1fr; }
  .portfolio-tile--counts { grid-column: 1 / -1; }
}

/* Print meta — screen-hidden; used by Print → PDF */
.feas-print-meta {
  display: none;
}
.feas-duty-source {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #8fa3b8;
}
.feas-duty-source.is-pending {
  color: #ffe0a3;
}
.feas-tpc-note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  color: #ffe0a3;
}
.no-print { /* class hook; screen unchanged */ }

/* Print / PDF — clean feasibility sheet */
@media print {
  body.feasibility-print .app-topbar,
  body.feasibility-print .app-nav,
  body.feasibility-print .app-footer,
  body.feasibility-print .app-logo-link,
  body.feasibility-print #panel-today,
  body.feasibility-print #panel-archive,
  body.feasibility-print #panel-saved,
  body.feasibility-print #panel-packs,
  body.feasibility-print #panel-portfolio,
  body.feasibility-print #panel-account,
  body.feasibility-print .no-print,
  body.feasibility-print .tool-form-actions,
  body.feasibility-print .feas-preset-row,
  body.feasibility-print #feas-save-status,
  body.feasibility-print .app-date-line,
  body.feasibility-print .member-gate,
  body.feasibility-print .member-paid-banner,
  body.feasibility-print .feas-duty-banner,
  body.feasibility-print .feas-gap-banner,
  body.feasibility-print details.feas-details,
  body.feasibility-print .feas-link-list {
    display: none !important;
  }

  body.feasibility-print,
  body.feasibility-print .app-shell,
  body.feasibility-print .app-main {
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
  }

  body.feasibility-print #panel-feasibility {
    display: block !important;
    padding: 0.5rem 0.75rem !important;
  }

  body.feasibility-print .feas-print-meta {
    display: block !important;
    margin: 0 0 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #bbb;
  }
  body.feasibility-print .feas-print-brand {
    margin: 0 0 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #333;
  }
  body.feasibility-print .feas-print-address {
    margin: 0 0 0.15rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
  }
  body.feasibility-print .feas-print-state,
  body.feasibility-print .feas-print-inputs {
    margin: 0.15rem 0 0;
    font-size: 0.82rem;
    color: #333;
    line-height: 1.4;
  }

  body.feasibility-print .app-panel-head h1 {
    color: #111 !important;
    font-size: 1.35rem;
    margin: 0 0 0.35rem;
  }

  body.feasibility-print .tool-layout,
  body.feasibility-print .tool-layout--feas {
    display: block !important;
    grid-template-columns: none !important;
  }

  body.feasibility-print .app-account-card,
  body.feasibility-print .tool-form-card,
  body.feasibility-print .feas-results,
  body.feasibility-print .feas-metric,
  body.feasibility-print .feas-verdict,
  body.feasibility-print .feas-stamp-block {
    background: #fff !important;
    border: 1px solid #ccc !important;
    color: #111 !important;
    box-shadow: none !important;
    break-inside: avoid;
  }

  body.feasibility-print .tool-form-card {
    margin-bottom: 0.85rem;
    padding: 0.65rem 0.75rem;
  }
  body.feasibility-print .tool-form-card h2,
  body.feasibility-print .feas-results h2 {
    color: #111 !important;
    font-size: 1rem;
    margin: 0 0 0.5rem;
  }
  body.feasibility-print .app-muted,
  body.feasibility-print .feas-metric-label,
  body.feasibility-print .feas-auto-label,
  body.feasibility-print .feas-stamp-hint,
  body.feasibility-print .feas-results-note,
  body.feasibility-print .feas-verdict-detail,
  body.feasibility-print label,
  body.feasibility-print legend {
    color: #333 !important;
  }

  body.feasibility-print .feas-metric strong,
  body.feasibility-print .feas-stamp-auto {
    color: #111 !important;
  }

  body.feasibility-print .feas-results-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem;
  }

  body.feasibility-print .feas-tpc-note {
    color: #7a5a00 !important;
  }

  body.feasibility-print .feas-duty-banner {
    display: block !important;
    color: #7a5a00 !important;
    background: #fff8e6 !important;
    border: 1px solid #c9a227 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  body.feasibility-print .feas-duty-banner[hidden] {
    display: none !important;
  }

  body.feasibility-print .feas-duty-source {
    display: block !important;
    color: #333 !important;
    margin: 0 0 0.75rem;
  }
  body.feasibility-print .feas-duty-source[hidden] {
    display: none !important;
  }
  body.feasibility-print .feas-duty-source.is-pending {
    color: #7a5a00 !important;
  }

  body.feasibility-print .feas-verdict-band {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  body.feasibility-print .feas-verdict-band--good {
    color: #0a5c2a !important;
    background: #e6f6ec !important;
    border-color: #2a9d5c !important;
  }
  body.feasibility-print .feas-verdict-band--tight {
    color: #7a5a00 !important;
    background: #fff8e6 !important;
    border-color: #c9a227 !important;
  }
  body.feasibility-print .feas-verdict-band--bad {
    color: #8b1a1a !important;
    background: #fdeaea !important;
    border-color: #c05050 !important;
  }
  body.feasibility-print .feas-verdict-band--neutral {
    color: #333 !important;
    background: #f2f2f2 !important;
    border-color: #bbb !important;
  }

  body.feasibility-print input,
  body.feasibility-print select,
  body.feasibility-print textarea {
    color: #111 !important;
    background: #fff !important;
    border: 1px solid #aaa !important;
    box-shadow: none !important;
  }

  body.feasibility-print .feas-check {
    color: #333 !important;
  }

  body.feasibility-print .tool-disclaimer,
  body.feasibility-print .feas-print-disclaimer {
    display: block !important;
    margin-top: 1rem;
    padding-top: 0.65rem;
    border-top: 1px solid #bbb;
    font-size: 0.75rem;
    color: #333 !important;
    line-height: 1.4;
  }

  body.feasibility-print a {
    color: #111 !important;
    text-decoration: none !important;
  }
}

/* Feasibility — auto duty + banner (lock update) */
.feas-duty-banner {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #ffe0a3;
  background: rgba(220, 160, 40, 0.14);
  border: 1px solid rgba(220, 160, 40, 0.4);
}
.feas-auto-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #c8d6e5;
  margin: 0 0 0.3rem;
}
.feas-stamp-auto {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #7fd0ef;
  letter-spacing: -0.01em;
}
.feas-stamp-auto.is-pending {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffe0a3;
}
.feas-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.35rem 0 0.65rem;
}
.feas-preset-row .btn-ghost {
  color: #c8d6e5;
  border-color: rgba(183, 199, 216, 0.35);
  margin-top: 0;
}
.feas-metric--wide {
  grid-column: 1 / -1;
}


/* Feasibility cost stack (26 Sep 2026) */
.feas-stack-fieldset {
  margin: 1rem 0;
  padding: 0.75rem 0 0;
  border: 0;
  border-top: 1px solid rgba(127, 208, 239, 0.18);
}
.feas-stack-fieldset > legend {
  padding: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #7fd0ef;
}
.feas-field-hint {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
.feas-computed-line {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.feas-stack-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.feas-stack-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
}
.feas-stack-list li span {
  color: rgba(255,255,255,0.65);
}
.feas-stack-list li strong {
  font-variant-numeric: tabular-nums;
}
.feas-stack-list li.feas-stack-total {
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-bottom: 0;
  border-top: 1px solid rgba(127, 208, 239, 0.35);
  font-size: 1rem;
}
.feas-stack-list li.feas-stack-total span,
.feas-stack-list li.feas-stack-total strong {
  color: #fff;
}
.feas-results-subhead {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
}
.feas-future-note {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.feas-mode-fieldset {
  margin-bottom: 0.5rem;
}

/* === member unlock (Stripe Payment Link) === */
.member-paid-banner {
  margin: 0 0 1.1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #d4f5e4;
  background: rgba(34, 140, 90, 0.22);
  border: 1px solid rgba(80, 190, 130, 0.4);
}
.member-paid-banner strong { color: #f0fff6; }
.app-user-chip.is-paid {
  background: rgba(34, 140, 90, 0.22);
  border-color: rgba(80, 190, 130, 0.45);
  color: #d4f5e4;
}
/* polish: iPhone paid chip */
.app-user-chip.is-paid,
.app-user-chip[data-just-paid="1"] {
  max-width: min(46vw, 11rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 820px) {
  .app-topbar-inner {
    gap: 0.35rem 0.5rem;
  }
  .app-plan-chip,
  .app-user-chip {
    font-size: 0.72rem;
    padding: 0.24rem 0.55rem;
  }
  .app-user-chip.is-paid {
    order: 3;
    margin-left: auto;
  }
}
.app-user-chip.is-demo {
  opacity: 0.95;
}
.member-gate {
  margin: 0.5rem 0 1.25rem;
  padding: 1.5rem 1.1rem;
  border-radius: 14px;
  background: rgba(12, 22, 34, 0.55);
  border: 1px dashed rgba(127, 208, 239, 0.35);
  display: flex;
  justify-content: center;
}
.member-gate-card {
  max-width: 28rem;
  text-align: center;
}
.member-gate-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7fd0ef;
}
.member-gate-card h2 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  color: #f4f7fb;
}
.member-gate-card p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #a8b8c8;
  line-height: 1.45;
}
.member-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}
.auth-paid-cta {
  margin: 0 0 1.1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(34, 140, 90, 0.14);
  border: 1px solid rgba(80, 190, 130, 0.35);
}
.auth-paid-note {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: #c8e8d4;
  line-height: 1.4;
}
.auth-demo code {
  font-size: 0.85em;
  color: #7fd0ef;
}

/* Feasibility GAP assembly (26 Sep 2026) — headworks / build helper / tax */
.feas-gap-banner {
  margin-top: 0.5rem;
}
.feas-chip {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #1a1208;
  background: #ffe0a3;
  vertical-align: middle;
}
.feas-tax-disclaimer {
  margin: 0.35rem 0 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #ffe0a3;
  background: rgba(220, 160, 40, 0.1);
  border: 1px solid rgba(220, 160, 40, 0.28);
}
.feas-details {
  margin: 0.75rem 0;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(127, 208, 239, 0.22);
  background: rgba(127, 208, 239, 0.05);
}
.feas-details > summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: #7fd0ef;
  list-style: none;
}
.feas-details > summary::-webkit-details-marker { display: none; }
.feas-details[open] > summary { margin-bottom: 0.55rem; }
.feas-checklist {
  margin: 0.35rem 0 0.75rem;
  padding-left: 1.2rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.45;
}
.feas-checklist li { margin-bottom: 0.25rem; }
.feas-link-list a {
  color: #7fd0ef;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.feasibility-print .feas-gap-banner,
body.feasibility-print .feas-tax-disclaimer {
  color: #111 !important;
  background: #fff8e6 !important;
  border-color: #d4a017 !important;
}
body.feasibility-print .feas-chip {
  border: 1px solid #111;
}
