:root {
  --bg:           #f8f7f4;
  --surface:      #fcfcfa;
  --ink:          #1f2730;
  --ink-soft:     #636a71;
  --line:         #cfd5db;
  --hairline:     #e6e4e0;
  --dark:         #141b24;
  --accent:       #b95115;
  --accent-hover: #9a3c00;
  --accent-soft:  #ffe0d2;
  --accent-dim:   #de8e69;
  --on-accent:    #fdfcf9;
  --dark-heading: #f6f5f2;
  --dark-body:    #a8afb5;
  --dark-brand:   #f0eeea;
  --dark-muted:   #8a9096;
  --dark-nav:     #c9ced4;
  --dark-copy:    #6c7278;
  --dark-line:    #2b343d;
  --mock:         #edebe7;
  --mock-2:       #dddad5;
  --dash:         #bfc5ca;
  --label:        #77818c;

  --display: 'Libre Franklin', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text: 'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shell: 1200px;
  --gutter: 40px;
  --radius: 8px;
}

@supports (color: oklch(0.5 0.1 45)) {
  :root {
    --bg:           oklch(0.975 0.004 85);
    --surface:      oklch(0.99 0.002 85);
    --ink:          oklch(0.27 0.02 250);
    --ink-soft:     oklch(0.52 0.015 250);
    --line:         oklch(0.87 0.01 250);
    --hairline:     oklch(0.92 0.006 85);
    --dark:         oklch(0.22 0.02 250);
    --accent:       oklch(0.56 0.15 45);
    --accent-hover: oklch(0.48 0.14 45);
    --accent-soft:  oklch(0.93 0.04 45);
    --accent-dim:   oklch(0.72 0.11 45);
    --on-accent:    oklch(0.99 0.003 85);
    --dark-heading: oklch(0.97 0.004 85);
    --dark-body:    oklch(0.75 0.012 250);
    --dark-brand:   oklch(0.95 0.006 85);
    --dark-muted:   oklch(0.65 0.012 250);
    --dark-nav:     oklch(0.85 0.01 250);
    --dark-copy:    oklch(0.55 0.012 250);
    --dark-line:    oklch(0.32 0.02 250);
    --mock:         oklch(0.94 0.006 85);
    --mock-2:       oklch(0.89 0.008 85);
    --dash:         oklch(0.82 0.01 250);
    --label:        oklch(0.6 0.02 250);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--text);
  color: var(--ink);
  text-wrap: pretty;
}

h1, h2, h3 { font-family: var(--display); text-wrap: balance; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--on-accent);
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
  color: var(--on-accent);
}

.shell { max-width: var(--shell); margin: 0 auto; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { display: block; flex-shrink: 0; }
.brand__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.site-header {
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--gutter);
  position: relative;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.nav__link { color: var(--ink); }
.nav__link:hover { color: var(--accent); }
.nav__link[aria-current="page"] { color: var(--accent); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  margin: -10px -10px -10px 0;
  background: none;
  border: 0;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
}

.menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 8px var(--gutter) 20px;
  gap: 2px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  z-index: 50;
}
.menu[hidden] { display: none; }
.menu a {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
}
.menu a:last-child { border-bottom: 0; }
.menu a[aria-current="page"] { color: var(--accent); }

.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  padding: 13.5px 28.5px;
}
.btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); }

.btn--outline {
  color: var(--ink);
  border-color: var(--ink);
  padding: 13.5px 28px;
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.btn--nav { padding: 8.5px 18.5px; }
.btn--lg { font-size: 16px; padding: 14.5px 32.5px; }
.btn--block { display: block; width: 100%; font-size: 16px; padding: 14.5px; }

.section { max-width: var(--shell); margin: 0 auto; padding: 64px var(--gutter); }
.section--narrow { max-width: 800px; }
.section--form { max-width: 640px; margin: 0 auto; padding: 48px var(--gutter) 120px; }
.section--plan { max-width: 520px; margin: 0 auto; padding: 48px var(--gutter) 80px; }
.section--intro { max-width: 800px; margin: 0 auto; padding: 56px var(--gutter) 16px; text-align: center; }
.section--intro-wide { padding-bottom: 24px; }
.section--flush-top { padding-top: 0; }

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 12px;
}
.section__head h2 { margin: 0; }

