/* Cherry — cherrytr.com
   Brand tokens mirror the app (tailwind.config.js / designTokens.ts). */

@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-400Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-500Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-600SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-800ExtraBold.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;

  --cream: #FFF8F0;
  --cream-dark: #F7F1E9;
  --sand: #F5F0EB;
  --line: #E8E0D8;
  --white: #FFFFFF;

  --ink: #1A1512;
  --ink-2: #2A2420;
  --ink-3: #3D352E;
  --body: #5C5248;
  --muted: #6B5E54;

  --cherry: #C41E3A;
  --cherry-dark: #9A1830;
  --cherry-tint: #FBE6E8;

  --lilac: #ECE3F5;
  --sage: #E2ECDF;
  --butter: #F8EFD4;
  --sky: #DFE9F4;
  --peach: #FBE4D6;
  --blush: #F9DEE0;

  --leaf: #4C7A55;
  --gold: #C9A15A;
  --camel: #B98B5E;
  --ecru: #F1E8DA;

  --r-card: 24px;
  --r-panel: 32px;
  --shadow-sm: 0 1px 2px rgba(26, 21, 18, 0.05), 0 4px 14px -6px rgba(26, 21, 18, 0.08);
  --shadow-lg: 0 30px 70px -28px rgba(26, 21, 18, 0.35), 0 10px 30px -16px rgba(26, 21, 18, 0.18);

  --max: 1160px;
  --gutter: 24px;
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--ink);
  text-wrap: balance;
}

::selection { background: var(--cherry); color: var(--white); }

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 240, 0.84);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.045em;
  line-height: 1;
}
.brand svg { width: 30px; height: 30px; flex: none; }
.brand:active { opacity: 0.7; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-3);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--cream-dark); color: var(--ink); }
.nav-links a:active { opacity: 0.7; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 8px;
  padding: 0 14px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s;
}
.lang-switch svg { width: 16px; height: 16px; color: var(--muted); }
.lang-switch:hover { border-color: var(--ink-3); }
.lang-switch:active { opacity: 0.7; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), box-shadow 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { opacity: 0.7; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { background: var(--cream-dark); box-shadow: inset 0 0 0 1.5px var(--ink-3); }

.btn-cherry {
  background: var(--cherry);
  color: var(--white);
  box-shadow: 0 12px 28px -12px rgba(196, 30, 58, 0.7);
}
.btn-cherry:hover { background: var(--cherry-dark); transform: translateY(-1px); }

/* "coming to the App Store" badge — not a link until the app is live */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
}
.store-badge svg { width: 24px; height: 24px; flex: none; color: var(--cream); }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge small { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.72; }
.store-badge strong { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- shared section parts ---------- */

.section { padding: 120px 0; }
.section-tight { padding: 0 0 120px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cherry);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.section-head { max-width: 660px; margin-bottom: 64px; }
.section-head h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 1.35rem + 2.3vw, 3.25rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
}
.section-head p {
  margin-top: 20px;
  font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.15rem);
  color: var(--body);
  max-width: 38em;
}

/* ---------- hero ---------- */

.hero { position: relative; padding: 72px 0 40px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.6rem, 1.45rem + 4.6vw, 5rem);
  line-height: 1.0;
  letter-spacing: -0.045em;
  font-weight: 600;
}
.hero h1 em {
  font-style: normal;
  color: var(--cherry);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 2%; right: 4%;
  bottom: -0.1em;
  height: 0.22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 18' preserveAspectRatio='none'%3E%3Cpath d='M3 13 C 60 4, 140 3, 297 9' fill='none' stroke='%23C41E3A' stroke-width='5' stroke-linecap='round' opacity='.35'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.hero .lede {
  margin-top: 28px;
  max-width: 33em;
  font-size: clamp(1.05rem, 0.97rem + 0.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--body);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 40px;
  list-style: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-3);
}
.hero-notes li { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes svg { width: 18px; height: 18px; color: var(--cherry); flex: none; }

/* phone mock-up */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 0;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(560px, 120%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(196, 30, 58, 0.16), rgba(196, 30, 58, 0) 72%),
    radial-gradient(closest-side, var(--blush), rgba(249, 222, 224, 0) 100%);
  z-index: 0;
}

.phone-wrap { position: relative; z-index: 1; width: 300px; }

.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 300 / 620;
  padding: 11px;
  border-radius: 50px;
  background: var(--ink);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #4A4038;
  transform: rotate(-2.5deg);
}
.phone::before { /* dynamic island */
  content: "";
  position: absolute;
  top: 22px; left: 50%;
  width: 88px; height: 25px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--ink);
  z-index: 2;
}

.screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 40px;
  background: var(--cream);
  overflow: hidden;
  padding: 16px 16px 12px;
}

.statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 22px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.statusbar svg { width: 44px; height: 11px; }

.app-head { margin-top: 22px; }
.app-head small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.app-head strong { display: block; margin-top: 1px; font-size: 19px; font-weight: 600; letter-spacing: -0.03em; }

