/* Shkiper AI — shared design system
 * Maritime palette: deep blue #004e92, midnight #000428, accent orange #ff9500
 * Typography: system stack, Inter fallback
 * All landing pages share this file.
 */

:root {
  --navy-900: #000428;
  --navy-700: #002855;
  --navy-500: #004e92;
  --navy-300: #1e73be;
  --sky-100: #eaf3fb;
  --accent: #ff9500;
  --accent-dark: #e07e00;
  --ink-900: #0a0f1c;
  --ink-700: #1d1d1f;
  --ink-500: #4a4a4f;
  --ink-300: #8a8a8f;
  --paper-50: #f8fafc;
  --paper-100: #f1f5f9;
  --line: #e5e7eb;
  --ok: #10b981;
  --warn: #f59e0b;
  --err: #ef4444;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(0, 4, 40, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 4, 40, 0.10);
  --shadow-lg: 0 20px 60px rgba(0, 4, 40, 0.18);

  --maxw: 1200px;
  --gap: 24px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-700);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy-500); text-decoration: none; }
a:hover { color: var(--navy-300); text-decoration: underline; }
/* Inline links in body copy: underline for a11y (link-in-text-block) */
p a, li a, .faq a { text-decoration: underline; }

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

h1, h2, h3, h4 {
  color: var(--ink-900);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.3; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ───────── Header ───────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink-900);
  font-size: 1.1rem;
}
.nav-brand img { width: 28px; height: 28px; }
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  align-items: center;
  list-style: none;
  padding: 0;
}
.nav-links a {
  color: var(--ink-700);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--navy-500); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }
  .nav-toggle { display: block; margin-left: auto; }
}

/* ───────── Buttons ───────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); text-decoration: none; color: var(--navy-900); }
.btn-dark {
  background: var(--navy-700);
  color: #fff;
}
.btn-dark:hover { background: var(--navy-900); color: #fff; text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--navy-500);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--navy-500); background: var(--sky-100); text-decoration: none; }
.btn-lg { padding: 16px 30px; font-size: 1.1rem; }

/* ───────── Hero ───────── */

.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(255,149,0,0.15), transparent 40%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-500) 100%);
  color: #fff;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero h1 { color: #fff; }
.hero p.lead {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
}
.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  align-items: center;
}
.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.store-badges a {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  text-decoration: none;
}
.store-badges a:hover { background: #222; color: #fff; text-decoration: none; }
.store-badges .small { display: block; font-size: 0.7rem; opacity: 0.75; }

/* ───────── Sections ───────── */

section.block { padding: 80px 0; }
section.block.alt { background: var(--paper-50); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--navy-500);
  font-weight: 700;
  margin-bottom: 12px;
}

.grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}

/* Partners page aliases */
.stat-value { font-size: 2.5rem; font-weight: 800; color: var(--navy-500); line-height: 1; }
.stat-label { color: var(--ink-500); margin-top: 6px; font-size: 0.95rem; }
.step-num {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-500); color: #fff;
  border-radius: 50%;
  font-weight: 800; font-size: 1.2rem;
  margin-bottom: 16px;
}
.feature-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sky-100);
  border-radius: 12px;
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-500); font-weight: 400; }
.checkbox input { width: auto; margin-top: 3px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 28px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card h3 { margin-top: 8px; }
.card .icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sky-100);
  color: var(--navy-500);
  border-radius: 12px;
  font-size: 1.4rem;
}

/* ───────── FAQ ───────── */

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: border-color .15s ease;
}
.faq details[open] { border-color: var(--navy-500); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink-900);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-weight: 400; color: var(--navy-500); }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding-top: 12px; color: var(--ink-500); }

/* ───────── Forms ───────── */

.form {
  display: grid;
  gap: 14px;
  max-width: 520px;
}
.form label { font-size: 0.9rem; font-weight: 600; color: var(--ink-700); }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--navy-500);
  outline-offset: -1px;
  border-color: var(--navy-500);
}
.form .muted { font-size: 0.85rem; color: var(--ink-500); }
.form .form-msg { padding: 12px; border-radius: var(--radius-sm); font-size: 0.95rem; }
.form .form-msg.ok { background: #d1fae5; color: #065f46; }
.form .form-msg.err { background: #fee2e2; color: #991b1b; }

/* ───────── Footer ───────── */

.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
  margin-top: 40px;
}
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; margin-bottom: 10px; }
.footer-col h4, .footer-col-title { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; margin-top: 0; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}

/* ───────── Utilities ───────── */

.center { text-align: center; }
.muted { color: var(--ink-500); }
.lead { font-size: 1.15rem; color: var(--ink-500); }
.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--sky-100);
  color: var(--navy-500);
  font-size: 0.8rem;
  font-weight: 600;
}
.divider { height: 1px; background: var(--line); margin: 60px 0; }

.stat { text-align: center; }
.stat .num { font-size: 2.5rem; font-weight: 800; color: var(--navy-500); line-height: 1; }
.stat .label { color: var(--ink-500); margin-top: 6px; font-size: 0.95rem; }

.qr-box {
  display: inline-block;
  background: #fff;
  padding: 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.qr-box img { width: 140px; height: 140px; }
.qr-box .cap { font-size: 0.85rem; color: var(--ink-500); margin-top: 8px; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--ok);
  font-weight: 800;
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
