:root {
  color-scheme: light;
  --ink: #202124;
  --muted: #66625d;
  --paper: #f4efe6;
  --white: #fffdf8;
  --night: #1d1e20;
  --night-raised: #292a2d;
  --orange: #ff681b;
  --orange-soft: #ffe0ca;
  --line: rgba(32, 33, 36, .12);
  --shadow-soft: 0 18px 55px rgba(32, 33, 36, .11);
  --shadow-float: 0 12px 34px rgba(32, 33, 36, .14);
  --shadow-lift: 0 28px 80px rgba(32, 33, 36, .16);
  --page-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", "Yu Gothic UI", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--page-width), calc(100% - 4rem)); margin: 0 auto; }

.site-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 20;
  width: min(var(--page-width), calc(100% - 4rem));
  transform: translateX(-50%);
  border-radius: 50px;
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav {
  min-height: 58px;
  padding: .7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand-group { display: flex; align-items: center; min-width: 0; }
.site-brand, .product-brand { display: inline-flex; align-items: center; text-decoration: none; }
.site-brand { min-width: 0; gap: .55rem; font-size: .95rem; font-weight: 500; }
.site-brand img { width: 32px; height: 32px; }
.product-brand { padding-left: 1rem; margin-left: .45rem; border-left: 1px solid var(--line); font-weight: 750; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; font-size: .92rem; font-weight: 500; }
.nav-links a { color: var(--ink); text-decoration: none; transition: color .2s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--orange); }
.nav-links .language { color: var(--muted); }

.hero {
  min-height: 760px;
  padding: 9.5rem 0 6.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,104,27,.18), transparent 28rem),
    var(--night);
  color: var(--white);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}
.hero-copy { position: relative; z-index: 2; }
.app-lockup { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.7rem; }
.app-icon-image {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(0,0,0,.3);
}
.app-name { display: block; font-size: 1.25rem; font-weight: 750; line-height: 1.2; }
.app-kind { display: block; margin-top: .2rem; color: rgba(255,255,255,.6); font-size: .9rem; }
.eyebrow { margin: 0 0 1rem; color: var(--orange); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.2; letter-spacing: -.025em; }
h1 { margin-bottom: 1.5rem; font-size: clamp(3rem, 6vw, 5.4rem); font-weight: 700; }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { margin-bottom: .65rem; font-size: 1.15rem; }
p { margin: 0 0 1.2em; }
.lead { max-width: 650px; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.22rem); line-height: 1.85; }
.hero .lead { color: rgba(255,255,255,.66); }
.actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.button {
  min-height: 48px;
  padding: .75rem 1.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--orange);
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); border-color: var(--ink); background: var(--ink); }
.button.secondary { border-color: var(--line); background: var(--white); color: var(--ink); }
.button.secondary:hover, .button.secondary:focus-visible { border-color: var(--ink); background: var(--ink); color: var(--white); }

.product-visual { position: relative; min-width: 0; }
.store-visual { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; background: var(--night-raised); box-shadow: 0 34px 90px rgba(0,0,0,.38); }
.store-visual img { width: 100%; height: auto; }
.screen-caption { margin: 1.2rem 0 0; color: rgba(255,255,255,.58); font-size: .84rem; text-align: center; }

.section { padding: 6.5rem 0; }
.section.white { background: var(--white); }
.section.dark { background: var(--ink); color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head.center { margin-right: auto; margin-left: auto; text-align: center; }
.store-gallery-section { background: var(--paper); }
.store-gallery-section .section-head { max-width: none; text-align: center; }
.store-gallery-section .section-head .lead { margin-right: auto; margin-left: auto; }
.store-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); }
.store-shot { margin: 0; overflow: hidden; border: 1px solid rgba(32,33,36,.1); border-radius: 24px; background: var(--night); box-shadow: var(--shadow-soft); }
.store-shot img { width: 100%; height: auto; }

