:root {
  --navy: #102d3e;
  --navy-deep: #092330;
  --gold: #a67b3e;
  --gold-light: #e8d8bd;
  --paper: #f7f6f2;
  --white: #ffffff;
  --ink: #203744;
  --muted: #617078;
  --line: #dddeda;
  --soft: #efeee8;
  --radius: 16px;
  --shadow: 0 18px 60px rgba(16, 45, 62, 0.08);
  --width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
  opacity: 0.5;
}

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

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.16;
}

h1 {
  font-size: clamp(2.3rem, 4.7vw, 4.7rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1.15rem;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

.container {
  width: min(var(--width), calc(100% - 64px));
  margin-inline: auto;
}

.section {
  padding-block: 86px;
}

.section-small {
  padding-block: 52px;
}

.section-border {
  border-top: 1px solid var(--line);
}

.eyebrow {
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.lead {
  max-width: 740px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
}

.small,
small {
  font-size: 0.86rem;
}

.muted {
  color: var(--muted);
}

.text-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 49px;
  padding: 13px 21px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  background: var(--navy);
  color: white;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
  line-height: 1.4;
  transition: background 0.18s, transform 0.18s;
}

.btn:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: var(--soft);
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
}

.btn-gold:hover {
  background: #906731;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--navy);
  color: white;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 246, 242, 0.97);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 92px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: 44px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 0.84rem;
  font-weight: 700;
}

.main-nav a {
  padding-block: 12px;
}

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

.main-nav .nav-contact {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--navy);
  background: transparent;
}

.hero {
  padding-block: 78px 58px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 44px;
}

