:root {
  color-scheme: dark;
  --ink: #eef8f2;
  --muted: #9cafaa;
  --mint: #7fd4a8;
  --mint-soft: #b7eed0;
  --night: #101418;
  --panel: #171d21;
  --line: #2b3734;
  --max: 72rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { background: var(--night); scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 8%, rgba(127, 212, 168, .09), transparent 28rem),
    var(--night);
  font-size: 1rem;
  line-height: 1.7;
}

a { color: var(--mint-soft); text-underline-offset: .2em; }
a:hover { color: #fff; }
a:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; border-radius: 2px; }

.site-header {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 720;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand-mark { width: 2rem; height: 2rem; }

nav { display: flex; gap: clamp(.9rem, 3vw, 2rem); font-size: .9rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current="page"] { color: var(--mint); }

main, .footer-inner { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }

.hero {
  min-height: 34rem;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(16rem, .75fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding: 5rem 0 6rem;
}

.eyebrow {
  color: var(--mint);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 13ch; margin: .8rem 0 1.3rem; font-size: clamp(3rem, 8vw, 6.8rem); font-weight: 760; }
h2 { margin: 0 0 1.2rem; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 700; }
h3 { margin: 0 0 .6rem; font-size: 1.2rem; }

.lede { max-width: 41rem; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }

.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-block;
  padding: .78rem 1.1rem;
  border: 1px solid var(--mint);
  border-radius: .35rem;
  background: var(--mint);
  color: var(--night);
  font-size: .92rem;
  font-weight: 750;
  text-decoration: none;
}
.button:hover { background: var(--mint-soft); color: var(--night); }
.button.secondary { background: transparent; color: var(--mint-soft); }

.pattern-card {
  position: relative;
  aspect-ratio: 1;
  max-width: 21rem;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(23, 29, 33, .72);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, .22);
}

.pattern-grid {
  position: absolute;
  inset: 17%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  justify-items: center;
}

.pattern-grid i {
  width: .56rem;
  height: .56rem;
  border: 1px solid #587064;
  border-radius: 50%;
}
.pattern-grid i:nth-child(2), .pattern-grid i:nth-child(8),
.pattern-grid i:nth-child(14), .pattern-grid i:nth-child(20),
.pattern-grid i:nth-child(24) {
  border-color: var(--mint);
  background: var(--mint);
  box-shadow: 0 0 0 .32rem rgba(127, 212, 168, .11);
}

.rule-section { padding: 5rem 0; border-top: 1px solid var(--line); }
.showcase { overflow: hidden; }
.showcase-heading {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 3rem;
  margin-bottom: 3rem;
}
.showcase-heading h2 { margin-top: .75rem; }
.showcase-heading > p { max-width: 31rem; margin: 0 0 1.4rem; color: var(--muted); }
.phone-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.8rem, 2vw, 1.5rem);
  align-items: start;
}
.phone-shot { margin: 0; }
.phone-shot:nth-child(even) { padding-top: 3rem; }
.phone-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #34423e;
  border-radius: 1.1rem;
  background: #090c0e;
  box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, .26);
}
.phone-shot figcaption { padding: 1rem .2rem 0; }
.phone-shot figcaption strong, .phone-shot figcaption span { display: block; }
.phone-shot figcaption strong { font-size: .92rem; }
.phone-shot figcaption span { margin-top: .3rem; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { min-height: 14rem; padding: 1.7rem; background: var(--night); }
.feature p { color: var(--muted); }
.feature-tag { display: block; margin-bottom: 3rem; color: var(--mint); font: 700 .72rem/1 ui-monospace, monospace; letter-spacing: .08em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 2.5rem; background: var(--line); border: 1px solid var(--line); }
.step { min-height: 16rem; padding: 1.7rem; background: var(--night); }
.step-number { display: block; margin-bottom: 3.5rem; color: var(--mint); font: 700 .75rem/1 ui-monospace, monospace; letter-spacing: .08em; }
.step p { max-width: 29rem; color: var(--muted); }

.faq-list { max-width: 54rem; margin-top: 2rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.25rem 0; color: var(--ink); font-size: 1.05rem; font-weight: 650; list-style-position: outside; }
.faq summary::marker { color: var(--mint); }
.faq details p { max-width: 48rem; margin: -.3rem 0 1.35rem; color: var(--muted); }

.statement { max-width: 24ch; font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.25; letter-spacing: -.025em; }
.statement em { color: var(--mint); font-style: normal; }

.document { max-width: 48rem; padding: 4.5rem 0 7rem; }
.document h1 { max-width: none; font-size: clamp(2.5rem, 7vw, 5rem); }
.document h2 { margin-top: 3.2rem; font-size: 1.45rem; }
.document p, .document li { color: #c4d0cb; }
.meta { color: var(--muted); }
.contact-card { margin-top: 2.5rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: .6rem; background: var(--panel); }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 1.7rem 0 2.5rem; }

@media (max-width: 720px) {
  .site-header { align-items: flex-start; padding: 1.2rem 0; }
  nav { flex-wrap: wrap; justify-content: flex-end; }
  .hero { grid-template-columns: 1fr; padding: 4rem 0; }
  .pattern-card { width: min(80vw, 18rem); justify-self: start; }
  .showcase-heading { grid-template-columns: 1fr; gap: 1rem; }
  .phone-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phone-shot:nth-child(even) { padding-top: 1.5rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step-number { margin-bottom: 1.5rem; }
  .feature { min-height: 0; }
  .feature-tag { margin-bottom: 1.5rem; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 420px) {
  .site-header { gap: .7rem; }
  nav { gap: .7rem; font-size: .78rem; }
  .phone-row {
    grid-template-columns: repeat(4, 72vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 1rem 1rem;
    margin-inline: -1rem;
  }
  .phone-shot { scroll-snap-align: center; }
  .phone-shot:nth-child(even) { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