.h1 { font-weight: 900; font-size: 52px; line-height: 1.08; margin: 0 0 24px; }
.h1--sm { font-size: 44px; margin-bottom: 16px; }
.h1--form { font-size: 38px; margin-bottom: 16px; }
.h2 { font-weight: 800; font-size: 32px; margin: 0 0 40px; }
.h2--tight { margin-bottom: 20px; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}

.lede { font-size: 17px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.muted { font-size: 14px; color: var(--ink-soft); margin: 0; }
.link-strong { font-weight: 700; font-size: 15px; }

.hero {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px var(--gutter) 96px;
  display: flex;
  gap: 64px;
  align-items: center;
}
.hero__col { flex: 1; min-width: 0; }
.hero__text { font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 480px; margin: 0 0 32px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }

.media {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 20px;
  background: var(--mock);
}
.media--usecase { height: 340px; border-radius: 16px; }

.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }

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

.card__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  color: var(--accent-soft);
  margin-bottom: 10px;
}
.card__tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.card__title { font-family: var(--display); font-weight: 700; font-size: 17px; margin: 0 0 8px; }
.card--roomy .card__title { font-size: 19px; margin-bottom: 10px; }
.card__body { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.card--roomy .card__body { font-size: 15px; }

.note {
  background: var(--accent-soft);
  border-radius: 16px;
  padding: 40px;
}
.note h2 { font-weight: 800; font-size: 22px; margin: 0 0 12px; }
.note p { font-size: 15px; line-height: 1.65; color: var(--ink); margin: 0; }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 48px;
}
.panel h2 { font-weight: 800; font-size: 26px; margin: 0 0 20px; }
.panel__item h3 { font-weight: 700; font-size: 16px; margin: 0 0 8px; }
.panel__item p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

.row {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px var(--gutter);
  display: flex;
  gap: 56px;
  align-items: flex-start;
}
.row--center { align-items: center; gap: 56px; padding: 64px var(--gutter); }

.row--flip .row__col:first-child { order: 2; }
.row--flip .row__col:last-child { order: 1; }
.row__col { flex: 1; min-width: 0; }
.row__col p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); max-width: 440px; margin: 0; }
.row--center .row__col p { max-width: none; }
.row__col h2 { font-weight: 800; font-size: 26px; margin: 0 0 14px; }
.row--center .row__col h2 { font-size: 28px; margin-bottom: 16px; }

.step-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  color: var(--accent-soft);
  background: var(--ink);
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin: 0 0 16px;
}

.mockup {
  background: var(--surface);
  border: 1.5px dashed var(--dash);
  border-radius: 12px;
  padding: 28px;
}
.mockup--flush { padding: 0; overflow: hidden; }

