:root {
  --s-25: 2px;
  --s-50: 4px;
  --s-75: 8px;
  --s-100: 12px;
  --s-200: 16px;
  --s-300: 24px;
  --s-400: 32px;
  --s-500: 40px;
  --s-600: 48px;
  --s-700: 64px;
  --s-800: 80px;
  --s-900: 96px;
  --ink: #111111;
  --muted: #5c5c5c;
  --faint: rgba(17, 17, 17, 0.3);
  --line: #e6e6e6;
  --paper: #ffffff;
  --soft: #f3f3f3;
  --danger: #8f2d2d;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: Manrope, "Segoe UI", sans-serif;
  --header: 96px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  text-wrap: pretty;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
.tagline {
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

.skip {
  position: absolute;
  left: var(--s-200);
  top: -48px;
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-75) var(--s-100);
  border-radius: 999px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.skip:focus {
  top: var(--s-200);
}

.header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-200);
  padding: var(--s-200) var(--s-200) 0;
  position: relative;
  z-index: 40;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: var(--s-75);
  max-width: 280px;
}

.brand-name {
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.brand-role {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-desktop {
  display: none;
}

.menu-btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  position: relative;
  flex: none;
  cursor: pointer;
}

.menu-btn span {
  position: absolute;
  left: 9px;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 500ms var(--ease), opacity 300ms var(--ease);
}

.menu-btn span:nth-child(1) { top: 14px; }
.menu-btn span:nth-child(2) { top: 19px; }
.menu-btn span:nth-child(3) { top: 24px; }

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--s-300);
  padding: 140px var(--s-400) var(--s-700);
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms var(--ease);
}

.menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu a {
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

.menu.is-open a {
  opacity: 1;
  transform: none;
}

.menu.is-open a:nth-child(1) { transition-delay: 0ms; }
.menu.is-open a:nth-child(2) { transition-delay: 60ms; }
.menu.is-open a:nth-child(3) { transition-delay: 120ms; }
.menu.is-open a:nth-child(4) { transition-delay: 180ms; }
.menu.is-open a:nth-child(5) { transition-delay: 240ms; }
.menu.is-open a:nth-child(6) { transition-delay: 300ms; }

.menu a[aria-current="true"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  grid-template-rows: auto auto auto;
  column-gap: var(--s-75);
  row-gap: var(--s-200);
  padding: var(--s-200) var(--s-200) 0;
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  max-width: 680px;
}

.hero h1 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero h1 span {
  display: block;
  color: var(--ink);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 span {
    background-image: linear-gradient(90deg, #000000, #666666);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero-photo-wrap {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  min-height: 360px;
  margin-right: calc(var(--s-200) * -1);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

.hero-btn {
  grid-column: 1 / -1;
  grid-row: 2;
}

.proof {
  grid-column: 1 / -1;
  grid-row: 3;
  max-width: 680px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-75);
  border: 0;
  cursor: pointer;
  text-decoration: none;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: var(--s-200) var(--s-300);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  transition: background 300ms var(--ease), transform 500ms var(--ease);
}

.btn-small {
  padding: var(--s-75) var(--s-100);
  font-size: 14px;
  line-height: 20px;
}

.hero-btn,
.btn-block {
  width: 100%;
}

.btn:hover {
  background: #272727;
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.98);
}

.btn svg {
  flex: none;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-75);
  padding: var(--s-400) var(--s-100) var(--s-200);
  text-align: center;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-100);
  background: transparent;
  border: 0;
  padding: var(--s-75);
  cursor: pointer;
  border-radius: 16px;
  transition: transform 500ms var(--ease), background 300ms var(--ease);
}

.feature svg {
  width: 28px;
  height: 28px;
}

.feature span {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  max-width: 12em;
}

.feature:hover {
  background: var(--soft);
  transform: translateY(-2px);
}

.feature:active {
  transform: scale(0.98);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: var(--s-200);
  align-items: start;
  padding: var(--s-500) var(--s-200) var(--s-700);
}

.kicker {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--s-100);
}

.about p,
.story p,
.step p,
.format p,
.quote p,
.faq-panel p,
.lead,
.note,
.legal p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.about .lede {
  color: var(--ink);
  margin-bottom: var(--s-200);
}

