*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.08; font-weight: 700; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; font-weight: 700; }
h3 { font-size: 22px; line-height: 1.3; font-weight: 700; }
.h3 { font: 700 22px/1.3 var(--font-head); letter-spacing: -0.02em; }
section[id] { scroll-margin-top: 80px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: var(--s-4); top: -64px; background: var(--ink); color: #fff; padding: var(--s-3) var(--s-4); border-radius: var(--r-btn); z-index: 100; }
.skip:focus { top: var(--s-4); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; border-radius: 4px; }
.band-dark :focus-visible { outline-color: var(--gold); }

.eyebrow { font: 600 12px/1.4 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.lead { font-size: 19px; color: var(--muted); max-width: 56ch; }
.accent { color: var(--gold-deep); }
.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--canvas-alt); }
.section-head { max-width: 720px; margin-bottom: var(--s-7); }
.section-head h2 { margin: var(--s-3) 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: var(--s-5); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px var(--font-head); letter-spacing: -.02em; text-decoration: none; }
.brand img { display: block; }
.site-nav { display: flex; align-items: center; gap: var(--s-5); font-weight: 500; font-size: 15px; }
.site-nav a:not(.btn) { text-decoration: none; padding: 10px 4px; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:not(.btn):hover { color: var(--gold-deep); }
.site-nav .lang-switch { color: var(--muted); font-size: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--canvas); cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-toggle span { left: 12px; right: 12px; top: 20px; }
.nav-toggle span::before { left: 0; right: 0; top: -7px; }
.nav-toggle span::after { left: 0; right: 0; top: 7px; }
@media (max-width: 880px) {
  .js .nav-toggle { display: block; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: var(--s-3) var(--gutter) var(--s-5); background: var(--canvas); border-bottom: 1px solid var(--line); }
  .js .site-nav.open { display: flex; }
  .js .site-nav a:not(.btn) { border-bottom: 1px solid var(--line); }
  .js .site-nav .btn { margin-top: var(--s-4); }
  html:not(.js) .site-nav { flex-wrap: wrap; gap: var(--s-3); }
}

/* buttons, chips, cards */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-btn); font: 600 15px var(--font-head); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.btn-sm { min-height: 44px; padding: 0 18px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #18202B; }
.btn-outline { background: var(--canvas); color: var(--ink); border-color: #CBD0DB; }
.btn-outline:hover { border-color: var(--ink); }
.btn-soft { background: var(--soft); color: var(--muted); cursor: default; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }
.chip { font: 600 12px var(--font-body); padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.chip-warm { background: var(--gold-soft); color: var(--gold-deep); }
.card { background: var(--canvas); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s-6); transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-2px); border-color: var(--gold); }
.app-icon { border-radius: 22%; display: block; box-shadow: 0 10px 30px rgba(36,45,58,.15); }
.phone { border: 6px solid var(--ink); border-radius: var(--r-phone); overflow: hidden; background: var(--canvas-alt); aspect-ratio: 1320 / 2868; }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* hero */
.hero { padding: var(--s-9) 0 var(--s-8); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-7); align-items: center; }
.hero-copy h1 { margin: var(--s-4) 0 var(--s-5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-visual { position: relative; min-height: 380px; }
.float { position: absolute; animation: float 6s ease-in-out infinite; }
.float-1 { width: 156px; height: 156px; top: 8%; left: 14%; }
.float-2 { width: 128px; height: 128px; top: 46%; right: 8%; animation-delay: -2s; }
.float-3 { width: 104px; height: 104px; bottom: 4%; left: 30%; animation-delay: -4s; }
.float-4 { width: 88px; height: 88px; top: 4%; right: 26%; animation-delay: -1s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 220px; }
  .float-1 { left: 8%; } .float-2 { right: 10%; top: 30%; }
}
@media (max-width: 640px) {
  .hero { padding: var(--s-7) 0 var(--s-6); }
  .hero-visual { min-height: 170px; }
  .float-1 { width: 104px; height: 104px; top: 4%; left: 6%; }
  .float-2 { width: 88px; height: 88px; top: 30%; right: auto; left: 44%; }
  .float-3 { width: 76px; height: 76px; bottom: 0; left: 70%; }
  .float-4 { display: none; }
}

/* products grid */
.grid-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: var(--s-5); }
.product-card { display: flex; flex-direction: column; gap: var(--s-4); overflow: hidden; }
.card-head { display: flex; align-items: center; gap: var(--s-4); }
.card-head .app-icon { width: 72px; height: 72px; box-shadow: none; border: 1px solid var(--line); }
.card-head h3 a { text-decoration: none; }
.card-head h3 a:hover { color: var(--gold-deep); }
.card-tagline { color: var(--muted); }
.store-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.card-link { font-weight: 600; color: var(--gold-deep); text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.card-preview { display: flex; gap: var(--s-4); justify-content: center; height: 240px; overflow: hidden; margin: var(--s-2) calc(var(--s-6) * -1) calc(var(--s-6) * -1); padding: var(--s-5) var(--s-6) 0; background: var(--canvas-alt); -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.card-preview .phone { width: 140px; flex: none; }

/* how it works */
.how-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s-8); align-items: start; }
.how-grid .section-head { margin-bottom: 0; }
.steps { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.steps li { position: relative; padding: 0 0 var(--s-6) var(--s-6); }
.steps li::before { content: ""; position: absolute; left: -5px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.step-num { font: 600 12px var(--font-body); letter-spacing: .1em; color: var(--gold-deep); }
.steps h3 { margin: var(--s-1) 0 var(--s-2); }
.steps p { color: var(--muted); }
@media (max-width: 960px) { .how-grid { grid-template-columns: 1fr; gap: var(--s-6); } }

/* bands */
.band-dark { background: var(--ink); color: #fff; padding: var(--s-8) 0; }
.band-dark h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); }
.tech-list { display: flex; flex-wrap: wrap; gap: var(--s-3); list-style: none; margin: var(--s-5) 0 0; padding: 0; }
.tech-list li { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 8px 16px; font: 500 15px var(--font-body); color: var(--on-dark-muted); }
.band-gold { background: var(--gold); color: var(--ink); padding: var(--s-8) 0; }
.band-gold h2 { font-size: clamp(26px, 3.4vw, 36px); }
.band-gold p { margin-top: var(--s-2); color: var(--on-gold-muted); }
.band-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: var(--s-8) 0 var(--s-5); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-6); }
.footer-grid p { color: var(--muted); margin-top: var(--s-3); max-width: 32ch; }
.footer-h { font: 600 12px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 var(--s-3); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.footer-grid a { text-decoration: none; }
.footer-grid ul a:hover { text-decoration: underline; }
.footer-base { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); color: var(--muted); }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