.field-list { display: flex; flex-direction: column; gap: 14px; }
.field-list__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 4px;
}
.field-list__value {
  font-size: 15px;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.field-list > div:last-child .field-list__value { padding-bottom: 0; border-bottom: 0; }

.price-table { display: grid; grid-template-columns: 1.4fr 1.6fr 0.8fr; font-size: 13px; }
.price-table > * { padding: 8px 0; border-bottom: 1px solid var(--hairline); }
.price-table__head { font-weight: 700; border-bottom: 1px solid var(--line); }
.price-table__cell { color: var(--ink-soft); }
.price-table__num { text-align: right; }
.price-table > *:nth-last-child(-n+3) { border-bottom: 0; }

.preview-pair { display: flex; gap: 16px; align-items: stretch; }
.preview {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1.5px dashed var(--dash);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.preview__bar {
  padding: 9px 14px;
  background: var(--mock);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.preview__body { padding: 18px; flex: 1; }
.preview__title { font-family: var(--display); font-weight: 800; font-size: 15px; margin-bottom: 12px; }
.preview__band {
  width: 100%;
  height: 90px;
  border-radius: 6px;
  background: repeating-linear-gradient(45deg, var(--mock) 0, var(--mock) 6px, var(--mock-2) 6px, var(--mock-2) 12px);
  margin-bottom: 12px;
}
.preview__copy { font-size: 12px; line-height: 1.5; color: var(--ink-soft); }
.preview__list { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.preview__item {
  background: var(--mock);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.preview__thumb { width: 36px; height: 36px; border-radius: 5px; background: var(--mock-2); flex-shrink: 0; }
.preview__name { font-size: 11px; font-weight: 600; }
.preview__price { font-size: 10px; color: var(--ink-soft); }

.mail { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mail__head { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }
.mail__head span { font-weight: 700; color: var(--ink); }
.mail__head div + div { margin-top: 4px; }
.mail__body { padding: 20px; font-size: 14px; line-height: 1.7; color: var(--ink); }
.mail__meta { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hairline); color: var(--ink-soft); }

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 44px;
  text-align: center;
}
.plan__figure { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 8px; }
.plan__price { font-family: var(--display); font-weight: 900; font-size: 56px; }
.plan__per { font-size: 17px; color: var(--ink-soft); }
.plan__caption { font-size: 14px; color: var(--ink-soft); margin: 0 0 32px; }
.plan__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  margin: 0 0 32px;
  padding: 0;
}
.plan__list li { display: flex; gap: 10px; font-size: 15px; }
.plan__list li::before { content: "✓"; color: var(--accent); font-weight: 700; }

.faq { max-width: 760px; margin: 0 auto; padding: 24px var(--gutter) 96px; }
.faq__item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  font-family: var(--text);
  font-size: 22px;
  color: var(--accent);
  flex-shrink: 0;
}
.faq__item[open] .faq__q::after { content: "−"; }
.faq__a { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin: 12px 0 0; max-width: 640px; }

.form { display: flex; flex-direction: column; gap: 18px; max-width: 440px; }
.form[hidden] { display: none; }
.form__pair { display: flex; gap: 14px; }
.form__pair > * { flex: 1; }
.form label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 6px; }
.form input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  font-family: var(--text);
  font-size: 15px;
  background: var(--surface);
  color: var(--ink);
}
.form input:focus { outline: none; border-color: var(--accent); }
.form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.form__legal { font-size: 12px; line-height: 1.5; color: var(--ink-soft); margin: -4px 0 0; }

.form__error {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.form__error[hidden] { display: none; }

.thanks {
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 32px;
  max-width: 440px;
}
.thanks[hidden] { display: none; }
.thanks__title { font-family: var(--display); font-weight: 800; font-size: 20px; margin: 0 0 8px; }
.thanks p { font-size: 15px; line-height: 1.6; color: var(--ink); margin: 0; }

.after { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); max-width: 440px; }
.after h2 { font-family: var(--display); font-weight: 700; font-size: 15px; margin: 0 0 20px; }
.after ol { list-style: none; display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; counter-reset: after; }
.after li { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.after li::before {
  counter-increment: after;
  content: counter(after);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta { background: var(--dark); padding: 80px var(--gutter); }
.cta__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.cta h2 { font-weight: 800; font-size: 32px; color: var(--dark-heading); margin: 0 0 16px; }
.cta p { font-size: 17px; color: var(--dark-body); margin: 0 0 32px; }

.site-footer { background: var(--dark); padding: 56px var(--gutter) 32px; }
.site-footer__top {
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 12px; max-width: 280px; }
.site-footer__brand .brand__name { color: var(--dark-brand); font-size: 18px; }
.site-footer__brand p { font-size: 14px; line-height: 1.6; color: var(--dark-muted); margin: 0; }
.site-footer__nav { display: flex; gap: 28px; font-size: 14px; flex-wrap: wrap; }
.site-footer__nav a { color: var(--dark-nav); }
.site-footer__nav a:hover { color: var(--accent-dim); }
.site-footer__legal {
  max-width: var(--shell);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--dark-line);
  font-size: 13px;
  color: var(--dark-copy);
}

.error-page { max-width: 640px; margin: 0 auto; padding: 96px var(--gutter) 120px; }
.error-page h1 { font-weight: 900; font-size: 44px; margin: 0 0 16px; }
.error-page p { font-size: 17px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 32px; }

@media (max-width: 900px) {
  .hero, .row, .row--center { flex-direction: column; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .row--flip .row__col:first-child,
  .row--flip .row__col:last-child { order: 0; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .nav__link { display: none; }
  .nav__toggle { display: flex; }
  .grid--4 { grid-template-columns: 1fr; }
  .form__pair, .preview-pair { flex-direction: column; }
  .h1 { font-size: 32px; }
  .h1--sm, .h1--form, .error-page h1 { font-size: 26px; }
  .h2, .cta h2 { font-size: 22px; }
  .plan__price { font-size: 38px; }
  .plan, .panel, .note { padding: 28px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
