/* Sekani website. Colors and type match the app (src/ui/theme). */
:root {
  --blue-900: #121f66;
  --blue-800: #1b2d8f;
  --blue-600: #2f4be0;
  --blue-100: #dce2fc;
  --blue-50: #eef1fe;
  --ink: #0e1530;
  --gray-700: #4a5068;
  --gray-500: #676d85;
  --gray-200: #e3e6f5;
  --gray-50: #f6f7fc;
  --green-600: #0f8a5f;
  --green-50: #e4f6ee;
  --amber-600: #b26b00;
  --amber-50: #fff4e0;
  --radius: 16px;
  --max: 1120px;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--gray-500); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--gray-200); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 22px; font-size: 0.95rem; }
.nav a { color: var(--gray-700); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--blue-600); }
@media (max-width: 640px) { .nav { gap: 14px; font-size: 0.9rem; } .nav .hide-sm { display: none; } }

/* Buttons and badges */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; }
.btn-light { background: #fff; color: var(--blue-800); }
.btn-light:hover { background: var(--blue-50); color: var(--blue-900); }
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-800); color: #fff; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.pill-green { background: var(--green-50); color: var(--green-600); }
.pill-blue { background: var(--blue-50); color: var(--blue-800); }
.pill-amber { background: var(--amber-50); color: var(--amber-600); }
.pill-onDark { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } section { padding: 56px 0; } }
.card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; }
.card .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; }
.soft { background: var(--gray-50); }

/* Footer */
.site-footer { background: var(--blue-900); color: rgba(255, 255, 255, 0.78); padding: 48px 0 32px; font-size: 0.95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 28px 56px; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.fineprint { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.85rem; }

/* Long-form pages (support, legal) */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.doc h2 { font-size: 1.45rem; margin-top: 2em; }
.doc h3 { margin-top: 1.5em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 0.4em; }
.note { background: var(--amber-50); color: #5c3a00; border-radius: 12px; padding: 14px 16px; font-size: 0.95rem; }
.fill { background: #fff1c2; border-radius: 4px; padding: 0 4px; font-weight: 600; }
details { border: 1px solid var(--gray-200); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; background: #fff; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--gray-700); }
