:root {
  --ink: #16161a;
  --paper: #fbfaf7;
  --sky: #2f9be6;
  --sky-light: #6cc1f5;
  --coral: #ff5a4e;
  --coral-hover: #ff4436;
  --orange: #ff7a1a;
  --sun: #ffb02e;
  --dark-card: #232328;
  --display: 'Bricolage Grotesque', sans-serif;
  --inset: clamp(8px, 1.5vw, 20px);
  --pad-x: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  background: var(--paper); color: var(--ink);
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; transition: color .15s, background-color .15s; }
a:hover { color: var(--coral); }
input, select, textarea, button { font-family: inherit; color: var(--ink); }
img { display: block; }
section, header { scroll-margin-top: 70px; }

.page { min-height: 100vh; overflow-x: clip; }
.inset { margin-left: var(--inset); margin-right: var(--inset); border-radius: 32px; }
.wrap { max-width: 1320px; margin: 0 auto; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(251, 250, 247, 0.88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em;
}
.logo:hover { color: var(--ink); }
.logo-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--coral); display: inline-block; }
.nav-links { display: flex; align-items: center; gap: clamp(12px, 3vw, 32px); font-size: 14px; font-weight: 500; }
.nav-apply { background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; }
.nav-apply:hover { background: var(--coral); color: #fff; }
@media (max-width: 560px) { .nav-text { display: none; } }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky-light) 100%);
  padding: clamp(48px, 7vw, 96px) var(--pad-x) 0;
}
.hero-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 40px; align-items: end; max-width: 1320px; margin: 0 auto;
}
.hero-copy { padding-bottom: clamp(40px, 6vw, 96px); color: #fff; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.18); border-radius: 999px; padding: 8px 16px;
  font-size: 14px; font-weight: 500; margin-bottom: 28px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(52px, 8vw, 118px); line-height: 0.9; letter-spacing: -0.045em;
  margin: 0 0 28px; text-wrap: balance;
}
.hero-copy p { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; max-width: 500px; margin: 0 0 36px; text-wrap: pretty; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { padding: 18px 30px; border-radius: 999px; font-weight: 600; font-size: 17px; }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-hover); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }

.collage { position: relative; height: clamp(460px, 52vw, 640px); margin-top: 40px; }
.photo {
  position: absolute; border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(10, 40, 80, 0.3);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-1 { left: 0; bottom: -30px; width: 56%; aspect-ratio: 3 / 4; transform: rotate(-6deg); }
.photo-2 { right: 0; top: 24px; width: 52%; aspect-ratio: 2 / 3; transform: rotate(5deg); }
.stat-card {
  position: absolute;
  background: #fff; padding: 14px 18px; border-radius: 16px;
  box-shadow: 0 12px 30px rgba(10, 40, 80, 0.2);
}
.stat-card-a { left: 4%; top: 10%; transform: rotate(-4deg); }
.stat-card-b { left: 44%; top: 40%; transform: rotate(3deg); }
.stat-label { font-size: 12px; color: #6b6b73; margin-bottom: 2px; }
.stat-value { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; white-space: nowrap; }

/* Shared H2 */
.h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(40px, 5.5vw, 76px); line-height: 0.95; letter-spacing: -0.04em;
  margin: 0; text-wrap: balance;
}

/* How it works */
.how { max-width: 1320px; margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--pad-x); }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 56px;
}
.section-head .h2 { max-width: 760px; }
.section-head p { font-size: 17px; line-height: 1.55; color: #55555c; max-width: 380px; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.step {
  border-radius: 28px; padding: 32px 28px; min-height: 300px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.step-n { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -0.04em; }
.step h3 { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; margin: 0 0 10px; }
.step p { font-size: 16px; line-height: 1.55; margin: 0; opacity: 0.9; }

/* Testimonials */
.creators { background: var(--ink); color: #fff; padding: clamp(72px, 9vw, 120px) var(--pad-x); }
.creators .h2 { max-width: 800px; margin-bottom: 56px; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.quote { margin: 0; background: var(--dark-card); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.quote-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.quote-img img { width: 100%; height: 100%; object-fit: cover; }
.q-handle, .q-stat { position: absolute; color: #fff; padding: 8px 14px; border-radius: 10px; font-size: 14px; }
.q-handle { left: 16px; top: 16px; background: var(--ink); font-weight: 500; }
.q-stat { right: 16px; bottom: 16px; font-weight: 600; }
.quote blockquote { margin: 0; padding: 28px; font-size: 19px; line-height: 1.5; text-wrap: pretty; flex: 1; }
.quote figcaption { padding: 0 28px 28px; font-size: 14px; color: #a5a5ad; }

/* FAQ */
.faq { max-width: 1080px; margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--pad-x); }
.faq .h2 { margin-bottom: 48px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 2px solid var(--ink); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  background: none; border: 0; padding: 26px 0; cursor: pointer; text-align: left;
}
.faq-q > span:first-child {
  font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -0.02em;
  transition: color .15s;
}
.faq-q:hover > span:first-child { color: var(--coral); }
.faq-icon {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 500;
  transition: background-color .2s ease-out;
}
.faq-item.open .faq-icon { background: var(--coral); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s ease-out; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > p {
  overflow: hidden; min-height: 0;
  font-size: 17px; line-height: 1.6; color: #45454c;
  margin: 0; padding: 0 64px 0 0; max-width: 780px; text-wrap: pretty;
  transition: padding-bottom .2s ease-out;
}
.faq-item.open .faq-a > p { padding-bottom: 28px; }
@media (max-width: 560px) { .faq-a > p { padding-right: 0; } }

/* Apply */
.apply {
  background: var(--orange); margin-bottom: var(--inset);
  padding: clamp(72px, 9vw, 120px) var(--pad-x);
}
.apply-grid {
  max-width: 1320px; margin: 0 auto; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(40px, 6vw, 80px); align-items: start;
}
.apply-h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(48px, 7vw, 104px); line-height: 0.9; letter-spacing: -0.045em; margin: 0 0 24px;
}
.apply-lede { font-size: 19px; line-height: 1.55; max-width: 440px; margin: 0; }
.card { background: var(--paper); border-radius: 28px; }
.form { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.row-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea {
  border: 2px solid var(--ink); border-radius: 14px; font-size: 16px; background: #fff; width: 100%;
}
.field input, .field select { height: 52px; padding: 0 16px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2316161a' stroke-width='2.2'/%3E%3C/svg%3E") no-repeat right 18px center;
}
.field textarea { padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coral); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink);
  background: #fff; font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.pill.on { background: var(--ink); color: #fff; }
.submit {
  height: 60px; border: 0; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 17px; font-weight: 600; cursor: pointer; margin-top: 6px; transition: background-color .15s;
}
.submit:hover { background: var(--coral); }
.submit:disabled { opacity: 0.7; cursor: progress; }
.form-error { margin: 0; font-size: 14px; color: #c42a1f; font-weight: 500; }

.success { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.success[hidden], .form[hidden] { display: none; }
.success-handle { background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 12px; font-size: 15px; font-weight: 500; }
.success h3 { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -0.03em; line-height: 1; margin: 0; }
.success p { font-size: 17px; line-height: 1.55; color: #45454c; margin: 0; }
.reset { background: none; border: 0; padding: 0; font-size: 15px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.reset:hover { color: var(--coral); }

/* Footer */
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding: 28px var(--pad-x) 40px; font-size: 14px; color: #6b6b73;
}
.footer-mark { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: -0.03em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
