:root {
  --purple: #7c3aed;
  --violet: #a855f7;
  --orange: #ff7a1a;
  --pink: #ff3d7f;
  --blue: #3b82f6;
  --green: #10b981;
  --cream: #fff7ec;
  --ink: #1d1530;
  --muted: #5d5670;
  --card: #ffffff;
  --line: #efe6da;
  --radius: 28px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 247, 236, 0.85);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.3rem; color: var(--ink); text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 700; }
.nav a:hover { color: var(--ink); }
.nav .btn { color: #fff; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 800; font-size: 1rem; white-space: nowrap;
  box-shadow: 0 6px 0 rgba(0,0,0,.18);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(0,0,0,.18); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.btn-light { background: #fff; color: var(--ink); }
.store-badge { display: inline-block; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    linear-gradient(rgba(255,255,255,.07) 2px, transparent 2px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255,255,255,.07) 2px, transparent 2px) 0 0 / 64px 64px,
    linear-gradient(125deg, var(--purple) 0%, var(--violet) 35%, var(--pink) 70%, var(--orange) 100%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; padding: 90px 0 110px; }
.pill {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,.22); font-weight: 800; letter-spacing: .06em; font-size: .85rem; text-transform: uppercase;
}
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); line-height: 1.02; margin: 18px 0 18px; font-weight: 900; text-shadow: 0 4px 18px rgba(0,0,0,.15); }
.hero p.lead { font-size: 1.3rem; max-width: 34ch; margin: 0 0 30px; font-weight: 600; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero-note { font-weight: 700; opacity: .9; }

.devices { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.ipad { flex: 0 1 340px; min-width: 0; }
.iphone { flex: 0 1 170px; min-width: 0; }
.ipad img, .iphone img { border-radius: 20px; box-shadow: 0 24px 50px rgba(0,0,0,.3); }

/* Sections */
section { padding: 96px 0; scroll-margin-top: 68px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .kicker { color: var(--orange); font-weight: 900; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin: 10px 0 14px; font-weight: 900; }
.section-head p { color: var(--muted); font-size: 1.15rem; margin: 0; }

.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -70px; position: relative; }
.highlight { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: 0 12px 30px rgba(60,30,90,.10); }
.highlight .icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; margin-bottom: 14px; }
.highlight h3 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 900; }
.highlight p { margin: 0; color: var(--muted); }

/* Screenshot gallery */
.gallery {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px max(16px, calc((100vw - 1160px) / 2)) 30px;
  scrollbar-width: thin;
}
.gallery figure { flex: 0 0 auto; width: 270px; margin: 0; scroll-snap-align: center; }
.gallery img { border-radius: 26px; box-shadow: 0 18px 40px rgba(60,30,90,.22); }
.gallery figcaption { text-align: center; margin-top: 14px; font-weight: 800; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--card); border-radius: var(--radius); padding: 32px; position: relative; box-shadow: 0 10px 26px rgba(60,30,90,.08); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  color: #fff; font-weight: 900; font-size: 1.4rem; margin-bottom: 16px;
  background: var(--c, var(--orange));
}
.step h3 { margin: 0 0 8px; font-size: 1.35rem; font-weight: 900; }
.step p { margin: 0; color: var(--muted); }

/* Printers */
.printers { background: #fff; }
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.brand-card { border: 2px solid var(--line); border-radius: 22px; padding: 22px 24px; }
.brand-card h3 { margin: 0 0 4px; font-size: 1.2rem; font-weight: 900; }
.brand-card p { margin: 0; color: var(--muted); font-size: .98rem; }
.fine { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 26px; }

/* Parents */
.parents .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.parents h2 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; margin: 10px 0 16px; font-weight: 900; }
.parents .kicker { color: var(--green); font-weight: 900; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { background: #fff; border-radius: 20px; padding: 16px 18px 16px 58px; position: relative; font-weight: 700; box-shadow: 0 6px 18px rgba(60,30,90,.07); }
.checklist li::before { content: "✓"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 900; }
.checklist li span { display: block; color: var(--muted); font-weight: 500; font-size: .96rem; }

/* CTA */
.cta { padding: 0 0 96px; }
.cta-box {
  border-radius: 40px; padding: 64px 40px; text-align: center; color: #fff;
  background: linear-gradient(125deg, var(--blue), var(--purple) 55%, var(--pink));
  box-shadow: 0 24px 60px rgba(124,58,237,.3);
}
.cta-box img { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 20px; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.cta-box h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 10px; font-weight: 900; }
.cta-box p { font-size: 1.15rem; margin: 0 0 28px; opacity: .95; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); font-weight: 700; text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .legal { flex-basis: 100%; margin: 0; font-size: .85rem; }

/* Privacy page */
.doc-hero { background: linear-gradient(125deg, var(--purple), var(--pink)); color: #fff; padding: 64px 0 56px; }
.doc-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 8px; font-weight: 900; }
.doc-hero p { margin: 0; font-weight: 600; opacity: .92; }
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 780px; }
.doc h2 { font-size: 1.55rem; font-weight: 900; margin: 44px 0 10px; }
.doc h3 { font-size: 1.15rem; font-weight: 800; margin: 26px 0 6px; }
.doc p, .doc li { color: #3a3348; font-size: 1.05rem; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.summary { background: #fff; border-radius: var(--radius); padding: 26px 30px; box-shadow: 0 10px 26px rgba(60,30,90,.08); border-left: 8px solid var(--green); }
.summary h2 { margin-top: 0; }
.summary ul { margin-bottom: 0; }
table.data { width: 100%; border-collapse: collapse; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 18px rgba(60,30,90,.06); }
table.data th, table.data td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .98rem; }
table.data th { background: #f6efff; font-weight: 800; }
table.data tr:last-child td { border-bottom: 0; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 60px 0 120px; }
  .devices { justify-content: center; max-width: 520px; width: 100%; margin: 0 auto; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .steps, .brands { grid-template-columns: 1fr; }
  .parents .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav a:not(.btn) { display: none; }
  .highlights { grid-template-columns: 1fr; }
  .gallery figure { width: 220px; }
  section { padding: 70px 0; }
  .cta-box { padding: 48px 22px; }
  .table-scroll { overflow-x: auto; }
}
@media (max-width: 400px) {
  .brand { font-size: 1.1rem; }
  .brand img { width: 34px; height: 34px; }
  .nav .btn { padding: 9px 16px; font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