.weather-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 5px 11px 5px 8px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3);
}
.weather-pill svg { width: 15px; height: 15px; color: var(--gold); }

.chips { display: flex; gap: 6px; margin-top: 14px; }
.chips span {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  background: var(--sand);
  color: var(--ink-3);
}
.chips span:first-child { background: var(--ink); color: var(--cream); }

.outfit-card {
  position: relative;
  margin-top: 14px;
  border-radius: 22px;
  background: var(--lilac);
  padding: 12px 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.outfit-card svg.collage { width: 100%; height: auto; flex: 1; min-height: 0; }
.outfit-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding: 0 4px; }
.outfit-meta strong { display: block; font-size: 13px; font-weight: 600; letter-spacing: -0.02em; }
.outfit-meta small { display: block; font-size: 10.5px; color: var(--muted); }
.heart {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--cherry);
}
.heart svg { width: 16px; height: 16px; }

.tabbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 12px;
  height: 46px;
  color: #A89A8C;
}
.tabbar svg { width: 21px; height: 21px; }
.tabbar .on { color: var(--ink); }
.tabbar .plus {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--cherry);
  color: var(--white);
}
.tabbar .plus svg { width: 18px; height: 18px; }

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.float-card .ico {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px;
  flex: none;
}
.float-card .ico svg { width: 20px; height: 20px; }
.float-card strong { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.float-card small { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; }
.float-card.one { top: 1%; left: -88px; }
.float-card.one .ico { background: var(--cherry-tint); color: var(--cherry); }
.float-card.two { bottom: 2%; right: -84px; animation-delay: -3.5s; }
.float-card.two .ico { background: var(--butter); color: #A97A1C; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- features ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
}

.feature {
  position: relative;
  padding: 34px 32px 36px;
  border-radius: var(--r-card);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: transparent; }

.feature-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 16px;
  color: var(--ink);
}
.feature-icon svg { width: 26px; height: 26px; }
.tint-lilac { background: var(--lilac); }
.tint-sage { background: var(--sage); }
.tint-butter { background: var(--butter); }
.tint-sky { background: var(--sky); }
.tint-peach { background: var(--peach); }
.tint-blush { background: var(--blush); }

.feature h3 { margin-top: 26px; font-size: 20px; letter-spacing: -0.025em; }
.feature p { margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: var(--body); }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  list-style: none;
  counter-reset: step;
}
.step { position: relative; padding-top: 32px; border-top: 1.5px solid var(--line); }
.step::before {
  content: "";
  position: absolute;
  top: -1.5px; left: 0;
  width: 48px; height: 1.5px;
  background: var(--cherry);
}
.step-num {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cherry);
}
.step h3 { margin-top: 18px; font-size: 24px; letter-spacing: -0.03em; }
.step p { margin-top: 12px; color: var(--body); font-size: 16px; }

/* ---------- statement ---------- */

.statement {
  position: relative;
  overflow: hidden;
  padding: 104px 72px;
  border-radius: var(--r-panel);
  background: var(--ink);
  color: var(--cream);
}
.statement-mark {
  position: absolute;
  right: -60px; bottom: -80px;
  width: 360px; height: 360px;
  opacity: 0.12;
  pointer-events: none;
}
.statement blockquote { margin: 0; position: relative; }
.statement blockquote p {
  font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.75rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--cream);
  max-width: 15em;
  text-wrap: balance;
}
.statement blockquote span { color: #F0566F; }
.statement .caption {
  position: relative;
  margin-top: 32px;
  max-width: 34em;
  font-size: 17px;
  color: rgba(255, 248, 240, 0.72);
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: start;
}
.about-copy h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 1.35rem + 2.3vw, 3.25rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
}
.about-copy p { margin-top: 22px; color: var(--body); font-size: 17px; max-width: 34em; }
.about-copy p + p { margin-top: 16px; }