.about-photo {
  width: 112px;
  height: 144px;
  object-fit: cover;
  object-position: 72% 18%;
  filter: grayscale(1);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.text-link svg {
  transition: transform 300ms var(--ease);
}

.text-link:hover svg {
  transform: translateX(4px);
}

.text-link:active {
  transform: translateY(1px);
}

.section {
  padding: var(--s-700) var(--s-200);
}

.section-head {
  max-width: 680px;
  margin-bottom: var(--s-500);
}

.section h2 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.lead {
  margin-top: var(--s-200);
  color: var(--muted);
  max-width: 680px;
}

.tagline-section {
  padding: var(--s-800) var(--s-200);
  background: var(--paper);
}

.tagline {
  max-width: 680px;
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.word {
  color: var(--faint);
  transition: color 500ms var(--ease);
}

.word.is-on {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.formats,
.steps,
.quotes {
  display: grid;
  gap: var(--s-500);
}

.format h3,
.step h3,
.quote h3 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  margin-bottom: var(--s-75);
}

.format p,
.step p,
.quote p {
  color: var(--muted);
  margin-bottom: var(--s-200);
}

.step-num {
  display: block;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.16em;
  font-weight: 700;
  margin-bottom: var(--s-100);
}

.story {
  display: grid;
  gap: var(--s-400);
}

.story-copy p + p {
  margin-top: var(--s-200);
}

.story-photo {
  width: 100%;
  height: 320px;
  object-fit: contain;
  object-position: center;
  background: var(--paper);
}

.quotes {
  gap: var(--s-500);
}

.quote footer {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.quote footer span {
  display: block;
  font-weight: 500;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: var(--s-100);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: var(--s-200);
  background: var(--paper);
}

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: var(--s-200);
  align-items: center;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.faq-item button svg {
  flex: none;
  transition: transform 500ms var(--ease);
}

.faq-item button[aria-expanded="true"] svg {
  transform: rotate(45deg);
}

.faq-panel {
  display: none;
  padding-top: var(--s-100);
  color: var(--muted);
}

.faq-item.is-open .faq-panel {
  display: block;
}

.signup {
  display: grid;
  gap: var(--s-400);
}

.form-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: var(--s-200);
}

.form {
  display: grid;
  gap: var(--s-200);
}

.field {
  display: grid;
  gap: var(--s-75);
}

.field label {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: var(--s-100);
  font-size: 16px;
  line-height: 24px;
  transition: border-color 300ms var(--ease);
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #bdbdbd;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  color: var(--danger);
  font-size: 14px;
  line-height: 20px;
  margin: 0;
}

.note {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.hp {
  position: absolute;
  left: -999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-skeleton {
  display: grid;
  gap: var(--s-100);
}

.skeleton {
  height: 48px;
  border-radius: 8px;
  background: var(--soft);
  animation: pulse 800ms var(--ease) infinite alternate;
}

.skeleton.short {
  width: 42%;
  height: 16px;
}

.form-success h3 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  margin-bottom: var(--s-100);
}

.form-success p {
  color: var(--muted);
  margin-bottom: var(--s-300);
}

.channel-note {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}

.contacts {
  padding: var(--s-700) var(--s-200) var(--s-500);
  text-align: center;
}

.contacts .kicker {
  margin-bottom: var(--s-300);
}

.socials {
  display: flex;
  justify-content: center;
  gap: var(--s-200);
}

.social {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 300ms var(--ease), color 300ms var(--ease), transform 500ms var(--ease);
}

.social:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.social:active {
  transform: scale(0.98);
}

.footer {
  display: flex;
  flex-direction: column;
  gap: var(--s-100);
  padding: var(--s-300) var(--s-200) var(--s-500);
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-200);
}

.footer a:hover {
  color: var(--ink);
}

.page {
  padding: var(--s-600) var(--s-200) var(--s-800);
  max-width: 760px;
}

.page h1 {
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: var(--s-300);
  max-width: 680px;
}

.legal p + p,
.page p + p {
  margin-top: var(--s-200);
}

.legal h2,
.page h2 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  margin: var(--s-400) 0 var(--s-100);
}

.empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-200);
  margin-top: var(--s-400);
}

@keyframes pulse {
  from { opacity: 1; }
  to { opacity: 0.45; }
}

@media (min-width: 480px) {
  .hero h1 {
    font-size: 30px;
    line-height: 36px;
  }
}

@media (min-width: 800px) {
  .header {
    align-items: center;
    padding: var(--s-400) var(--s-600) 0;
  }

  .nav-desktop {
    display: flex;
    align-items: center;
    gap: var(--s-300);
  }

  .nav-desktop a {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
  }

  .nav-desktop a[aria-current="true"] {
    text-decoration: underline;
    text-underline-offset: 6px;
  }

  .nav-desktop a:hover {
    opacity: 0.6;
  }

  .menu-btn,
  .menu {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(320px, 680px) minmax(360px, 1fr);
    grid-template-rows: 1fr auto auto;
    column-gap: var(--s-600);
    row-gap: var(--s-300);
    padding: var(--s-500) 0 0 var(--s-600);
    min-height: 720px;
  }

  .hero h1 {
    font-size: 60px;
    line-height: 1;
  }

  .hero-photo-wrap {
    grid-row: 1 / span 3;
    min-height: 0;
    margin-right: 0;
  }

  .hero-btn,
  .proof {
    grid-column: 1;
  }

  .hero-btn {
    grid-row: 2;
    width: auto;
    justify-self: start;
  }

  .proof {
    grid-row: 3;
  }

  .features {
    max-width: 760px;
    margin: 0 auto;
    padding: var(--s-600) var(--s-400) var(--s-200);
    gap: var(--s-400);
  }

  .feature span {
    font-size: 14px;
    line-height: 20px;
  }

  .about {
    grid-template-columns: minmax(0, 560px) 220px;
    gap: var(--s-600);
    max-width: 1040px;
    margin: 0 auto;
    padding: var(--s-700) var(--s-600);
    align-items: center;
  }

  .about-photo {
    width: 220px;
    height: 260px;
    justify-self: end;
  }

  .section,
  .tagline-section,
  .contacts {
    padding-left: var(--s-600);
    padding-right: var(--s-600);
  }

  .section-narrow,
  .tagline,
  .signup-copy,
  .contacts-inner {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }

  .tagline {
    font-size: 48px;
    line-height: 1;
  }

  .section h2 {
    font-size: 48px;
    line-height: 1;
  }

  .formats,
  .steps,
  .quotes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-400);
    max-width: 1120px;
  }

  .story {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
    gap: var(--s-700);
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
  }

  .story-photo {
    height: 460px;
  }

  .signup {
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.85fr);
    gap: var(--s-700);
    align-items: start;
    max-width: 1120px;
  }

  .faq {
    max-width: 760px;
  }

  .footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
    padding: var(--s-400) var(--s-600) var(--s-600);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .menu a,
  .word {
    opacity: 1;
    transform: none;
    color: var(--ink);
  }
}
