:root {
  --ink: #252d29;
  --muted: #68726b;
  --brand: #344f40;
  --canvas: #f7f8f4;
  --subtle: #eef2eb;
  --accent: #dde8d6;
  --lavender: #e8e3f3;
  --honey: #f8e4af;
  --line: #dce2da;
  --max-width: 1248px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: calc(var(--max-width) + 192px); margin: 0 auto; padding: 0 96px; }

h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: 48px; line-height: 1.12; }
ul, ol { padding: 0; list-style: none; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--brand);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 32px;
  border-radius: 999px;
  border: 0;
  font: 500 14px/20px 'Manrope', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { opacity: 0.9; }
.btn-text { background: transparent; color: var(--brand); }
.btn-text:hover { background: var(--subtle); }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); }
.nav-inner { height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav .btn { height: 52px; }
.logo { font-size: 32px; font-weight: 600; letter-spacing: -0.03em; color: var(--brand); text-decoration: none; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--brand); text-decoration: none; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { padding-top: 40px; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.hero h1 { font-size: 64px; line-height: 1.12; }
.hero .lede { font-size: 20px; color: var(--muted); }
.hero-actions { display: flex; gap: 16px; }
.hero-note { font-size: 13px; color: var(--muted); }
.hero-stage { width: 100%; background: var(--lavender); margin-top: 8px; }
.hero-stage img { width: 100%; }

/* Value strip */
.value-strip { background: var(--ink); color: #fff; }
.value-strip ul { display: flex; justify-content: space-between; gap: 24px; padding-top: 26px; padding-bottom: 26px; font-size: 14px; }
.value-strip li { display: flex; gap: 18px; }
.value-strip li span { color: var(--honey); font-weight: 600; }

/* Profiles */
.profiles { padding: 88px 0; }
.profiles-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; margin: 40px 0 40px; }
.profiles-head p { width: 460px; flex: none; font-size: 20px; color: var(--muted); }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.profile-card { border-radius: 16px; padding: 28px; display: flex; flex-direction: column; min-height: 303px; }
.profile-card h3 { font-size: 26px; line-height: 1.45; margin: 24px 0 12px; }
.profile-card p:not(.card-tag) { color: var(--muted); font-size: 16px; margin-bottom: auto; }
.card-tag { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--brand); }
.card-link { margin-top: 24px; font-size: 14px; font-weight: 600; color: var(--brand); text-decoration: none; }
.card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.tone-sage { background: var(--subtle); }
.tone-lavender { background: var(--lavender); }
.tone-honey { background: #fdf1d2; }

/* Experience */
.experience { background: var(--subtle); padding: 88px 0; }
.experience-inner { display: grid; grid-template-columns: 520px 1fr; gap: 80px; align-items: center; }
.experience h2 { margin: 24px 0 24px; }
.experience-lede { font-size: 18px; color: var(--muted); margin-bottom: 36px; max-width: 500px; }
.feature-list li { border-top: 1px solid var(--line); padding: 16px 0 22px; }
.feature-list h3 { font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.feature-list p { color: var(--muted); }
.experience-art { display: flex; justify-content: center; }
.experience-art img { width: 100%; max-width: 654px; }

/* Pricing */
.pricing { padding: 88px 0 96px; text-align: center; }
.pricing h2 { margin: 28px 0 28px; }
.pricing-lede { font-size: 18px; color: var(--muted); }

.pricing-calculator { max-width: 560px; margin: 36px auto 40px; text-align: left; }
.pricing-calculator label { display: flex; justify-content: space-between; font-size: 16px; font-weight: 500; margin-bottom: 16px; }
.pricing-calculator output { font-weight: 600; color: var(--brand); }
.pricing-calculator input[type="range"] {
  --fill: 10%;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background: linear-gradient(to right, var(--brand) var(--fill), var(--line) var(--fill));
}
.pricing-calculator input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand); border: 0;
}
.pricing-calculator input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand); border: 0;
}

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.price-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.price-card-featured { background: var(--subtle); border: 2px solid var(--brand); }
.price-card h3 { font-size: 20px; font-weight: 500; margin: 24px 0 24px; }
.price-total { display: flex; justify-content: space-between; align-items: flex-start; }
.price-amount { font-size: 44px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.price-period { font-size: 14px; color: var(--muted); padding-top: 6px; }
.price-per-unit { font-size: 14px; color: var(--muted); padding: 8px 0 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; font-size: 16px; }
.check-list li::before { content: "✓"; margin-right: 10px; font-weight: 600; }
.price-card .btn { margin-top: auto; }
.pricing-note { margin-top: 32px; font-size: 13px; color: var(--muted); }

/* Demo */
.demo { background: var(--ink); color: #fff; padding: 88px 0; }
.demo-inner { display: grid; grid-template-columns: 480px 1fr; gap: 96px; align-items: center; }
.demo .eyebrow { color: var(--honey); }
.demo h2 { font-size: 46px; margin: 28px 0; }
.demo-lede { font-size: 18px; margin-bottom: 28px; max-width: 460px; }
.demo-steps { border-top: 1px solid var(--line); padding-top: 28px; display: flex; flex-direction: column; gap: 0; font-size: 16px; }
.demo-steps li span { display: inline-block; width: 36px; }

.demo-form { background: #fff; color: var(--ink); border-radius: 8px; padding: 32px; }
.demo-form h3 { font-size: 28px; }
.form-hint { font-size: 13px; color: var(--muted); margin: 8px 0 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; margin-bottom: 20px; }
.field {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.field:focus-within { border-color: var(--brand); }
.field-wide { grid-column: 1 / -1; }
.field span { font-size: 12px; font-weight: 500; color: var(--muted); line-height: 16px; }
.field input, .field select {
  border: 0; padding: 0; background: transparent; outline: 0;
  font: 400 16px/24px 'Manrope', sans-serif;
  color: var(--ink);
  width: 100%;
}
.field input::placeholder { color: var(--muted); opacity: 0.8; }
.field select:invalid { color: var(--muted); }
.field:has(:user-invalid) { border-color: #b3261e; }
.form-status { font-size: 12px; color: var(--muted); margin-top: 16px; }

.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 1000;
  max-width: min(440px, calc(100vw - 32px));
  padding: 16px 20px; border-radius: 14px;
  background: var(--brand); color: #fff;
  font-size: 15px; font-weight: 600; line-height: 1.4;
  box-shadow: 0 12px 32px rgba(37, 45, 41, 0.28);
  transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #a3362b; }

/* Footer */
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 32px; padding-bottom: 32px; }
.footer-inner p { font-size: 13px; color: var(--muted); }
.footer .logo { font-size: 28px; }

/* Tablet */
@media (max-width: 1100px) {
  .container { padding: 0 40px; }
  .hero h1 { font-size: 52px; }
  h2 { font-size: 40px; }
  .profiles-head { flex-direction: column; gap: 20px; }
  .profiles-head p { width: auto; }
  .experience-inner { grid-template-columns: 1fr; gap: 48px; }
  .demo-inner { grid-template-columns: 1fr; gap: 48px; }
  .demo-lede { max-width: none; }
}

/* Mobile */
@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .container { padding: 0 20px; }
  .nav-inner { height: 76px; }
  .nav-links { display: none; }
  .logo { font-size: 26px; }
  .nav .btn { height: 44px; padding: 0 20px; }
  .hero h1 { font-size: 36px; }
  .hero h1 br, .hero .lede br, .pricing h2 br, .pricing-lede br { display: none; }
  .hero .lede { font-size: 17px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-stage { margin: 8px -20px 0; width: calc(100% + 40px); }
  .value-strip ul { flex-wrap: wrap; gap: 12px 24px; }
  .value-strip li { width: calc(50% - 12px); }
  h2 { font-size: 32px; }
  .profiles, .experience, .demo { padding: 56px 0; }
  .pricing { padding: 56px 0; }
  .profile-grid, .pricing-grid { grid-template-columns: 1fr; }
  .profile-card { min-height: 0; }
  .profile-card h3 { font-size: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .demo h2 { font-size: 34px; }
  .demo-form { padding: 24px 20px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .footer-inner { flex-wrap: wrap; justify-content: center; }
  .footer-links { justify-content: center; }
}

/* Legal pages */
.legal-hero { background: var(--subtle); padding: 72px 0 56px; }
.legal-hero h1 { font-size: 56px; line-height: 1.08; margin: 16px 0 20px; }
.legal-lede { font-size: 20px; color: var(--muted); max-width: 680px; }
.legal-meta { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 6px 14px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 500; color: var(--brand); }
.legal-meta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 72px; padding-top: 56px; padding-bottom: 96px; align-items: start; }
.legal-toc { position: sticky; top: 124px; }
.toc-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 12px; }
.legal-toc ol { display: flex; flex-direction: column; gap: 2px; }
.legal-toc a { display: flex; gap: 12px; padding: 8px 12px; border-radius: 10px; font-size: 14px; color: var(--muted); text-decoration: none; transition: background 0.15s, color 0.15s; }
.legal-toc a span { font-weight: 600; font-variant-numeric: tabular-nums; opacity: 0.6; }
.legal-toc a:hover { background: var(--canvas); color: var(--ink); }
.legal-toc a.active { background: var(--subtle); color: var(--brand); font-weight: 600; }
.toc-help { margin-top: 24px; padding: 16px; border-radius: 14px; background: var(--canvas); font-size: 13px; color: var(--muted); }
.toc-help a { color: var(--brand); font-weight: 600; text-underline-offset: 3px; }

.legal-body { max-width: 720px; }
.legal-section { padding: 0 0 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.legal-section:last-of-type { border-bottom: 0; margin-bottom: 8px; }
.legal-section h2 { display: flex; align-items: baseline; gap: 14px; font-size: 26px; line-height: 1.25; margin-bottom: 16px; }
.legal-section .num { font-size: 14px; font-weight: 600; color: var(--brand); background: var(--accent); border-radius: 999px; padding: 2px 10px; flex: none; transform: translateY(-3px); }
.legal-section p, .legal-section li { font-size: 17px; line-height: 1.7; color: #3d4741; }
.legal-section p + p { margin-top: 14px; }
.legal-section ul { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.legal-section li { position: relative; padding-left: 28px; }
.legal-section li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); opacity: 0.5; }
.legal-section strong { color: var(--ink); font-weight: 600; }
.legal-section a, .info-foot a { color: var(--brand); text-underline-offset: 3px; }

.legal-related { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.related-card { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; border-radius: 16px; background: var(--subtle); color: var(--ink); font-weight: 600; text-decoration: none; transition: background 0.15s; }
.related-card:hover { background: var(--accent); }
.related-card span { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--brand); }

/* Data deletion */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; max-width: 860px; }
.steps li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: #fff; }
.steps li > span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 14px; font-weight: 600; }
.steps strong { display: block; font-size: 15px; font-weight: 600; }
.steps small { font-size: 13px; color: var(--muted); }

.delete-layout { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; padding-top: 56px; padding-bottom: 96px; align-items: start; }
.delete-info { display: flex; flex-direction: column; gap: 20px; }
.info-card { padding: 28px; border-radius: 20px; background: var(--subtle); }
.info-card-warm { background: #fdf1d2; }
.info-card h2 { font-size: 22px; margin-bottom: 14px; }
.info-card p { font-size: 16px; color: #3d4741; }
.tick-list { display: flex; flex-direction: column; gap: 12px; }
.tick-list li { position: relative; padding-left: 30px; font-size: 16px; color: #3d4741; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--brand); font-size: 12px; font-weight: 700; }
.info-foot { font-size: 14px; color: var(--muted); padding: 0 4px; }

.delete-form { border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: 0 8px 32px rgba(36, 48, 38, 0.06); }
.delete-form h2 { font-size: 28px; }
.delete-form .form-hint { margin: 8px 0 24px; }
.delete-form textarea { border: 0; padding: 0; background: transparent; outline: 0; resize: vertical; min-height: 72px; font: 400 16px/24px 'Manrope', sans-serif; color: var(--ink); width: 100%; }
.delete-form textarea::placeholder { color: var(--muted); opacity: 0.8; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink); margin-bottom: 20px; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }

@media (max-width: 1100px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .legal-toc { position: static; min-width: 0; }
  .legal-toc ol { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 8px; scrollbar-width: none; }
  .legal-toc a { white-space: nowrap; background: var(--canvas); }
  .toc-help { display: none; }
  .delete-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 760px) {
  .legal-hero { padding: 48px 0 40px; }
  .legal-hero h1 { font-size: 36px; }
  .legal-lede { font-size: 17px; }
  .legal-layout, .delete-layout { padding-top: 32px; padding-bottom: 64px; }
  .legal-section h2 { font-size: 22px; flex-wrap: wrap; gap: 8px; }
  .legal-section p, .legal-section li { font-size: 16px; }
  .legal-related, .steps { grid-template-columns: 1fr; }
  .delete-form { padding: 24px 20px; }
}
