/* Roz Tech — tokens adapted from open-design / design-systems/apple */
:root {
  --black: #000000;
  --canvas: #ffffff;
  --pale: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --border: #d2d2d7;
  --border-soft: #e8e8ed;
  --graphite: #1c1c1e;
  --graphite-2: #2a2a2c;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --link-dark: #2997ff;
  --t1d: #1f9d55;
  --t1d-surface: #eef7f1;
  --wish: #e98a8a;
  --wish-surface: #fbf3f1;

  --font-display: "Inter Tight", Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-text: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;

  --r-sm: 8px;
  --r-md: 12px;
  --r-card: 18px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 980px;

  --shadow-card: 0 2px 6px rgba(0,0,0,0.04), 0 12px 32px rgba(0,0,0,0.08);
  --shadow-phone: 0 30px 60px -12px rgba(0,0,0,0.28), 0 18px 36px -18px rgba(0,0,0,0.3);
  --ease: cubic-bezier(0.2, 0, 0, 1);

  --container: 1180px;
  --gutter: 40px;
  --section-y: 128px;
}
@media (max-width: 1000px) { :root { --gutter: 28px; --section-y: 96px; } }
@media (max-width: 640px)  { :root { --gutter: 16px; --section-y: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 17px/1.5 var(--font-text);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.brand-word { font: 700 19px/1 var(--font-display); letter-spacing: -0.03em; }
.brand-word em { font-style: normal; font-weight: 400; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-2); font-size: 14px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links a.btn-blue, .nav-links a.btn-blue:hover { color: #fff; }
.nav-cta { display: none; }
@media (min-width: 761px) { .nav-cta { display: inline-flex; } }
@media (max-width: 760px) { .nav-links .hide-sm { display: none; } .nav-links { gap: 20px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px;
  border-radius: var(--r-pill);
  font: 500 16px/1 var(--font-text);
  letter-spacing: -0.01em;
  border: 0; cursor: pointer;
  transition: background 200ms var(--ease), transform 200ms var(--ease), color 200ms var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn .icon { width: 18px; height: 18px; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--pale); }
.btn-ghost { color: var(--link); padding: 0 8px; height: auto; }
.btn-ghost:hover { text-decoration: underline; }
.btn-sm { height: 34px; padding: 0 16px; font-size: 14px; }
.on-dark .btn-ghost { color: var(--link-dark); }

.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 22px 0 18px;
  border-radius: 14px;
  background: var(--black); color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform 200ms var(--ease), background 200ms var(--ease);
}
.store-btn:hover { text-decoration: none; background: #111; transform: translateY(-1px); }
.store-btn .icon { width: 26px; height: 26px; }
.store-btn small { display: block; font-size: 11px; line-height: 1.1; opacity: 0.8; letter-spacing: 0.01em; }
.store-btn strong { display: block; font: 600 19px/1.1 var(--font-display); letter-spacing: -0.02em; }
.store-btn.light { background: #fff; color: var(--ink); border-color: var(--border); }
.store-btn.light:hover { background: var(--pale); }

/* ---------- Type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 13px/1 var(--font-text); letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 18px;
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
h1, h2, h3 { font-family: var(--font-display); color: inherit; margin: 0; }
.display { font-size: clamp(44px, 6.6vw, 84px); font-weight: 700; line-height: 1.02; letter-spacing: -0.045em; }
.h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; line-height: 1.06; letter-spacing: -0.035em; }
.lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.45; color: var(--muted); letter-spacing: -0.015em; }
.grad-blue { color: var(--blue); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--pale); overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.6; pointer-events: none;
  width: 520px; height: 520px; top: 50%; transform: translateY(-50%);
}
.hero::before { left: calc(50% - 560px); background: #c9eed8; }
.hero::after { left: calc(50% + 40px); background: #f6d3e1; }
.hero-inner {
  position: relative; z-index: 1; text-align: center;
  padding-top: 140px; padding-bottom: 150px;
}
.hero .kicker { justify-content: center; }
.hero .lead { max-width: 36ch; margin: 24px auto 36px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px 0 10px;
  background: rgba(255,255,255,0.8); border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-pill);
  font-size: 14px; color: var(--ink-2);
}
.chip .icon { width: 18px; height: 18px; color: var(--blue); }
.chip img { width: 22px; height: 22px; border-radius: 6px; }

@media (max-width: 1000px) { .hero-inner { padding-top: 80px; padding-bottom: 88px; } }
/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head .lead { margin: 20px auto 0; max-width: 46ch; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar {
  background: var(--pale); border-radius: var(--r-card); padding: 32px 28px;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.pillar-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: #fff; color: var(--blue); box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.pillar-icon .icon { width: 26px; height: 26px; }
.pillar h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.pillar p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 1000px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .pillars { grid-template-columns: 1fr; } }

/* App chapters */
.app-chapter { overflow: hidden; }
.app-chapter.mint { background: var(--t1d-surface); }
.app-chapter.blush { background: var(--wish-surface); }
.app-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.app-chapter.reverse .app-grid { grid-template-columns: 1.1fr 0.9fr; }
.app-chapter.reverse .app-copy { order: 2; }
.app-id { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.app-id img { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 0 0 1px rgba(127,127,127,0.18); }
.app-id .meta { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.app-id .name { font: 600 22px/1.2 var(--font-display); letter-spacing: -0.02em; }
.app-copy .h2 { margin-bottom: 20px; }
.app-copy .lead { margin: 0 0 36px; }
.accent-t1d { color: var(--t1d); }
.accent-wish { color: #d4707a; }
.features { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.features li { display: flex; gap: 14px; align-items: flex-start; }
.feat-icon {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
}
.feat-icon .icon { width: 20px; height: 20px; }
.mint .feat-icon { background: #fff; color: var(--t1d); box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.blush .feat-icon { background: #fff; color: #d4707a; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.features strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 2px; }
.features li > div > span { display: block; font-size: 14px; line-height: 1.45; color: var(--muted); }
.app-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }

.rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: center; }
.rail img { border-radius: 22px; box-shadow: var(--shadow-phone); }
.rail img:nth-child(2) { transform: translateY(-28px); }
.mint .rail img, .blush .rail img { box-shadow: 0 24px 48px -16px rgba(16,60,35,0.22), 0 0 0 1px rgba(0,0,0,0.04); }

@media (max-width: 1000px) {
  .app-grid, .app-chapter.reverse .app-grid { grid-template-columns: 1fr; gap: 56px; }
  .app-chapter.reverse .app-copy { order: 0; }
}
@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
  .rail {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter) 40px;
    scrollbar-width: none;
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail img { width: 62%; flex: none; scroll-snap-align: center; border-radius: 18px; }
  .rail img:nth-child(2) { transform: none; }
}

/* Process */
.process { background: var(--pale); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border-radius: var(--r-lg); padding: 36px 32px 40px; position: relative; }
.step-num { font: 700 15px/1 var(--font-display); color: var(--blue); margin-bottom: 40px; display: flex; align-items: center; justify-content: space-between; }
.step-num .icon { width: 28px; height: 28px; color: var(--ink); }
.step h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Quote / stats band */
.band { background: var(--black); color: #f5f5f7; text-align: center; }
.band blockquote { margin: 0 auto; max-width: 20ch; font: 600 clamp(32px, 4.4vw, 56px)/1.1 var(--font-display); letter-spacing: -0.035em; }
.band blockquote .soft { color: #6e6e73; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 860px; margin: 72px auto 0; padding-top: 48px; border-top: 1px solid #2a2a2c; }
.stat b { display: block; font: 700 clamp(36px, 4vw, 48px)/1 var(--font-display); letter-spacing: -0.04em; margin-bottom: 10px; }
.stat span { color: #a1a1a6; font-size: 15px; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; gap: 32px; } }

/* Contact */
.contact-card {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  background: linear-gradient(135deg, #f5f5f7 0%, #eef4ff 100%);
  border-radius: var(--r-xl); padding: 72px 64px;
}
.contact-card .lead { margin: 18px 0 32px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list a {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: var(--r-card); padding: 18px 20px;
  color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.contact-list a:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-card); }
.contact-list img { width: 40px; height: 40px; border-radius: 10px; }
.contact-list .ci { width: 40px; height: 40px; border-radius: 10px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.contact-list .ci .icon { width: 20px; height: 20px; }
.contact-list b { display: block; font-size: 16px; font-weight: 600; }
.contact-list small { display: block; color: var(--muted); font-size: 14px; }
.contact-list .arrow { margin-left: auto; color: var(--muted); width: 18px; height: 18px; }
@media (max-width: 900px) { .contact-card { grid-template-columns: 1fr; padding: 48px 28px; gap: 32px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--pale); color: var(--muted); font-size: 14px; padding: 64px 0 32px; border-top: 1px solid var(--border-soft); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.foot-grid p { margin: 14px 0 0; max-width: 30ch; }
.foot-grid h4 { margin: 0 0 14px; font: 600 13px/1 var(--font-text); color: var(--ink); letter-spacing: 0; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--ink-2); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 13px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Legal pages ---------- */
.doc-hero { background: var(--pale); padding: 88px 0 56px; }
.doc-hero .crumb { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.doc-hero .crumb a { color: var(--muted); }
.doc-hero h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.doc-hero .updated { color: var(--muted); margin: 16px 0 0; font-size: 15px; }
.doc { padding: 56px 0 var(--section-y); }
.doc-inner { max-width: 740px; }
.doc .summary { display: flex; gap: 16px; background: #eef4ff; border-radius: var(--r-card); padding: 24px 26px; margin-bottom: 40px; color: var(--ink-2); }
.doc .summary .icon { color: var(--blue); margin-top: 2px; }
.doc .summary p { margin: 0; }
.doc h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.025em; margin: 48px 0 12px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc .credit { font-size: 14px; color: var(--muted); margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border-soft); }
.legal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 16px 0; }
.legal-card { background: var(--pale); border-radius: var(--r-card); padding: 26px; }
.legal-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
.legal-card h3 img { width: 44px; height: 44px; border-radius: 11px; }
.legal-card ul { list-style: none; padding: 0; margin: 0; }
.legal-card li { margin-bottom: 8px; }
.company-card { display: flex; gap: 18px; align-items: center; background: var(--pale); border-radius: var(--r-card); padding: 24px 26px; }
.company-card svg { width: 52px; height: 52px; flex: none; }
.company-card p { margin: 0; }
@media (max-width: 640px) { .legal-grid { grid-template-columns: 1fr; } }
