/* KalimaGo website. Tokens from the KalimaGo design system (dark theme). Logical properties throughout so Arabic flips with dir="rtl". */
/* Fonts are self-hosted (SIL Open Font License): faster first paint, no third-party requests. */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/sora-600.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/sora-700.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/sora-800.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/manrope-400.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/manrope-500.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/manrope-600.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/manrope-700.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/plex-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/plex-arabic-500.woff2") format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/plex-arabic-600.woff2") format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/plex-arabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
:root {
  --bg: #0B1020; --surface: #141B2E; --surface-raised: #1B2440; --field: #0F1526;
  --line: #2A3554; --line-strong: #5E6D88;
  --ink: #E8EEF7; --ink-muted: #8F9BB3;
  --blue: #29A9F2; --blue-strong: #1C8BCB; --blue-soft: #0E2A42; --on-blue: #06101F;
  --lime: #C6E03A; --lime-ink: #C6E03A; --lime-soft: #262E0C; --on-lime: #0B1020;
  --success: #4ADE80; --success-soft: #0F2E22; --warning: #FBBF24; --warning-soft: #33280A;
  --danger: #F87171; --danger-soft: #3A1518;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-12: 48px;
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px; --radius-full: 9999px;
  --shadow-lg: 0 16px 40px -8px #000000b3;
  --focus-ring: 0 0 0 2px #0B1020, 0 0 0 4px #29A9F2;
  --font-display: "Sora", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-sans: "Manrope", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-arabic: "IBM Plex Sans Arabic", "Manrope", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { font-family: var(--font-arabic); font-size: 17px; line-height: 1.85; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
[hidden] { display: none !important; }
.wrap { max-width: 1160px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; background: var(--blue); color: var(--on-blue); padding: 8px 14px; border-radius: var(--radius-sm); z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }
.muted { color: var(--ink-muted); margin: 0; }

/* Type */
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.06; letter-spacing: -0.025em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.15; letter-spacing: -0.015em; font-weight: 700; }
h3 { font-size: 1.15rem; line-height: 1.35; font-weight: 600; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-family: var(--font-arabic); letter-spacing: 0; line-height: 1.35; }
html[lang="ar"] h1 { font-weight: 700; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lime-ink); margin: 0 0 var(--space-3); }
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 14px; }
.lead { font-size: 1.125rem; color: var(--ink-muted); max-width: 58ch; margin: var(--space-5) 0 0; }
.section-sub { color: var(--ink-muted); max-width: 62ch; margin: var(--space-4) 0 0; }

