/* aortashield.com: one look for every page ("Ivory & Wine", "Ink" in dark mode). */
/* Fonts: Inter (SIL Open Font License, fonts/Inter-LICENSE.txt), hosted here - no third-party
   font service. Inter Display for headings, Inter for text; the same family as the Android app. */
@font-face { font-family: "Inter"; src: url("fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #FBF9F6; --surface: #F1ECE6; --fg: #1C1B1A; --muted: #5F5A54;
  --wine: #6E1423; --navy: #1F2E55; --line: #E2DAD1; --header: rgba(251, 249, 246, 0.9);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0F1218; --surface: #1B1F28; --fg: #ECE9E4; --muted: #A09A92;
    --wine: #E0566D; --navy: #A9BAF0; --line: #2A2F3A; --header: rgba(15, 18, 24, 0.9); }
}
* { box-sizing: border-box; }
html { scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--fg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.65; letter-spacing: -0.011em;
  font-feature-settings: "cv11", "ss01"; /* Inter's cleaner single-storey a and open digits */
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
h1, h2, h3, .brand { font-family: "Inter Display", "Inter", -apple-system, BlinkMacSystemFont, sans-serif; }
a { color: var(--navy); text-decoration-line: underline; text-decoration-thickness: 1px;
  text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
a:hover { text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; border-radius: 4px; }

/* Header: logo + name + navigation, stays at the top. */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--header);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line); }
.site-header .inner { max-width: 760px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none;
  font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 30px; }
.logo path { fill: var(--wine); }
.site-header nav { margin-left: auto; display: flex; gap: 22px; font-size: 15px; font-weight: 500; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--navy); }
.site-header nav a[aria-current="page"] { font-weight: 600; }

/* Page content */
main { max-width: 760px; margin: 0 auto; padding: 40px 20px 24px; }
h1 { font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin: 8px 0 10px; text-wrap: balance; }
h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; margin: 36px 0 8px; text-wrap: balance; }
h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 22px 0 6px; }
p, li { max-width: 66ch; }
ul { padding-left: 22px; } li { margin: 6px 0; }
code { background: var(--surface); padding: 1px 5px; border-radius: 5px; font-size: 15px; }
.meta { color: var(--muted); font-size: 15px; }
.lead { font-size: 21px; line-height: 1.5; letter-spacing: -0.015em; color: var(--muted); margin: 0 0 28px; max-width: 34ch; }
.card { background: var(--surface); border-radius: 16px; padding: 18px 22px; margin: 24px 0; }
.card h2 { font-size: 19px; margin: 0 0 8px; }
.summary { background: var(--surface); border-radius: 16px; padding: 18px 22px; margin-top: 24px; }
.summary ul { margin: 8px 0 0; }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }

/* Home: "Coming soon", centred. */
.soon { text-align: center; padding-top: 96px; padding-bottom: 72px; }
.soon .soon-logo { width: 64px; height: 64px; display: block; margin: 0 auto 18px; }
.soon h1 { margin: 0 0 10px; }
.soon p { margin: 0 auto; color: var(--muted); font-size: 16px; }

/* Footer: disclaimer, who runs it, links. */
.site-footer { border-top: 1px solid var(--line); margin-top: 48px; }
.site-footer .inner { max-width: 760px; margin: 0 auto; padding: 24px 20px 40px; color: var(--muted); font-size: 14px; }
.site-footer .disclaimer { font-size: 12.5px; line-height: 1.5; color: var(--muted); opacity: 0.85; margin: 0 0 14px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 10px 0 0; }
.site-footer .links a { color: var(--muted); text-decoration: none; }
.site-footer .links a:hover { color: var(--navy); text-decoration: underline; }
.site-footer p { margin: 6px 0; max-width: none; }

@media (max-width: 520px) {
  h1 { font-size: 26px; }
  .site-header nav { margin-left: 0; width: 100%; }
}
