:root {
  --bg: #f6f8f3; --bg-2: #eef3e8; --card: #ffffff; --line: #d9e2d3; --line-2: #c9d6c1;
  --text: #20321f; --muted: #566a57; --accent: #426c2c; --accent-2: #628b39;
  --fill: #bcf279; --fill-line: #a9d77d; --fill-text: #1b2d12; --ink: #172315;
  --radius: 14px; --shadow: 0 1px 2px #1b2d1210, 0 8px 28px #1b2d120d;
  --glow: #e2eecd; --header: #f6f8f3e6; --night: #172315; --night-line: #50604a; --night-text: #bfd0b3; --dash: #c9d6c1;
  color-scheme: light;
}
/* Dark: the same greens at night; the lime stays the one bright thing. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #111711; --bg-2: #1c251b; --card: #172016; --line: #29352a; --line-2: #364434;
    --text: #dde8d6; --muted: #9fb09a; --accent: #a9d77d; --accent-2: #bcf279; --ink: #f1f7ec;
    --shadow: 0 1px 2px #00000040, 0 8px 28px #00000030; --glow: #1f2d18; --header: #111711e6; --night: #0b100b; --night-line: #3d4c39; --dash: #3a4838;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #111711; --bg-2: #1c251b; --card: #172016; --line: #29352a; --line-2: #364434;
  --text: #dde8d6; --muted: #9fb09a; --accent: #a9d77d; --accent-2: #bcf279; --ink: #f1f7ec;
  --shadow: 0 1px 2px #00000040, 0 8px 28px #00000030; --glow: #1f2d18; --header: #111711e6; --night: #0b100b; --night-line: #3d4c39; --dash: #3a4838;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: 'DM Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); }
img, svg { max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3 { font-family: Manrope, system-ui, sans-serif; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; color: var(--ink); }
h1 { font-size: clamp(36px, 6vw, 62px); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 750; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 14px; }
.wrap { max-width: 1192px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
body::before { content: ''; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 11; background: var(--bg); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--header); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: Manrope, sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.brand-dot { color: var(--accent-2); margin-left: -10px; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); background: var(--bg-2); }
.site-nav a.button { color: var(--fill-text); }
.menu-toggle { display: none; font: inherit; font-weight: 600; background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 14px; color: var(--text); cursor: pointer; }

/* Buttons */
.button { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; padding: 13px 22px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); transition: transform .15s, background .15s; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--fill); border-color: var(--fill-line); color: var(--fill-text); }
.button.primary:hover { background: #c8f591; }
.button.small { padding: 8px 14px; font-size: 14px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
section { padding: 84px 0; }
section.tight { padding: 56px 0; }
section.alt { background: var(--card); border-block: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 640px; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .lede { margin-inline: auto; }

/* Hero */
.hero { padding: 76px 0 64px; background: radial-gradient(1000px 480px at 78% 12%, var(--glow) 0%, transparent 70%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--accent); }
.hero .lede { margin-bottom: 26px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* The three products flowing to screens */
.flow { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.flow-step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.flow-step b { display: block; font-family: Manrope, sans-serif; color: var(--ink); }
.flow-step small { color: var(--muted); font-size: 13px; line-height: 1.4; display: block; }
.flow-icon { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--fill); color: var(--fill-text); }
.flow-arrow { justify-self: center; color: var(--accent-2); height: 18px; }
.flow-screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.flow-screens span { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); padding: 10px 4px; border: 1px dashed var(--dash); border-radius: 10px; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); min-width: 0; }
.card p { color: var(--muted); }
.card .icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); color: var(--accent); margin-bottom: 16px; }
.product-card, .price-card { display: flex; flex-direction: column; }
.product-card .tag, .price-card .tag { align-self: flex-start; }
.product-card ul { margin: 4px 0 22px; }
.product-card .button { margin-top: auto; align-self: flex-start; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; color: var(--text); font-size: 15px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 5px; width: 15px; height: 15px; border-radius: 50%; background: var(--fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2d12' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/10px no-repeat; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); background: var(--bg-2); border: 1px solid var(--line); padding: 3px 9px; border-radius: 6px; margin-bottom: 12px; }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }

/* Household explainer */
.household { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.house { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.house-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.house-head b { font-family: Manrope, sans-serif; font-size: 18px; color: var(--ink); }
.credit { font-weight: 700; font-size: 14px; background: var(--fill); color: var(--fill-text); padding: 5px 11px; border-radius: 999px; }
.house-devices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.house-devices div { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--bg); }
.house-devices b { display: block; font-size: 15px; color: var(--ink); }
.house-devices small { color: var(--muted); font-size: 13px; }
.house-rules { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding-top: 52px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-family: Manrope, sans-serif; font-weight: 800; background: var(--night); color: var(--fill); }
.step p { color: var(--muted); }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; background: var(--bg); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; color: var(--ink); }

/* Pricing */
.price-card { display: flex; flex-direction: column; }
.price-card .model { font-family: Manrope, sans-serif; font-size: 22px; font-weight: 800; color: var(--ink); margin: 4px 0 6px; }
.price-card .button { margin-top: auto; align-self: flex-start; }
.price-card.featured { border-color: var(--fill-line); box-shadow: 0 0 0 3px #bcf27955, var(--shadow); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; font-family: Manrope, sans-serif; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); }

/* Call to action */
.cta { background: var(--night); color: var(--night-text); border-radius: 24px; padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; }
.wrap.cta { width: calc(100% - 2 * max(16px, env(safe-area-inset-left, 0px))); max-width: 1160px; }
.cta h2 { color: #fff; }
.cta p { color: var(--night-text); }
.cta .actions { justify-content: flex-end; }
.cta .button:not(.primary) { background: transparent; color: #fff; border-color: var(--night-line); }

/* Contact */
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); color: var(--text); width: 100%; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.contact-form legend { font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.contact-form fieldset label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.contact-form input[type='checkbox'] { width: auto; accent-color: var(--accent); }

/* Footer */
.site-footer { background: var(--card); border-top: 1px solid var(--line); padding: 54px 0 26px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid p { color: var(--muted); font-size: 14px; max-width: 360px; margin-top: 12px; }
.footer-grid h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.footer-grid div > a:not(.brand) { display: block; color: var(--text); text-decoration: none; font-size: 15px; padding: 3px 0; }
.footer-grid div > a:not(.brand):hover { color: var(--accent); }
.footer-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Page heads */
.page-head { padding: 64px 0 40px; background: radial-gradient(900px 380px at 85% 0%, var(--glow) 0%, transparent 70%), var(--bg); }
.page-head .lede { margin-bottom: 24px; }

@media (max-width: 960px) {
  .hero-grid, .household, .cta { grid-template-columns: 1fr; }
  .grid-3, .features, .steps { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .cta .actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .menu-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .site-nav a.button { justify-content: center; margin-top: 6px; }
  section { padding: 60px 0; }
  .grid-3, .grid-2, .features, .steps, .grid-4 { grid-template-columns: 1fr; }
  .cta { padding: 34px 24px; border-radius: 18px; }
  .card { padding: 22px; }
  .flow-screens { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }

/* Legal pages: one readable column. */
.legal { max-width: 760px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); }
.legal h2 { font-size: 20px; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--text); font-size: 15.5px; }
.legal ul { padding-left: 20px; margin: 0 0 14px; display: grid; gap: 6px; }
.legal-summary { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