.company-card {
  padding: 34px 32px;
  border-radius: var(--r-card);
  background: var(--white);
  border: 1px solid var(--line);
}
.company-card h3 { font-size: 18px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.company-card h3 svg { width: 22px; height: 22px; color: var(--cherry); }
.company-card dl { margin: 22px 0 0; }
.company-card dl div { padding: 16px 0; border-top: 1px solid var(--line); }
.company-card dl div:last-child { padding-bottom: 0; }
.company-card dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.company-card dd { margin: 4px 0 0; font-size: 16px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.company-card dd a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color 0.15s; }
.company-card dd a:hover { border-color: var(--cherry); }

/* ---------- contact ---------- */

.contact {
  position: relative;
  overflow: hidden;
  padding: 96px 32px;
  border-radius: var(--r-panel);
  background: var(--cherry-tint);
  text-align: center;
}
.contact::before, .contact::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.contact::before { width: 320px; height: 320px; left: -120px; top: -140px; background: rgba(196, 30, 58, 0.08); }
.contact::after { width: 240px; height: 240px; right: -80px; bottom: -120px; background: rgba(196, 30, 58, 0.1); }
.contact > * { position: relative; }
.contact h2 { margin-top: 18px; font-size: clamp(2rem, 1.35rem + 2.3vw, 3.25rem); letter-spacing: -0.035em; }
.contact p { margin: 18px auto 0; max-width: 32em; color: var(--body); font-size: 17px; }
.contact .btn { margin-top: 36px; }

/* ---------- footer ---------- */

.site-footer { padding: 72px 0 44px; border-top: 1px solid var(--line); }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
}
.footer-brand p { margin-top: 14px; max-width: 22em; font-size: 15px; color: var(--body); }
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-col ul { margin-top: 16px; list-style: none; display: grid; gap: 10px; }
.footer-col a { font-size: 15px; font-weight: 500; color: var(--ink-3); text-decoration: none; transition: color 0.15s; }
.footer-col a:hover { color: var(--cherry); }
.footer-col a:active { opacity: 0.7; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.site-footer.slim { padding: 32px 0 40px; margin-top: 56px; }
.site-footer.slim .footer-bottom { margin-top: 0; padding-top: 0; border-top: 0; }
.footer-bottom a { color: var(--ink-3); font-weight: 500; text-decoration: none; }
.footer-bottom a:hover { color: var(--cherry); }

/* ---------- legal pages ---------- */

.legal { padding: 72px 0 40px; }
.legal-inner { max-width: 760px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.back-link svg { width: 18px; height: 18px; }
.back-link:hover { color: var(--ink); }
.back-link:active { opacity: 0.7; }
.legal h1 {
  margin-top: 28px;
  font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
}
.legal .updated { margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.legal .intro { margin-top: 32px; font-size: 18px; color: var(--ink-3); }

.toc {
  margin-top: 40px;
  padding: 24px 28px;
  border-radius: 20px;
  background: var(--cream-dark);
}
.toc h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin-top: 12px; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15px; }
.toc li { padding: 3px 0; break-inside: avoid; }
.toc a { color: var(--ink-3); text-decoration: none; }
.toc a:hover { color: var(--cherry); }

.legal section { margin-top: 52px; }
.legal section h2 { font-size: 24px; letter-spacing: -0.03em; }
.legal section h3 { margin-top: 26px; font-size: 17px; letter-spacing: -0.015em; }
.legal section p, .legal section li { color: var(--body); font-size: 16.5px; }
.legal section p { margin-top: 14px; }
.legal section ul { margin-top: 14px; padding-left: 22px; display: grid; gap: 8px; }
.legal section li::marker { color: var(--cherry); }
.legal section strong { color: var(--ink); font-weight: 600; }
.legal section a { color: var(--cherry); text-underline-offset: 3px; }

.providers {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}
.providers div {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
}
.providers div:first-child { border-top: 0; }
.providers dt { font-weight: 600; color: var(--ink); }
.providers dd { margin: 0; color: var(--body); }

.legal-contact {
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--cream-dark);
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1.8;
}

/* ---------- 404 ---------- */

.notfound { min-height: calc(100vh - var(--header-h) - 220px); display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .code { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; color: var(--cherry); }
.notfound h1 { margin-top: 12px; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem); }
.notfound p { margin-top: 12px; color: var(--body); }
.notfound .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ---------- motion ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-card { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .feature, .btn { transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .float-card.one { left: -48px; }
  .float-card.two { right: -52px; }
}

@media (max-width: 960px) {
  .hero { padding: 40px 0 24px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .hero-visual { padding: 8px 0; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .statement { padding: 80px 48px; }
  .section { padding: 96px 0; }
  .section-tight { padding-bottom: 96px; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 62px; }
  body { font-size: 16px; }
  .brand { font-size: 21px; }
  .brand svg { width: 27px; height: 27px; }

  .hero-actions .btn, .hero-actions .store-badge { flex: 1 1 100%; justify-content: center; }
  .hero-notes { gap: 10px 18px; }

  .phone-wrap { width: 262px; }
  .phone { border-radius: 44px; padding: 10px; }
  .screen { border-radius: 35px; padding: 14px 13px 10px; }
  .float-card { padding: 9px 12px 9px 9px; gap: 9px; border-radius: 15px; }
  .float-card .ico { width: 32px; height: 32px; border-radius: 10px; }
  .float-card .ico svg { width: 17px; height: 17px; }
  .float-card strong { font-size: 12px; }
  .float-card small { font-size: 11px; }
  .float-card.one { left: -34px; top: 0; }
  .float-card.two { right: -46px; bottom: 1%; }

  .section { padding: 80px 0; }
  .section-tight { padding-bottom: 80px; }
  .section-head { margin-bottom: 44px; }
  .features-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .feature { padding: 28px 24px 30px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .statement { padding: 64px 26px; border-radius: 26px; }
  .statement-mark { width: 220px; height: 220px; right: -50px; bottom: -60px; }
  .company-card { padding: 28px 24px; }
  .contact { padding: 72px 22px; border-radius: 26px; }
  .contact .btn { width: 100%; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .legal { padding: 48px 0 24px; }
  .toc ol { columns: 1; }
  .providers div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

@media (max-width: 380px) {
  .float-card.one { left: -14px; }
  .float-card.two { right: -12px; }
}
