:root {
  color-scheme: light;
  --ink: #182922;
  --muted: #506257;
  --accent: #145a43;
  --accent-hover: #0c4533;
  --canvas: #f5f7f1;
  --paper: #fff;
  --line: #dbe4d8;
  --mint: #d9f0df;
  --dark: #18372c;
  --frame: min(1180px, calc(100% - 48px));
  font: 100%/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
}
main { flex: 1; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .22em; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #207956; outline-offset: 4px; }
[hidden] { display: none !important; }

.frame { width: var(--frame); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 2;
  top: .75rem;
  left: .75rem;
  padding: .65rem 1rem;
  transform: translateY(-180%);
  background: var(--paper);
}
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: 1;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 9px;
  background: var(--dark);
  color: #c9f3d8;
  font: 750 .88rem/1 ui-monospace, monospace;
  letter-spacing: -.15em;
  padding-right: .12em;
}
.header-nav, .footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .7rem 1.6rem;
}
.header-nav a:not(.button), .footer-nav a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  font-size: .92rem;
}
.header-nav a:not(.button):hover, .footer-nav a:hover, .header-nav [aria-current="page"]:not(.button) {
  color: var(--accent);
  text-decoration: underline;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: .65rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-weight: 720;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.button:hover { background: var(--accent-hover); }
.button.secondary { background: var(--paper); border-color: var(--line); color: var(--accent); }
.button.secondary:hover { border-color: var(--accent); }
.button.small { min-height: 40px; padding: .45rem .9rem; font-size: .91rem; }
.text-link { font-weight: 720; }

.eyebrow {
  color: var(--accent);
  font-size: .875rem;
  font-weight: 780;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.display {
  font-size: clamp(3rem, 5.65vw, 5.5rem);
  line-height: 1.01;
  letter-spacing: -.055em;
  word-spacing: .035em;
  font-weight: 790;
}
.display span { color: var(--accent); display: block; }
.section-title {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.07;
  letter-spacing: -.045em;
  word-spacing: .02em;
}
.lede { color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.24rem); max-width: 48ch; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr);
  align-items: center;
  gap: clamp(35px, 5vw, 78px);
  padding-block: clamp(48px, 6.8vw, 100px);
}
.hero .display, .page-intro .display { margin-top: .8rem; }
.hero .lede, .page-intro .lede { margin-top: 1.2rem; }
.timer-form { margin-top: 1.65rem; max-width: 430px; }
.timer-form label { display: block; margin-bottom: .5rem; font-size: .92rem; font-weight: 750; }
.form-field { display: flex; gap: .55rem; }
.form-field input {
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: .65rem .9rem;
  border: 1px solid #b5c4b6;
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 650;
  text-transform: uppercase;
}
.form-field input::placeholder { color: #6a796e; opacity: 1; font-weight: 500; }
.form-field input[aria-invalid="true"] { border-color: #a13534; }
.form-help, .form-error { font-size: .91rem; margin-top: .55rem; }
.form-help { color: var(--muted); }
.form-error { color: #a13534; font-weight: 650; }

.product-preview {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 410px;
  padding: 2rem clamp(18px, 3vw, 46px);
  overflow: hidden;
  border: 1px solid #cbded0;
  border-radius: 26px;
  background: radial-gradient(ellipse at 45% 86%, #b3dec1, #e4f0e3 75%);
}
.product-preview::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(#2a6e4a20 1px, transparent 1px), linear-gradient(90deg, #2a6e4a20 1px, transparent 1px);
  background-size: 27px 27px;
  mask-image: linear-gradient(170deg, transparent, #000 54%);
}
.preview-devices { position: relative; padding: 0 0 2.4rem 11%; }
.preview-window {
  overflow: hidden;
  border: 1px solid #33413a;
  border-radius: 15px;
  background: #101513;
  box-shadow: 0 25px 45px -20px #1b4d3b85;
}
.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
  padding: .75rem .9rem;
  border-bottom: 1px solid #34433c;
  color: #d6e3da;
  background: #202a25;
  font: .85rem/1.15 ui-monospace, monospace;
}
.window-dots {
  width: 6px;
  height: 6px;
  margin-right: 17px;
  border-radius: 50%;
  background: #91a89b;
  box-shadow: 9px 0 #91a89b, 18px 0 #91a89b;
}
.preview-digits {
  min-height: clamp(110px, 16vw, 225px);
  display: grid;
  place-items: center;
  padding-left: 8%;
  color: #ff675b;
  font: 800 clamp(1.65rem, 4.2vw, 4.55rem)/1 ui-monospace, monospace;
  letter-spacing: -.09em;
  white-space: nowrap;
}
.preview-phone {
  position: absolute;
  bottom: -18px;
  left: 0;
  width: 27%;
  padding: 5px;
  border: 1px solid #62756b;
  border-radius: clamp(13px, 1.6vw, 22px);
  background: #18241e;
  box-shadow: 0 22px 30px -13px #11291f9c;
}
.preview-phone img { width: 100%; border-radius: clamp(8px, 1.2vw, 16px); }
.preview-caption {
  position: absolute;
  right: clamp(18px, 3vw, 46px);
  bottom: 1rem;
  color: #315440;
  font-size: .875rem;
  font-weight: 650;
}

.section { padding-block: clamp(42px, 6vw, 84px); }
.section-heading { margin-bottom: clamp(24px, 3vw, 38px); }
.section-heading p { max-width: 55ch; color: var(--muted); margin-top: .65rem; }
.section-heading .eyebrow { margin: 0 0 .55rem; color: var(--accent); }
.surface { background: var(--paper); border-block: 1px solid var(--line); }
.use-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.use-case {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}
.use-case:hover { border-color: #85a18f; }
.use-case:hover .text-link { text-decoration: underline; }
.use-case img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--dark); }
.use-case-copy { padding: 1.08rem 1.18rem 1.2rem; display: grid; gap: .45rem; height: 100%; }
.use-case h3 { font-size: 1.3rem; letter-spacing: -.035em; }
.use-case p { color: var(--muted); }
.use-case .text-link { color: var(--accent); align-self: end; margin-top: .4rem; }

.band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem 2.5rem;
  padding: clamp(25px, 4.5vw, 55px);
  border-radius: 20px;
  background: var(--dark);
  color: #fff;
}
.band p { margin-top: .6rem; color: #d5e7da; }
.band .button { background: #cef0d8; color: #173b2a; }
.band .button:hover { background: #e1f8e8; }
.band .button:focus-visible { outline-color: #fff; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  padding-block: 1.7rem;
}
.footer-nav { gap: .6rem 1.2rem; }

.page-intro { padding-block: clamp(44px, 6.5vw, 94px) clamp(34px, 4.5vw, 68px); }
.page-intro .display, .audience-hero .display { font-size: clamp(2.75rem, 5.5vw, 4.65rem); }
.page-intro .lede { max-width: 55ch; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.35rem; }
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.step {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.step-number {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--accent);
  font-size: .93rem;
  font-weight: 800;
  margin-bottom: .75rem;
}
.step h3 { font-size: 1.34rem; letter-spacing: -.04em; }
.step > p { color: var(--muted); margin: .45rem 0 1.2rem; }
.step figure { margin-top: auto; }
.step-shot {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: .8rem;
  overflow: hidden;
  border-radius: 11px;
  background: #e9f1e8;
}
.step-shot img { border-radius: 8px; width: auto; max-height: 344px; object-fit: contain; }
.step-shot .wide-shot { width: 100%; height: auto; }
.step figcaption { margin-top: .65rem; font-size: .9rem; color: var(--muted); }
.step figcaption a { font-weight: 700; }

.narrow { max-width: 760px; }
.faq-list { margin-top: 1.45rem; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding-block: .9rem; }
.faq-list summary { cursor: pointer; font-size: 1.06rem; font-weight: 720; }
.faq-list details p { margin-top: .65rem; color: var(--muted); }

.audience-hero { padding-block: clamp(44px, 6.5vw, 94px); }
.audience-visual {
  overflow: hidden;
  border-radius: 19px;
  background: var(--dark);
  box-shadow: 0 22px 50px -32px #18372c90;
}
.audience-visual img { width: 100%; }
.example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.example-grid article { padding: 1.15rem; border: 1px solid var(--line); border-radius: 14px; }
.example-grid h3 { margin-bottom: .35rem; font-size: 1.16rem; }
.example-grid p, .prose p { color: var(--muted); }
.prose p + p { margin-top: 1rem; }

@media (max-width: 960px) {
  .hero { gap: 2.1rem; }
  .product-preview { min-height: 345px; }
}

@media (max-width: 800px) {
  :root { --frame: calc(100% - 36px); }
  .hero { grid-template-columns: 1fr; }
  .display { font-size: clamp(3.05rem, 9.1vw, 4.65rem); }
  .product-preview { min-height: clamp(270px, 63vw, 440px); }
  .preview-devices { width: min(100%, 540px); margin-inline: auto; }
  .preview-digits { min-height: clamp(110px, 31vw, 225px); font-size: clamp(2rem, 8vw, 4.45rem); }
  .header-inner { min-height: 66px; }
  .header-nav { gap: .65rem 1rem; }
  .use-cases, .step-grid, .example-grid { grid-template-columns: 1fr; }
  .use-case img { aspect-ratio: 2.2; }
  .step-shot { min-height: 0; }
  .step-shot .wide-shot { max-width: 480px; }
}

@media (max-width: 460px) {
  .hero:not(.audience-hero) .display { font-size: clamp(2.35rem, 10.7vw, 3.05rem); }
  .header-nav .use-cases-link { display: none; }
  .header-inner { gap: .6rem; }
  .header-nav { gap: .65rem; }
  .header-nav a:not(.button), .button.small { font-size: .875rem; }
  .button.small { padding-inline: .58rem; }
  .brand { font-size: 1.21rem; gap: .42rem; }
  .brand-mark { width: 29px; height: 29px; }
  .band { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 350px) {
  .header-inner { flex-wrap: wrap; padding-block: .65rem; }
  .form-field { flex-wrap: wrap; }
  .form-field .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
