@import url('fonts.css');




:root {
  --bg:      #DFE1DC;
  --surface: #ECEDE8;
  --text:    #14150F;
  --accent:  #33415C;
  --muted:   #5C6157;
  --border:  #C4C8BF;

  --font-display: 'Spectral', Georgia, 'Times New Roman', serif;
  --font-body: 'Public Sans', ui-sans-serif, system-ui, sans-serif;

  --gutter: 20px;
  --measure: 62ch;

  --step--1: clamp(.81rem, .78rem + .13vw, .87rem);
  --step-0:  clamp(1rem, .97rem + .18vw, 1.08rem);
  --step-1:  clamp(1.12rem, 1.05rem + .3vw, 1.3rem);
  --step-2:  clamp(1.3rem, 1.18rem + .55vw, 1.65rem);
  --step-3:  clamp(1.58rem, 1.36rem + 1vw, 2.25rem);
  --step-4:  clamp(1.95rem, 1.5rem + 2.1vw, 3.2rem);
}


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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, select:focus-visible,
input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}


.skip-link {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
  background: var(--accent); color: #F4F5F1;
  padding: 10px 16px; font-weight: 600;
}
.skip-link:focus {
  inset-inline-start: 12px; top: 12px; width: auto; height: auto;
  clip: auto; clip-path: none; z-index: 100;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}


.wrap { width: 100%; max-width: 1000px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 690px; }

section { padding-block: 50px; border-top: 1px solid var(--border); }
.hero { border-top: 0; }
@media (min-width: 720px) { section { padding-block: 78px; } }


h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.015em;
  margin: 0 0 .4em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 600; line-height: 1.3; margin: 0 0 .3em; }

p { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

em { font-style: italic; color: var(--accent); }

.kicker {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}


.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 93%, transparent);
  backdrop-filter: saturate(120%) blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-head__in {
  display: flex; align-items: center; gap: 12px;
  min-height: 56px; min-width: 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.14rem; letter-spacing: -.015em;
  text-decoration: none; white-space: nowrap; flex: 0 0 auto;
}
.brand__mark { width: 20px; height: 20px; flex: 0 0 auto; color: var(--accent); }

.nav { display: none; margin-inline-start: auto; gap: 24px; }
.nav a { text-decoration: none; color: var(--muted); font-size: .92rem;
         white-space: nowrap; padding-block: 8px; }
.nav a:hover { color: var(--accent); }
@media (min-width: 900px) { .nav { display: flex; } }

.head-cta {
  margin-inline-start: auto;
  flex: 0 1 auto; min-width: 0;
  overflow: hidden; text-overflow: ellipsis;
  display: block; text-align: center;
  line-height: 42px; padding-block: 0;
}
@media (max-width: 400px) {
  .head-cta { padding-inline: 12px; font-size: .87rem; }
  .brand { font-size: 1.02rem; }
}
@media (max-width: 340px) {
  .head-cta { padding-inline: 9px; font-size: .84rem; }
  .site-head__in { gap: 8px; }
  .brand { font-size: .94rem; gap: 7px; }
  .brand__mark { width: 18px; height: 18px; }
}
@media (min-width: 900px) { .head-cta { margin-inline-start: 0; } }