/* motion and draft marks */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .4s ease-out, transform .4s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }
.draft .unconfirmed { text-decoration: underline dotted var(--gold-deep); text-underline-offset: 4px; }
.draft-ribbon { position: fixed; right: 0; bottom: var(--s-5); z-index: 60; background: var(--gold-soft); color: var(--gold-deep); border: 1px solid var(--gold); border-right: 0; border-radius: 999px 0 0 999px; padding: 8px 16px; font: 700 12px var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* product page */
.product-hero { padding: var(--s-8) 0 var(--s-9); }
.product-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-7); align-items: center; }
.crumb { font-size: 14px; color: var(--muted); display: flex; gap: var(--s-2); margin-bottom: var(--s-5); }
.crumb a { color: var(--muted); }
.product-title { display: flex; align-items: center; gap: var(--s-5); margin-bottom: var(--s-5); }
.product-title .app-icon { width: 96px; height: 96px; flex: none; }
.product-hero .lead { margin-bottom: var(--s-5); }
.product-hero .chips { margin-bottom: var(--s-5); }
.product-hero-visual { display: flex; gap: var(--s-5); justify-content: center; align-items: flex-start; }
.product-hero-visual .phone { width: clamp(150px, 22vw, 230px); }
.product-hero-visual .phone:nth-child(2) { margin-top: var(--s-7); }
.shots { display: flex; gap: var(--s-5); overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--s-2) 0 var(--s-5); margin-top: var(--s-6); }
.shots .phone { flex: 0 0 clamp(190px, 62vw, 240px); scroll-snap-align: start; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--s-6) var(--s-5); list-style: none; padding: 0; margin: var(--s-6) 0 0; }
.feature { border-top: 1px solid var(--line); padding-top: var(--s-4); }
.feature h3 { margin: var(--s-1) 0 var(--s-2); }
.feature p { color: var(--muted); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); }
.info-grid .h3 { margin-bottom: var(--s-4); }
.facts { display: grid; grid-template-columns: 140px 1fr; gap: var(--s-3) var(--s-5); margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.chips-lg .chip { font-size: 14px; padding: 6px 14px; background: var(--canvas); border: 1px solid var(--line); }
.legal-list { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; gap: var(--s-2); }
.legal-list a { color: var(--gold-deep); font-weight: 500; }
.grid-products.spaced { margin-top: var(--s-6); }
@media (max-width: 960px) {
  .product-hero-grid, .info-grid { grid-template-columns: 1fr; }
  .product-hero-visual .phone { width: clamp(140px, 38vw, 210px); }
}
@media (max-width: 640px) { .facts { grid-template-columns: 110px 1fr; } }

/* contact page */
.page-hero { padding: var(--s-9) 0 var(--s-7); }
.page-hero h1 { margin: var(--s-4) 0 var(--s-5); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: var(--s-5); }
.contact-card { display: flex; flex-direction: column; gap: var(--s-4); align-items: flex-start; }
.contact-card p { color: var(--muted); }
.contact-card .mail { font: 600 18px var(--font-head); color: var(--ink); word-break: break-all; }
.contact-apps-label { margin-top: var(--s-2); }
