/* Uptime Goods. Tokens are the Figma "Uptime Goods V6" collection. */
@font-face { font-family: "Host Grotesk"; font-weight: 300; font-display: swap; src: url("/fonts/host-grotesk-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Host Grotesk"; font-weight: 400; font-display: swap; src: url("/fonts/host-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Host Grotesk"; font-weight: 500; font-display: swap; src: url("/fonts/host-grotesk-latin-500-normal.woff2") format("woff2"); }

:root {
  --ground: #f3f4ef;
  --white: #fff;
  --ink: #17211b;
  --quiet: #5c665f;
  --sage: #dfe8de;
  --leaf: #2f6b4f;
  --sun: #f4c534;
  --sun-press: #e9b91f;
  --rule: rgba(23, 33, 27, 0.16);
  --side: clamp(24px, 6.667vw, 96px);
  --inset: clamp(8px, 1.111vw, 16px);
  --band-side: calc(var(--side) - var(--inset));
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 16px/25px "Host Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.wrap { max-width: 1440px; margin: 0 auto; }

/* Type: the eight V6 styles */
.t-display { font-weight: 300; font-size: clamp(44px, 5.833vw, 84px); line-height: 1.048; letter-spacing: -0.035em; }
.t-h2 { font-weight: 300; font-size: clamp(34px, 3.889vw, 56px); line-height: 1.107; letter-spacing: -0.03em; }
.t-h3 { font-weight: 300; font-size: clamp(28px, 3.056vw, 44px); line-height: 1.227; letter-spacing: -0.025em; }
.t-title { font-weight: 500; font-size: 24px; line-height: 30px; letter-spacing: -0.015em; }
.t-lead { font-size: clamp(17px, 1.32vw, 19px); line-height: 1.58; letter-spacing: -0.005em; }
.t-label { font-weight: 500; font-size: 16px; line-height: 20px; }
.t-small { font-size: 14px; line-height: 20px; }
.quiet { color: var(--quiet); }
.t-display, .t-h2, .t-h3 { text-wrap: balance; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 18px 28px; border: 0; border-radius: 12px;
  background: var(--sun); color: var(--ink);
  font-weight: 500; font-size: 16px; line-height: 20px; cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn:hover { background: var(--sun-press); }
.btn--ink { background: var(--ink); color: var(--white); width: 100%; }
.btn--ink:hover { background: #26332b; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.link { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--rule); }
.link:hover { text-decoration-color: currentColor; }

/* Hero: headline on one rounded full-width picture */
.hero { padding: var(--inset) var(--inset) 0; }
.hero__frame {
  position: relative; overflow: hidden; border-radius: 24px;
  min-height: clamp(660px, 56.94vw, 820px);
  padding: 0 clamp(16px, 5.556vw, 80px) 56px;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__bar { position: relative; display: flex; align-items: center; justify-content: space-between; padding-top: 28px; }
.brand { font-weight: 500; font-size: 24px; line-height: 30px; letter-spacing: -0.015em; }
.nav {
  display: flex; align-items: center; gap: 28px;
  padding: 6px 6px 6px 24px; border-radius: 14px; background: var(--white);
  font-size: 14px; line-height: 20px;
}
.nav a:not(.nav__btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.nav__btn { padding: 12px 18px; border-radius: 10px; background: var(--sun); font-weight: 500; font-size: 16px; }
.nav__btn:hover { background: var(--sun-press); }
.hero__text { position: relative; max-width: 760px; padding-top: clamp(40px, 4.3vw, 62px); }
.hero__text .t-lead { max-width: 480px; margin-top: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.hero__name { margin-bottom: 16px; }
.hero__text--solo { padding-top: clamp(48px, 6.25vw, 90px); }

/* Sections */
.section { padding: clamp(72px, 10vw, 144px) var(--side); }
.section__head .t-lead { margin-top: 18px; }
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

.statement { display: grid; grid-template-columns: minmax(0, 736fr) minmax(0, 416fr); gap: clamp(32px, 6.667vw, 96px); align-items: center; }
.statement .t-lead { max-width: 580px; margin-top: 32px; }
.statement img { width: 100%; height: auto; aspect-ratio: 416 / 520; object-fit: cover; border-radius: 24px; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 28px; margin-top: clamp(56px, 6.667vw, 96px); border-top: 1px solid var(--rule); }
.trio p { margin-top: 8px; max-width: 360px; }

.band-flat { background: var(--sage); padding: clamp(72px, 8.33vw, 120px) var(--side) clamp(72px, 8.89vw, 128px); }
.evening { display: grid; grid-template-columns: 376fr 376fr 448fr; gap: 24px; margin-top: 64px; }
.evening__time { display: block; }
.evening__line { position: relative; height: 9px; margin: 18px 0 20px; }
.evening__line::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--rule); }
.evening__line::after { content: ""; position: absolute; left: 0; top: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.evening img { width: 100%; height: clamp(280px, 30.56vw, 440px); object-fit: cover; border-radius: 20px; }
.evening h3 { margin-top: 22px; }
.evening p { margin-top: 6px; max-width: 400px; }

.inside__img { width: 100%; height: clamp(260px, 44.44vw, 640px); object-fit: cover; border-radius: 24px; margin-top: 56px; }
.pouches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; margin-top: 56px; }
.pouches li { border-top: 1px solid var(--rule); padding: 24px 0 36px; }
.pouches li::before { content: ""; display: block; }
.pouches { column-gap: 0; }
.pouches li { padding-right: 32px; }
.pouches p { margin-top: 6px; max-width: 250px; }

.band { margin: 0 var(--inset); border-radius: 24px; padding: clamp(48px, 6.667vw, 96px) var(--band-side); }
.band--sage { background: var(--sage); }
.band--sun { background: var(--sun); }
.lid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px); gap: clamp(32px, 5vw, 72px); align-items: center; }
.lid__text .t-lead { margin-top: 24px; max-width: 460px; }
.lid__card { background: var(--white); border-radius: 20px; padding: 44px clamp(24px, 3.33vw, 48px) 28px; }
.lid__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.lid__mark { color: var(--leaf); font-weight: 500; letter-spacing: 0.14em; }
.lid__card h3 { margin: 26px 0 22px; }
.lid__steps li { display: grid; grid-template-columns: 44px 1fr; padding: 18px 0; border-top: 1px solid var(--rule); color: var(--ink); }
.lid__steps span { color: var(--leaf); }

.kits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.kit img { width: 100%; height: clamp(260px, 31.94vw, 460px); object-fit: cover; border-radius: 20px; }
.kit__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 28px; }
.kit__desc { margin: 6px 0 24px; }
.cells { display: grid; grid-template-columns: repeat(3, 1fr); padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 24px; }
.addon { display: flex; align-items: center; gap: 32px; background: var(--white); border-radius: 20px; padding: 20px 40px 20px 20px; margin-top: 24px; }
.addon img { width: 220px; height: 160px; object-fit: cover; border-radius: 12px; flex: none; }
.addon__text { flex: 1; }
.addon__text p { margin-top: 4px; max-width: 520px; }
.addon__price { text-align: right; flex: none; }
.addon__price p { margin-top: 6px; }

/* Smart Generator */
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; }
.specs--two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.specs > div { border-top: 1px solid var(--ink); padding: 22px 32px 34px 0; }
.specs dt { margin-bottom: 14px; }
.specs .t-h3 { display: block; margin-bottom: 12px; }
.specs p { max-width: 290px; }
.specs--close { border-bottom: 1px solid var(--ink); }
.more { margin-top: 40px; }
.what { display: grid; grid-template-columns: minmax(0, 560fr) minmax(0, 616fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: 56px; }
.what__draw { background: var(--white); border-radius: 24px; padding: clamp(16px, 2.2vw, 32px); }
.what__draw img { width: 100%; height: auto; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 72px; }
.steps li { padding-right: 32px; }
.steps li::before { content: ""; display: block; height: 12px; margin-bottom: 36px; background:
  radial-gradient(circle at 6px 6px, var(--leaf) 6px, transparent 6.5px) left / 12px 12px no-repeat,
  radial-gradient(circle, var(--leaf) 1px, transparent 1.4px) 24px 50% / 8px 2px repeat-x; }
.steps li:last-child::before { background: radial-gradient(circle at 6px 6px, var(--leaf) 6px, transparent 6.5px) left / 12px 12px no-repeat; }
.steps p { margin-top: 12px; max-width: 250px; }
.buy { display: grid; grid-template-columns: minmax(0, 560fr) minmax(0, 552fr); gap: clamp(24px, 3.9vw, 56px); align-items: center; background: var(--white); border-radius: 24px; padding: 24px clamp(24px, 3.9vw, 56px) 24px 24px; }
.buy__draw { background: var(--sage); border-radius: 20px; padding: 16px; }
.buy__draw img { width: 100%; height: auto; }
.buy .t-lead { margin-top: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--ink); }
.buy__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.buy__row .t-h2 { margin-right: auto; }

/* Pre-order panel and forms */
.order { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.order__text .t-lead { margin-top: 28px; max-width: 440px; }
.form { display: grid; gap: 10px; }
.form label, .form legend { font-size: 14px; line-height: 20px; }
.form legend { margin-bottom: 10px; padding: 0; }
.field {
  width: 100%; border: 2px solid transparent; border-radius: 12px; background: var(--white);
  padding: 15px 20px; font-size: 16px; line-height: 25px; margin-bottom: 20px;
}
.field::placeholder { color: var(--quiet); }
.field:focus { outline: 0; border-color: var(--ink); }
.field--ground { background: var(--white); border-color: var(--rule); }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 20px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: flex; align-items: center; justify-content: center; text-align: center; height: 59px; padding: 0 8px;
  border-radius: 12px; border: 2px solid transparent; background: var(--white);
  font-size: 16px; line-height: 20px; cursor: pointer;
}
.chip input:checked + span { border-color: var(--ink); font-weight: 500; }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.form__msg { margin-top: 6px; }
.form__msg:empty { display: none; }
.form__more { margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done .t-h3 { margin-bottom: 14px; }

/* Pre-order page */
.plain-head { display: flex; align-items: center; justify-content: space-between; padding: 28px var(--side) 0; }
.plain-head .nav { background: var(--white); }
.basket { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 6vw, 96px); align-items: start; margin-top: 56px; }
.lines li { display: grid; grid-template-columns: 1fr auto auto; gap: 8px 24px; align-items: center; padding: 22px 0; border-top: 1px solid var(--rule); }
.lines li.is-addon { padding-left: 28px; }
.lines li:last-child { border-bottom: 1px solid var(--rule); }
.lines .price { min-width: 76px; text-align: right; }
.qty { display: inline-flex; align-items: center; background: var(--white); border-radius: 12px; }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; cursor: pointer; border-radius: 12px; }
.qty button:hover { background: var(--sage); }
.qty output { min-width: 24px; text-align: center; font-weight: 500; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 24px 0 6px; }
.panel { background: var(--sun); border-radius: 24px; padding: clamp(24px, 3.3vw, 40px); }
.prose { max-width: 720px; }
.prose h2 { margin: 48px 0 12px; }
.prose p { margin-top: 12px; color: var(--quiet); font-size: 19px; line-height: 30px; }

/* Footer */
.footer { padding: clamp(64px, 6.667vw, 96px) var(--side) 48px; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__brand p { margin-top: 12px; max-width: 320px; }
.footer__cols { display: flex; gap: clamp(40px, 6.6vw, 96px); flex-wrap: wrap; }
.footer__cols h2 { font-weight: 400; margin-bottom: 14px; }
.footer__cols li { margin-bottom: 10px; }
.footer__cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__note { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule); max-width: none; }
.footer__note p { max-width: 880px; }

@media (max-width: 1000px) {
  .nav a:not(.nav__btn) { display: none; }
  .nav { padding: 6px; }
  .statement, .lid, .order, .basket, .what, .buy { grid-template-columns: minmax(0, 1fr); }
  .statement img { max-width: 416px; }
  .buy { padding: 24px; }
  .pouches, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { row-gap: 40px; }
  .steps li:nth-child(2)::before { background: radial-gradient(circle at 6px 6px, var(--leaf) 6px, transparent 6.5px) left / 12px 12px no-repeat; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hero__frame { min-height: 0; padding-bottom: 396px; background: var(--hero-wash, #cdd0c2); }
  .hero__img { top: auto; bottom: 0; height: 400px; object-position: 80% 100%; -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%); }
  .hero__bar, .hero__text { z-index: 1; }
  .hero__text .t-lead { margin-top: 20px; }
  .hero__cta { margin-top: 24px; }
  .trio, .evening, .kits { grid-template-columns: minmax(0, 1fr); }
  .evening { gap: 48px; margin-top: 48px; }
  .kits { gap: 56px; }
  .addon { flex-wrap: wrap; gap: 16px 20px; padding: 16px; }
  .addon img { width: 100%; height: 200px; }
  .addon__text { flex: 1 1 100%; }
  .addon__price { text-align: left; }
  .specs, .specs--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs > div { padding-right: 16px; }
  .chips { grid-template-columns: minmax(0, 1fr); }
  .lines li { grid-template-columns: 1fr auto; }
  .lines .price { grid-column: 1 / -1; text-align: left; min-width: 0; }
  .lines li.is-addon { padding-left: 0; }
}
@media (max-width: 420px) {
  .pouches { grid-template-columns: minmax(0, 1fr); }
  .cells { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