.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 600; font-size: .95rem; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--accent); color: #F4F5F1; }
.btn--primary:hover { background: #22304A; }
.btn--ghost { border-color: var(--text); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }
@media (min-width: 560px) { .btn--block { width: auto; } }


.hero { padding-block: 42px 54px; }
@media (min-width: 720px) { .hero { padding-block: 74px 88px; } }

.badge {
  display: inline-block;
  font-size: var(--step--1); color: var(--muted);
  border: 1px solid var(--border); background: var(--surface);
  padding: 6px 12px; border-radius: 3px; margin: 0 0 20px;
}
.hero h1 { max-width: 16ch; }
.hero__sub { color: var(--muted); font-size: var(--step-1); max-width: 52ch; margin-top: 18px; }
.hero__actions { margin-top: 26px; }
.hero__note { margin-top: 14px; color: var(--muted); font-size: var(--step--1); }


.why h2 { max-width: 22ch; }
.why h2 span { display: block; color: var(--accent); }
.why__body { margin-top: 22px; }
.why__body p { color: var(--muted); }


.sheet { margin-top: 26px; border-top: 2px solid var(--text); }
.sheet__row {
  border-bottom: 1px solid var(--border);
  padding-block: 16px;
  display: grid; gap: 4px;
}
.sheet__task {
  font-family: var(--font-display);
  font-size: var(--step-1); font-weight: 600;
  margin: 0;
}
.sheet__out { color: var(--muted); margin: 0; max-width: 62ch; }

.sheet__row--no .sheet__task { color: var(--accent); }
.sheet__row--no {
  background: var(--surface);
  padding-inline: 12px; margin-inline: -12px;
  border-inline-start: 3px solid var(--accent);
}
@media (min-width: 760px) {
  .sheet__row {
    grid-template-columns: 30% 1fr; gap: 0 28px;
    align-items: baseline; padding-block: 18px;
  }
  .sheet__task { padding-inline-end: 10px; }
}
.sheet__note {
  margin-top: 18px; color: var(--muted); font-size: var(--step--1);
  max-width: 66ch; font-style: italic;
}


.emo { background: var(--surface); }
.emo h2 { max-width: 18ch; }
.emo p { color: var(--muted); margin-top: 12px; font-size: var(--step-1); }


.faq { margin-top: 22px; }
.faq details { border-top: 1px solid var(--border); }
.faq details:last-of-type { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 56px; font-weight: 600; font-size: var(--step-0);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; color: var(--accent); font-size: 1.4rem; line-height: 1;
  flex: 0 0 auto;
}
.faq details[open] summary::after { content: '−'; }
.faq p { color: var(--muted); padding-bottom: 18px; margin: 0; }


.cta h2 { max-width: 18ch; }
.cta__sub { color: var(--muted); margin-top: 12px; }
.cta__actions { margin-top: 24px; }
.cta__note { margin-top: 14px; color: var(--muted); font-size: var(--step--1); }


.site-foot { border-top: 2px solid var(--text); padding-block: 28px 36px; }
.site-foot__in { display: grid; gap: 20px; }
@media (min-width: 720px) {
  .site-foot__in { grid-template-columns: 1fr auto; align-items: start; }
}

.foot-links { display: flex; flex-wrap: wrap; gap: 2px 22px; }
.foot-links a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--muted); text-decoration: none; font-size: .93rem;
}
.foot-links a:hover { color: var(--accent); }
.foot-links--legal a { font-size: .86rem; opacity: .85; }
.foot-links--legal a:hover { opacity: 1; }
.foot-note { color: var(--muted); font-size: var(--step--1); margin-top: 12px; }

.lang { display: inline-flex; align-items: center; gap: 8px; }
.lang select {
  font: inherit; font-size: .93rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--text);
  border-radius: 3px; padding: 10px 12px; min-height: 44px;
}


.form { margin-top: 24px; display: grid; gap: 18px; max-width: 560px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: var(--step--1); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: #F6F7F3;
  border: 1px solid var(--text); border-radius: 3px;
  padding: 12px 14px; min-height: 48px; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field textarea { min-height: 150px; resize: vertical; }
.field__hint { color: var(--muted); font-size: var(--step--1); }
.form__foot { margin-top: 6px; }
.form__note { color: var(--muted); font-size: var(--step--1); margin-top: 10px; }
.form__err {
  border-inline-start: 3px solid var(--accent);
  padding: 10px 14px; background: var(--surface); margin-bottom: 16px;
}
.form__ok { border: 1px solid var(--text); padding: 20px; background: var(--surface); }


.legal { padding-block: 32px 54px; }
.legal h1 { font-size: var(--step-3); }
.legal__updated { color: var(--muted); font-size: var(--step--1); }
.legal__sec h2 {
  font-size: var(--step-2); padding-top: 18px; margin-top: 26px;
  border-top: 1px solid var(--border);
}
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--accent); }
.legal ul { padding-inline-start: 20px; }
.legal li { margin-bottom: .5em; }
.legal__nav {
  display: flex; flex-wrap: wrap; gap: 2px 20px;
  margin-top: 32px; padding-top: 18px; border-top: 2px solid var(--text);
}
.legal__nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--muted); text-decoration: none; font-size: .89rem;
}
.legal__nav a:hover { color: var(--accent); }
