:root {
  --ink: #17151b;
  --muted: #6f6872;
  --line: rgba(23, 21, 27, .13);
  --paper: #fbfaf8;
  --soft: #f0edf0;
  --blue: #b8cdfa;
  --lilac: #d7baf2;
  --pink: #f4bfd0;
  --violet: #7f69cf;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
body, button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.site-header { position: fixed; z-index: 10; inset: 0 0 auto; padding: 20px 0; background: rgba(251,250,248,.78); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(23,21,27,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.04em; }
.brand img { width: 32px; height: 32px; }
.brand span { font-size: 20px; }
.nav-links { display: flex; gap: 26px; color: #625b65; font-size: 15px; font-weight: 650; }
.nav-links a:hover { color: var(--ink); }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 999px; padding: 13px 20px; font-size: 15px; font-weight: 750; transition: transform .2s ease, background .2s ease, color .2s ease; }
.nav-cta:hover, .button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: #fff; }
.button-light { background: rgba(255,255,255,.56); }
.button-ghost { border-color: var(--line); color: #5d5661; }

.hero { padding: 160px 0 76px; overflow: hidden; }
.hero-copy { max-width: 770px; margin: 0 auto 48px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #716978; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: "✦"; color: var(--violet); font-size: 18px; }
h1, h2, h3, p { margin: 0; }
h1 { margin-top: 20px; font-size: clamp(52px, 8vw, 100px); line-height: .94; letter-spacing: -.075em; font-weight: 850; }
.hero-copy p { max-width: 560px; margin: 24px auto 28px; color: var(--muted); font-size: 20px; line-height: 1.55; }
.button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-note { margin-top: 16px; color: #9a929d; font-size: 13px; }
.gallery-window {
  --gallery-speed: 90s;
  --gallery-gap: 1.3125rem;
  --gallery-width: 108.75rem;
  position: relative;
  width: var(--gallery-width);
  max-width: calc(100% - 48px);
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.gallery-row {
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 0.75rem 0;
}
.gallery-marquee {
  display: flex;
  width: max-content;
  will-change: transform;
}
.gallery-row--left .gallery-marquee {
  animation: gallery-slide-left var(--gallery-speed) linear infinite;
}
.gallery-row--right .gallery-marquee {
  animation: gallery-slide-right var(--gallery-speed) linear infinite;
}
.gallery-window.is-paused .gallery-marquee {
  animation-play-state: paused;
}
.gallery-strip {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--gallery-gap);
  padding-right: var(--gallery-gap);
}
.gallery-card {
  margin: 0;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 1.5rem;
  pointer-events: none;
  user-select: none;
  background: #ebe7ea;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-card--sm { width: 14.25rem; height: 18.9375rem; }
.gallery-card--md { width: 17.4375rem; height: 23.15625rem; }
.gallery-card--lg { width: 20.53125rem; height: 27.375rem; }
@keyframes gallery-slide-left {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes gallery-slide-right {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

#process, #studio, #download { scroll-margin-top: 96px; }
.section { padding: 110px 0; }
.section-soft { background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-kicker { margin-bottom: 12px; color: #897d8d; font-size: 13px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h2 { max-width: 740px; font-size: clamp(38px, 5.5vw, 66px); line-height: .98; letter-spacing: -.065em; }
.section-head p { max-width: 360px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { display: flex; flex-direction: column; padding: 0 18px 18px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.48); overflow: hidden; }
.step-number { position: absolute; z-index: 1; top: 12px; left: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 6px 16px rgba(23,21,27,.18); }
.step h3 { margin: 0 0 10px; font-size: 25px; letter-spacing: -.045em; }
.step p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.step-art { position: relative; width: calc(100% + 36px); margin: 0 -18px 18px; aspect-ratio: 2.4 / 1; overflow: hidden; background: #ebe7ea; }
.step-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.category { aspect-ratio: 4 / 3; min-height: 0; padding: 20px; display: flex; flex-direction: column; justify-content: end; border-radius: 24px; overflow: hidden; background: #17151b; position: relative; }
.category::before { position: absolute; inset: 0; content: ""; background: var(--art) center / cover no-repeat; transition: transform .5s ease; }
.category::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(18,15,21,.78), transparent 55%); }
.category:hover::before { transform: scale(1.05); }
.category-copy { position: relative; z-index: 1; color: #fff; }
.category-copy h3 { margin-bottom: 7px; font-size: 24px; letter-spacing: -.04em; }
.category-copy p { color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.45; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.value { padding: 28px 24px 18px 0; border-bottom: 1px solid var(--line); }
.value:nth-child(3n+2), .value:nth-child(3n+3) { padding-left: 24px; border-left: 1px solid var(--line); }
.value h3 { margin-bottom: 8px; font-size: 21px; letter-spacing: -.04em; }
.value p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.value-icon { width: 32px; height: 32px; display: grid; place-items: center; margin-bottom: 26px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--pink)); color: #352b48; font-weight: 800; }

.download-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; padding: clamp(28px, 6vw, 72px); border-radius: 32px; overflow: hidden; background: #17151b; color: #fff; }
.download-panel p { max-width: 500px; margin: 18px 0 28px; color: #c2bbc4; font-size: 17px; line-height: 1.6; }
.download-panel .button-light { border-color: #fff; background: #fff; color: var(--ink); }
.device-art { min-height: 360px; position: relative; display: grid; place-items: center; }
.device-art::before { position: absolute; left: 50%; top: 50%; width: 210px; height: 350px; content: ""; border-radius: 32px; transform: translate(-50%, -50%) rotate(-8deg); background: linear-gradient(145deg, #c7d8ff, #a578ca 46%, #f8bacd); box-shadow: 0 28px 80px rgba(194,135,231,.35); }
.device-phone { position: relative; z-index: 1; display: grid; place-items: center; width: 176px; height: 306px; border: 6px solid #0e0d11; border-radius: 32px; overflow: hidden; background: linear-gradient(160deg, #19172a, #3b3159 50%, #16141d); transform: rotate(-8deg); }
.device-phone::before { position: absolute; width: 88px; height: 88px; content: ""; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.device-logo { position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.download-note { margin-top: 14px; color: #9c93a0; font-size: 13px; }

.quote { padding: 130px 0; text-align: center; }
.quote blockquote { max-width: 840px; margin: 0 auto; font-size: clamp(38px, 5.5vw, 68px); line-height: 1; letter-spacing: -.065em; font-weight: 820; }
.quote cite { display: block; margin-top: 28px; color: var(--muted); font-size: 14px; font-style: normal; }

.page-hero { padding: 175px 0 80px; background: linear-gradient(145deg, #f7f3fc, #faf9f4 55%, #f8e8ed); }
.page-hero h1 { max-width: 720px; font-size: clamp(56px, 8.5vw, 96px); }
.page-hero p { max-width: 580px; margin-top: 22px; color: var(--muted); font-size: 20px; line-height: 1.6; }
.prose { max-width: 780px; padding: 84px 0 120px; }
.prose h2 { margin: 42px 0 14px; font-size: 30px; }
.prose h3 { margin: 28px 0 10px; font-size: 21px; }
.prose p, .prose li { color: #625a64; font-size: 16px; line-height: 1.8; }
.prose ul, .prose ol { padding-left: 22px; }
.prose .policy-list { margin-top: 0; margin-bottom: 22px; }
.prose li + li { margin-top: 8px; }
.support-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; padding: 90px 0 120px; }
.support-card { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.support-card label { display: block; margin-bottom: 7px; color: #655d67; font-size: 13px; font-weight: 750; }
.support-card input, .support-card textarea { width: 100%; margin-bottom: 19px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; outline: none; background: #fbfaf8; color: var(--ink); }
.support-card textarea { min-height: 150px; resize: vertical; }
.support-card input:focus, .support-card textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(127,105,207,.13); }
.support-status { margin-top: 14px; color: #746b76; font-size: 13px; line-height: 1.5; }

.site-footer { padding: 38px 0 28px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; gap: 30px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; color: #746c76; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 64px; color: #9c949d; font-size: 12px; }

@media (max-width: 820px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
  .site-header { padding: 14px 0; }
  .nav-links { display: none; }
  .nav-cta { padding: 10px 14px; }
  .hero { padding-top: 125px; }
  .hero-copy p { font-size: 18px; }
  .section { padding: 78px 0; }
  .section-head { display: block; margin-bottom: 28px; }
  .section-head p { margin-top: 18px; }
  .steps, .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category { aspect-ratio: 4 / 3; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(3n+2), .value:nth-child(3n+3) { padding-left: 0; border-left: 0; }
  .value:nth-child(2n) { padding-left: 18px; border-left: 1px solid var(--line); }
  .download-panel, .support-layout { grid-template-columns: 1fr; gap: 20px; }
  .device-art { min-height: 270px; }
  .support-layout { padding: 60px 0 90px; }
  .footer-top, .footer-bottom { display: block; }
  .footer-links { margin-top: 20px; }
  .footer-bottom p + p { margin-top: 10px; }
}

@media (max-width: 520px) {
  h1 { font-size: 58px; }
  .steps, .category-grid, .value-grid { grid-template-columns: 1fr; }
  .category { aspect-ratio: 4 / 3; }
  .value, .value:nth-child(2n) { padding: 24px 0; border-left: 0; }
  .page-hero { padding-top: 135px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .gallery-marquee { animation: none !important; transform: translate3d(-12%, 0, 0); }
}
