:root {
  --bg: #F6F3EE;
  --bg2: #EFEAE2;
  --panel: #FFFFFF;
  --ink: #1D282D;
  --ink2: #3F4C52;
  --muted: #6F7B81;
  --line: #E4DDD2;
  --line2: #EFEAE2;
  --sage: #2E7A64;
  --sage-d: #1F5A48;
  --sage2: #E2EFE9;
  --sage3: #B9D8CA;
  --amber: #9A5F0E;
  --amber-mark: #D08A22;
  --amber2: #FBEFD9;
  --red: #B23F2F;
  --red2: #F8E3DE;
  --blue: #2F5E9E;
  --blue2: #E3EBF7;
  --rosa: #B4644A;
  --lucia: #3563A6;
  --tv: #122630;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --r: 16px;
  --shadow: 0 1px 2px rgba(30,40,45,.04), 0 10px 30px rgba(30,40,45,.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; }
b, strong { font-weight: 600; }

.ic { display: inline-flex; width: 1em; height: 1em; flex: none; }
.ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* brand */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.mark { width: 26px; height: 26px; border-radius: 50%; position: relative; background: var(--sage2); flex: none; }
.mark::before { content: ''; position: absolute; inset: 7.5px; border-radius: 50%; background: var(--sage); }
.mark::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--sage3); animation: breathe 3.4s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.3); opacity: 0; } }
.wm { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -.02em; line-height: 1; }

