:root {
  --cream: #fff7ea;
  --cream-2: #eef9fb;
  --paper: #fffaf2;
  --white: #ffffff;
  --navy: #111827;
  --black: #050505;
  --teal: #04a8d1;
  --cyan: #7fe5f3;
  --teal-dark: #04708e;
  --red: #df0808;
  --ink-soft: #5c6570;
  --line: rgba(5, 5, 5, 0.11);
  --shadow: 0 28px 90px rgba(5, 5, 5, 0.1);
  --radius: 8px;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 12%, rgba(127, 229, 243, 0.28), transparent 26%),
    radial-gradient(circle at 88% 10%, rgba(223, 8, 8, 0.08), transparent 18%),
    var(--cream);
  color: var(--navy);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 247, 234, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-logo {
  width: 68px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(16, 35, 63, 0.12);
}

.button.primary {
  background: linear-gradient(135deg, var(--black), #152033);
  color: #fff;
  border-color: var(--navy);
}

.button.secondary {
  background: transparent;
}

.button.small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.88rem;
}

.hero {
  min-height: calc(100vh - 82px);
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: center;
  padding: 42px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal-dark);
  font-weight: 750;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 999px;
  background: var(--red);
  vertical-align: 1px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.7rem, 8vw, 7.15rem);
  font-weight: 500;
  max-width: 980px;
  margin-inline: auto;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 5.7vw, 5.6rem);
  font-weight: 500;
}

h3 {
  font-size: 1.18rem;
  font-weight: 760;
}

.lead {
  max-width: 670px;
  margin: 18px auto 0;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.6vw, 1.17rem);
}

.hero-actions,
.section-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
  justify-content: center;
}

.hero-panel {
  position: relative;
  width: min(920px, 100%);
  margin: 6px auto 0;
  padding: 12px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 249, 251, 0.92));
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.path-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.path-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
  text-align: left;
}

.path-row:last-child {
  border-right: 0;
}

.path-number {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(4, 168, 209, 0.13);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.path-row p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.section {
  padding: 106px 0;
}

.section.paper {
  background: linear-gradient(180deg, var(--white), #f7fdff);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.section-header p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
}

.grid {
  display: grid;
  gap: 18px;
}

.logo-strip {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
  color: var(--ink-soft);
}

.logo-pill {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  font-size: 0.88rem;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.item-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.item-card:hover {
  transform: translateY(-2px);
  border-color: rgba(4, 168, 209, 0.28);
  box-shadow: 0 18px 50px rgba(5, 5, 5, 0.08);
}

.paper .item-card {
  background: rgba(247, 242, 232, 0.55);
}

.item-card p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.item-card .meta {
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-weight: 760;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal-dark);
  font-weight: 750;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.step:nth-child(2)::before {
  background: var(--teal);
}

.step:nth-child(3)::before {
  background: var(--red);
}

.step p,
.content p,
.content li {
  color: var(--ink-soft);
}

.page-hero {
  padding: 80px 0 52px;
}

.page-hero h1 {
  font-size: clamp(3.2rem, 8vw, 6.6rem);
}

.content {
  padding: 52px 0 86px;
}

.content-block {
  max-width: 760px;
}

.resource-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.resource-link {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--navy);
}

.resource-link span {
  color: var(--ink-soft);
  text-align: right;
  max-width: 320px;
}

.chooser {
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 249, 251, 0.94));
  box-shadow: var(--shadow);
  padding: 30px;
}

.chooser-step {
  display: none;
}

.chooser-step.active {
  display: block;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.option {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdf8;
  padding: 18px;
  min-height: 84px;
  color: var(--navy);
  font: inherit;
  cursor: pointer;
}

.option:hover,
.option.selected {
  border-color: rgba(7, 152, 188, 0.5);
  background: rgba(7, 152, 188, 0.08);
}

.field-label,
label span {
  display: block;
  margin: 18px 0 8px;
  color: var(--navy);
  font-weight: 760;
  font-size: 0.92rem;
}

.input-control {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy);
  font: inherit;
  padding: 12px 14px;
  outline: none;
}

.input-control:focus {
  border-color: rgba(4, 168, 209, 0.72);
  box-shadow: 0 0 0 4px rgba(4, 168, 209, 0.12);
}

textarea.input-control {
  resize: vertical;
}

.capture-form,
.contact-form {
  display: grid;
  gap: 18px;
}

.capture-form {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.check-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.check-row input {
  margin-top: 4px;
}

.check-row span {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 500;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-status {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.form-status[data-tone="success"] {
  color: var(--teal-dark);
}

.form-status[data-tone="error"] {
  color: var(--red);
}

.admin-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.admin-status {
  margin: 0 0 18px;
}

.admin-card {
  display: grid;
  gap: 14px;
}

.admin-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(4, 168, 209, 0.12);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.admin-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
}

.admin-details div {
  min-width: 0;
}

.admin-details dt {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-details dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}

.result-panel {
  display: none;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.result-panel.active {
  display: block;
}

.recommendations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: var(--black);
  color: #fff;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer a,
.footer p {
  color: rgba(255, 255, 255, 0.78);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .nav {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .path-card,
  .grid.two,
  .grid.three,
  .grid.four,
  .recommendations,
  .form-grid,
  .admin-controls,
  .admin-details {
    grid-template-columns: 1fr;
  }

  .path-row {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .path-row:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 34px;
  }

  .section-header,
  .footer .container {
    display: block;
  }

  .footer-links {
    margin-top: 18px;
  }

  .resource-link {
    display: block;
  }

  .resource-link span {
    display: block;
    text-align: left;
    margin-top: 6px;
    max-width: none;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: clamp(3rem, 13.5vw, 4.35rem);
  }

  .hero-grid {
    gap: 20px;
  }

  .logo-strip {
    margin-top: 18px;
  }

  .path-row {
    padding: 14px;
  }

  .brand span {
    display: none;
  }

  .nav-actions .secondary {
    display: none;
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .chooser,
  .item-card {
    padding: 20px;
  }
}
