/* Sodalis promo site. Colours from brand/ and theme/tokens.json. System fonts
   only: no third-party requests, so the site sets no cookies and tracks no one. */
:root {
  --navy: #42547f;
  --navy-deep: #2f3d5f;
  --periwinkle: #94a9dc;
  --flame: #eda046;
  --bg: #ffffff;
  --surface: #f4f6fb;
  --ink: #212121;
  --muted: #5b6070;
  --border: #d9deea;
  --link: #42547f;
  --button-ink: #ffffff;
  --radius: 14px;
  --width: 1080px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17191f;
    --surface: #22252d;
    --ink: #f4f4f4;
    --muted: #c3c7d2;
    --border: #3a3f4c;
    --link: #b9c9ed;
    --navy: #b9c9ed;
    --button-ink: #111111;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--width), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--bg); padding: 8px 12px; z-index: 10; }

/* Header and footer */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.site-header img { height: 34px; width: auto; display: block; }
.site-header img.logo-light { display: none; }
@media (prefers-color-scheme: dark) {
  .site-header img.logo-light { display: block; }
  .site-header img.logo-dark { display: none; }
}
.site-header nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: .95rem; }
.site-header nav a { text-decoration: none; font-weight: 600; }
.site-footer { border-top: 1px solid var(--border); margin-top: 64px; padding: 32px 0 48px; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--navy); color: var(--button-ink); font-weight: 700; text-decoration: none;
  border: 2px solid var(--navy);
}
.button.secondary { background: transparent; color: var(--navy); }
.button[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--navy); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.status-badge { display: inline-block; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; font-size: .85rem; font-weight: 600; margin-bottom: 16px; }
.phone { border-radius: 28px; border: 8px solid #1f2430; box-shadow: 0 18px 40px rgba(20, 30, 60, .22); background: #1f2430; display: block; }
.hero .phone { width: min(300px, 100%); margin-inline: auto; }

/* Sections */
.section { padding: 48px 0; }
.section.alt { background: var(--surface); }
.section-intro { max-width: 40em; margin-bottom: 32px; color: var(--muted); }
.features { display: grid; gap: 40px; max-width: 760px; margin-inline: auto; }
.feature { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
.feature:nth-child(even) { grid-template-columns: 1fr 220px; }
.feature:nth-child(even) .phone { order: 2; }
.feature .phone { width: 220px; border-width: 6px; border-radius: 22px; }
.feature ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.section.alt .card { background: var(--bg); }
.card p { color: var(--muted); }
.card .button { margin-top: auto; align-self: flex-start; }
.note { color: var(--muted); font-size: .92rem; }

/* Long-form pages (privacy, account deletion) */
.prose { max-width: 46em; padding-top: 40px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 0 0 1.2em; }
.prose th, .prose td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface); }
.table-scroll { overflow-x: auto; }
.callout { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--navy); border-radius: 8px; padding: 14px 16px; margin: 0 0 1.4em; }
ol.steps { padding-left: 1.3em; }
ol.steps li { margin-bottom: .5em; }

@media (max-width: 820px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .phone { width: min(240px, 70%); }
  .cards { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; }
  .feature:nth-child(even) .phone { order: 0; }
  .feature .phone { width: min(200px, 60%); margin-inline: auto; }
}

/* Install page */
.install-intro { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; margin-bottom: 32px; }
.install-intro .lead { margin-bottom: .6em; }
.qr { width: 168px; height: 168px; border-radius: 12px; border: 1px solid var(--border); background: #fff; padding: 8px; }
@media (max-width: 820px) {
  .install-intro { grid-template-columns: 1fr; }
  .qr { display: none; }
}
