:root {
  color-scheme: light;
  --ink: #101016;
  --muted: #5f574f;
  --paper: #fff8ef;
  --cream: #fff1da;
  --orange: #ff9d00;
  --orange-deep: #e97900;
  --blue: #208aef;
  --line: rgba(16, 16, 22, 0.14);
  --shadow: 0 28px 70px rgba(54, 31, 0, 0.22);
  --max: 1160px;
  font-family:
    ui-rounded,
    "SF Pro Rounded",
    "Nunito",
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 16px clamp(18px, 4vw, 52px);
  color: rgba(255, 248, 239, 0.92);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
.legal-header {
  color: var(--ink);
  background: rgba(255, 248, 239, 0.86);
  border-bottom: 1px solid rgba(16, 16, 22, 0.08);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  letter-spacing: 0;
}

.brand-link img {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(16, 16, 22, 0.18);
}

.site-header nav,
.site-footer div {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  font-size: 0.9rem;
  font-weight: 850;
}

.site-header nav a,
.site-footer a {
  opacity: 0.78;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.site-header nav a:hover,
.site-footer a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 7vw, 120px);
  min-height: 100svh;
  overflow: hidden;
  padding: 112px clamp(22px, 8vw, 160px) 72px;
  background:
    radial-gradient(circle at 72% 48%, rgba(255, 157, 0, 0.12), transparent 30%),
    #1b1b1e;
  color: #f7f3eb;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 248, 239, 0.035), transparent 58%);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 248, 239, 0.08);
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  width: min(580px, 100%);
  min-height: calc(100svh - 184px);
  margin: 0;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  color: white;
  font-size: 1.02rem;
  font-weight: 900;
}

.hero-brand img {
  border-radius: 9px;
}

.eyebrow {
  margin: 0 0 14px;
  color: color-mix(in srgb, var(--ink), var(--orange-deep) 42%);
  font-size: clamp(0.72rem, 1.1vw, 0.88rem);
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.legal-hero h1 {
  margin: 0;
  font-size: clamp(3.25rem, 5.4vw, 6.25rem);
  font-weight: 1000;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-line {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(247, 243, 235, 0.7);
  font-size: clamp(1.03rem, 1.24vw, 1.22rem);
  font-weight: 600;
  line-height: 1.55;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: calc(100svh - 184px);
  pointer-events: none;
}

.hero-mascot {
  position: relative;
  width: min(35vw, 560px);
  min-width: 360px;
  will-change: transform;
  filter: drop-shadow(0 42px 46px rgba(0, 0, 0, 0.42));
}

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

.store-button {
  display: inline-flex;
  min-width: 192px;
  min-height: 58px;
  flex-direction: column;
  justify-content: center;
  padding: 8px 20px 9px;
  border: 1px solid rgba(255, 248, 239, 0.76);
  border-radius: 7px;
  background: #050507;
  color: white;
  line-height: 1.05;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.store-button span {
  font-size: 0.75rem;
  font-weight: 800;
}

.store-button strong {
  font-size: 1.45rem;
  font-weight: 950;
}

.store-button:hover {
  border-color: white;
  background: #101016;
  transform: translateY(-2px);
}

.hero-legal {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 56px;
  color: rgba(247, 243, 235, 0.66);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-legal a:hover {
  color: white;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 950;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 0 rgba(16, 16, 22, 0.1);
}

.button.primary {
  background: var(--ink);
  color: white;
}

.button.secondary {
  background: rgba(255, 248, 239, 0.34);
  color: var(--ink);
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.strip p {
  margin: 0;
  padding: 24px clamp(18px, 4vw, 48px);
  border-right: 1px solid rgba(255, 248, 239, 0.18);
  font-size: clamp(1rem, 2vw, 1.55rem);
  font-weight: 950;
}

.strip p:last-child {
  border-right: 0;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(76px, 11vw, 150px) clamp(18px, 5vw, 72px);
}

.feature-dark {
  background:
    radial-gradient(circle at 78% 20%, rgba(32, 138, 239, 0.2), transparent 28%),
    var(--ink);
  color: var(--paper);
}

.feature-dark .eyebrow,
.feature-dark .feature-copy p {
  color: rgba(255, 248, 239, 0.72);
}

.feature-light {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  background: var(--paper);
}

.home-feature {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 0.8fr);
  background:
    linear-gradient(180deg, rgba(255, 248, 239, 0.88), rgba(255, 241, 218, 0.96)),
    var(--cream);
}

.home-screen-media {
  justify-self: center;
  width: min(430px, 100%);
  transform: rotate(2.5deg);
}

.home-screen-media img {
  width: 100%;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.feature-copy {
  max-width: 520px;
}

.feature-copy h2,
.widget-copy h2,
.privacy-copy h2,
.closing h2,
.legal-section h2 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  font-weight: 1000;
  line-height: 0.9;
  letter-spacing: 0;
}

.feature-copy p,
.widget-copy p,
.privacy-copy p,
.legal-hero p,
.legal-section p,
.legal-list {
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.55;
}

.poster-stack {
  position: relative;
  min-height: min(76vw, 720px);
}

.poster {
  position: absolute;
  width: min(44vw, 430px);
  border-radius: 36px;
  box-shadow: var(--shadow);
  transition:
    transform 220ms ease,
    filter 220ms ease;
}

.poster:hover {
  filter: saturate(1.06);
}

.poster-a {
  top: 0;
  left: 0;
  transform: rotate(-5deg);
}

.poster-a:hover {
  transform: rotate(-3deg) translateY(-8px);
}

.poster-b {
  right: 0;
  bottom: 0;
  transform: rotate(5deg);
}

.poster-b:hover {
  transform: rotate(3deg) translateY(-8px);
}

.ledger-media {
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
}

.ledger-media img {
  width: 100%;
}

.widget-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  overflow: hidden;
  padding: clamp(76px, 11vw, 150px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(32, 138, 239, 0.95), rgba(32, 138, 239, 0.62) 42%, rgba(255, 157, 0, 0.92)),
    var(--blue);
}

.widget-copy {
  max-width: 560px;
}

.widget-copy .eyebrow,
.widget-copy p,
.widget-copy h2 {
  color: white;
}

.widget-shot {
  width: min(560px, 100%);
  justify-self: center;
  border-radius: 38px;
  box-shadow: 0 34px 88px rgba(0, 39, 88, 0.3);
  transform: rotate(4deg);
}

.privacy-preview {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 0.65fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(76px, 10vw, 130px) 18px;
}

.privacy-mark {
  display: grid;
  place-items: center;
  min-height: 260px;
}

.privacy-mark img {
  border-radius: 24px;
  box-shadow: 0 24px 58px rgba(54, 31, 0, 0.14);
}

.privacy-copy {
  max-width: 740px;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  border-bottom: 3px solid var(--orange);
  font-weight: 950;
}

.closing {
  background: var(--orange);
  padding: clamp(78px, 12vw, 150px) 18px;
}

.closing-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.closing h2 {
  max-width: 860px;
  margin-bottom: 34px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 52px);
  background: var(--ink);
  color: var(--paper);
}

.site-footer p {
  margin: 0;
  font-weight: 950;
}

.legal-page {
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 157, 0, 0.18), transparent 30%),
    var(--paper);
}

