:root {
  color-scheme: light;
  --ink: #161618;
  --graphite: #232326;
  --signal: #fcd94d;
  --paper: #fff8ed;
  --surface: #ffffff;
  --muted: #666269;
  --hairline: rgba(22, 22, 24, 0.11);
  --danger: #a6292b;
  --green: #166c46;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --shadow: 0 24px 70px rgba(28, 24, 18, 0.12);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 2%, rgba(252, 217, 77, 0.34), transparent 24rem),
    var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 12px;
  color: var(--paper);
  background: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  padding: 22px 0;
}

.nav-shell,
.brand,
.nav-links,
.hero-actions,
.trust-row,
.footer-links,
.legal-meta {
  display: flex;
  align-items: center;
}

.nav-shell {
  justify-content: space-between;
  gap: 24px;
}

.brand {
  gap: 11px;
  font-size: 21px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(22, 22, 24, 0.16);
}

.brand-latin,
.eyebrow,
.step-index,
.mini-label,
.legal-kicker {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover {
  text-decoration: underline;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: var(--signal);
  box-shadow: 0 12px 26px rgba(193, 148, 0, 0.2);
}

.button-secondary {
  border-color: var(--hairline);
  background: rgba(255, 255, 255, 0.6);
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

.hero {
  display: grid;
  min-height: 720px;
  align-items: center;
  gap: clamp(52px, 8vw, 118px);
  grid-template-columns: minmax(0, 0.95fr) minmax(400px, 1.05fr);
  padding: 68px 0 110px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 700;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--signal);
  box-shadow: 0 0 0 6px rgba(252, 217, 77, 0.22);
  content: "";
}

.hero h1,
.section-heading h2,
.legal-hero h1 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(58px, 7.4vw, 104px);
}

