/* Zone6 marketing site — one primary blue (the app's #0088FF), no gradients.
   White canvas, hairline borders, small radii, an even 56px section rhythm. */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --ink: #0b0f19;
  --ink-2: #3c4657;
  --muted: #6b7686;
  --faint: #a2abb8;
  --border: #e5e9ef;
  --primary: #0088ff;
  --primary-ink: #ffffff;
  --primary-soft: #eaf4ff;
  --r: 12px;
  --r-lg: 16px;
  --font-head: 'Rubik', 'Heebo', system-ui, -apple-system, sans-serif;
  --font-body: 'Heebo', 'Rubik', system-ui, -apple-system, sans-serif;
  --max: 1200px;
  --nav-h: 64px;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(38px, 4.6vw, 58px); line-height: 1.08; }
h2 { font-size: clamp(26px, 2.6vw, 32px); }
h3 { font-size: 18px; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
[dir="rtl"] .eyebrow { letter-spacing: .04em; }
.lede { font-size: 17px; color: var(--ink-2); max-width: 60ch; margin-top: 12px; }
.hint { color: var(--muted); font-size: 13px; }
.k { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
[dir="rtl"] .k { letter-spacing: .04em; }
.skip { position: absolute; top: -80px; inset-inline-start: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Surfaces */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--r); }
.band { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band + .band { border-top: 0; }
section { padding: 56px 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: var(--r); font-family: var(--font-body);
  font-size: 15px; font-weight: 600; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
  -webkit-appearance: none; appearance: none; outline: none;
}
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { background: #0077e0; transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.arrow { display: inline-block; }
[dir="rtl"] .arrow { transform: scaleX(-1); }

/* Header: brand + tagline, language, one small CTA */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { border-radius: 9px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-family: var(--font-head); font-weight: 600; font-size: 17px; }
.brand-text small { font-size: 12px; color: var(--muted); }
.nav-right { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--border); border-radius: var(--r); padding: 2px; }
.lang a { font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 9px; color: var(--muted); }
.lang a.active { background: var(--ink); color: #fff; }

/* Hero */
.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.hero h1 { max-width: 14ch; }
.hero .lede { margin-top: 18px; }
.ctas { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.works { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.works-k { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
[dir="rtl"] .works-k { letter-spacing: .04em; }
.logos { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.logos li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); font-weight: 500; }
.tile { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border); background: #fff; display: grid; place-items: center; color: var(--primary); }
.tile svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.works-note { margin-top: 12px; font-size: 13px; color: var(--muted); max-width: 52ch; }
.hero-phone { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.shot-cap { font-size: 12px; color: var(--muted); text-align: center; }

/* Device: an iPhone-style frame drawn in CSS — rail, bezel, Dynamic Island
   and side keys — so every screenshot is a full screen at phone proportions. */
.device { position: relative; width: 300px; }
.device-md { width: 270px; }
.device-sm { width: 240px; }
.dev-frame {
  border-radius: 54px; padding: 4px;
  background: #c9ccd2;
  box-shadow: 0 30px 60px -30px rgba(11, 15, 25, .35), 0 0 0 1px #aeb2b9 inset;
}
.device-md .dev-frame { border-radius: 50px; }
.device-sm .dev-frame { border-radius: 46px; padding: 3.5px; }
.dev-inner { position: relative; background: #050506; border-radius: 50px; padding: 11px; }
.device-md .dev-inner { border-radius: 46px; padding: 10px; }
.device-sm .dev-inner { border-radius: 42.5px; padding: 9px; }
.dev-screen { border-radius: 40px; overflow: hidden; aspect-ratio: 603 / 1311; background: #000; }
.device-md .dev-screen { border-radius: 36px; }
.device-sm .dev-screen { border-radius: 34px; }
.dev-screen img { width: 100%; height: 100%; object-fit: cover; }
.dev-island { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 94px; height: 28px; border-radius: 20px; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.04); }
.device-md .dev-island { width: 84px; height: 25px; top: 20px; }
.device-sm .dev-island { width: 76px; height: 22px; top: 18px; }
.dev-btn { position: absolute; width: 4px; border-radius: 2px; background: #a4a8af; }
.dev-btn-action { left: -4px; top: 92px; height: 22px; }
.dev-btn-vol1 { left: -4px; top: 132px; height: 44px; }
.dev-btn-vol2 { left: -4px; top: 186px; height: 44px; }
.dev-btn-power { right: -4px; top: 156px; height: 68px; }
.device-md .dev-btn-action { top: 84px; height: 20px; } .device-md .dev-btn-vol1 { top: 120px; height: 40px; } .device-md .dev-btn-vol2 { top: 168px; height: 40px; } .device-md .dev-btn-power { top: 142px; height: 62px; }
.device-sm .dev-btn-action { top: 74px; height: 18px; } .device-sm .dev-btn-vol1 { top: 106px; height: 36px; } .device-sm .dev-btn-vol2 { top: 150px; height: 36px; } .device-sm .dev-btn-power { top: 126px; height: 56px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 22px 22px 24px; }
.num { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 600; color: var(--primary); margin-bottom: 26px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14px; line-height: 1.6; color: var(--ink-2); }

/* Before / after */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.ba-side { margin: 0; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.ba-tag { display: inline-flex; align-items: baseline; gap: 8px; }
.ba-tag b { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ba-tag span { font-size: 12px; color: var(--faint); }
.ba-tag-on b, .ba-tag-on span { color: var(--primary); }
[dir="rtl"] .ba-tag b { letter-spacing: .04em; }
.ba-cap { font-size: 14px; color: var(--muted); }
.ba-after .ba-cap { color: var(--ink-2); }
.ba-phone { display: flex; justify-content: center; padding: 8px 0; flex: 1; align-items: center; }
/* The "before": a PDF the way it lands in your inbox — flat, no hierarchy. */
.doc { background: #fff; border: 1px solid #d9dee6; border-radius: 8px; overflow: hidden; filter: saturate(0); flex: 1; }
.doc-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f0f2f5; border-bottom: 1px solid #d9dee6; font-size: 12px; color: #5b6472; }
.doc-bar i { width: 8px; height: 8px; border-radius: 50%; background: #c9cfd8; }
.doc-name { margin-inline-start: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: #3c4657; direction: ltr; }
.doc-type { margin-inline-start: auto; font-size: 10px; font-weight: 700; letter-spacing: .08em; padding: 2px 6px; border: 1px solid #c9cfd8; border-radius: 4px; color: #5b6472; }
.doc-body { padding: 12px; overflow: hidden; }
.doc table { width: 100%; border-collapse: collapse; font-family: Arial, Helvetica, sans-serif; font-size: 10.5px; line-height: 1.25; color: #1f2633; table-layout: fixed; }
.doc th, .doc td { border: 1px solid #cfd5de; padding: 7px 4px; text-align: center; vertical-align: middle; overflow: hidden; }
.doc thead th { background: #e4e8ee; font-weight: 700; font-size: 10px; }
.doc thead th:first-child { width: 14%; }
.doc tbody th { background: #f2f4f7; font-weight: 700; text-align: start; padding-inline-start: 7px; white-space: nowrap; }
.doc tbody tr:nth-child(even) td { background: #fafbfc; }
.doc-foot { padding: 8px 12px 9px; font-size: 10px; color: #8a93a1; text-align: center; border-top: 1px solid #e6eaf0; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.pillar { padding: 22px 24px; }
.pillar h3 { font-size: 20px; }
.pillar p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }

/* Pain → what Zone6 does */
.fix-list { margin-top: 32px; display: grid; gap: 12px; }
.fix-head { display: grid; grid-template-columns: 1fr 48px 1fr; padding: 0 22px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fix-head .on { color: var(--primary); }
[dir="rtl"] .fix-head { letter-spacing: .04em; }
.fix-row { display: grid; grid-template-columns: 1fr 48px 1fr; align-items: center; padding: 18px 22px; }
.fix-pain { font-size: 15px; line-height: 1.5; color: var(--ink-2); padding-inline-end: 8px; }
.fix-pain::before { content: "“"; color: var(--faint); }
.fix-pain::after { content: "”"; color: var(--faint); }
.fix-arrow { width: 48px; height: 24px; display: block; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230088ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 22px; }
[dir="rtl"] .fix-arrow { transform: scaleX(-1); }
.fix-sol { font-size: 15px; line-height: 1.5; color: var(--ink); font-weight: 500; padding-inline-start: 14px; border-inline-start: 2px solid var(--primary); }

/* Proof: alternating screenshot + copy */
.proof-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; margin-top: 32px; }
.proof-row.rev .proof-phone { order: 2; }
.proof-phone { display: flex; justify-content: center; padding: 28px 0; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-lg); }
.proof-row + .proof-row { margin-top: 24px; }
.proof-copy h3 { font-size: 24px; }
.proof-copy p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--ink-2); max-width: 44ch; }

/* Also in the app — the smaller features, as a quiet grid */
.also-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.also-item { padding: 18px 18px 20px; }
.also-item h3 { font-size: 15px; }
.also-item p { margin-top: 6px; font-size: 13px; line-height: 1.55; color: var(--ink-2); }

/* FAQ */
.faq-inner { max-width: 820px; }
.faq-list { display: grid; gap: 10px; margin-top: 28px; }
.faq-list details { padding: 0 18px; }
.faq-list summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; width: 10px; height: 10px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .2s; flex: none; margin-bottom: 4px; }
.faq-list details[open] summary::after { transform: rotate(225deg); margin-bottom: -4px; }
.faq-list p { padding: 0 0 18px; color: var(--ink-2); font-size: 14px; line-height: 1.65; max-width: 70ch; }

/* Closing CTA */
.closing { padding: 72px 0; text-align: center; }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing h2 { max-width: 20ch; }
.closing .lede { text-align: center; }
.closing .btn { margin-top: 24px; }
.closing .hint { margin-top: 12px; }

/* Contact */
.contact-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.input { width: 100%; border: 1px solid var(--border); border-radius: var(--r); padding: 12px 14px; font-family: var(--font-body); font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; resize: vertical; -webkit-appearance: none; appearance: none; outline: none; }
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.contact-form .btn { align-self: flex-start; margin-top: 2px; }
.contact-status { font-size: 13px; color: var(--muted); min-height: 18px; }
.contact-status.is-error { color: #d1293d; }
.contact-status.is-ok { color: var(--primary); font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 32px; font-size: 13px; color: var(--muted); }
.footer-inner { display: flex; flex-direction: column; gap: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { font-size: 12px; }

/* Reveal: a short fade-up once, nothing pinned or scrubbed. */
[data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].in, .no-motion [data-reveal] { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .ba, .pillars, .steps, .proof-row, .contact-inner { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .proof-row { gap: 20px; }
  .proof-row.rev .proof-phone { order: 0; }
  .also-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 44px 0; }
  .brand-text small { display: none; }
  .nav .btn-sm { display: none; }
  .fix-head { display: none; }
  .fix-row { grid-template-columns: 1fr; gap: 10px; padding: 16px 18px; }
  .fix-arrow { width: 100%; height: 22px; transform: rotate(90deg); background-size: 20px; }
  [dir="rtl"] .fix-arrow { transform: rotate(-90deg); }
  .also-grid { grid-template-columns: 1fr; }
  .device { width: 260px; } .device-md { width: 240px; } .device-sm { width: 220px; }
  .doc table { font-size: 9px; }
  .doc th, .doc td { padding: 6px 3px; }
  .closing { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { transition: none; opacity: 1; transform: none; }
}
