:root {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --text: #1d2321;
  --muted: #5d6763;
  --line: #e2e6e3;
  --brand: #0f766e;
  --brand-ink: #ffffff;
  --brand-soft: #e3f2ef;
  --warn-soft: #fdf1e2;
  --radius: 14px;
  --max: 1080px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #121615;
    --surface: #1b2120;
    --text: #e8ecea;
    --muted: #a3ada9;
    --line: #2c3532;
    --brand: #2bb3a3;
    --brand-ink: #06201d;
    --brand-soft: #173430;
    --warn-soft: #3a2a17;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--brand);
}

img {
  max-width: 100%;
  height: auto;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo img {
  width: 30px;
  height: 30px;
}

.logo b {
  color: var(--brand);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

.nav a:not(.btn):hover {
  color: var(--text);
}

@media (max-width: 720px) {
  .nav a:not(.btn) {
    display: none;
  }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 650;
  font-size: 16px;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
}

.btn.small {
  font-size: 14px;
  padding: 8px 14px;
}

/* hero */
.hero {
  padding: 64px 0 40px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 650;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}

.lead {
  font-size: 19px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 34em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.fine {
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
}

.hero-shot {
  justify-self: center;
  width: min(100%, 380px);
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.35);
}

@media (max-width: 860px) {
  .hero {
    padding-top: 40px;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* sections */
section {
  padding: 56px 0;
}

h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.section-lead {
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 40em;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rules .num {
  font-size: 30px;
  font-weight: 750;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 700;
  margin-bottom: 12px;
}

@media (max-width: 720px) {
  .rules {
    grid-template-columns: 1fr;
  }
}

/* pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 820px;
}

.plan.featured {
  border: 2px solid var(--brand);
}

.price {
  font-size: 38px;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin: 6px 0 2px;
}

.price small {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}

.plan ul {
  padding: 0;
  margin: 18px 0 22px;
  list-style: none;
}

.plan li {
  padding: 6px 0 6px 28px;
  position: relative;
}

.plan li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

@media (max-width: 720px) {
  .pricing {
    grid-template-columns: 1fr;
  }
}

/* faq */
.faq details {
  max-width: 820px;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 18px;
}

details p {
  color: var(--muted);
  margin: 10px 0 0;
}

/* legal pages */
.legal {
  max-width: 760px;
  padding: 48px 16px 64px;
  margin: 0 auto;
}

.legal h1 {
  font-size: clamp(30px, 4vw, 40px);
}

.legal h2 {
  font-size: 22px;
  margin-top: 36px;
}

.legal .summary {
  background: var(--brand-soft);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 24px 0;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}

.site-footer a {
  color: var(--muted);
}
