:root {
  --ember: #f36622;
  --ember-hot: #ff7a38;
  --ember-deep: #c84912;
  --ink: #12131a;
  --ink-soft: #2a2c36;
  --mist: #d8d6d0;
  --stone: #eceae4;
  --paper: #f6f4ef;
  --night: #0e0f14;
  --night-soft: #1a1c24;
  --line: rgba(18, 19, 26, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);
  --font-display: "Syne", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.brand.is-light {
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  opacity: 0.9;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links.is-light a {
  color: rgba(255, 255, 255, 0.9);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--night);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 15, 20, 0.28) 0%, rgba(14, 15, 20, 0.18) 36%, rgba(14, 15, 20, 0.78) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(243, 102, 34, 0.22), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 7vw, 4.5rem);
  animation: riseIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 10vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.hero-title {
  margin: 0 0 0.85rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.hero-copy {
  margin: 0 0 1.6rem;
  max-width: 34ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--ember-hot), var(--ember-deep));
  box-shadow: 0 14px 34px rgba(200, 73, 18, 0.35);
  animation: ctaPulse 2.8s ease-in-out infinite;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff8650, var(--ember));
}

.btn-ghost {
  color: #fff;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.apple-mark {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1;
  width: min(760px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 7.5rem 0 4rem;
  animation: riseIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-main.wide {
  width: min(920px, calc(100% - 2.5rem));
}

.page-kicker {
  margin: 0 0 0.65rem;
  color: var(--ember-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.page-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.page-lead {
  margin: 0 0 2rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 52ch;
}

.prose h2 {
  margin: 2.4rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.prose p,
.prose li {
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 1.02rem;
}

.prose ul {
  padding-left: 1.2rem;
}

.prose a {
  color: var(--ember-deep);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.support-grid {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}

@media (min-width: 720px) {
  .support-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.support-item {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.55);
}

.support-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.support-item p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: 0.98rem;
}

.contact-box {
  display: grid;
  gap: 0.85rem;
  padding: 1.35rem 1.4rem;
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(243, 102, 34, 0.14), transparent 45%),
    var(--night);
  color: #fff;
}

.contact-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.contact-box a.btn {
  width: fit-content;
}

.creator-card {
  margin: 0 0 1.5rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.62);
}

.creator-card h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.creator-note {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.creator-error {
  margin: 0.85rem 0 0;
  color: var(--ember-deep);
  font-weight: 600;
  font-size: 0.95rem;
}

.creator-form {
  display: grid;
  gap: 0.45rem;
}

.creator-form label {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
}

.creator-form input,
.creator-form textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fff;
  color: var(--ink);
  resize: vertical;
}

.creator-form input:focus,
.creator-form textarea:focus {
  outline: 2px solid var(--ember);
  outline-offset: 1px;
}

.creator-form .btn {
  width: fit-content;
  margin-top: 0.35rem;
}

.creator-stats {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}

@media (min-width: 640px) {
  .creator-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.creator-stat {
  display: grid;
  gap: 0.3rem;
  padding: 1.1rem 1.2rem;
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(243, 102, 34, 0.16), transparent 55%),
    var(--night);
  color: #fff;
}

.creator-stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.creator-stat strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.creator-history-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.creator-history-row:last-child {
  border-bottom: 0;
}

.creator-badge {
  margin-left: auto;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--stone);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: capitalize;
}

.creator-link {
  color: var(--ember-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  padding: 0;
}

.site-footer {
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 2.4rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-brand strong {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.footer-brand span {
  color: #6d6f78;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--ember-deep);
}

.legal-meta {
  margin-top: 1.5rem;
  color: #6d6f78;
  font-size: 0.9rem;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -1%, 0);
  }
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 14px 34px rgba(200, 73, 18, 0.32);
  }
  50% {
    box-shadow: 0 16px 42px rgba(200, 73, 18, 0.48);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img,
  .btn-primary,
  .hero-content,
  .page-main {
    animation: none;
  }
}
