/* AISTIA site — palette shared with the platform overview document. */
:root {
  --bg: #F5F6F4; --surface: #FFFFFF; --ink: #1C2126; --muted: #5A6472;
  --line: #D8DDE0; --line-strong: #B8C0C4; --accent: #0E6B66; --accent-ink: #0A514D;
  --accent-soft: #E3EEEC;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12161A; --surface: #1A2026; --ink: #E6EAEC; --muted: #97A2AC;
    --line: #2A333B; --line-strong: #3A454E; --accent: #4FB3AC; --accent-ink: #7ACCC5;
    --accent-soft: #173230;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
.serif { font-family: "Charter", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; }
a { color: var(--accent-ink); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.page { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 24px; }

header.mast {
  padding: 28px 0 20px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 30px; height: 30px; }
.brand span { font-weight: 650; letter-spacing: .12em; font-size: 15px; }
nav.top a { text-decoration: none; color: var(--muted); font-size: 14.5px; margin-left: 22px; }
nav.top a:hover { color: var(--accent-ink); }

main { flex: 1; }
.hero { padding: 88px 0 56px; }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.06; font-weight: 500; letter-spacing: -.01em; margin: 14px 0 18px; max-width: 18ch; text-wrap: balance; }
.lede { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); max-width: 58ch; line-height: 1.45; text-wrap: balance; }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; margin: 8px 0 64px; }
.pillars > div { background: var(--surface); padding: 22px 22px 24px; }
.pillars h2 { font-size: 15px; font-weight: 650; margin-bottom: 8px; }
.pillars p { font-size: 15px; color: var(--muted); line-height: 1.55; }

section.app { padding: 0 0 72px; }
section.app h2 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.card { border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--surface); border-radius: 4px; padding: 22px 24px; max-width: 72ch; }
.card h3 { font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.card p { color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 22px 0 40px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer a { color: var(--muted); }
.notfound { padding: 120px 0; text-align: center; }
.notfound h1 { margin: 0 auto 14px; }
@media (max-width: 640px) { .hero { padding: 56px 0 40px; } nav.top a { margin-left: 14px; } }