.hero-title {
  margin-bottom: 25px;
  font-size: clamp(3.3rem, 6.1vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero-title em {
  display: block;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-subtitle {
  max-width: 490px;
  margin-bottom: 18px;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.35;
}

.hero-copy {
  max-width: 500px;
  color: var(--muted);
}

.hero-art {
  margin: 0;
  padding: 12px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero-art img {
  width: 100%;
  height: auto;
  border-radius: 11px;
}

.hero-art figcaption {
  padding: 14px 12px 8px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 54px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

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

.section-intro h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

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

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

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card-number {
  margin-bottom: 35px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.65rem;
}

.card h3 {
  margin-bottom: 16px;
}

.card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.card .text-link {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.88rem;
}

.callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
  padding: 30px;
  background: var(--soft);
  border-radius: var(--radius);
}

.callout h3,
.callout p {
  margin-bottom: 6px;
}

.dark-section {
  background: var(--navy);
  color: #dae2e6;
}

.dark-section h2,
.dark-section h3 {
  color: white;
}

.dark-section .eyebrow {
  color: #d8b67f;
}

.dark-section .lead {
  color: #bccbd2;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.dark-links {
  border-top: 1px solid #38515f;
}

.dark-link {
  display: block;
  padding: 23px 0;
  border-bottom: 1px solid #38515f;
}

.dark-link strong {
  display: block;
  color: white;
  font-size: 1.25rem;
}

.dark-link span {
  color: #bacbd3;
}

.page-heading {
  padding-block: 68px 42px;
}

.page-heading h1 {
  max-width: 980px;
  margin-bottom: 23px;
}

.page-heading .lead {
  margin-bottom: 0;
}

.page-body {
  padding-bottom: 84px;
}

.panel {
  min-width: 0;
  padding: 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.panel + .panel {
  margin-top: 22px;
}

.notice {
  padding: 22px 25px;
  margin-block: 24px;
  border-left: 3px solid var(--gold);
  background: var(--soft);
  color: var(--ink);
  font-size: 0.93rem;
}

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

.clean-list {
  margin: 0;
  padding-left: 21px;
}

.clean-list li {
  padding-left: 5px;
  margin-bottom: 14px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}

.product-crop {
  position: relative;
  overflow: hidden;
  aspect-ratio: 720 / 620;
  background: white;
  border-radius: 12px;
}

.product-crop img {
  position: absolute;
  top: -20.3%;
  left: -6.5%;
  width: 213.3%;
  max-width: none;
  height: auto;
}

.product-crop.bioline img {
  left: -120.2%;
  width: 226.5%;
}

.product-caption {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.82rem;
}

.category-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 310px;
  padding: 42px;
  background: var(--navy);
  border-radius: var(--radius);
  color: white;
}

.category-visual span {
  color: #d9b77f;
  font-size: 0.75rem;
  letter-spacing: 0.17em;
}

.category-visual strong {
  display: block;
  margin-top: 30px;
  font-family: Georgia, serif;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.12;
}

.path-container {
  max-width: 980px;
}

.path-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.path-progress li {
  padding-top: 12px;
  border-top: 3px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  counter-increment: step;
}

.path-progress li::before {
  content: "0" counter(step) " ";
  color: var(--gold);
  font-weight: 700;
}

.path-progress .done,
.path-progress [aria-current="step"] {
  border-top-color: var(--gold);
  color: var(--navy);
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  width: 100%;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
}

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

.choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice input {
  position: absolute;
  top: 20px;
  left: 17px;
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.choice > span {
  display: block;
  height: 100%;
  min-height: 110px;
  padding: 17px 18px 17px 47px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.choice strong,
.choice small {
  display: block;
}

.choice small {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.5;
}

.choice input:checked + span {
  border-color: var(--gold);
  background: #f8f1e6;
}

.choice input:focus-visible + span {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.path-selection {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
}

.pill {
  display: inline-block;
  padding: 8px 13px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink);
  font-size: 0.83rem;
}

.status {
  min-height: 1.5em;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 26px;
  align-items: start;
}

.workflow-tabs {
  display: grid;
  gap: 10px;
}

.workflow-tab {
  width: 100%;
  padding: 20px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--ink);
}

.workflow-tab span {
  margin-right: 10px;
  color: var(--gold);
}

.workflow-tab[aria-selected="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.workflow-panel {
  min-height: 395px;
}

.workflow-panel h2 {
  font-size: 2rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter {
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: transparent;
  color: var(--navy);
}

.filter[aria-pressed="true"] {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 48px;
  align-items: start;
}

.contact-details a {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
}

.field {
  display: block;
  min-width: 0;
}

.field.full {
  grid-column: 1 / -1;
}

.field > span {
  display: block;
  margin-bottom: 7px;
  font-size: 0.86rem;
  font-weight: 700;
}

input:not([type="radio"]):not([type="checkbox"]),
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #c9cfce;
  border-radius: 6px;
  background: white;
  color: var(--ink);
}

textarea {
  resize: vertical;
  line-height: 1.6;
}

textarea[readonly] {
  background: #f5f5f0;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 0.85rem;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: var(--gold);
}

.contact-path {
  margin-bottom: 22px;
}

.contact-path summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 700;
}

.contact-path pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  font-size: 0.86rem;
}

.source-list {
  display: grid;
  gap: 17px;
}

.source-item {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.source-item strong {
  display: block;
  margin-bottom: 7px;
}

.source-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding: 56px 0 22px;
  border-top: 1px solid var(--line);
  background: #eeeee8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 45px;
}

.footer-grid > div > a:not(.brand) {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-grid p {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid .footer-heading {
  color: var(--navy);
  font-weight: 700;
}

.footer-grid .footer-tagline {
  margin-top: 22px;
  margin-bottom: 5px;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #d3d7d2;
  color: var(--muted);
  font-size: 0.74rem;
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: var(--navy);
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 15px;
    font-size: 0.78rem;
  }

  .hero-grid {
    gap: 26px;
  }

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

  .contact-grid {
    gap: 28px;
  }
}

@media (max-width: 850px) {
  .container {
    width: calc(100% - 40px);
  }

  .header-inner {
    min-height: 78px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 0 0 12px 12px;
    background: var(--paper);
    box-shadow: var(--shadow);
    font-size: 0.95rem;
  }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .main-nav a {
    padding: 13px 10px;
  }

  .hero-grid,
  .split,
  .product-layout,
  .contact-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 45px;
  }

  .hero-title {
    font-size: clamp(3.4rem, 11vw, 5.8rem);
  }

  .hero-art {
    max-width: 680px;
    margin-top: 15px;
  }

  .section {
    padding-block: 62px;
  }

  .split {
    gap: 30px;
  }

  .cards.three {
    grid-template-columns: 1fr;
  }

  .section-intro {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  .callout {
    align-items: start;
    flex-direction: column;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .workflow-panel {
    min-height: 0;
  }

  .product-layout > aside {
    max-width: 680px;
  }
}

@media (max-width: 540px) {
  .container {
    width: calc(100% - 32px);
  }

  .brand-logo {
    height: 34px;
  }

  .brand {
    gap: 10px;
  }

  .menu-toggle {
    font-size: 0.82rem;
  }

  .hero-title {
    font-size: clamp(2.85rem, 12.7vw, 4.2rem);
  }

  .hero-subtitle {
    font-size: 1.35rem;
  }

  .hero-bottom {
    gap: 13px;
    margin-top: 32px;
    font-size: 0.64rem;
  }

  .cards,
  .cards.two,
  .choices,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .card,
  .panel {
    padding: 24px;
  }

  .card-number {
    margin-bottom: 20px;
  }

  .page-heading {
    padding-block: 45px 30px;
  }

  .page-body {
    padding-bottom: 60px;
  }

  .path-progress li {
    font-size: 0.73rem;
  }

  .path-progress li::before {
    display: block;
  }

  .actions .btn {
    flex: 1 1 auto;
  }

  .category-visual {
    min-height: 250px;
    padding: 30px;
  }

  .notice {
    padding: 18px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .actions,
  .filters,
  .menu-toggle {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .container {
    width: 100%;
  }

  .section,
  .page-heading,
  .page-body {
    padding-block: 20px;
  }

  .card,
  .panel,
  .notice {
    break-inside: avoid;
    box-shadow: none;
  }
}