.showcase { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr); gap: clamp(2.5rem,7vw,6.5rem); align-items: center; }
.showcase-copy .lead { color: rgba(255,255,255,.68); }
.layout-stack { min-height: 390px; position: relative; }
.layout-card { position: absolute; width: min(430px,88%); aspect-ratio: 16 / 10; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.1); box-shadow: 0 24px 65px rgba(0,0,0,.34); backdrop-filter: blur(10px); }
.layout-card:first-child { top: 0; left: 0; transform: rotate(-3deg); }
.layout-card:last-child { right: 0; bottom: 0; transform: rotate(4deg); background: var(--orange); }
.layout-grid { width: 100%; height: 100%; display: grid; grid-template-columns: 1fr .64fr; grid-template-rows: 1fr 1fr; gap: 8px; }
.layout-grid span { border: 1px solid rgba(255,255,255,.35); border-radius: 9px; background: rgba(255,255,255,.14); }
.layout-grid span:first-child { grid-row: 1 / 3; background: rgba(255,255,255,.26); }
.layout-card:last-child .layout-grid span { border-color: rgba(255,255,255,.58); background: rgba(255,255,255,.25); }

.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; }
.step { position: relative; padding-top: 4rem; }
.step-number { position: absolute; top: 0; left: 0; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--orange-soft); color: var(--orange); font-weight: 800; }
.step p { color: var(--muted); }
.launch-card { padding: clamp(2.5rem,7vw,5rem); border-radius: 40px; background: var(--orange-soft); text-align: center; }
.launch-card h2 { margin-bottom: .8rem; }
.launch-card p:last-child { margin-bottom: 0; color: var(--muted); }

.document-main { padding: 10rem 0 6rem; background: var(--paper); }
.prose { max-width: 820px; }
.prose h1 { font-size: clamp(2.6rem,5vw,4.5rem); }
.prose h2 { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); font-size: 1.55rem; }
.prose h3 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .65rem; }
.meta { margin-bottom: 2rem; color: var(--muted); font-size: .9rem; }
.support-summary { margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; }
.document-identity { display: flex; align-items: center; gap: 1.35rem; margin-bottom: 1.25rem; }
.document-identity .app-mark { flex: 0 0 auto; width: 88px; height: 76px; object-fit: contain; }
.document-identity h1 { margin-bottom: 0; }
.support-summary div { padding: 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.support-summary dt { color: var(--muted); font-size: .8rem; }
.support-summary dd { margin: .2rem 0 0; font-weight: 700; }
.contact-card { margin-top: 4rem; padding: 2rem; border: 1px solid rgba(255,104,27,.18); border-radius: 20px; background: var(--orange-soft); }
.contact-card h2 { margin: 0 0 .6rem; padding: 0; border: 0; }
.contact-card .button { margin-top: .5rem; }

.site-footer { padding: 4.5rem 0 2rem; background: var(--ink); color: rgba(255,255,255,.7); }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-top { padding-bottom: 3.5rem; }
.footer-brand { color: var(--white); font-size: 1.35rem; font-weight: 700; }
.footer-links { display: flex; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--white); text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--orange); }
.footer-bottom { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.16); font-size: .82rem; }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid, .showcase { grid-template-columns: 1fr; }
  .product-visual { width: min(720px,100%); }
  .showcase-copy { max-width: 700px; }
}
@media (max-width: 720px) {
  .wrap { width: min(100% - 2rem,var(--page-width)); }
  .site-header { top: .5rem; width: calc(100% - 2rem); }
  .nav { min-height: 54px; padding: .6rem 1rem; }
  .site-brand span, .nav-links a:not(.language) { display: none; }
  .product-brand { padding-left: .75rem; margin-left: .25rem; }
  .nav-links { gap: .8rem; }
  .hero { padding: 7.8rem 0 4.5rem; }
  .hero-grid { gap: 3rem; }
  h1 { font-size: clamp(2.8rem,15vw,4.2rem); }
  .section { padding: 4.5rem 0; }
  .steps, .support-summary, .store-gallery { grid-template-columns: 1fr; }
  .layout-stack { min-height: 310px; }
  .launch-card { border-radius: 24px; }
  .document-main { padding: 8rem 0 4.5rem; }
  .footer-top { padding-bottom: 2.5rem; }
}
@media (max-width: 480px) {
  .app-icon-image { width: 62px; height: 62px; border-radius: 16px; }
  .document-identity { align-items: flex-start; }
  .document-identity .app-mark { width: 68px; height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