.hero h1 span {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.hero h1 span::after {
  position: absolute;
  z-index: -1;
  right: -0.06em;
  bottom: 0.06em;
  left: -0.04em;
  height: 0.26em;
  transform: rotate(-1deg);
  border-radius: 999px;
  background: var(--signal);
  content: "";
}

.hero-copy {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.trust-row {
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.trust-row span::before {
  margin-right: 7px;
  color: var(--green);
  content: "✓";
}

.hero-studio {
  position: relative;
  min-height: 610px;
}

.poster-sheet,
.phone-shell {
  position: absolute;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.poster-sheet {
  top: 15px;
  right: 0;
  width: min(78%, 410px);
  aspect-ratio: 3 / 4;
  transform: rotate(7deg);
  border: 10px solid var(--surface);
  border-radius: 26px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.3), transparent 35%),
    #ef6049;
}

.poster-sheet::before {
  position: absolute;
  top: -16%;
  left: -26%;
  width: 92%;
  height: 58%;
  transform: rotate(-16deg);
  border-radius: 50%;
  background: var(--signal);
  content: "";
}

.poster-copy {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 42px;
  left: 32px;
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.poster-copy small {
  display: block;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.poster-sticker {
  position: absolute;
  z-index: 2;
  top: 36px;
  right: 24px;
  width: 86px;
  transform: rotate(11deg);
}

.phone-shell {
  z-index: 3;
  bottom: 0;
  left: 0;
  width: min(68%, 360px);
  padding: 14px;
  transform: rotate(-5deg);
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 48px;
  color: var(--paper);
  background: var(--ink);
}

.phone-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 8px 16px;
  color: rgba(255, 248, 237, 0.72);
  font-size: 12px;
}

.phone-pill {
  width: 76px;
  height: 22px;
  border-radius: 999px;
  background: #050505;
}

.canvas-card {
  position: relative;
  min-height: 390px;
  padding: 34px 29px;
  border-radius: 34px;
  color: var(--ink);
  background: var(--paper);
}

.canvas-card .mini-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.canvas-card blockquote {
  margin: 82px 0 0;
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1.18;
}

.canvas-card footer {
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
}

.quote-sticker {
  position: absolute;
  top: 38px;
  right: 23px;
  width: 74px;
  transform: rotate(8deg);
}

.studio-note {
  position: absolute;
  z-index: 5;
  right: 3%;
  bottom: 42px;
  max-width: 185px;
  padding: 16px 18px;
  transform: rotate(2deg);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(22, 22, 24, 0.1);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.studio-note::before {
  position: absolute;
  top: -20px;
  left: 50%;
  width: 64px;
  height: 38px;
  transform: translateX(-50%) rotate(-4deg);
  background: url("/assets/tape-yellow.png") center / contain no-repeat;
  content: "";
}

.section {
  padding: 118px 0;
}

.section-white {
  background: var(--surface);
}

.section-dark {
  color: var(--paper);
  background: var(--ink);
}

.section-heading {
  display: grid;
  align-items: end;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  margin-bottom: 54px;
}

.section-heading h2 {
  max-width: 760px;
  font-size: clamp(42px, 5vw, 70px);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-dark .section-heading p {
  color: #bbb4a8;
}

.feature-grid,
.steps-grid,
.privacy-grid,
.support-grid {
  display: grid;
  gap: 20px;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
}

.feature-card h3 {
  margin: 12px 0 12px;
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.feature-card p {
  max-width: 440px;
  margin: 0;
  color: inherit;
  opacity: 0.7;
}

.feature-card-dark {
  color: var(--paper);
  background: var(--ink);
}

.feature-card-yellow {
  background: var(--signal);
}

.feature-demo {
  position: absolute;
  right: 40px;
  bottom: -52px;
  left: 40px;
  height: 250px;
  padding: 32px;
  transform: rotate(-2deg);
  border-radius: 28px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.feature-demo strong {
  display: block;
  max-width: 320px;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.05em;
  line-height: 1.14;
}

.feature-demo span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.poster-demo {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 52%),
    #416d77;
}

.poster-demo span {
  color: rgba(255, 248, 237, 0.7);
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card,
.privacy-card,
.support-card {
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
}

.step-index {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.step-card h3,
.privacy-card h3,
.support-card h3 {
  margin: 56px 0 10px;
  font-size: 23px;
  letter-spacing: -0.035em;
}

.step-card p,
.privacy-card p,
.support-card p {
  margin: 0;
  color: var(--muted);
}

.privacy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.privacy-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: var(--graphite);
}

.privacy-card .step-index {
  color: var(--signal);
}

.privacy-card h3 {
  color: var(--paper);
}

.privacy-card p {
  color: #bbb4a8;
}

.privacy-link {
  display: inline-flex;
  margin-top: 38px;
  color: var(--signal);
  font-weight: 700;
}

.cta {
  display: grid;
  align-items: center;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 54px;
  border-radius: var(--radius-lg);
  color: var(--paper);
  background: #ef6049;
}

.cta h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.cta p {
  margin: 16px 0 0;
  color: rgba(255, 248, 237, 0.82);
}

.site-footer {
  padding: 38px 0 46px;
  border-top: 1px solid var(--hairline);
}

.footer-shell {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.footer-copy {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 24px;
  font-size: 14px;
}

.legal-page {
  background: var(--paper);
}

.legal-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--hairline);
}

.legal-kicker {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.legal-hero h1 {
  font-size: clamp(48px, 7vw, 82px);
}

.legal-intro {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.legal-meta {
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 13px;
}

.legal-layout {
  display: grid;
  align-items: start;
  gap: 72px;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: center;
  padding: 72px 0 120px;
}

.legal-toc {
  position: sticky;
  top: 28px;
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.62);
}

.legal-toc strong {
  display: block;
  margin-bottom: 12px;
}

.legal-toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

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

.legal-article section {
  scroll-margin-top: 24px;
}

.legal-article section + section {
  margin-top: 56px;
  padding-top: 50px;
  border-top: 1px solid var(--hairline);
}

.legal-article h2 {
  margin: 0 0 18px;
  font-size: 30px;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.legal-article h3 {
  margin: 30px 0 10px;
  font-size: 19px;
}

.legal-article p,
.legal-article li {
  color: #3f3d41;
}

.legal-article ul,
.legal-article ol {
  padding-left: 1.3em;
}

.legal-article li + li {
  margin-top: 9px;
}

.notice {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 5px solid var(--signal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(252, 217, 77, 0.17);
}

.data-table-wrap {
  overflow-x: auto;
  margin: 26px 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.data-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: rgba(22, 22, 24, 0.04);
  font-size: 13px;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.support-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-card h3 {
  margin-top: 20px;
}

.support-card a {
  font-weight: 700;
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px 20px;
  text-align: center;
}

.error-card img {
  width: 76px;
  margin: 0 auto 26px;
  border-radius: 22px;
}

.error-card h1 {
  margin: 0;
  font-size: clamp(64px, 12vw, 120px);
  letter-spacing: -0.07em;
  line-height: 1;
}

.error-card p {
  margin: 18px 0 28px;
  color: var(--muted);
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-studio {
    width: min(100%, 660px);
    min-height: 620px;
    margin-inline: auto;
  }

  .section-heading,
  .cta {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    display: none;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    padding: 15px 0;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .header-action {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 80px;
  }

  .hero h1 {
    font-size: clamp(52px, 17vw, 76px);
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-studio {
    min-height: 500px;
  }

  .poster-sheet {
    width: 73%;
  }

  .phone-shell {
    width: 70%;
    border-radius: 38px;
  }

  .canvas-card {
    min-height: 310px;
    padding: 26px 22px;
    border-radius: 26px;
  }

  .canvas-card blockquote {
    margin-top: 62px;
  }

  .studio-note {
    right: 0;
    max-width: 150px;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading {
    gap: 20px;
    margin-bottom: 34px;
  }

  .feature-card {
    min-height: 440px;
  }

  .feature-demo {
    right: 22px;
    left: 22px;
  }

  .steps-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .step-card h3 {
    margin-top: 32px;
  }

  .cta {
    padding: 34px 26px;
  }

  .cta .button {
    width: 100%;
  }

  .footer-shell {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-hero {
    padding: 54px 0 38px;
  }

  .legal-layout {
    padding: 48px 0 84px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
