/* Ai3 preview site — local CSS only, no external assets or trackers */
:root {
  --bg: #f3f0e8;
  --paper: #fffdf8;
  --ink: #1b1916;
  --muted: #5c574e;
  --line: #ddd6c7;
  --accent: #143f49;
  --accent-hover: #0c2c33;
  --accent-soft: #e6eef0;
  --placeholder-bg: #f8e6a8;
  --placeholder-ink: #3d3208;
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2rem, 44rem);
  margin-inline: auto;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1rem 0;
}

.logo {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

.logo:hover {
  color: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a[aria-current="page"] {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

main {
  padding: 2.25rem 0 4rem;
}

h1,
h2,
h3 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: 2.05rem;
}

h2 {
  font-size: 1.45rem;
  margin-top: 0;
}

h3 {
  font-size: 1.15rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 1rem;
}

.hero {
  padding-bottom: 0.5rem;
}

.hero p,
.prose p {
  margin: 0 0 1rem;
}

.prose p:last-child,
.prose ul:last-child,
.prose ol:last-child {
  margin-bottom: 0;
}

section {
  margin-top: 2.4rem;
}

.steps {
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  margin: 0 0 0.9rem;
  padding: 0.95rem 1rem 0.95rem 3.15rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps li:last-child {
  margin-bottom: 0;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0.85rem;
  top: 0.95rem;
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.note {
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-card,
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.05rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem 0.75rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.contact-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact-list li:last-child {
  padding-bottom: 0;
}

.contact-list dt,
.contact-list .label {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding-top: 0.15rem;
}

.contact-list .value {
  overflow-wrap: anywhere;
}

.placeholder {
  display: inline;
  background: var(--placeholder-bg);
  color: var(--placeholder-ink);
  padding: 0.05em 0.18em;
  border-radius: 4px;
  font-weight: 600;
  overflow-wrap: anywhere;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.script,
.sample {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 0 0 1rem;
}

.script p {
  margin: 0 0 0.65rem;
}

.script p:last-child {
  margin-bottom: 0;
}

.script .who {
  font-weight: 700;
  color: var(--accent);
}

.sample {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.92rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.sample-label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1.25rem 0 0.45rem;
}

.sample-label:first-of-type {
  margin-top: 0.5rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li {
  margin: 0 0 0.4rem;
  overflow-wrap: anywhere;
}

.prose ul,
.prose ol {
  margin-bottom: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 1.25rem 0 1.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
  align-items: baseline;
  justify-content: space-between;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-brand {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

.legal-line {
  margin: 0.75rem 0 0;
  overflow-wrap: anywhere;
}

@media (min-width: 800px) {
  body {
    font-size: 1.125rem;
  }

  .wrap {
    width: min(100% - 4rem, 46rem);
  }

  .header-inner {
    padding: 1.15rem 0;
  }

  main {
    padding: 3rem 0 5rem;
  }

  h1 {
    font-size: 2.75rem;
  }

  .hero h1 {
    max-width: 16ch;
    font-size: 3rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .lead {
    font-size: 1.25rem;
  }

  section {
    margin-top: 3rem;
  }

  .contact-list li {
    grid-template-columns: 8rem 1fr;
  }
}

@media (max-width: 389px) {
  .wrap {
    width: min(100% - 1.5rem, 44rem);
  }

  h1 {
    font-size: 1.8rem;
  }
}