.legal-shell {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 84px;
}

.legal-hero {
  padding-bottom: clamp(46px, 8vw, 86px);
}

.legal-hero h1 {
  font-size: clamp(4.4rem, 13vw, 10.5rem);
}

.legal-hero p {
  max-width: 740px;
  font-size: clamp(1.14rem, 2vw, 1.55rem);
}

.legal-section {
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
}

.legal-section h3 {
  margin: 0 0 7px;
  font-size: 1rem;
  font-weight: 950;
}

.legal-section a {
  border-bottom: 2px solid var(--orange);
  font-weight: 900;
}

.data-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
}

.data-list article {
  min-height: 170px;
  padding: 22px;
  background: rgba(255, 248, 239, 0.94);
}

.data-list p,
.legal-list {
  margin: 0;
  font-size: 0.98rem;
}

.legal-list {
  padding-left: 20px;
}

.legal-list li + li {
  margin-top: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    min-height: 64px;
  }

  .site-header nav {
    gap: 14px;
    font-size: 0.82rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
    padding: 104px 18px 64px;
  }

  .hero-copy {
    margin: 0 auto;
    min-height: auto;
    width: min(620px, 100%);
  }

  .hero h1 {
    font-size: clamp(3rem, 10vw, 5.4rem);
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-mascot {
    width: min(68vw, 460px);
    min-width: 0;
  }

  .strip,
  .feature,
  .home-feature,
  .feature-light,
  .widget-band,
  .privacy-preview {
    grid-template-columns: 1fr;
  }

  .strip p {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 248, 239, 0.18);
  }

  .strip p:last-child {
    border-bottom: 0;
  }

  .poster-stack {
    min-height: 760px;
  }

  .poster {
    width: min(78vw, 420px);
  }

  .poster-a {
    left: 0;
  }

  .poster-b {
    right: 0;
  }

  .data-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    min-height: 62px;
    padding: 12px 14px;
  }

  .brand-link span {
    display: none;
  }

  .site-header nav {
    gap: 10px;
    font-size: 0.76rem;
  }

  .site-header nav a:first-child {
    display: none;
  }

  .hero-copy {
    width: calc(100% - 28px);
  }

  .hero-line {
    max-width: 330px;
  }

  .hero {
    padding-top: 92px;
  }

  .hero::after {
    display: none;
  }

  .hero-mascot {
    width: min(88vw, 340px);
  }

  .hero-brand {
    margin-bottom: 26px;
  }

  .hero-legal {
    padding-top: 44px;
  }

  .actions {
    width: 100%;
  }

  .button {
    min-height: 46px;
    padding: 0 16px;
  }

  .feature,
  .widget-band {
    padding-inline: 14px;
  }

  .feature-copy h2,
  .widget-copy h2,
  .privacy-copy h2,
  .closing h2 {
    font-size: clamp(2.4rem, 13vw, 4.6rem);
  }

  .poster-stack {
    min-height: 640px;
  }

  .poster {
    border-radius: 24px;
  }

  .widget-shot,
  .ledger-media {
    border-radius: 24px;
  }

  .privacy-preview {
    padding-inline: 14px;
  }

  .privacy-mark {
    min-height: 150px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-shell {
    width: calc(100% - 28px);
    padding-top: 112px;
  }

  .data-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
