:root {
  --navy: #1b2a4a;
  --navy-deep: #101a30;
  --navy-light: #314363;
  --amber: #e8a84c;
  --amber-light: #f5d69c;
  --paper: #f7f6f2;
  --soft: #edf0f4;
  --ink: #17223a;
  --muted: #5b6473;
  --white: #fff;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Zen Kaku Gothic New", sans-serif; font-size: 16px; line-height: 1.8; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.demo-notice { position: relative; z-index: 20; padding: 7px 16px; background: var(--amber); color: var(--navy-deep); font-size: 16px; font-weight: 700; text-align: center; }
.site-header { position: relative; z-index: 10; display: flex; align-items: center; gap: 36px; max-width: var(--max); min-height: 82px; margin: auto; padding: 14px 24px; }
.logo { margin-right: auto; font-size: 20px; font-weight: 700; letter-spacing: .08em; }
.logo span { color: #b87416; }
.site-header nav { display: flex; gap: 28px; font-weight: 500; }
.site-header nav a { border-bottom: 1px solid transparent; }
.site-header nav a:hover, .site-header nav a:focus-visible { border-color: var(--amber); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 12px 28px; border: 1px solid var(--amber); border-radius: 2px; background: var(--amber); color: var(--navy-deep); font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s; }
.button:hover, .button:focus-visible { background: var(--amber-light); }
.button--small { min-height: 44px; padding: 8px 20px; }

.door { position: fixed; z-index: 100; inset: 0; overflow: hidden; visibility: visible; pointer-events: auto; animation: door-fallback-hide 0s 9.2s forwards; }
.door__panel { position: absolute; top: 0; bottom: 0; width: 50.2%; background-color: var(--navy-deep); background-image: linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(135deg, #101a30, #263859 55%, #14213b); background-size: 22px 100%, 100% 100%; transition: transform 1.2s cubic-bezier(.65, 0, .35, 1); }
.door__panel--left { left: 0; border-right: 1px solid rgba(232,168,76,.45); animation: door-fallback-left 1.2s 8s forwards; }
.door__panel--right { right: 0; border-left: 1px solid rgba(232,168,76,.45); animation: door-fallback-right 1.2s 8s forwards; }
.door__message { position: absolute; z-index: 1; top: 50%; left: 50%; margin: 0; color: var(--amber-light); font-size: 18px; letter-spacing: .18em; transform: translate(-50%, -50%); transition: opacity .4s; white-space: nowrap; }
.door.is-opening .door__panel--left { transform: translateX(-100%); }
.door.is-opening .door__panel--right { transform: translateX(100%); }
.door.is-opening .door__message { opacity: 0; }
.door.is-hidden { visibility: hidden; pointer-events: none; }
@keyframes door-fallback-left { to { transform: translateX(-100%); } }
@keyframes door-fallback-right { to { transform: translateX(100%); } }
@keyframes door-fallback-hide { to { visibility: hidden; pointer-events: none; } }

.hero { position: relative; min-height: 650px; display: grid; align-items: center; overflow: hidden; color: var(--white); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,18,35,.92) 0%, rgba(16,28,50,.68) 50%, rgba(16,28,50,.12) 100%); }
.hero__content { position: relative; width: min(var(--max), calc(100% - 48px)); margin: auto; padding: 88px 0; }
.eyebrow { margin: 0 0 10px; color: #b87416; font-size: 16px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow, .section-heading--light .eyebrow, .page-hero .eyebrow { color: var(--amber); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { max-width: 760px; margin: 0 0 24px; font-size: clamp(38px, 5.2vw, 68px); font-weight: 500; line-height: 1.3; letter-spacing: .04em; }
.hero__content > p:not(.eyebrow) { max-width: 610px; margin: 0 0 34px; font-size: 18px; }
.quick-facts { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: -36px auto 0; position: relative; z-index: 2; background: var(--white); box-shadow: 0 14px 40px rgba(16,26,48,.12); }
.quick-facts p { margin: 0; padding: 22px 12px; text-align: center; }
.quick-facts p + p { border-left: 1px solid #d8dce3; }
.quick-facts strong, .quick-facts span { display: block; }
.quick-facts strong { color: var(--navy); font-size: 20px; }

.section { padding: 110px max(24px, calc((100% - var(--max)) / 2)); }
.section-heading { max-width: 680px; margin-bottom: 50px; }
.section-heading h2 { margin: 0 0 14px; color: var(--navy); font-size: clamp(32px, 4vw, 46px); font-weight: 500; line-height: 1.35; }
.section-heading > p:last-child { margin: 0; color: var(--muted); }
.section--dark { background: var(--navy); color: var(--white); }
.section-heading--light h2 { color: var(--white); }
.section-heading--light > p:last-child { color: #d7dce6; }
.section--soft { background: var(--soft); }

.audience-layout { display: grid; grid-template-columns: minmax(280px, .8fr) 1.2fr; gap: 64px; align-items: center; }
.audience-layout > img { width: 100%; height: 560px; object-fit: cover; }
.audience-cards { display: grid; gap: 16px; }
.audience-cards article { position: relative; padding: 25px 28px 25px 72px; border-bottom: 1px solid #d4d8de; }
.audience-cards span { position: absolute; left: 0; top: 27px; color: #b87416; font-weight: 700; }
.audience-cards h3, .feature-card h3, .flow-list h3 { margin: 0 0 7px; font-size: 20px; }
.audience-cards p, .feature-card p, .flow-list p { margin: 0; }
.features-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: stretch; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-card { padding: 26px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.035); }
.feature-card svg { width: 38px; height: 38px; margin-bottom: 18px; color: var(--amber); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card p { color: #cbd2df; }
.features-layout > img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }

.table-wrap { overflow-x: auto; background: var(--white); box-shadow: 0 12px 35px rgba(16,26,48,.08); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 22px 24px; border-bottom: 1px solid #d9dde4; text-align: left; vertical-align: top; }
thead th { background: var(--navy); color: var(--white); }
tbody th, tfoot th { color: var(--navy); }
td strong { color: #a35e00; font-size: 19px; }
tfoot { background: #f2eadc; }
.sample-note, .sample-label { color: var(--muted); font-size: 16px; }
.sample-note { margin: 14px 0 0; }
.flow-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.flow-list li { position: relative; padding: 32px 24px; background: var(--white); }
.flow-list span { display: block; margin-bottom: 24px; color: #b87416; font-size: 24px; font-weight: 700; }
.flow-list li:not(:last-child)::after { content: ""; position: absolute; top: 48px; right: -17px; z-index: 1; width: 10px; height: 10px; border-top: 2px solid var(--amber); border-right: 2px solid var(--amber); transform: rotate(45deg); }

.visit form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 36px; background: var(--white); box-shadow: 0 12px 35px rgba(16,26,48,.08); }
.visit label { font-weight: 500; }
.visit label span { margin-left: 8px; color: #9c5700; font-size: 16px; }
.visit input { width: 100%; min-width: 0; min-height: 50px; margin-top: 8px; padding: 10px 12px; border: 1px solid #abb2bf; border-radius: 0; background: #fff; }
.visit .button { justify-self: start; }
.form-note, .form-result { grid-column: 1 / -1; margin: 0; }
.form-note { color: var(--muted); }
.form-result { padding: 14px 18px; border-left: 4px solid var(--amber); background: #fbf2e3; }

.page-hero { position: relative; min-height: 430px; display: grid; align-items: end; overflow: hidden; color: var(--white); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,18,35,.9), rgba(10,18,35,.3)); }
.page-hero__content { position: relative; z-index: 1; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 70px 0; }
.page-hero h1 { margin-bottom: 8px; }
.page-hero__content > p:last-child { margin: 0; font-size: 18px; }
.info-table-wrap { background: var(--white); box-shadow: 0 12px 35px rgba(16,26,48,.08); }
.info-table th { width: 26%; background: #eef0f4; }
.access-card { max-width: 760px; padding: 36px; border-left: 5px solid var(--amber); background: var(--white); }
.access-card p { margin: 0 0 12px; }
.access-card p:last-child { margin-bottom: 0; }
.access-card__lead { color: var(--navy); font-size: 24px; font-weight: 700; }
.faq-list { border-top: 1px solid #cdd2da; }
.faq-list details { border-bottom: 1px solid #cdd2da; }
.faq-list summary { padding: 24px 42px 24px 10px; color: var(--navy); font-size: 18px; font-weight: 700; cursor: pointer; }
.faq-list details p { margin: 0; padding: 0 42px 24px 34px; color: var(--muted); }

footer { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; padding: 60px max(24px, calc((100% - var(--max)) / 2)); background: var(--navy-deep); color: #dce1ea; }
footer p { margin: 8px 0 0; }
footer > a { color: var(--amber-light); font-weight: 700; }
footer small { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: 16px; }
.logo--light { color: var(--white); }
.logo--light span { color: var(--amber); }

@media (max-width: 800px) {
  .site-header { min-height: 70px; gap: 12px; padding: 10px 20px; }
  .site-header nav { display: none; }
  .site-header .button { padding-inline: 15px; }
  .hero { min-height: 570px; }
  .hero__shade { background: linear-gradient(90deg, rgba(10,18,35,.9), rgba(16,28,50,.45)); }
  .quick-facts { width: calc(100% - 32px); }
  .quick-facts p { padding: 17px 5px; }
  .quick-facts strong { font-size: 17px; }
  .section { padding-top: 78px; padding-bottom: 78px; }
  .audience-layout, .features-layout { grid-template-columns: 1fr; gap: 36px; }
  .audience-layout > img { height: 380px; }
  .features-layout > img { height: 380px; min-height: 0; }
  .flow-list { grid-template-columns: repeat(2, 1fr); }
  .flow-list li:nth-child(2)::after { display: none; }
  .visit form { grid-template-columns: 1fr; padding: 26px; }
  footer { grid-template-columns: 1fr; }
  footer small { grid-column: auto; }
}

@media (max-width: 520px) {
  .demo-notice { padding-inline: 10px; }
  .logo { font-size: 17px; }
  .button--small { font-size: 16px; }
  .hero__content, .page-hero__content { width: calc(100% - 40px); }
  .hero__content > p:not(.eyebrow) { font-size: 17px; }
  .quick-facts { width: calc(100% - 24px); }
  .quick-facts span { font-size: 16px; }
  .section { padding-inline: 20px; }
  .feature-grid, .flow-list { grid-template-columns: 1fr; }
  .flow-list li::after { display: none; }
  th, td { padding: 17px 14px; }
  .info-table th { width: 32%; }
  .access-card { padding: 27px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .door { display: none; visibility: hidden; pointer-events: none; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
