/* Kairos — legal & support site
   Design tokens
   paper   #FAFAF8  warm-neutral page
   surface #FFFFFF  cards
   ink     #1C1E26  primary text
   muted   #565A66  secondary text
   faint   #8A8E99  meta
   line    #E7E5DF  hairlines
   accent  #C0883E  "golden moment" amber, used only as a marker
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500&family=Inter:wght@400;500;600&display=swap');

:root {
  --paper: #FAFAF8;
  --surface: #FFFFFF;
  --ink: #1C1E26;
  --muted: #565A66;
  --faint: #8A8E99;
  --line: #E7E5DF;
  --accent: #C0883E;
  --accent-soft: #F4ECDD;
  --maxw: 46rem;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-feature-settings: 'kern' 1;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 5.5rem 1.5rem 6rem;
}

@media (max-width: 600px) {
  .wrap { padding: 3.5rem 1.25rem 4rem; }
  body { font-size: 16px; }
}

/* Entrance — quiet, and only if motion is welcome */
.wrap { animation: rise 0.5s ease both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wrap { animation: none; }
}

/* Masthead */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.wordmark .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 1.6rem 0 0.6rem;
}

.lede {
  font-size: 1.12rem;
  color: var(--muted);
  margin: 0 0 0.4rem;
  max-width: 34rem;
}

.meta {
  font-size: 0.85rem;
  color: var(--faint);
  margin: 0;
}

/* Summary card — the signature element */
.summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 1.6rem 1.6rem 1.3rem;
  margin: 2.6rem 0 3.2rem;
}
.summary h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9rem;
}
.summary ul { margin: 0; padding: 0; list-style: none; }
.summary li {
  position: relative;
  padding-left: 1.3rem;
  margin: 0.55rem 0;
  color: var(--ink);
}
.summary li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

/* Sections */
section { margin: 2.4rem 0; }
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.35rem;
  font-weight: 600;
}
h2.sec {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.005em;
  margin: 0 0 0.6rem;
}
p { margin: 0 0 1rem; }
section ul { margin: 0 0 1rem; padding-left: 1.1rem; }
section li { margin: 0.35rem 0; }
strong { font-weight: 600; }

a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--accent); }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}

footer {
  margin-top: 3.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--faint);
}
footer a { color: var(--muted); }

/* Landing page specifics */
.links { margin-top: 2.6rem; display: grid; gap: 0.9rem; }
.linkcard {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.1rem 1.3rem;
  text-decoration: none;
  color: var(--ink);
}
.linkcard:hover { border-color: var(--accent); color: var(--ink); }
.linkcard .t { font-weight: 600; }
.linkcard .d { font-size: 0.85rem; color: var(--faint); }
.arrow { color: var(--accent); }
