/* ovioesim.com — OVIO support site. Same look as the app: navy and white,
   Satoshi, one filled navy button per section, color only from content. */

@font-face { font-family: "Satoshi"; src: url("/assets/fonts/Satoshi-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/Satoshi-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/Satoshi-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #0a0b2a;
  --ink-2: #23233f;
  --muted: #54546a;
  --hint: #6b6b80;
  --paper: #ffffff;
  --mist: #f4f6fa;
  --surface: #f3f4f6;
  --line: #e4e5ec;
  --ok: #137a2f;
  --ok-bg: #dcfce7;
  --warn: #7a5308;
  --warn-bg: #fef3c7;
  --sky: #89daff;
  --ocean: #2c62fd;
  --radius: 16px;
  --font: "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 10px; color: var(--muted); }
.nav a:hover { color: var(--ink); background: var(--mist); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav .btn { margin-left: 8px; color: #fff; }
.nav .btn:hover { color: #fff; background: var(--ink-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 14px; border: 0; font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer; background: var(--ink); color: #fff; }
.btn:hover { background: var(--ink-2); }
.btn-secondary { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-secondary:hover { background: var(--mist); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* Typography */
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
.display { font-size: clamp(36px, 6vw, 60px); font-weight: 700; letter-spacing: -0.02em; }
.page-title { font-size: clamp(30px, 4.5vw, 44px); font-weight: 700; }
.h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 700; }
.h3 { font-size: 20px; font-weight: 700; }
.lead { font-size: 18px; color: var(--muted); margin: 14px 0 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 12px; }

section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.alt { background: var(--mist); }

/* Hero */
.hero { padding: 72px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero .lead { max-width: 540px; font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--hint); }
.hero-art { position: relative; justify-self: center; width: min(340px, 100%); }

/* Phone mock — iPhone Pro proportions (pure CSS, mirrors the app's Store) */
.hero-art { width: min(300px, 100%); }
.phone { position: relative; aspect-ratio: 402 / 874; border-radius: 54px; padding: 4px; background: linear-gradient(145deg, #c9cbd1 0%, #8e9198 30%, #e4e5e9 52%, #7d8087 75%, #b7b9bf 100%); box-shadow: 0 40px 70px -24px rgba(10, 11, 42, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.phone > span { position: absolute; width: 4px; background: linear-gradient(90deg, #7d8087, #c9cbd1); }
.btn-action { left: -3px; top: 17%; height: 4.5%; border-radius: 3px 0 0 3px; }
.btn-vol-up { left: -3px; top: 25%; height: 8.5%; border-radius: 3px 0 0 3px; }
.btn-vol-down { left: -3px; top: 35.5%; height: 8.5%; border-radius: 3px 0 0 3px; }
.btn-power { right: -3px; top: 27%; height: 12%; border-radius: 0 3px 3px 0; }
.btn-camera { right: -2px; top: 56%; height: 7%; width: 3px !important; border-radius: 0 2px 2px 0; }
.phone-bezel { height: 100%; border-radius: 50px; background: #050507; padding: 9px; }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 42px; background: var(--mist); padding: 0 14px; }
.phone-status { display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 10px 0 14px; color: var(--ink); }
.phone-time { font-size: 14px; font-weight: 700; }
.phone-island { position: absolute; left: 50%; top: 11px; transform: translateX(-50%); width: 31%; height: 26px; border-radius: 20px; background: #000; }
.phone-icons { display: flex; align-items: center; gap: 4px; }
.phone-icons svg:last-child { width: 22px; }
.phone-home { position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%); width: 36%; height: 5px; border-radius: 3px; background: var(--ink); }
.phone-screen > .phone-row:nth-last-of-type(1) { margin-bottom: 0; }
.phone-brand { display: flex; align-items: center; margin: 8px 0 4px; }
.phone-brand svg { width: 92px; height: auto; }
.phone-sub { font-size: 12px; color: var(--muted); margin: 0 0 14px; }
.phone-card { border-radius: 18px; padding: 14px; color: #fff; background: linear-gradient(135deg, #0a0b2a, #1e2a6b); margin-bottom: 14px; }
.phone-card b { display: block; font-size: 14px; line-height: 1.25; }
.phone-card span { font-size: 12px; opacity: 0.8; }
.phone-search { background: #fff; border: 1px solid #d5d7de; border-radius: 14px; padding: 10px 12px; font-size: 13px; font-weight: 500; margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.phone-row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 9px 12px; margin-bottom: 7px; font-size: 13px; font-weight: 700; }
.phone-row .flag { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 1px var(--line); }
.phone-row em { margin-left: auto; font-style: normal; font-weight: 700; }
.phone-row small { display: block; font-size: 10px; font-weight: 400; color: var(--hint); text-align: right; line-height: 1; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 18px; }
.step p { margin: 8px 0 0; color: var(--muted); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; margin-bottom: 16px; }
.feature p { margin: 6px 0 0; color: var(--muted); }

/* Destinations */
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dest { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.dest:hover { border-color: var(--ink); }
.dest .flag { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 1px var(--line); }
.dest-name { font-weight: 700; line-height: 1.2; }
.dest-price { margin-left: auto; text-align: right; font-weight: 700; white-space: nowrap; }
.dest-price small { display: block; font-size: 12px; font-weight: 400; color: var(--hint); line-height: 1; }
.dest-note { margin-top: 18px; }

/* Download */
.download { border-radius: 28px; background: linear-gradient(135deg, #0a0b2a 0%, #13184a 100%); color: #fff; padding: 56px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: center; }
.download .lead { color: rgba(255, 255, 255, 0.78); }
.store-buttons { display: flex; flex-direction: column; gap: 12px; }
.store-btn { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; }
.store-btn small { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }
.store-btn b { display: block; font-size: 18px; line-height: 1.2; }
.store-btn[aria-disabled="true"] { opacity: 0.9; cursor: default; }
.store-btn b, .store-btn .soon { white-space: nowrap; }
.store-btn .soon { margin-left: auto; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--muted); }

/* FAQ */
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 0.15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p { margin: 0; }

/* Help page */
.search { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px; border-radius: 14px; background: #fff; border: 1px solid #d5d7de; }
.search:focus-within { border-color: var(--ink); }
.search input { flex: 1; border: 0; outline: 0; font: 500 17px var(--font); color: var(--ink); background: transparent; min-width: 0; }
.search input::placeholder { color: var(--hint); font-weight: 400; }
.tabs { display: inline-flex; padding: 4px; background: var(--surface); border-radius: 12px; margin: 8px 0 20px; }
.tabs button { border: 0; background: none; font: 500 15px var(--font); color: var(--muted); padding: 9px 22px; border-radius: 9px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 3px rgba(10, 11, 42, 0.08); }
.guide { list-style: none; margin: 0; padding: 0; counter-reset: g; }
.guide li { position: relative; padding: 0 0 22px 52px; counter-increment: g; }
.guide li::before { content: counter(g); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.guide li::after { content: ""; position: absolute; left: 15px; top: 38px; bottom: 6px; width: 2px; background: var(--line); }
.guide li:last-child::after { display: none; }
.guide b { display: block; font-size: 17px; line-height: 32px; }
.guide span { color: var(--muted); }
.results { margin-top: 12px; }
.results ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.results li { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; font-weight: 500; }
.results li:first-child { border-top: 0; }
.check { width: 20px; height: 20px; flex-shrink: 0; }

/* Cards / notices */
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; }
.notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--surface); margin: 20px 0; }
.notice.warn { background: var(--warn-bg); }
.notice.warn strong { color: var(--warn); }
.notice p { margin: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Legal + prose */
.prose { font-size: 17px; line-height: 1.7; }
.prose h2 { font-size: 22px; margin: 44px 0 12px; scroll-margin-top: 90px; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose .label { font-weight: 700; margin-top: 18px; }
.toc { margin: 28px 0 8px; padding: 20px 24px; border-radius: var(--radius); background: var(--mist); }
.toc ol { margin: 8px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15px; }
.toc a { text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.page-head { padding: 56px 0 8px; }
.updated { color: var(--hint); font-size: 14px; margin-top: 8px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 24px; font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot h3 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 8px 0; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.copy { margin-top: 32px; color: var(--hint); font-size: 14px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .download { grid-template-columns: 1fr; }
  .hero-art { order: -1; width: min(280px, 80%); }
  .steps, .features { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .download { padding: 36px 24px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > :first-child { grid-column: 1 / -1; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 52px 0; }
  .hero { padding: 36px 0 44px; }
  .topbar-inner { gap: 8px; }
  .nav a:not(.btn) { padding: 8px; font-size: 14px; }
  .nav .btn { margin-left: 4px; padding: 0 14px; min-height: 38px; font-size: 14px; }
  .dest-grid { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .hero-art { display: none; }
}
@media (max-width: 380px) {
  .nav a[href="/contact/"] { display: none; }
}
