/* ANBE.STUDIO — one stylesheet for all three pages.
   Mobile first (390px reference); desktop values from 768px up (1440px reference). */

:root {
  --bg: #FFFFFF;
  --nude: #F3E3D3;
  --text: #111111;
  --muted: #6B6B6B;
  --line: #E6E6E6;
  --display: Jost, Futura, sans-serif;
  --body: Manrope, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
}

a { color: var(--text); }
a:hover { color: var(--text); }
a:focus-visible { outline: 1px solid var(--text); outline-offset: 3px; }

h1, h2, h3, p, ol { margin: 0; }
address { font-style: normal; }
img { display: block; }

.wrap { max-width: 1200px; margin: 0 auto; }

.u { text-decoration: underline; text-underline-offset: 3px; }
.plain { text-decoration: none; }

/* Type */

.wordmark {
  font-family: var(--display);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}

.site-header .wordmark { display: flex; align-items: center; min-height: 44px; }

.h1, .h2 {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.h1 { font-size: 24px; line-height: 1.3; }
.h2 { font-size: 18px; }

.h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.muted { color: var(--muted); }

/* Header */

.site-header { border-bottom: 1px solid var(--line); padding: 0 20px; }

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

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

.nav a {
  display: flex;
  align-items: center;
  height: 44px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav .desktop-only { display: none; }

/* Buttons */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border: 1px solid var(--text);
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.15s, color 0.15s;
}

.btn-primary { background: var(--text); color: var(--bg); }
.btn:hover, .btn:focus-visible { background: var(--text); color: var(--bg); }

/* Hero */

.hero { padding: 40px 20px 64px; }

.hero .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.hero-logo { width: 150px; max-width: 100%; height: auto; }

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 340px;
}

.hero-lead { font-size: 15px; }

.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 340px;
}

/* Sections */

.section { padding: 64px 20px; border-top: 1px solid var(--line); }

.section > .wrap { display: flex; flex-direction: column; gap: 32px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 28px;
  padding: 0;
  list-style: none;
}

.item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.step { gap: 12px; }

.step-num {
  font-family: var(--display);
  font-weight: 300;
  font-size: 36px;
  line-height: 1;
}

/* Contacts */

.contacts { background: var(--nude); }

.contacts > .wrap { gap: 28px; }

.legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  line-height: 1.6;
}

.legal .name { font-weight: 500; }

.legal a { display: inline-flex; align-items: center; min-height: 44px; }

.doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 13px;
}

.doc-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* Footer: wordmark and links on one line, copyright below; on desktop the links move right */

.site-footer {
  padding: 32px 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

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

.site-footer > .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 20px;
}

.site-footer .wordmark { font-size: 13px; color: var(--text); }

.footer-link { display: inline-flex; align-items: center; min-height: 24px; }

.copyright { order: 1; flex-basis: 100%; margin-top: 14px; }

/* Document pages (privacy, offer) */

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  line-height: 1.6;
}

.doc-head { display: flex; flex-direction: column; gap: 12px; }

.doc-head .h1 { font-size: 22px; }

.doc-date { color: var(--muted); font-size: 13px; }

.doc .legal { gap: 4px; font-size: inherit; }

/* Desktop */

@media (min-width: 768px) {
  body { font-size: 16px; line-height: 1.6; }

  .wordmark { font-size: 15px; }

  .site-header { padding: 0 40px; }
  .site-header .wrap { height: 64px; }
  .nav .desktop-only { display: flex; }

  .btn { height: 52px; padding: 0 36px; }

  .hero { padding: 96px 40px 128px; }
  .hero .wrap { gap: 40px; }
  .hero-logo { width: 240px; }
  .hero-text { gap: 18px; max-width: 640px; }
  .h1 { font-size: 36px; line-height: 1.25; }
  .hero-lead { font-size: 18px; }

  .actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    width: auto;
    max-width: none;
  }

  .section { padding: 112px 40px; }
  .section > .wrap { gap: 48px; }
  .h2 { font-size: 22px; }
  .h3 { font-size: 15px; }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 40px;
  }

  .item { gap: 12px; padding-top: 20px; }
  .step { gap: 16px; }
  .step-num { font-size: 48px; }

  .contacts > .wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 48px;
  }

  .legal { gap: 8px; font-size: 16px; }
  .legal a { display: inline; min-height: 0; }

  .doc-links {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
  }

  .doc-links a { display: inline; min-height: 0; }

  .site-footer { padding: 32px 40px; font-size: 13px; }
  .site-footer > .wrap { gap: 12px 24px; }
  .site-footer .wordmark { font-size: 14px; }
  .copyright { flex-basis: auto; margin-top: 0; }
  .footer-link { order: 2; }
  .copyright + .footer-link { margin-left: auto; }

  .doc { padding: 96px 40px 112px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
