:root {
  --bg: #0f0f0f;
  --bg-2: #161616;
  --card: #1c1c1b;
  --line: #2c2c2a;
  --cream: #f3eee3;
  --muted: #b8b2a5;
  --green: #89b345;
  --green-hi: #a2cc5c;
  --pit: #634320;
  --tomato: #e5533d;
  --radius: 18px;
  --font: "Century Gothic", "Avenir Next", Avenir, Futura, "Trebuchet MS", "Segoe UI", sans-serif;
  --digits: "Bahnschrift", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
.inline-logo { display: inline-block; width: clamp(12.48rem, 37.44vw, 18.72rem); vertical-align: middle; }
a { color: var(--green-hi); }
a:hover { color: var(--cream); }
h1, h2, h3 { line-height: 1.15; font-weight: 400; letter-spacing: .01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.green { color: var(--green); }
.center { text-align: center; }
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: #111; padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--green-hi); outline-offset: 3px; }

.eyebrow {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  margin-bottom: .75rem;
}
.section-lead { color: var(--muted); font-size: 1.15rem; max-width: 46rem; }
.section-lead.center { margin-inline: auto; }
.fine { color: var(--muted); font-size: .85rem; }

.btn {
  display: inline-block;
  background: var(--green);
  color: #10140a;
  border: 2px solid var(--green);
  border-radius: 999px;
  padding: .8rem 1.6rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--green-hi); border-color: var(--green-hi); color: #10140a; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--line); }
.btn-ghost:hover { background: transparent; color: var(--green-hi); border-color: var(--green); }
.btn-small { padding: .45rem 1.1rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 15, 15, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand img { width: 190px; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { color: var(--cream); text-decoration: none; font-size: .95rem; }
.site-nav a:not(.btn):hover { color: var(--green-hi); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--cream); margin: 6px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero {
  padding: clamp(3rem, 7vw, 6rem) 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 40%, rgba(137, 179, 69, .14), transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 90%, rgba(99, 67, 32, .25), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34rem; }
.hero-points { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.25rem; }
.hero-points li { padding-left: 1.6rem; position: relative; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: .8rem; height: 1rem;
  border: 2px solid var(--green); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Device mock-up: an 800x480 screen drawn in container units (1cqw = 8 screen pixels at full size) */
.hero-device { margin: 0; }
.device {
  background: linear-gradient(145deg, #262626, #0a0a0a);
  border-radius: 22px;
  padding: 3.2%;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 0 0 1px #333, inset 0 1px 0 #3a3a3a;
}
.screen {
  container-type: inline-size;
  aspect-ratio: 800 / 480;
  background: #050505;
  border-radius: 6px;
  color: var(--screen-color);
  font-family: "Montserrat", var(--font);
  position: relative;
  overflow: hidden;
  transition: color .4s;
}
.screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, .07), transparent 40%);
}
.scr-top { position: absolute; left: 2.5cqw; right: 2.5cqw; top: 2cqw; display: flex; align-items: center; gap: 2cqw; font-size: 2.9cqw; }
.scr-wifi { display: inline-flex; align-items: flex-end; gap: .5cqw; height: 3cqw; }
.scr-wifi i { width: .8cqw; background: currentColor; border-radius: 1px; }
.scr-wifi i:nth-child(1) { height: 1cqw; }
.scr-wifi i:nth-child(2) { height: 1.7cqw; }
.scr-wifi i:nth-child(3) { height: 2.4cqw; }
.scr-wifi i:nth-child(4) { height: 3cqw; }
.scr-status { flex: 1; }
.scr-inside { display: inline-flex; align-items: center; gap: 1cqw; font-size: 5.6cqw; }
.scr-inside svg { width: 7cqw; height: 7cqw; }
.scr-time { position: absolute; left: 3cqw; top: 11cqw; display: flex; align-items: stretch; }
.scr-hm {
  font-family: var(--digits);
  font-weight: 700;
  font-size: 27cqw;
  line-height: .78;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.scr-side { display: flex; flex-direction: column; justify-content: space-between; margin-left: 3cqw; }
.scr-ampm { font-size: 5.6cqw; line-height: 1; }
.scr-sec { font-size: 9.6cqw; line-height: .8; font-variant-numeric: tabular-nums; }
.scr-date { position: absolute; left: 3cqw; top: 36cqw; font-size: 6.6cqw; line-height: 1; white-space: nowrap; }
.scr-bottom { position: absolute; left: 2.5cqw; right: 2cqw; bottom: 1.6cqw; display: flex; justify-content: space-between; align-items: flex-end; }
.scr-outside { display: flex; flex-direction: column; align-items: flex-start; }
.scr-caption { font-size: 2.9cqw; margin-left: 13cqw; }
.scr-now { font-size: 5.6cqw; line-height: 1.1; white-space: nowrap; }
.drop {
  display: inline-block; width: .55em; height: .7em; vertical-align: -.05em;
  background: currentColor; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  clip-path: polygon(50% 0, 100% 55%, 100% 100%, 0 100%, 0 55%);
}
.scr-days { border-collapse: collapse; font-size: 4cqw; line-height: 1.15; text-align: center; }
.scr-days th { font-weight: 400; font-size: 3.2cqw; text-align: right; padding-right: 1cqw; }
.scr-days th.d { font-size: 3.6cqw; text-align: center; padding: 0; }
.scr-days td { width: 9.5cqw; }
.scr-days tr:nth-child(2) td { font-size: 3.2cqw; }

.hero-device figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; margin-top: 1.2rem; color: var(--muted); font-size: .9rem; }
.swatches { display: inline-flex; gap: .5rem; }
.swatches button {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid #333; background: var(--c); cursor: pointer; padding: 0;
}
.swatches button[aria-pressed="true"] { border-color: var(--cream); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--c); }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }

.ingredient-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.ingredient {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; transition: transform .2s, border-color .2s;
}
.ingredient:hover { transform: translateY(-3px); border-color: var(--green); }
.ingredient p { color: var(--muted); font-size: .97rem; margin: 0; }
.ingredient .pairs { color: var(--green); font-size: .85rem; font-style: italic; margin-bottom: .6rem; }
.ingredient.feature { background: linear-gradient(160deg, rgba(137, 179, 69, .22), var(--card) 70%); border-color: var(--green); }
.emoji { font-size: 2.4rem; line-height: 1; margin-bottom: .8rem; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.check-list li {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem 1.2rem 1rem 3.2rem; position: relative; color: var(--muted);
}
.check-list strong { color: var(--cream); font-weight: 700; }
.check-list li::before {
  content: ""; position: absolute; left: 1.15rem; top: 1.25rem; width: 1.1rem; height: .55rem;
  border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg);
}

.glance-grid, .size-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.glance { border-left: 3px solid var(--green); padding: .5rem 0 .5rem 1.4rem; }
.glance h3 { color: var(--cream); }
.glance p { color: var(--muted); margin: 0; }

.size-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; position: relative; display: flex; flex-direction: column;
}
.size-card.popular { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 20px 40px rgba(0, 0, 0, .4); }
.size-card .tag {
  position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #10140a; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; padding: .25rem .9rem; border-radius: 999px; white-space: nowrap;
}
.size-visual { height: 150px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.size-visual span {
  height: var(--h); aspect-ratio: 800 / 480; border-radius: 8px;
  background: #050505; border: 6px solid #2a2a2a; display: grid; place-items: center;
  color: var(--green); font-size: 1.4rem;
}
.size-card h3 small { display: block; color: var(--green); font-size: .9rem; margin-top: .3rem; }
.size-card p { color: var(--muted); }
.size-card ul { margin: auto 0 0; padding: 1rem 0 0; list-style: none; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.size-card li { padding: .2rem 0; }
.no-sub {
  margin: 2.5rem auto 0; max-width: 46rem; text-align: center; color: var(--muted);
  border: 1px dashed var(--green); border-radius: var(--radius); padding: 1.4rem 1.6rem;
}
.no-sub strong { display: block; color: var(--cream); font-size: 1.25rem; font-weight: 400; margin-bottom: .3rem; }

.settings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.settings-grid div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; }
.settings-grid h3 { font-size: 1.02rem; color: var(--green); margin-bottom: .25rem; }
.settings-grid p { color: var(--muted); font-size: .9rem; margin: 0; line-height: 1.45; }

/* Specs styled as a nutrition label */
.nutrition {
  margin: 2rem auto 0; max-width: 560px; background: var(--cream); color: #111;
  border-radius: 6px; padding: 1rem 1.3rem 1.2rem; border: 2px solid #111;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.nutrition .nf-title {
  font-size: 2rem; font-weight: 900; border-bottom: 10px solid #111; padding-bottom: .4rem; margin-bottom: .2rem; line-height: 1.1;
}
.nutrition .nf-title span { display: block; font-size: .95rem; font-weight: 400; margin-top: .3rem; }
.nutrition > div:not(.nf-title) { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #555; padding: .35rem 0; }
.nutrition dt { font-weight: 700; }
.nutrition dd { margin: 0; text-align: right; }
.nutrition .nf-total { border-top: 5px solid #111; border-bottom: 0 !important; font-size: 1.1rem; }

.roadmap { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 1.25rem; margin: 2.5rem 0 1.5rem; }
.roadmap article { background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.6rem; text-align: center; }
.roadmap p { color: var(--muted); margin: 0; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
summary { cursor: pointer; font-size: 1.1rem; list-style: none; position: relative; padding-right: 2rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .3rem; top: -.1rem; color: var(--green); font-size: 1.5rem; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: .8rem 0 0; }

/* Contact */
.contact-form {
  margin-top: 2rem; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.4rem);
}
.field { margin-bottom: 1.2rem; }
.field label { display: block; margin-bottom: .4rem; }
.field input, .field textarea {
  width: 100%; background: var(--bg); color: var(--cream); border: 1px solid var(--line);
  border-radius: 10px; padding: .8rem 1rem; font: inherit;
}
.field input:focus, .field textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(137, 179, 69, .25); }
.field textarea { resize: vertical; min-height: 9rem; }
.field.invalid input, .field.invalid textarea { border-color: var(--tomato); }
.captcha label { color: var(--green); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1rem 0 0; min-height: 1.6em; }
.form-status.ok { color: var(--green-hi); }
.form-status.err { color: #ff8a78; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0 1.5rem; background: #0a0a0a; }
.footer-row { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-row p { color: var(--muted); max-width: 32rem; }
.footer-logo { width: 170px; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-row address { color: var(--muted); font-style: normal; line-height: 1.5; }
.email-text { white-space: nowrap; }
.email-text small { color: var(--muted); }
.footer-legal { margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.footer-legal p { margin: 0; }

/* Responsive */
@media (max-width: 1000px) {
  .ingredient-grid { grid-template-columns: repeat(2, 1fr); }
  .settings-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-device { order: -1; }
  .glance-grid, .size-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .size-grid { gap: 2rem; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line); display: none; padding: .5rem 1.25rem 1.25rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 1rem; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .ingredient-grid, .settings-grid, .roadmap { grid-template-columns: 1fr; }
  .hero-points { grid-template-columns: 1fr; }
  .brand img { width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
