:root {
  --bg: #0e1113;
  --panel: #161a1d;
  --panel-2: #131719;
  --raised: #1d2327;
  --line: #2b3236;
  --text: #f2f1ec;
  --text-2: #b7bec3;
  --muted: #9ba4a9;
  --teal: #5fd0bc;
  --teal-soft: #7fd9c9;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a {
  color: var(--teal);
}

a:hover {
  color: var(--teal-soft);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14, 17, 19, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--raised);
}

.nav .wrap {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo img {
  width: 28px;
  height: 28px;
}

.nav .spacer {
  flex-grow: 1;
}

.nav a.link {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.nav a.link:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn.primary {
  background: var(--teal);
  color: var(--bg);
}

.btn.primary:hover {
  background: var(--teal-soft);
  color: var(--bg);
}

.btn.ghost {
  background: var(--raised);
  color: var(--text);
  border-color: var(--line);
  font-weight: 500;
}

.btn.ghost:hover {
  background: #252c31;
  color: var(--text);
}

.btn.big {
  min-height: 52px;
  padding: 0 28px;
  font-size: 16px;
}

/* ---------- hero ---------- */

.hero {
  padding: clamp(56px, 10vw, 104px) 0 64px;
  text-align: center;
}

.hero .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-soft);
}

.hero h1 {
  max-width: 860px;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.08;
}

.hero .lede {
  max-width: 640px;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.6;
  color: var(--text-2);
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.fine {
  font-size: 13px;
  color: var(--muted);
}

.hero-shot {
  margin-top: 28px;
  width: 100%;
  max-width: 900px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}

.hero-shot img {
  border-radius: 10px;
  width: 100%;
}

/* ---------- sections ---------- */

section {
  padding: clamp(56px, 8vw, 100px) 0;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  max-width: 760px;
  margin: 0 auto 36px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card h3 {
  font-size: 18px;
}

.card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 44px);
}

.feature + .feature {
  margin-top: 22px;
}

.feature.flip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
}

.feature.flip .copy {
  order: 2;
}

.feature .copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature h3 {
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.25;
}

.feature p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

.feature .shot {
  background: #0b0e10;
  border: 1px solid var(--raised);
  border-radius: 12px;
  overflow: hidden;
  max-height: 460px;
}

.feature .shot img {
  width: 100%;
  object-fit: cover;
  object-position: top left;
}

/* ---------- privacy band ---------- */

.privacy-band {
  background: #131f1c;
  border: 1px solid #2e4a44;
  border-radius: 18px;
  padding: clamp(28px, 5vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: 40px;
  align-items: center;
}

.privacy-band h2 {
  font-size: clamp(26px, 3.5vw, 34px);
  line-height: 1.25;
  margin-bottom: 14px;
}

.privacy-band p {
  color: #a9c5bf;
  line-height: 1.65;
  max-width: 560px;
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #cfe3df;
}

.checks li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.checks li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  transform: translateY(-2px);
}

/* ---------- steps ---------- */

.steps .num {
  font-family: var(--display);
  font-weight: 700;
  color: var(--teal);
}

.steps h3 {
  font-size: 20px;
}

.steps p {
  color: var(--muted);
  line-height: 1.6;
}

.steps > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
  gap: 20px;
}

.plan {
  gap: 18px;
  padding: 30px;
}

.plan.pro {
  border-color: var(--teal);
  background: #141c1b;
}

.plan .price {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}

.plan .price span {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
}

.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: var(--text-2);
  flex-grow: 1;
}

.plan li::before {
  content: "✓";
  color: var(--teal);
  margin-right: 10px;
}

.plan .alt {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- faq ---------- */

.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 20px;
}

.faq summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  padding: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- download + footer ---------- */

.download {
  text-align: center;
}

.download .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.download h2 {
  font-size: clamp(30px, 4.5vw, 44px);
}

footer {
  border-top: 1px solid var(--raised);
  padding: 32px 0;
  font-size: 14px;
  color: var(--muted);
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--text);
}

/* ---------- document pages (privacy, terms, welcome) ---------- */

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px var(--gutter) 96px;
}

.doc h1 {
  font-size: clamp(32px, 5vw, 44px);
  margin-bottom: 8px;
}

.doc h2 {
  font-size: 22px;
  margin: 36px 0 12px;
}

.doc p,
.doc li {
  color: var(--text-2);
  line-height: 1.7;
}

.doc p + p {
  margin-top: 12px;
}

.doc ul {
  padding-left: 22px;
}

.doc .updated {
  color: var(--muted);
  font-size: 14px;
}

.center-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
  padding: 48px var(--gutter);
}

.center-page h1 {
  font-size: clamp(32px, 5vw, 44px);
}

.center-page p {
  max-width: 520px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .grid-3,
  .plans,
  .privacy-band {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature,
  .feature.flip {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .feature.flip .copy {
    order: 0;
  }
}

@media (max-width: 560px) {
  .nav a.link {
    display: none;
  }
  .btn.big {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---------- feedback ---------- */

.feedback {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feedback label {
  font-size: 15px;
  color: var(--text-2);
}

.feedback textarea,
.feedback input[type="email"] {
  width: 100%;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  font: inherit;
  font-size: 15px;
  resize: vertical;
}

.feedback textarea::placeholder,
.feedback input::placeholder {
  color: #6e777c;
}

.feedback-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.feedback-row input {
  flex: 1 1 280px;
}

.feedback .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

.fine.ok {
  color: var(--teal-soft);
}

.fine.err {
  color: #f0a594;
}
