/* Mira marketing site. Plain CSS, no build step. Colours and type follow the brand guide (brand/README.md). */
@font-face { font-family: 'Figtree'; font-weight: 300 900; font-display: swap; src: url('/fonts/figtree-latin-wght-normal.woff2') format('woff2'); }

:root {
  --green: #1f4ff0;
  --green-2: #16a35a;
  --green-soft: #e8edff;
  --night: #15171c;
  --amber: #f2b233;
  --paper: #f5f3ef;
  --ink: #15171c;
  --muted: #5f6470;
  --line: #e6e2da;
  --radius: 24px;
  --display: 'Figtree', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.035em; margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 68px); font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 34em; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 243, 239, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.site-header .brand img { height: 36px; width: auto; }
.site-header nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.site-header nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.site-header nav a:hover { color: var(--green); }
.site-header nav a.btn { color: #fff; }
.site-header nav a.btn:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #173bc0; }
.btn-light { background: #fff; color: var(--night); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn-outline { border-color: var(--green); color: var(--green); }
/* Phone menu: a button that opens a panel of links. The Get the app button stays visible next to it. */
.site-header .menu { display: none; position: static; background: none; box-shadow: none; border: 0; border-radius: 0; padding: 0; }
.site-header .menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center; font-size: 0; gap: 0; color: var(--ink); background: #fff; box-shadow: 0 1px 4px rgba(21, 23, 28, 0.15); }
.site-header .menu summary::-webkit-details-marker { display: none; }
.site-header .menu summary::after { content: none; }
.site-header .menu summary .close { display: none; }
.site-header .menu[open] summary .open { display: none; }
.site-header .menu[open] summary .close { display: inline; }
.site-header .menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(21, 23, 28, 0.1); padding: 8px 20px 16px; display: grid; }
.site-header .menu-panel a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 18px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.site-header .menu-panel a.menu-cta { margin-top: 12px; border: 0; border-radius: 999px; background: var(--green); color: #fff; text-align: center; padding: 14px 20px; font-weight: 700; }
@media (max-width: 820px) {
  .site-header .wrap { gap: 12px; }
  .site-header nav { gap: 0; }
  .site-header nav a:not(.btn) { display: none; }
  .site-header .menu { display: block; }
}

/* Hero */
.hero { background: var(--paper); color: var(--ink); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 72px 0 0; }
.hero .eyebrow { color: var(--green); }
.hero h1 { margin: 14px 0 20px; }
.hero .lead { color: var(--muted); margin-bottom: 28px; }
.hero .note { color: var(--muted); font-size: 14px; margin-top: 14px; }
.hero-phones { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 520px; }
.hero-phones .phone { margin-bottom: -60px; }
.hero-phones .phone.back { position: absolute; left: 2%; bottom: -40px; transform: rotate(-6deg); opacity: 0.95; width: min(210px, 46%); }
.hero-phones .phone.front { position: relative; z-index: 2; margin-left: 28%; }
@media (max-width: 900px) {
  .hero { padding: 0; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 32px; gap: 28px; }
  .hero-phones { min-height: 440px; }
}

/* Phones */
.phone { width: min(270px, 72vw); padding: 8px; background: #15171c; border-radius: 40px; box-shadow: 0 30px 60px rgba(21, 23, 28, 0.25), inset 0 0 0 2px rgba(255, 255, 255, 0.12); }
.phone img { width: 100%; height: auto; aspect-ratio: 520 / 1000; object-fit: cover; object-position: top; border-radius: 32px; background: var(--paper); }
.phone.crop-car img { aspect-ratio: 520 / 830; }
.phone.crop-owner img { aspect-ratio: 520 / 680; }
.phone.light { box-shadow: 0 24px 50px rgba(21, 23, 28, 0.22), inset 0 0 0 2px rgba(255, 255, 255, 0.1); }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 20px 8px 16px; border-radius: 16px; background: #15171c; color: #fff; text-decoration: none; border: 1.5px solid #15171c; text-align: left; line-height: 1.15; }
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font-size: 11px; font-weight: 500; opacity: 0.8; letter-spacing: 0.04em; text-transform: uppercase; }
.store b { font-size: 19px; font-weight: 600; font-family: var(--display); }
a.store:hover { background: #000; border-color: #fff; }
.store.soon { opacity: 0.62; cursor: default; }
.store.apk { background: #fff; color: #15171c; border-color: var(--line); }
.band .store { border-color: rgba(255, 255, 255, 0.35); }
.on-light .store { border-color: transparent; }

/* Sections */
section { padding: 84px 0; }
.section-head { max-width: 40em; margin-bottom: 44px; display: grid; gap: 14px; }
.strip { background: #fff; padding: 26px 0; border-bottom: 1px solid var(--line); }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: center; font-weight: 600; font-size: 15px; color: var(--ink); }
.strip li::before { content: '✓'; color: var(--green-2); margin-right: 8px; font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: #fff; border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; counter-increment: step; }
.steps li::before { content: counter(step); width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 20px; }
.steps p, .feature p { color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { border: 0; box-shadow: 0 1px 3px rgba(21, 23, 28, 0.08); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; align-content: start; background: #fff; }
.feature .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.feature .ico svg { width: 24px; height: 24px; }
.feature .tag { justify-self: start; font-size: 12px; font-weight: 700; background: #fff1d6; color: #7a4a00; padding: 3px 10px; border-radius: 999px; }
@media (max-width: 900px) { .steps, .features { grid-template-columns: 1fr; } }
@media (min-width: 601px) and (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }

.showcase { background: var(--paper); }
.showcase .row { display: flex; flex-wrap: wrap; gap: 36px; justify-content: center; align-items: flex-start; }
.showcase figure { margin: 0; display: grid; gap: 16px; justify-items: center; text-align: center; max-width: 280px; }
.showcase figcaption { color: var(--muted); font-size: 15px; }
.showcase figcaption b { display: block; color: var(--ink); font-family: var(--display); font-size: 19px; margin-bottom: 2px; }

.owners { background: var(--night); color: #fff; }
.owners .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.owners .eyebrow { color: var(--amber); }
.owners h2 { margin: 12px 0 18px; }
.owners .lead { color: #b9bcc6; }
.owners ul { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.owners li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: #e8e9ee; }
.owners li::before { content: '✓'; color: var(--amber); font-weight: 700; }
.example { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 26px; color: #e8e9ee; }
.example b { color: var(--amber); font-family: var(--display); font-size: 26px; display: block; }
.example small { color: #b9bcc6; }
@media (max-width: 900px) { .owners .wrap { grid-template-columns: 1fr; } .owners .phone { margin: 0 auto; } }

.street .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.street .phone { margin: 0 auto; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip { background: var(--green-soft); color: #173bc0; border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 15px; }
@media (max-width: 900px) { .street .wrap { grid-template-columns: 1fr; } }

.faq { background: var(--paper); }
.faq-list { display: grid; gap: 12px; max-width: 800px; }
details { background: #fff; border: 0; box-shadow: 0 1px 3px rgba(21, 23, 28, 0.08); border-radius: 18px; padding: 4px 22px; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 26px; color: var(--green); font-weight: 400; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { color: var(--muted); padding: 0 0 18px; }

.band { background: var(--night); color: #fff; text-align: center; }
.band .wrap { display: grid; gap: 22px; justify-items: center; }
.band .lead { color: #b9bcc6; }
.band .stores { justify-content: center; }
.band a.inline { color: #fff; }

/* Footer */
.site-footer { background: #0e0f13; color: #b9bcc6; padding: 48px 0 36px; font-size: 15px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 34px; width: auto; margin-bottom: 12px; }
.site-footer h3 { color: #fff; font-size: 15px; margin-bottom: 10px; letter-spacing: 0.02em; }
.site-footer a { color: #e8e9ee; display: block; padding: 3px 0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 20px; font-size: 13px; }
@media (max-width: 700px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Text pages (privacy, terms, not found) */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 8px; }
.doc .updated { color: var(--muted); margin-bottom: 32px; }
.doc h2 { font-size: 24px; margin: 36px 0 10px; }
.doc p, .doc li { color: #2b2f38; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; display: grid; gap: 6px; }
.doc .callout { background: var(--green-soft); border-radius: 14px; padding: 16px 20px; margin: 24px 0; color: #173bc0; }
.notfound { text-align: center; padding: 110px 0; }
.notfound .wrap { display: grid; gap: 18px; justify-items: center; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
