/* MicShift website: Build 18 premium white identity (owner-approved design freeze 1cde8eb).
   Palette: #F7F8FB ground, #FFFFFF panels, #090D14 navy text, #5B6476 secondary,
   #2A5BC4 accent, #E2E6EE hairlines; brand blues kept for gradients. */
:root {
  --bg: #f7f8fb;
  --card: #ffffff;
  --card-raised: #eef1f6;
  --surface: #ffffff;
  --border: #e2e6ee;
  --border-strong: #cbd2de;
  --text: #090d14;
  --text-2: #5b6476;
  --text-3: #626b7d;
  --accent: #2a5bc4;
  --accent-text: #2a5bc4;
  --gradient: linear-gradient(135deg, #2a5bc4 0%, #397dff 100%);
  --gradient-hero: linear-gradient(135deg, #2a5bc4 0%, #397dff 60%, #7fa9ff 100%);
  --glow: 0 10px 30px rgba(42, 91, 196, 0.18);
  --shadow: 0 1px 2px rgba(9, 13, 20, 0.04), 0 8px 24px rgba(9, 13, 20, 0.06);
  --max: 1080px;
  --gutter: 20px;
  --radius: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    linear-gradient(180deg, #eaf0fb 0px, rgba(247, 248, 251, 0) 520px),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-text); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

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

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 10;
  background: var(--gradient); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(247, 248, 251, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 128px; }
.nav { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--text-2); display: inline-flex; align-items: center; min-height: 44px; }
.nav a[aria-current="page"], .nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { position: relative; text-align: center; padding: 80px 0 64px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px 320px at 50% 30%, rgba(57, 125, 255, 0.10), transparent 70%);
}
.hero .wordmark { width: min(360px, 76vw); margin: 0 auto 28px; }
.hero .mascot { width: min(240px, 56vw); margin: 0 auto 8px; }
.hero h1 {
  font-size: clamp(32px, 6vw, 56px); line-height: 1.08; margin: 0 0 14px;
  letter-spacing: -0.02em; font-weight: 800;
}
.hero .lede { font-size: clamp(18px, 2.6vw, 22px); color: var(--text-2); margin: 0 auto 28px; max-width: 640px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow);
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gradient-hero); box-shadow: 0 0 10px rgba(57, 125, 255, 0.6); }
.hero .icon {
  width: 120px; margin: 40px auto 0; border-radius: 27px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(9, 13, 20, 0.18);
}

/* Sections */
section { padding: 56px 0; }
.section-title { font-size: clamp(26px, 4vw, 36px); margin: 0 0 10px; letter-spacing: -0.01em; text-align: center; }
.section-sub { color: var(--text-2); text-align: center; margin: 0 auto 36px; max-width: 620px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); box-shadow: var(--shadow);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.grid .card:hover { border-color: var(--border-strong); box-shadow: var(--glow); }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--text-2); font-size: 16px; }
.card .kicker { color: var(--accent-text); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px; display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { border: 1px solid var(--border); background: var(--card-raised); border-radius: 999px; padding: 4px 12px; font-size: 14px; color: var(--text); }

.steps { counter-reset: step; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 20px; left: 24px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--gradient); color: #fff; font-weight: 800; font-size: 15px;
  display: grid; place-items: center; box-shadow: 0 4px 14px rgba(42, 91, 196, 0.30);
}

.launch { text-align: center; }
.launch .card { max-width: 720px; margin: 0 auto; padding: 32px; }

/* Founding Member call to action */
.cta { margin: 22px 0 0; }
.cta-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  background: var(--gradient); color: #fff; padding: 14px 28px; border-radius: 14px;
  font-size: 17px; font-weight: 800; box-shadow: var(--glow);
}
.cta-button:hover { text-decoration: none; filter: brightness(1.08); }
.cta-note { color: var(--text-2); font-size: 15px; margin: 12px auto 0; max-width: 520px; }
.store { margin: 22px 0 0; }
.store-badge { display: inline-block; border-radius: 10px; line-height: 0; }
.store-badge img { display: block; height: 56px; width: auto; }
.store-badge:hover { text-decoration: none; opacity: 0.88; }
.store-badge:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Documents (privacy, support) */
.doc { padding: 48px 0 24px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); margin: 0 0 6px; letter-spacing: -0.01em; }
.doc .meta { color: var(--text-3); margin: 0 0 28px; font-size: 15px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc h3 { font-size: 18px; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--text-2); }
.doc strong { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-2); }
.doc th { color: var(--text); background: var(--card-raised); }
.table-scroll { overflow-x: auto; }

.notice {
  border: 1px solid rgba(42, 91, 196, 0.35); background: #e8effc;
  border-radius: 14px; padding: 14px 16px; margin: 0 0 24px; color: var(--text);
}

details.faq { background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--border); border-radius: 14px; padding: 4px 18px; margin: 10px 0; }
details.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; color: var(--text); }
details.faq[open] summary { border-bottom: 1px solid var(--border); margin-bottom: 8px; }
details.faq p, details.faq ul { margin: 8px 0 14px; }

.contact-card { text-align: center; }
.contact-card a.button {
  display: inline-block; margin-top: 10px; background: var(--gradient); color: #fff;
  padding: 12px 22px; border-radius: 12px; font-weight: 700; box-shadow: var(--glow);
}
.contact-card a.button:hover { text-decoration: none; filter: brightness(1.08); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--card); margin-top: 40px; padding: 36px 0 44px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.site-footer .tag { font-weight: 700; letter-spacing: 0.02em; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 15px; }
.site-footer nav a { color: var(--text-2); }
.site-footer .legal { width: 100%; color: var(--text-3); font-size: 14px; margin: 0; }

@media (max-width: 860px) {
  .grid, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .nav { gap: 16px; }
  .brand img { width: 112px; }
  section { padding: 44px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}

/* Build 18: mascot hero row and the app-imagery panel. */
.hero-art { display: flex; align-items: flex-end; justify-content: center; gap: 28px; margin-top: 36px; }
.hero-art .icon, .hero-art .mascot { margin: 0; }
.hero-art .icon { margin-bottom: 24px; }
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.showcase .card { padding: 28px; }
.showcase img { width: min(320px, 70vw); margin: 0 auto; }
@media (max-width: 760px) { .showcase { grid-template-columns: 1fr; } }

/* Customer trust (owner-approved exception, 2026-11-30): billing note,
   App Store rating strip (static snapshot; hidden when empty) and the
   footer's Follow MicShift links. No scripts, widgets or trackers. */
.billing-note { color: var(--text-2); font-size: 14px; line-height: 1.55; margin: 14px auto 0; max-width: 540px; overflow-wrap: anywhere; }
.billing-note a { color: var(--accent); }
.rating-strip { margin: 20px 0 0; font-size: 15px; color: var(--text-2); }
.rating-strip a { color: var(--text-2); display: inline-block; padding: 10px 4px; line-height: 1.5; text-wrap: balance; }
.rating-strip a:hover { color: var(--text); }
.rating-strip .rating-star { color: var(--accent); }
.rating-strip .rating-value { color: var(--text); font-weight: 700; }
.site-footer .social { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; font-size: 14px; }
.site-footer .social-label { color: var(--text-3); font-weight: 600; letter-spacing: 0.02em; }
.site-footer .social a { color: var(--text-2); display: inline-flex; align-items: center; min-height: 36px; }
