/* Homepage components (apps/site/index.html), on top of site.css. */

/* Hero: text beside the real card */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 88px); }
/* The headline spans the content width above the row (1-2 lines on desktop, 2-3 on phones). */
.hero h1.hero-title { margin-top: 18px; max-width: none; font-size: clamp(1.8rem, 1.1rem + 3.2vw, 3.6rem); line-height: 1.1; text-wrap: balance; }
@media (max-width: 480px) { .hero h1.hero-title { font-size: 2rem; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: clamp(28px, 4vw, 48px); }
.hero-copy { padding-top: 4px; }
.hero .lead { margin-top: 0; }
.hero .actions { margin-top: 32px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-card { max-width: 440px; } }
.card-cap { margin-top: 12px; font-family: var(--font-ui); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }

/* The problem: one paid call, in minutes */
.meter-panel { margin: clamp(28px, 4vw, 44px) 0 0; background: #1e1e1e; }
.meter { position: relative; padding-bottom: 30px; }
.m-row + .m-row { margin-top: 22px; }
.m-label { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font-family: var(--font-ui); font-size: .9375rem; color: var(--text); }
.m-label span { background: var(--surface); padding-right: 6px; }
.m-label span + span { padding: 0 0 0 6px; }
.m-track { position: relative; height: 46px; border-radius: 10px; background: #171717; border: 1px solid #2a2a2a; }
.seg { position: absolute; z-index: 1; top: 5px; bottom: 5px; border-radius: 7px; display: flex; align-items: center; padding: 0 10px; overflow: hidden; font-family: var(--font-ui); font-size: .8125rem; line-height: 1.15; white-space: nowrap; }
.seg i { font-style: normal; }
.seg-look { background: #2e2e2e; color: var(--soft); }
.seg-research { background: repeating-linear-gradient(135deg, #4a2830 0 9px, #2c1c20 9px 18px); border: 1px solid rgba(207,102,121,.65); color: #ffd3da;
  -webkit-mask-image: linear-gradient(90deg, #000 60%, rgba(0,0,0,.25)); mask-image: linear-gradient(90deg, #000 60%, rgba(0,0,0,.25)); }
.seg-annuva { background: var(--cyan); min-width: 7px; padding: 0; }
.seg-pitch { border: 1px solid rgba(187,134,252,.75); background: #2f2540; color: #e6d6ff; }
.m-bill { position: absolute; z-index: 0; top: 0; bottom: 18px; left: 50%; width: 0; border-left: 2px dashed var(--warn); }
.m-bill span { position: absolute; bottom: -22px; left: 0; transform: translateX(-50%); white-space: nowrap; font-family: var(--font-ui); font-size: .75rem; color: #f4a6b3; background: var(--surface); padding: 0 6px; }
.m-axis { position: relative; z-index: 1; height: 18px; margin-top: 8px; font-family: var(--font-ui); font-size: .75rem; color: var(--muted); }
.m-axis span { position: absolute; top: 0; transform: translateX(-50%); background: var(--surface); padding: 0 3px; white-space: nowrap; }
.m-axis span:first-child { transform: none; }
.m-axis span:last-child { transform: translateX(-100%); }
.m-legend { display: none; list-style: none; margin: 18px 0 0; padding: 0; gap: 8px; font-family: var(--font-ui); font-size: .8125rem; color: var(--soft); }
.m-legend li { display: flex; align-items: center; gap: 10px; }
.m-legend i { flex: none; width: 22px; height: 12px; border-radius: 3px; }
@media (max-width: 640px) { .seg i { display: none; } .m-legend { display: grid; } }
@media (max-width: 480px) { .m-label { font-size: .8125rem; } }

/* What it does */
.shows .panel { display: flex; gap: 16px; align-items: flex-start; }
.shows .panel h3 { font-size: 1.125rem; }
.shows .panel p { margin-top: 8px; }

/* The card: the two Compare states, a short line beside each widened card */
.cmp-state { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 760px); gap: clamp(24px, 3vw, 40px); align-items: start; }
.cmp-state + .cmp-state { margin-top: clamp(40px, 5vw, 64px); }
.cmp-figure { margin: 0; min-width: 0; }
.cmp-text { padding-top: 6px; }
.cmp-text .cmp-label { font-family: var(--font-ui); font-size: 1.125rem; color: var(--box-sub); }
.cmp-text p + p { margin-top: 8px; }
@media (max-width: 1080px) { .cmp-state { grid-template-columns: minmax(0, 1fr); } }
.swipe-hint { display: none; margin-top: 10px; font-family: var(--font-ui); font-size: .8125rem; color: var(--muted); }
@media (max-width: 760px) { .swipe-hint { display: block; } }

/* The data: four facts, two by two (no overlap at any width) */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 720px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.fact .big { font-family: var(--font-ui); font-size: clamp(1.6rem, 1.3rem + .9vw, 2.1rem); line-height: 1.1; color: var(--cyan); white-space: nowrap; }
.fact .big.v { color: var(--violet); }
.fact h3 { margin-top: 14px; font-size: 1.125rem; }
.fact p { margin-top: 6px; }

/* Privacy */
.privacy-box { max-width: 46em; margin-top: clamp(24px, 3vw, 36px); }

/* Text inside boxes: Tektur at about 16 px, cyan lead-ins, coloured subheaders (owner's type4-1).
   --box-sub is the subheader colour: lavender #c9b8ea (owner, 2026-10-21; violet #bb86fc was the alternative). */
:root { --box-text: #d6d6dc; --box-sub: #c9b8ea; }
.panel p, .panel li, .meter-panel figcaption { font-family: var(--font-ui); font-size: 1rem; line-height: 1.45; color: var(--box-text); }
.meter-panel figcaption { font-size: .875rem; color: var(--muted); }
.panel h3 { font-family: var(--font-ui); font-size: 1.25rem; color: var(--text); }
.panel .box-sub { margin-top: 4px; font-size: .875rem; color: var(--box-sub); letter-spacing: .01em; }
.leads { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.leads li { display: grid; gap: 2px; }
.leads .lead-in { color: var(--cyan); letter-spacing: .01em; }
.privacy-box .ticks { gap: 12px; }

/* Who it's for */
.who .panel { padding: clamp(20px, 2.4vw, 28px); }

/* Price */
.price-grid { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.price-grid > div:first-child { padding-top: 6px; }
@media (max-width: 900px) { .price-grid { grid-template-columns: minmax(0, 1fr); } }
.price { font-family: var(--font-mark); font-size: clamp(4.5rem, 2.5rem + 6vw, 7.5rem); line-height: 1; color: var(--cyan); }
.price-unit { font-family: var(--font-ui); font-size: 1.125rem; color: var(--soft); margin-top: 10px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #333; border-radius: 14px; background: rgba(30,30,30,.9); }
.table { width: 100%; min-width: 500px; border-collapse: collapse; font-family: var(--font-ui); font-size: 1rem; }
.table caption { text-align: left; padding: 14px 16px 0; font-family: var(--font-ui); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.table th, .table td { padding: 11px 16px; text-align: right; border-bottom: 1px solid #2c2c2c; white-space: nowrap; }
.table th:first-child, .table td:first-child { text-align: left; white-space: normal; color: var(--soft); }
.table thead th { font-family: var(--font-ui); font-weight: 400; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.table td { font-family: var(--font-ui); color: var(--text); }
.table tr.hi td { color: var(--cyan); }
.table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 480px) { .table { font-size: .875rem; } .table th, .table td { padding: 10px 12px; } }
.cpa-box { margin-bottom: 16px; }
.cpa { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 8px; font-family: var(--font-ui); line-height: 1.1; }
.panel p.cpa { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); color: var(--cyan); }
.cpa .cpa-from { color: var(--soft); }
.cpa .cpa-arrow, .cpa .cpa-sep { color: var(--muted); font-size: .7em; }
.cpa-box p:last-child { margin-top: 10px; }
@media (max-width: 480px) { .panel p.cpa { font-size: 1.375rem; gap: 4px 8px; } }
.table tbody th { font-weight: 400; }
.table tr.hi th, .table tr.hi td { color: var(--cyan); }
/* Scenario table: one row per scenario; on phones each row becomes a labelled card (no sideways scroll) */
.table.scen { min-width: 0; }
.table.scen thead th { white-space: normal; vertical-align: bottom; line-height: 1.3; text-transform: none; letter-spacing: 0; font-size: .875rem; }
.table.scen thead th small { display: block; margin-top: 2px; font-size: .75rem; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.table.scen thead th.hi { color: var(--cyan); }
.table.scen tbody th { color: var(--text); }
.table.scen thead th:first-child { width: 20%; }
.table.scen td.hi { color: var(--cyan); }
@media (max-width: 600px) {
  .table.scen thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .table.scen, .table.scen tbody, .table.scen tr, .table.scen th, .table.scen td { display: block; }
  .table.scen tr { padding: 14px 16px; border-bottom: 1px solid #2c2c2c; }
  .table.scen tbody tr:last-child { border-bottom: 0; }
  .table.scen tbody th { padding: 0 0 6px; border: 0; font-size: 1.0625rem; }
  .table.scen td { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 0; border: 0; white-space: normal; text-align: right; }
  .table.scen td::before { content: attr(data-label); color: var(--soft); text-align: left; }
}
.breakeven { margin-top: 14px; font-family: var(--font-ui); font-size: 1rem; color: var(--text); text-wrap: balance; }
#pricing .fine { text-wrap: balance; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips span { font-family: var(--font-ui); font-size: .875rem; color: var(--soft); border: 1px dashed #555; border-radius: 999px; padding: 4px 12px; }
.chips span:first-child { border-style: solid; border-color: #666; color: var(--text); }

/* Closing band: text and buttons on one row on desktop */
.cta-band .wrap > div:first-child { flex: 1 1 480px; min-width: 0; max-width: 680px; }
.cta-band h2 { max-width: none; font-size: clamp(1.75rem, 1.1rem + 1.7vw, 2.5rem); }
.cta-band p { text-wrap: balance; }

/* Footer: the main line under the wordmark, then the hook line */
.site-footer .footer-brand p.footer-line { margin-top: 14px; font-family: var(--font-ui); font-size: 1.0625rem; color: var(--text); }
.footer-hook { margin-top: 14px; max-width: 30em; font-size: .9375rem; }