/* Wordmark */
.wordmark { font-family: "Sora", system-ui, sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; line-height: 1; white-space: nowrap; }
.wordmark span { color: var(--lime-ink); }
.wordmark-sm { font-size: 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: 48px; padding-inline: var(--space-6); border-radius: var(--radius-md); font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; transition: background-color .15s ease-out, border-color .15s ease-out, transform .15s ease-out; white-space: nowrap; }
.btn:hover { background: var(--surface-raised); }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 38px; padding-inline: var(--space-4); font-size: 14px; }
.btn-primary { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.btn-primary:hover { background: var(--blue-strong); border-color: var(--blue-strong); }
.btn-accent { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.btn-accent:hover { background: #d3ea57; border-color: #d3ea57; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: #0b1020e6; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.nav-in { display: flex; align-items: center; gap: var(--space-6); height: 68px; }
.nav-links { display: flex; gap: var(--space-5); margin-inline-start: auto; }
.nav-links a { color: var(--ink-muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: var(--space-3); }
.lang { display: inline-flex; align-items: center; text-decoration: none; font: inherit; font-family: var(--font-arabic); font-weight: 600; font-size: 15px; height: 38px; padding-inline: var(--space-3); border-radius: var(--radius-md); border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; }
.lang:hover { background: var(--surface); }
html[lang="ar"] .lang { font-family: "Manrope", system-ui, sans-serif; }
@media (max-width: 900px) { .nav-links { display: none; } .nav-end { margin-inline-start: auto; } }
@media (max-width: 380px) { .nav-end .btn { display: none; } }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 96px); background: radial-gradient(900px 420px at 85% 10%, #0e2a42 0%, transparent 60%); }
html[dir="rtl"] .hero { background: radial-gradient(900px 420px at 15% 10%, #0e2a42 0%, transparent 60%); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { min-width: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.hero-points { list-style: none; padding: 0; margin: var(--space-8) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); color: var(--ink-muted); font-size: 14px; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); flex: none; }
.hero-visual { position: relative; min-width: 0; padding-top: 80px; }
.hero-mascot { position: absolute; width: 104px; inset-inline-end: 8px; top: 0; filter: drop-shadow(0 12px 24px #00000080); }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; } .hero-visual { padding-top: 68px; } .hero-mascot { width: 88px; } }

.app-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: var(--space-4); }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.stat { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-3); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stat-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[lang="ar"] .stat-label { letter-spacing: 0; text-transform: none; font-size: 12px; }
.stat-value { font-family: "Sora", system-ui, sans-serif; font-size: 26px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat-key { border-color: var(--lime); }
.stat-key .stat-value { color: var(--lime-ink); }
.run { display: flex; flex-direction: column; gap: var(--space-2); }
.run-head { display: flex; justify-content: space-between; font-weight: 600; font-size: 14px; }
.run-count { color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.track { height: 6px; background: var(--surface-raised); border-radius: var(--radius-full); overflow: hidden; }
.fill { height: 100%; width: 65%; background: var(--blue); border-radius: var(--radius-full); transition: width .6s ease-out; }
.rows { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.rows li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 10px var(--space-3); border-bottom: 1px solid var(--line); font-size: 14px; }
.rows li:last-child { border-bottom: 0; }
.rows li.flash { background: var(--surface-raised); transition: background-color .4s ease-out; }
.co { font-weight: 600; display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.co small { color: var(--ink-muted); font-weight: 500; font-size: 12px; }
.example-note { margin: 0; font-size: 12px; color: var(--ink-muted); }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: var(--space-2); height: 24px; padding-inline: 10px; border-radius: var(--radius-full); font-size: 12px; font-weight: 700; white-space: nowrap; background: var(--surface-raised); color: var(--ink-muted); flex: none; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-success { background: var(--success-soft); color: var(--success); }
.pill-warning { background: var(--warning-soft); color: var(--warning); }
.pill-info { background: var(--blue-soft); color: var(--blue); }
.pill-live::before { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); scroll-margin-top: 68px; }
.section-alt { background: #0d1326; border-block: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: var(--space-12) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); counter-reset: none; }
.step { position: relative; padding: var(--space-6); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.step p { margin: 0; color: var(--ink-muted); font-size: 15px; }
.step-n { font-family: "Sora", system-ui, sans-serif; font-weight: 700; font-size: 14px; width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: var(--radius-sm); background: var(--lime-soft); color: var(--lime-ink); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Explorer */
.explorer { margin-top: var(--space-8); display: flex; flex-direction: column; gap: var(--space-5); }
.ex-controls { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: space-between; }
.seg { display: inline-flex; flex-wrap: wrap; padding: 3px; gap: 2px; border-radius: var(--radius-md); background: var(--field); border: 1px solid var(--line-strong); max-width: 100%; }
.seg button { font: inherit; font-size: 14px; font-weight: 600; min-height: 36px; padding-inline: var(--space-3); border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink-muted); cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--blue-soft); color: var(--blue); }
.seg button[lang="ar"] { font-family: var(--font-arabic); }
.ex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 860px) { .ex-grid { grid-template-columns: 1fr; } }
.ex-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); min-width: 0; }
.ex-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); margin-bottom: var(--space-5); }
.ex-head p { font-size: 14px; }
.ex-fields { margin: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.ex-fields div { display: flex; flex-direction: column; gap: 2px; }
.ex-fields dt { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
html[lang="ar"] .ex-fields dt { letter-spacing: 0; text-transform: none; font-size: 13px; }
.ex-fields dd { margin: 0; white-space: pre-line; }
.ex-fields dd.product { color: var(--blue); font-weight: 700; }
.email { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-5); font-size: 15px; white-space: pre-line; overflow-wrap: anywhere; }
.email[dir="rtl"] { font-family: var(--font-arabic); font-size: 16px; line-height: 1.9; }
.email .subj { display: block; font-weight: 700; margin-bottom: var(--space-3); padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); }
.attach { margin: var(--space-3) 0 0; font-size: 13px; color: var(--ink-muted); }
.ex-email.is-empty .email { color: var(--ink-muted); }

/* Why */
.why-grid { margin-top: var(--space-12); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8) var(--space-6); }
.why { border-top: 2px solid var(--line); padding-top: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.why:first-child { border-top-color: var(--lime); }
.why p { margin: 0; color: var(--ink-muted); }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* Security */
.security { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.sec-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sec-list li { padding-block: var(--space-5); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--space-1); }
.sec-list li:first-child { padding-top: 0; }
.sec-list p { margin: 0; color: var(--ink-muted); }
@media (max-width: 860px) { .security { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-list { display: flex; flex-direction: column; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding-block: var(--space-5); font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; gap: var(--space-4); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; flex: none; }
details[open] summary::after { content: "\2212"; }
details p { margin: 0 0 var(--space-5); color: var(--ink-muted); max-width: 64ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* Demo form */
.section-demo { background: radial-gradient(800px 400px at 10% 100%, #262e0c 0%, transparent 55%), var(--bg); border-top: 1px solid var(--line); }
html[dir="rtl"] .section-demo { background: radial-gradient(800px 400px at 90% 100%, #262e0c 0%, transparent 55%), var(--bg); }
.demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.demo-mascot { display: block; width: 200px; margin-top: var(--space-8); }
@media (max-width: 860px) { .demo { grid-template-columns: 1fr; } .demo-mascot { display: none; } }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: var(--space-4); box-shadow: var(--shadow-lg); min-width: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; width: 100%; min-height: 46px; padding: 10px var(--space-3); border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--field); color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-muted); }
.field input[dir="ltr"] { text-align: left; }
.field textarea { resize: vertical; min-height: 92px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--danger); }
.err { margin: 0; font-size: 13px; color: var(--danger); }
.check { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.6; color: var(--ink-muted); }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 14px; min-height: 1.4em; }
.form-status.ok { color: var(--success); }
.form-status.bad { color: var(--danger); }
.form.sent { align-items: center; text-align: center; }
.sent-img { width: 96px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: var(--space-12) calc(var(--space-12) + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: var(--space-6); align-items: start; }
.foot-in .muted { margin-top: var(--space-2); font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: center; }
.foot-links a { color: var(--ink-muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.foot-links a:hover { color: var(--ink); }
.foot-links span { font-size: 14px; }
.credit { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--ink-muted); border-top: 1px solid var(--line); padding-top: var(--space-5); }
.credit strong { color: var(--ink); }
@media (max-width: 640px) { .foot-in { grid-template-columns: 1fr; } }

/* Simple pages */
.page { max-width: 760px; margin-inline: auto; padding: var(--space-12) max(20px, env(safe-area-inset-left, 0px)); }
.page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: var(--space-5); }
.page h2 { font-size: 1.3rem; margin: var(--space-8) 0 var(--space-3); }
.page p, .page li { color: var(--ink-muted); }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-4); padding-block: 15vh; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill-live::before { animation: none; }
  .fill, .btn, .rows li.flash { transition: none; }
}
.demo-direct { margin: var(--space-4) 0 0; color: var(--ink-muted); }
.demo-direct a { font-weight: 700; }
.form.sent .btn { margin-top: var(--space-2); }
.page.center .btn + .btn { margin-inline-start: var(--space-2); }
