:root {
  --bg: #f5efe4;
  --paper: rgba(255, 250, 240, 0.94);
  --ink: #1d1a16;
  --muted: #6c6256;
  --line: #d6c8b5;
  --accent: #335c44;
  --accent-soft: rgba(106, 141, 115, 0.12);
  --shadow: 0 18px 48px rgba(38, 29, 17, 0.08);
  --radius: 24px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(106, 141, 115, 0.18), transparent 30%),
    linear-gradient(180deg, #faf3e8 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

.intake-shell {
  width: min(96vw, 1320px);
  margin: 0 auto;
  padding: 32px 18px 56px;
}

.intake-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.brand-wire {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(14, 24, 36, 0.14);
  background: linear-gradient(180deg, #0d1723 0%, #162233 100%);
  box-shadow: 0 12px 24px rgba(8, 15, 24, 0.16);
  color: #f5efe4;
  text-decoration: none;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-wire-main,
.brand-wire-sub {
  font-size: 0.88rem;
  font-weight: 700;
}

.brand-wire-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #d96a4b;
  box-shadow: 0 0 0 3px rgba(217, 106, 75, 0.14);
}

.top-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-link {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.86);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-card,
.content-card,
.domain-card,
.asset-card,
.note-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 10px;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.97;
  max-width: 760px;
}

.hero-card p {
  margin: 14px 0 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.02rem;
}

.domain-grid,
.asset-grid,
.note-grid {
  display: grid;
  gap: 18px;
}

.domain-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.domain-card,
.asset-card,
.note-card,
.content-card {
  padding: 22px;
}

.domain-card {
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.domain-card:hover,
.domain-card:focus-visible {
  transform: translateY(-2px);
  border-color: #5a94ee;
  box-shadow: 0 22px 48px rgba(60, 95, 160, 0.18);
}

.domain-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.domain-card span,
.asset-card p,
.content-card p,
.note-card p,
.settings-list li,
.steps-list li {
  color: var(--muted);
  line-height: 1.5;
}

.section-head {
  margin-bottom: 14px;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.content-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  margin-bottom: 20px;
}

.asset-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-bottom: 20px;
}

.asset-card h3,
.note-card h3,
.content-card h2 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.doc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.doc-link.primary {
  background: var(--accent);
  color: #f5efe4;
  border-color: var(--accent);
}

.settings-list,
.steps-list {
  margin: 12px 0 0;
  padding-left: 1.2rem;
}

.settings-list li + li,
.steps-list li + li {
  margin-top: 0.5rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.crumbs a {
  text-decoration: none;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
}

.mini-note {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(51, 92, 68, 0.14);
  background: rgba(106, 141, 115, 0.08);
  color: #30463a;
  line-height: 1.5;
}

@media (max-width: 920px) {
  .intake-topbar,
  .content-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .intake-topbar {
    justify-content: stretch;
  }

  .top-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .intake-shell {
    width: min(100vw, 100%);
    padding: 16px 10px 32px;
  }

  .hero-card,
  .content-card,
  .domain-card,
  .asset-card,
  .note-card {
    padding: 16px;
    border-radius: 18px;
  }

  h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .hero-card p,
  .section-head p,
  .asset-card p,
  .note-card p,
  .content-card p,
  .settings-list li,
  .steps-list li {
    font-size: 0.92rem;
  }

  .doc-link,
  .top-link {
    width: 100%;
    justify-content: center;
  }

  .link-list {
    display: grid;
    grid-template-columns: 1fr;
  }
}