/* buttons & tags */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(30,40,45,.08); }
.btn.primary { background: var(--sage); border-color: var(--sage); color: #fff; }
.btn.primary:hover { background: var(--sage-d); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.sm { height: 34px; padding: 0 13px; font-size: 13px; border-radius: 10px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.tag.sage { background: var(--sage2); color: var(--sage-d); }
.tag.amber { background: var(--amber2); color: var(--amber); }
.tag.blue { background: var(--blue2); color: var(--blue); }
.tag.red { background: var(--red2); color: var(--red); }
.tag.grey { background: #EEEBE5; color: var(--ink2); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }

/* ================= landing ================= */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246,243,238,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; height: 68px; gap: 28px; }
.nav-links { display: flex; gap: 24px; font-size: 14.5px; color: var(--ink2); margin-left: 12px; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-cta .signin { font-size: 14.5px; font-weight: 600; padding: 0 12px; }

.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: 60px; line-height: 1.04; letter-spacing: -.03em; margin: 16px 0 0; }
.hero h1 em { color: var(--sage); font-style: italic; font-weight: 400; }
.hero .lede { font-size: 19px; color: var(--ink2); margin: 22px 0 0; max-width: 540px; }
.hero .ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero .trust { display: flex; gap: 20px; margin-top: 30px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.hero .trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero .trust .ic { color: var(--sage); }

.hero-viz { position: relative; }
.hv-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px 18px 14px; box-shadow: var(--shadow); }
.hv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.hv-head b { font-size: 14px; }
.hv-head span { font-size: 12px; color: var(--muted); }
.hv-hour { font-family: var(--serif); font-size: 22px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hv-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 12px; color: var(--muted); }
.hv-scale { display: flex; align-items: center; gap: 8px; }
.hv-scale i { width: 90px; height: 8px; border-radius: 4px; }
.hv-float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 11px 13px; box-shadow: 0 14px 34px rgba(30,40,45,.14); display: flex; gap: 10px; align-items: center; font-size: 13px; max-width: 260px; animation: floaty 6s ease-in-out infinite; }
.hv-float b { display: block; font-size: 13.5px; }
.hv-float span { color: var(--muted); font-size: 12px; }
.hv-float .dot { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; font-size: 16px; }
.hv-float.f1 { left: -34px; bottom: -26px; }
.hv-float.f2 { right: -18px; top: -62px; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.plan .room { stroke: #fff; stroke-width: 3; transition: fill .6s ease; }
.plan .rl { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-family: var(--sans); transition: fill .6s; }
.plan .rv { font-size: 15px; font-weight: 600; font-family: var(--sans); transition: fill .6s; }
.plan .wall { fill: none; stroke: #CFC6B8; stroke-width: 2; }

section { scroll-margin-top: 76px; }
.band { padding: 88px 0; }
.band.alt { background: var(--bg2); }
.band.dark { background: #15262E; color: #EEF2F1; }
.sec-head { max-width: 760px; }
.sec-head h2 { font-family: var(--serif); font-size: 42px; font-weight: 500; letter-spacing: -.02em; line-height: 1.12; margin: 12px 0 0; }
.sec-head p { font-size: 18px; color: var(--ink2); margin: 16px 0 0; }
.band.dark .sec-head p { color: #B6C4C7; }
.band.dark .eyebrow { color: #8FD0B5; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.stat b { font-family: var(--serif); font-size: 50px; font-weight: 500; letter-spacing: -.02em; line-height: 1; display: block; }
.stat span { display: block; margin-top: 12px; color: var(--ink2); font-size: 15px; }
.stat small { display: block; margin-top: 10px; font-size: 12px; color: var(--muted); }

.spectrum { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; margin-top: 40px; align-items: stretch; }
.spec { border-radius: 20px; padding: 26px; border: 1px solid var(--line); background: #fff; }
.spec h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 12px 0 8px; }
.spec p { margin: 0; color: var(--ink2); font-size: 15px; }
.spec ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink2); }
.spec li { display: flex; gap: 8px; align-items: flex-start; }
.spec li .ic { margin-top: 3px; }
.spec.bad li .ic { color: var(--red); }
.spec.good { background: var(--sage-d); color: #fff; border-color: var(--sage-d); transform: translateY(-8px); box-shadow: 0 20px 40px rgba(31,90,72,.25); }
.spec.good p, .spec.good ul { color: #D5EAE1; }
.spec.good .ic { color: #9FE0C4; }

.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; counter-reset: s; }
.step4 { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 22px; }
.step4 .n { width: 34px; height: 34px; border-radius: 50%; background: var(--sage2); color: var(--sage-d); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.step4 h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin: 16px 0 8px; line-height: 1.2; }
.step4 p { margin: 0; color: var(--ink2); font-size: 14.5px; }
.step4 .mini { margin-top: 16px; }

.ladder-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 44px; }
.rung { border-radius: 16px; padding: 18px 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); position: relative; }
.rung .lvl { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.rung h4 { font-family: var(--serif); font-weight: 500; font-size: 19px; margin: 8px 0 6px; }
.rung p { margin: 0; font-size: 13.5px; color: #B6C4C7; line-height: 1.45; }
.rung .bar { height: 4px; border-radius: 4px; margin-bottom: 14px; }
.ladder-note { margin-top: 18px; font-size: 14px; color: #B6C4C7; }

.products { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.product h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 0; display: flex; align-items: center; gap: 10px; }
.product h3 i { width: 12px; height: 12px; border-radius: 50%; }
.product > p { margin: 0; color: var(--ink2); font-size: 16px; }
.sensor-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sensor-list div { background: var(--bg); border-radius: 14px; padding: 13px 14px; }
.sensor-list b { display: block; font-size: 14px; }
.sensor-list span { font-size: 13px; color: var(--muted); }
.flow { display: flex; flex-direction: column; gap: 0; }
.flow div { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 9px 0; font-size: 14.5px; border-top: 1px solid var(--line2); color: var(--ink2); }
.flow div:first-child { border-top: none; }
.flow .k { width: 24px; height: 24px; border-radius: 50%; background: var(--blue2); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }

.privacy { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pitem { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.pitem .ic { font-size: 22px; color: var(--sage); }
.pitem b { display: block; margin-top: 10px; font-size: 15px; }
.pitem span { font-size: 13.5px; color: var(--ink2); }

.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.whoc { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.whoc .tag { margin-bottom: 14px; }
.whoc h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin: 0 0 8px; line-height: 1.25; }
.whoc p { margin: 0; font-size: 14px; color: var(--ink2); }

.compare { margin-top: 40px; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-top: 1px solid var(--line2); vertical-align: top; }
.compare th { background: #FAF8F4; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-top: none; }
.compare td:first-child { font-weight: 600; }
.compare td:nth-child(3) { color: var(--ink2); }
.compare tr.us td { background: var(--sage2); color: var(--sage-d); }
.compare tr.us td:first-child { font-family: var(--serif); font-size: 17px; }

.cta-band { padding: 90px 0; }
.cta-box { background: var(--sage-d); color: #fff; border-radius: 32px; padding: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-box::after { content: ''; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 60px rgba(255,255,255,.03), 0 0 0 120px rgba(255,255,255,.02); }
.cta-box h2 { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.12; margin: 0; letter-spacing: -.02em; }
.cta-box p { color: #D5EAE1; font-size: 17px; margin: 14px 0 0; }
.cta-form { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.cta-form input, .cta-form select { height: 48px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; padding: 0 14px; font-size: 15px; font-family: inherit; }
.cta-form input::placeholder { color: #B9D8CA; }
.cta-form select option { color: var(--ink); }
.cta-form .btn { height: 48px; background: #fff; color: var(--sage-d); border-color: #fff; }
.cta-form .ok { font-size: 14px; color: #CFF0E0; min-height: 20px; }

footer.site { padding: 36px 0 50px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
footer.site .wrap { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
footer.site .links { display: flex; gap: 18px; margin-left: auto; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.shown { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 48px; }
  .steps4, .who { grid-template-columns: 1fr 1fr; }
  .ladder-row { grid-template-columns: 1fr 1fr; }
  .privacy, .cta-box { grid-template-columns: 1fr; }
  .hv-float.f1 { left: 8px; } .hv-float.f2 { right: 8px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta .btn.primary { display: none; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: 38px; }
  .hero .lede { font-size: 17px; }
  .sec-head h2 { font-size: 32px; }
  .band { padding: 64px 0; }
  .stats, .spectrum, .products, .steps4, .who, .ladder-row, .pgrid, .sensor-list { grid-template-columns: 1fr; }
  .spec.good { transform: none; }
  .hv-float { position: static; margin-top: 10px; max-width: none; animation: none; }
  .cta-box { padding: 32px 24px; }
  .cta-box h2 { font-size: 30px; }
  .compare { overflow-x: auto; }
  .compare table { min-width: 640px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* shared: tooltip + "Rosa is here" marker */
.tip { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; background: #1D282D; color: #fff; font-size: 12.5px; line-height: 1.45; padding: 8px 11px; border-radius: 10px; box-shadow: 0 10px 24px rgba(0,0,0,.2); opacity: 0; transition: opacity .12s; max-width: 260px; }
.tip.show { opacity: 1; }
.tip b { font-weight: 600; }
.tip .tm { color: #A9B7BB; font-size: 11.5px; }
.here-halo { fill: none; stroke: var(--rosa); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: halo 1.8s ease-out infinite; }
@keyframes halo { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.stat small a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.stat small a:hover { color: var(--ink); }

/* prototype view switcher */
.viewbar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 16px; background: #15262E; color: #C9D6D9; font-size: 13px; overflow-x: auto; scrollbar-width: none; }
.viewbar::-webkit-scrollbar { display: none; }
.vb-logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 19px; color: #fff; flex: none; }
.vb-logo .mark { width: 20px; height: 20px; }
.vb-logo .mark::before { inset: 5.5px; }
.vb-l { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #7F979E; font-weight: 700; flex: none; }
.viewbar nav { display: flex; gap: 4px; }
.viewbar nav a { padding: 6px 11px; border-radius: 8px; white-space: nowrap; font-weight: 600; }
.viewbar nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.viewbar nav a.on { background: #fff; color: var(--ink); }
.vb-back { margin-left: auto; flex: none; color: #9FB3B8; }
.modal.wide { max-width: 640px; }
.who-link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--sage-d); }
.who-link:hover { text-decoration: underline; }
