@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #111638;
  --navy-2: #1b2150;
  --text: #111638;
  --muted: #6e7393;
  --line: rgba(17, 22, 56, .12);
  --pink: #ff5f85;
  --coral: #ff856a;
  --orange: #ff9f70;
  --purple: #7b50ff;
  --violet: #a35cff;
  --white: #fff;
  --bg: #fbfbff;
  --shadow: 0 30px 80px rgba(28, 25, 76, .16);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* HEADER */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 18px 0;
  transition: padding .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(251, 251, 255, .86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(16, 20, 52, .07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { width: 25px; height: 32px; object-fit: contain; }
.brand-word { font-size: 26px; line-height: 1; letter-spacing: -.05em; font-weight: 700; color: var(--navy); }
.brand-word span { background: linear-gradient(120deg, var(--pink), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 34px; }
.main-nav a { color: #555b7d; font-size: 14px; font-weight: 600; transition: color .2s ease; }
.main-nav a:hover { color: var(--navy); }
.button {
  appearance: none;
  border: 0;
  border-radius: 16px;
  min-height: 56px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  background: linear-gradient(115deg, var(--pink) 0%, var(--coral) 45%, var(--purple) 100%);
  box-shadow: 0 14px 32px rgba(129, 78, 246, .24);
  font-weight: 800;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 20px 38px rgba(129, 78, 246, .30); filter: saturate(1.08); }
.button:active { transform: translateY(0); }
.button--small { min-height: 46px; padding: 0 19px; border-radius: 14px; font-size: 13px; }
.button--secondary {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(16, 23, 60, .05);
}
.button--secondary:hover {
  box-shadow: 0 14px 28px rgba(16, 23, 60, .1);
  filter: none;
}
.button--light {
  color: var(--navy);
  background: #fff;
  box-shadow: 0 12px 30px rgba(14, 18, 58, .18);
}
.button--light:hover {
  box-shadow: 0 18px 36px rgba(14, 18, 58, .24);
  filter: none;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 150px 0 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 30%, rgba(255, 108, 128, .12), transparent 30%),
    radial-gradient(circle at 86% 23%, rgba(123, 80, 255, .14), transparent 31%),
    linear-gradient(180deg, #fff 0%, #f9f8ff 100%);
}
.hero-orb { position: absolute; border-radius: 999px; filter: blur(2px); pointer-events: none; }
.hero-orb--one { width: 330px; height: 330px; left: -180px; top: 18%; background: linear-gradient(145deg, rgba(255, 100, 126, .18), rgba(255, 159, 112, .08)); }
.hero-orb--two { width: 260px; height: 260px; right: -100px; bottom: 8%; background: linear-gradient(145deg, rgba(123, 80, 255, .16), rgba(255, 95, 133, .05)); }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(50px, 7vw, 100px); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--purple); }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 7px rgba(255, 95, 133, .12); }
.hero h1 { margin: 22px 0 20px; max-width: 680px; font-size: clamp(54px, 6.4vw, 94px); line-height: .94; letter-spacing: -.065em; font-weight: 500; }
.hero h1 strong { display: inline-block; font-weight: 800; background: linear-gradient(105deg, var(--pink) 0%, var(--orange) 39%, var(--purple) 92%); -webkit-background-clip: text; background-clip: text; color: transparent; margin-top: 15px; }
.hero-copy > p { max-width: 590px; margin: 0 0 30px; color: var(--muted); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.65; }
.hero-cta { display: grid; gap: 14px; justify-items: start; max-width: 420px; }
.hero-cta .button--submit { min-width: 260px; }
.hero-free {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400;
}
.hero-free strong {
  color: var(--navy);
  font-weight: 800;
  background: linear-gradient(105deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead-form--join input.is-invalid { box-shadow: inset 0 0 0 2px #ff5f85; }
.button--submit { min-height: 58px; border-radius: 15px; white-space: nowrap; }
.button--submit svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button--submit.is-loading { pointer-events: none; opacity: .75; }
.button--submit.is-loading span { font-size: 0; }
.button--submit.is-loading span::after { content: "Отправляем..."; font-size: 14px; }
.lead-form { position: relative; }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-note { margin: 10px 6px 0; color: #989bb0; font-size: 10px; line-height: 1.4; }
.form-note a { color: var(--purple); text-decoration: underline; text-underline-offset: 2px; }
.form-note a:hover { color: var(--pink); }
.form-status { min-height: 18px; margin: 8px 6px 0; color: #d93962; font-size: 12px; font-weight: 700; }

.hero-collage { position: relative; height: min(600px, 48vw); min-height: 510px; }
.photo-card { position: absolute; margin: 0; overflow: hidden; border-radius: 30px; background: #e8e7f0; box-shadow: var(--shadow); color: inherit; }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(9, 12, 35, .72) 100%); pointer-events: none; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.photo-card:hover img { transform: scale(1.045); }
.photo-card__caption { position: absolute; z-index: 2; inset: auto 24px 23px; color: #fff; display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.photo-card__caption span { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .78; }
.photo-card__caption b { font-size: clamp(20px, 2vw, 30px); line-height: 1.05; }
.photo-card--main { width: 67%; height: 82%; right: 7%; top: 4%; transform: rotate(2deg); }
.photo-card--coffee { width: 39%; height: 39%; left: 0; bottom: 4%; transform: rotate(-4deg); border: 7px solid #fff; }
.photo-card--delivery { width: 31%; height: 34%; right: 0; bottom: 0; transform: rotate(5deg); border: 7px solid #fff; }
.photo-card--coffee .photo-card__caption, .photo-card--delivery .photo-card__caption { inset: auto 17px 15px; }
.hero-badge { position: absolute; z-index: 5; display: flex; align-items: center; color: var(--navy); background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 45px rgba(20, 24, 65, .18); transition: transform .2s ease, box-shadow .2s ease; }
.hero-badge:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(20, 24, 65, .22); }
.hero-badge--top { top: 1%; left: 10%; padding: 12px 17px; gap: 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.hero-badge__dot { width: 9px; height: 9px; border-radius: 50%; background: #36d789; box-shadow: 0 0 0 6px rgba(54,215,137,.13); }
.hero-badge--bottom { left: 32%; bottom: 1%; padding: 12px 18px 12px 12px; gap: 11px; border-radius: 18px; }
.hero-badge--bottom img { width: 31px; height: 39px; object-fit: contain; }
.hero-badge--bottom div { display: grid; }
.hero-badge--bottom small { color: var(--purple); font-size: 10px; font-weight: 800; }
.hero-badge--bottom strong { font-size: 13px; }
.quick-line { margin-top: 62px; padding-top: 27px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: clamp(13px, 2.3vw, 35px); color: #686d8c; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.quick-line i { width: 5px; height: 5px; border-radius: 50%; background: linear-gradient(135deg, var(--pink), var(--purple)); }

/* FORMATS */
.formats { padding: 125px 0; background: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 52px; }
.section-head h2 { margin: 14px 0 0; font-size: clamp(48px, 6vw, 82px); line-height: .97; letter-spacing: -.06em; font-weight: 500; }
.section-head h2 strong { font-weight: 800; color: var(--purple); }
.section-head > p { max-width: 430px; margin: 0 0 8px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.format-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; grid-template-rows: 305px 305px; gap: 18px; }
.format-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #191d48; isolation: isolate; transition: transform .25s ease; }
a.format-card { color: inherit; }
a.format-card:hover { transform: translateY(-3px); }
.format-card--wide { grid-row: 1 / 3; }
.format-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.format-card:hover > img { transform: scale(1.055); }
.format-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(13,16,44,.02) 22%, rgba(13,16,44,.82) 100%); }
.format-content { position: absolute; z-index: 3; inset: 0; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; color: #fff; pointer-events: none; }
.format-content > span { position: absolute; top: 25px; left: 26px; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 999px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.18); backdrop-filter: blur(12px); font-size: 11px; font-weight: 800; }
.format-content h3 { margin: 0; font-size: clamp(27px, 3vw, 45px); line-height: .98; letter-spacing: -.045em; }
.format-card--color { grid-column: 2 / 4; background: linear-gradient(120deg, #ff607f 0%, #ff9870 44%, #7b50ff 100%); }
.format-pattern { position: absolute; inset: 0; overflow: hidden; }
.format-pattern::before, .format-pattern::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.format-pattern::before { width: 480px; height: 480px; right: -130px; top: -220px; box-shadow: 0 0 0 80px rgba(255,255,255,.04), 0 0 0 160px rgba(255,255,255,.025); }
.format-pattern::after { width: 270px; height: 270px; left: -110px; bottom: -180px; box-shadow: 0 0 0 65px rgba(255,255,255,.04); }
.format-pattern img { position: absolute; width: 145px; height: auto; right: 12%; top: 50%; transform: translateY(-50%) rotate(9deg); filter: brightness(0) invert(1); opacity: .20; }

/* METRICS */
.metrics-section {
  position: relative;
  padding: 125px 0;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(143, 84, 239, .7), transparent 33%),
    linear-gradient(130deg, #0b1238 0%, #11164a 58%, #3f246e 100%);
  overflow: hidden;
}
.metrics-section::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -200px;
  bottom: -330px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, .025), 0 0 0 145px rgba(255, 255, 255, .018);
}
.metrics-grid {
  position: relative;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 75px;
  align-items: center;
}
.eyebrow--light { color: #ff92ac; }
.eyebrow--light span { background: #ff92ac; box-shadow: 0 0 0 7px rgba(255, 146, 172, .16); }
.metrics-copy h2 {
  margin: 20px 0;
  font-size: clamp(42px, 5vw, 58px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 750;
}
.metrics-copy p {
  max-width: 470px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .67);
  line-height: 1.7;
}
.metric-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.metric-cards article {
  min-height: 195px;
  padding: 31px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 25px;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.metric-cards strong {
  font-size: clamp(42px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 800;
}
.metric-cards article > span {
  margin-left: 3px;
  font-size: 23px;
  font-weight: 750;
  color: #ff86a1;
}
.metric-cards p {
  max-width: 220px;
  margin: 17px 0 0;
  color: rgba(255, 255, 255, .67);
  font-size: 13px;
  line-height: 1.55;
}

/* FAQ */
.faq-section { padding: 125px 0; background: #f7f8fc; }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.faq-heading { position: sticky; top: 120px; }
.faq-heading h2 {
  margin: 18px 0;
  font-size: clamp(42px, 4.8vw, 56px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 750;
}
.faq-heading p { margin: 0 0 27px; color: var(--muted); line-height: 1.68; }
.accordion { display: grid; gap: 12px; }
.accordion-item {
  border: 1px solid #e4e7f0;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.accordion-item.is-open {
  border-color: #d9dcef;
  box-shadow: 0 12px 30px rgba(25, 31, 75, .06);
}
.accordion-item > button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 23px 25px;
  border: 0;
  background: transparent;
  color: var(--navy);
  text-align: left;
  font-weight: 750;
  font-size: 15px;
  cursor: pointer;
}
.accordion-item > button i {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 9px;
  background: #f3efff;
}
.accordion-item > button i::before,
.accordion-item > button i::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 13px;
  width: 12px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
  transition: .2s ease;
}
.accordion-item > button i::after { transform: rotate(90deg); }
.accordion-item.is-open > button i::after { transform: rotate(0); opacity: 0; }
.accordion-content p {
  margin: 0;
  padding: 0 25px 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* JOIN */
.join { padding: 90px 0 115px; background: #fff; }
.join-card { position: relative; min-height: 600px; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(46px, 7vw, 90px); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(45px, 7vw, 95px); color: #fff; background: #171b48; box-shadow: 0 38px 95px rgba(23, 27, 72, .25); }
.join-photo { position: absolute; inset: 0; opacity: .2; }
.join-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #151945 0%, rgba(21,25,69,.86) 45%, rgba(31,27,81,.72) 100%); }
.join-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); }
.join-glow { position: absolute; width: 620px; height: 620px; right: -250px; bottom: -320px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(164,92,255,.9), rgba(255,95,133,.34) 47%, transparent 68%); filter: blur(6px); }
.join-copy, .lead-form--join { position: relative; z-index: 2; }
.join-mark { width: 57px; height: 70px; object-fit: contain; margin-bottom: 30px; }
.section-kicker--light { color: #ffb2c1; }
.join-copy h2 { margin: 15px 0 18px; font-size: clamp(48px, 5.7vw, 78px); line-height: .98; letter-spacing: -.06em; font-weight: 500; }
.join-copy h2 strong { font-weight: 800; background: linear-gradient(100deg, #ff7d99, #ffa578 48%, #b383ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.join-copy p { margin: 0; color: rgba(255,255,255,.62); font-size: 16px; }
.lead-form--join { padding: 32px; border-radius: 27px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.lead-form--join label { display: block; margin-bottom: 14px; }
.lead-form--join label > span { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 8px; color: rgba(255,255,255,.78); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lead-form--join label small { font-size: 9px; color: rgba(255,255,255,.42); }
.lead-form--join input { width: 100%; height: 64px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; outline: 0; padding: 0 19px; color: #fff; background: rgba(255,255,255,.09); font-size: 15px; font-weight: 600; transition: border-color .2s ease, background .2s ease; }
.lead-form--join input:focus { border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.13); }
.lead-form--join input::placeholder { color: rgba(255,255,255,.38); }
.button--white { width: 100%; margin-top: 5px; color: var(--navy); background: #fff; box-shadow: 0 17px 34px rgba(0,0,0,.16); }
.button--white:hover { box-shadow: 0 22px 40px rgba(0,0,0,.22); }
.form-note--light { color: rgba(255,255,255,.35); text-align: center; }
.form-note--light a { color: rgba(255,255,255,.7); }
.form-note--light a:hover { color: #fff; }
.lead-form--join .form-status { color: #ffc0cb; text-align: center; }

/* FOOTER + TOAST */
.site-footer {
  padding: 40px 0 28px;
  background: #f7f7fc;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: grid;
  gap: 16px;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
.brand--footer .brand-mark { width: 21px; height: 27px; }
.brand--footer .brand-word { font-size: 22px; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  gap: 10px 0;
}
.footer-legal a {
  color: #6e7393;
  font-size: 13px;
  font-weight: 600;
  transition: color .2s ease;
}
.footer-legal a:hover { color: var(--navy); }
.footer-legal a + a::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 14px;
  border-radius: 50%;
  background: #c5c8d8;
  vertical-align: middle;
}
.footer-copy {
  margin: 0;
  color: #9aa0b8;
  font-size: 12px;
  font-weight: 500;
  text-align: right;
}
/* SUCCESS MODAL */
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.success-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.success-modal[hidden] { display: none; }
.success-modal.is-open[hidden] { display: grid; }
.success-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 22, 56, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.success-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 2rem 1.75rem 1.75rem;
  text-align: center;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(17, 22, 56, .08);
  box-shadow: 0 30px 80px rgba(28, 25, 76, .28);
  transform: translateY(16px) scale(.96);
  transition: transform .35s ease;
}
.success-modal.is-open .success-modal__dialog {
  transform: none;
}
.success-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #9498ad;
  font-size: 24px;
  line-height: 1;
  transition: color .2s ease, background .2s ease;
}
.success-modal__close:hover {
  color: var(--navy);
  background: rgba(17, 22, 56, .06);
}
.success-modal__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(129, 78, 246, .28);
}
.success-modal__icon--cta { font-size: 26px; line-height: 1; }
.success-modal__kicker {
  margin: 0 0 8px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.success-modal__dialog h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.5rem;
  letter-spacing: -.03em;
}
.success-modal__dialog > p {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.success-modal__dialog .button {
  width: 100%;
}

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal--delay { transition-delay: .14s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* TABLET */
@media (max-width: 1060px) {
  .hero { padding-top: 128px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-copy { text-align: center; }
  .hero-copy > p, .hero-cta { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-items: center; text-align: center; }
  .eyebrow { justify-content: center; }
  .hero-collage { height: 610px; width: min(760px, 100%); margin-inline: auto; }
  .photo-card--main { width: 65%; right: 8%; }
  .section-head { align-items: flex-start; }
  .format-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 410px 280px 280px; }
  .format-card--wide { grid-column: 1 / 3; grid-row: auto; }
  .format-card--color { grid-column: 1 / 3; }
  .join-card { grid-template-columns: 1fr; }
  .join-copy { max-width: 700px; }
  .lead-form--join { width: min(560px, 100%); }
  .metrics-grid { grid-template-columns: 1fr; gap: 45px; }
  .metrics-copy { text-align: center; }
  .metrics-copy p { margin-inline: auto; }
  .metrics-copy .button { margin-inline: auto; }
  .metric-cards { max-width: 720px; margin-inline: auto; width: 100%; }
  .faq-grid { grid-template-columns: 1fr; gap: 45px; }
  .faq-heading { position: static; text-align: center; }
  .faq-heading p { max-width: 580px; margin-inline: auto; margin-bottom: 27px; }
  .faq-heading .button { margin-inline: auto; }
}

/* MOBILE */
@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header { padding: 11px 0; background: rgba(251,251,255,.82); backdrop-filter: blur(18px); }
  .main-nav { display: none; }
  .brand-word { font-size: 22px; }
  .brand-mark { width: 22px; height: 28px; }
  .button--small { min-height: 42px; padding: 0 14px; font-size: 11px; }

  .hero { padding: 112px 0 38px; }
  .hero-grid { gap: 42px; }
  .hero h1 { margin-top: 18px; font-size: clamp(49px, 14.5vw, 70px); }
  .hero-copy > p { font-size: 15px; line-height: 1.55; margin-bottom: 23px; }
  .eyebrow { font-size: 9px; }
  .hero-cta .button--submit { width: 100%; min-width: 0; }
  .form-note { text-align: center; }
  .hero-collage { min-height: 0; height: 490px; }
  .photo-card { border-radius: 22px; }
  .photo-card--main { width: 78%; height: 74%; right: 1%; top: 4%; }
  .photo-card--coffee { width: 47%; height: 35%; left: 0; bottom: 1%; border-width: 5px; }
  .photo-card--delivery { width: 37%; height: 31%; right: 0; bottom: 0; border-width: 5px; }
  .photo-card__caption { inset: auto 16px 15px; }
  .photo-card__caption b { font-size: 20px; }
  .hero-badge--top { left: 2%; top: 0; font-size: 9px; padding: 9px 12px; }
  .hero-badge--bottom { left: 32%; bottom: 3%; padding: 9px 12px 9px 9px; }
  .hero-badge--bottom img { width: 24px; height: 30px; }
  .hero-badge--bottom small { font-size: 8px; }
  .hero-badge--bottom strong { font-size: 10px; }
  .quick-line { margin-top: 38px; padding-top: 20px; justify-content: flex-start; overflow: auto; scrollbar-width: none; font-size: 9px; white-space: nowrap; }
  .quick-line::-webkit-scrollbar { display: none; }

  .formats { padding: 85px 0; }
  .section-head { display: block; margin-bottom: 33px; }
  .section-head h2 { font-size: clamp(47px, 13vw, 64px); }
  .section-head > p { margin-top: 22px; font-size: 14px; }
  .section-kicker { font-size: 9px; }
  .format-grid { grid-template-columns: 1fr; grid-template-rows: 410px 270px 270px 260px; gap: 12px; }
  .format-card--wide, .format-card--color { grid-column: auto; }
  .format-card { border-radius: 22px; }
  .format-content { padding: 21px; }
  .format-content > span { top: 19px; left: 20px; }
  .format-content h3 { font-size: 34px; margin-bottom: 13px; }
  .format-pattern img { right: 5%; width: 125px; }

  .metrics-section { padding: 85px 0; }
  .metrics-copy h2 { font-size: 43px; }
  .metric-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric-cards article { min-height: 155px; padding: 22px; }
  .metric-cards strong { font-size: 40px; }
  .metric-cards article > span { font-size: 18px; }
  .metric-cards p { font-size: 11px; }

  .faq-section { padding: 85px 0; }
  .faq-heading h2 { font-size: 39px; }
  .accordion-item > button { padding: 20px; font-size: 14px; }
  .accordion-content p { padding: 0 20px 21px; }

  .join { padding: 60px 0 70px; }
  .join-card { min-height: auto; padding: 38px 20px 22px; border-radius: 26px; gap: 32px; }
  .join-mark { width: 42px; height: 52px; margin-bottom: 22px; }
  .join-copy h2 { font-size: clamp(46px, 12.6vw, 60px); }
  .join-copy p { font-size: 13px; }
  .lead-form--join { padding: 20px 14px 15px; border-radius: 20px; }
  .lead-form--join input { height: 58px; }

  .footer-row { flex-direction: column; align-items: center; gap: 14px; }
  .footer-legal { margin-left: 0; justify-content: center; }
  .footer-copy { text-align: center; }
}

/* LEGAL PAGES */
.legal-page .site-header {
  position: sticky;
  background: rgba(251, 251, 255, .92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(16, 20, 52, .06);
}
.legal-main { padding: 48px 0 100px; }
.legal-header {
  display: grid;
  gap: 16px;
  margin-bottom: 42px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.legal-header h1 {
  margin: 12px 0 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 700;
}
.legal-meta {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 10px;
}
.legal-toc a {
  color: #6e7393;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  transition: color .2s ease;
}
.legal-toc a:hover,
.legal-toc a:focus-visible { color: var(--purple); }
.legal-content { min-width: 0; }
.legal-content section { scroll-margin-top: 110px; }
.legal-content section + section {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.legal-content h2 {
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: -.03em;
  font-weight: 800;
}
.legal-content h3 {
  margin: 22px 0 10px;
  font-size: 16px;
  font-weight: 800;
}
.legal-content p,
.legal-content li {
  color: #4b5070;
  font-size: 15px;
  line-height: 1.7;
}
.legal-content p { margin: 0 0 12px; }
.legal-content ul,
.legal-content ol {
  margin: 0 0 12px;
  padding-left: 1.2em;
}
.legal-content li + li { margin-top: 6px; }
.legal-content a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover { color: var(--pink); }
.legal-callout {
  margin: 16px 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(255, 95, 133, .08), rgba(123, 80, 255, .08));
  border: 1px solid rgba(123, 80, 255, .12);
}
.legal-callout p { margin: 0; color: var(--navy); }
.legal-related { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal-related h2 {
  margin: 0 0 16px;
  font-size: 18px;
}
.legal-related-links {
  display: grid;
  gap: 10px;
}
.legal-related-links a {
  display: block;
  padding: 14px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: border-color .2s ease, transform .2s ease;
}
.legal-related-links a:hover {
  border-color: rgba(123, 80, 255, .35);
  transform: translateY(-1px);
  color: var(--navy);
}

/* 404 */
.error-page .site-header {
  position: sticky;
  background: rgba(251, 251, 255, .92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(16, 20, 52, .06);
}
.error-main {
  min-height: calc(100svh - 180px);
  display: flex;
  align-items: center;
  padding: 60px 0 90px;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 108, 128, .10), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(123, 80, 255, .12), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f9f8ff 100%);
}
.error-panel {
  max-width: 720px;
  text-align: center;
}
.error-code {
  margin: 0 0 8px;
  font-size: clamp(84px, 16vw, 140px);
  line-height: .9;
  letter-spacing: -.08em;
  font-weight: 800;
  background: linear-gradient(115deg, var(--pink), var(--coral) 45%, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-title {
  margin: 10px 0 16px;
  font-size: clamp(36px, 6vw, 56px);
  letter-spacing: -.05em;
  font-weight: 700;
}
.error-text {
  margin: 0 auto 28px;
  max-width: 520px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}
.error-actions .button--ghost {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}
.error-actions .button--ghost:hover {
  box-shadow: 0 12px 28px rgba(28, 25, 76, .08);
}
.error-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}
.error-links a {
  color: #6e7393;
  font-size: 13px;
  font-weight: 700;
}
.error-links a:hover { color: var(--purple); }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; display: flex; flex-wrap: wrap; gap: 10px 16px; }
}

@media (max-width: 720px) {
  .legal-main { padding: 28px 0 70px; }
  .legal-header h1 { font-size: clamp(32px, 10vw, 42px); }
  .error-main { padding: 40px 0 70px; }
  .error-actions { flex-direction: column; }
  .error-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
