:root {
  color-scheme: light;
  font-family: Inter, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #132a28;
  background: #f3efe7;
  font-synthesis: none;
  --ink: #132a28;
  --muted: #65716e;
  --paper: #f3efe7;
  --cream: #fbf8f1;
  --line: rgba(19, 42, 40, 0.16);
  --teal: #0a6c64;
  --teal-dark: #064b46;
  --lime: #d9f06f;
  --orange: #ed754c;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; min-width: 320px; background: var(--paper); }

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

button, input { font: inherit; }

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

.site-header {
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  padding: 0 4.8vw;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 239, 231, 0.92);
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 10;
}

.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 3px;
  padding: 7px;
  border-radius: 50%;
  background: var(--ink);
}

.brand-mark i { display: block; border-radius: 1px; background: var(--lime); }
.brand-mark i:nth-child(1) { height: 35%; }
.brand-mark i:nth-child(2) { height: 72%; }
.brand-mark i:nth-child(3) { height: 100%; }

.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy span { font-size: 9px; letter-spacing: 0.16em; color: var(--muted); }
.brand-copy strong { margin-top: 4px; font-size: 15px; letter-spacing: 0.08em; }

nav { display: flex; gap: clamp(20px, 2.5vw, 42px); font-size: 13px; font-weight: 600; }
nav a { position: relative; padding: 32px 0; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 23px; height: 2px; background: var(--orange); transition: right .2s ease; }
nav a:hover::after { right: 0; }

.alpha-badge { justify-self: end; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; color: var(--teal); }
.alpha-badge > span { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(10,108,100,.12); }

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 7vw;
  padding: 80px 7vw 88px;
  position: relative;
  background:
    radial-gradient(circle at 86% 5%, rgba(217, 240, 111, .33), transparent 28%),
    linear-gradient(115deg, var(--paper) 0 63%, #e7e3d8 63% 100%);
}

.hero::before { content: ""; position: absolute; left: 4vw; top: 11%; bottom: 11%; width: 1px; background: var(--line); }

.eyebrow { margin: 0 0 18px; color: var(--teal); font-size: 11px; line-height: 1.4; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

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

.hero h1, .detail-hero h1 {
  max-width: 740px;
  margin-bottom: 26px;
  white-space: pre-line;
  font-size: clamp(46px, 5.4vw, 82px);
  line-height: 1.16;
  letter-spacing: -.055em;
  font-weight: 600;
}

.hero-lead { max-width: 640px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.9; font-weight: 500; }
.service-note { max-width: 540px; margin: 26px 0 0; padding-left: 18px; border-left: 2px solid var(--orange); color: var(--muted); font-size: 13px; line-height: 1.85; }

.search-panel {
  padding: 30px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 18px 22px 0 rgba(19, 42, 40, .07);
}

.panel-topline { display: flex; justify-content: space-between; margin-bottom: 42px; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.live-dot { display: inline-flex; align-items: center; gap: 7px; }
.live-dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.search-panel label { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 600; }

.search-control { display: grid; grid-template-columns: auto 1fr auto; align-items: center; border-bottom: 2px solid var(--ink); }
.search-control > span { font-size: 24px; transform: rotate(-18deg); }
.search-control input { min-width: 0; padding: 19px 12px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; }
.search-control button { align-self: stretch; margin-bottom: 7px; padding: 0 22px; border: 0; border-radius: 2px; background: var(--ink); color: #fff; cursor: pointer; font-weight: 600; }
.search-control button:hover { background: var(--teal-dark); }
.city-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0; }
.city-chips span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); font-size: 11px; }
.search-panel > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }

.section { padding: 100px 7vw; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 46px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section h2, .availability-card h2 { margin-bottom: 0; font-size: clamp(28px, 3.2vw, 48px); line-height: 1.3; letter-spacing: -.04em; font-weight: 600; }

.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.role-card { min-height: 330px; display: flex; flex-direction: column; padding: 34px; background: rgba(255,255,255,.2); border-right: 1px solid var(--line); transition: background .2s ease, transform .2s ease; }
.role-card:last-child { border-right: 0; }
.role-card:hover { background: var(--cream); transform: translateY(-4px); }
.role-number { color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.role-card h3 { max-width: 260px; margin: auto 0 18px; font-size: 24px; line-height: 1.45; letter-spacing: -.03em; }
.role-card p { color: var(--muted); font-size: 13px; line-height: 1.85; }
.text-link { margin-top: 16px; font-size: 12px; font-weight: 700; }
.text-link b { margin-left: 8px; color: var(--orange); }

.model-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9vw; background: var(--ink); color: #f7f3e9; }
.section-heading.wide { display: block; align-self: start; position: sticky; top: 120px; }
.section-heading.wide h2 { margin-bottom: 22px; }
.section-heading.wide > p:last-child { max-width: 490px; color: #b5c0bd; line-height: 1.9; }
.model-section .eyebrow { color: var(--lime); }
.layer-stack { display: grid; gap: 1px; background: rgba(255,255,255,.16); }
.layer-card { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 34px 28px; background: var(--ink); }
.layer-index { color: var(--lime); font-size: 11px; }
.layer-label { display: inline-block; margin-bottom: 15px; color: var(--orange); font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.layer-card h3 { margin-bottom: 12px; font-size: 23px; }
.layer-card p { margin: 0; color: #b5c0bd; line-height: 1.8; font-size: 13px; }

.coverage-section { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: end; background: var(--lime); }
.coverage-section .eyebrow { color: var(--teal-dark); }
.section-lead { max-width: 620px; margin: 20px 0 0; line-height: 1.9; }
.city-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(19,42,40,.28); }
.city-list span { padding: 20px 5px; border-bottom: 1px solid rgba(19,42,40,.28); font-size: 17px; font-weight: 600; }
.city-list span:nth-child(odd) { border-right: 1px solid rgba(19,42,40,.28); }

.release-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; }
.release-section .section-heading { display: block; }
.release-list { border-top: 1px solid var(--line); }
.release-item { display: grid; grid-template-columns: 12px 1fr auto; gap: 14px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.release-item > span { width: 8px; height: 8px; border-radius: 50%; background: #c8c3b8; }
.release-item > span.available { background: var(--teal); box-shadow: 0 0 0 5px rgba(10,108,100,.12); }
.release-item strong { font-size: 14px; }
.release-item small { color: var(--muted); font-size: 11px; }

.detail-hero { min-height: 520px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 8vw; align-items: end; padding: 100px 7vw 80px; background: linear-gradient(120deg, var(--cream), var(--paper)); border-bottom: 1px solid var(--line); }
.detail-copy > p:last-child { max-width: 680px; color: var(--muted); font-size: 17px; line-height: 1.9; }
.detail-points { border-top: 1px solid var(--line); }
.detail-points > div { display: grid; grid-template-columns: 45px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); }
.detail-points span { color: var(--orange); font-size: 10px; font-weight: 700; }
.detail-points p { margin: 0; font-size: 13px; line-height: 1.7; }
.detail-hero + .search-panel { max-width: 900px; margin: 78px auto 0; }

.availability-card { margin: 78px 7vw 100px; display: grid; grid-template-columns: 65px 1fr auto; gap: 24px; align-items: center; padding: 42px; background: var(--ink); color: #f7f3e9; }
.availability-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: var(--lime); font-size: 22px; }
.availability-card .eyebrow { color: var(--lime); margin-bottom: 10px; }
.availability-card h2 { font-size: clamp(23px, 2.4vw, 34px); }
.availability-card p:last-child { max-width: 720px; margin: 13px 0 0; color: #b5c0bd; font-size: 13px; line-height: 1.8; }
.availability-card > a { padding: 14px 18px; border: 1px solid rgba(255,255,255,.3); font-size: 12px; font-weight: 700; white-space: nowrap; }
.availability-card > a b { margin-left: 9px; color: var(--lime); }

footer { min-height: 130px; display: flex; justify-content: space-between; align-items: center; padding: 35px 4.8vw; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: .08em; }
footer > div { display: flex; align-items: baseline; gap: 14px; }
footer strong { color: var(--ink); font-size: 14px; }
footer p { margin: 0; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero, .detail-hero { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; background: radial-gradient(circle at 86% 5%, rgba(217,240,111,.33), transparent 30%), var(--paper); }
  .role-grid { grid-template-columns: 1fr; }
  .role-card { min-height: 240px; border-right: 0; border-bottom: 1px solid var(--line); }
  .role-card:last-child { border-bottom: 0; }
  .model-section, .coverage-section, .release-section { grid-template-columns: 1fr; }
  .section-heading.wide { position: static; }
  .availability-card { grid-template-columns: 48px 1fr; }
  .availability-card > a { grid-column: 2; width: max-content; }
}

@media (max-width: 620px) {
  .site-header { min-height: 72px; padding: 0 20px; }
  .brand-copy span, .alpha-badge { display: none; }
  .hero, .section, .detail-hero { padding-left: 24px; padding-right: 24px; }
  .hero { min-height: auto; padding-top: 54px; padding-bottom: 64px; }
  .hero h1, .detail-hero h1 { font-size: 42px; }
  .search-panel { padding: 22px; box-shadow: 9px 12px 0 rgba(19,42,40,.07); }
  .search-control { grid-template-columns: auto 1fr; }
  .search-control button { grid-column: 1 / -1; min-height: 48px; margin: 8px 0 0; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .role-card { padding: 26px; }
  .city-list { grid-template-columns: 1fr; }
  .city-list span:nth-child(odd) { border-right: 0; }
  .release-item { grid-template-columns: 12px 1fr; }
  .release-item small { grid-column: 2; }
  .availability-card { margin: 54px 24px 72px; padding: 28px 22px; grid-template-columns: 1fr; }
  .availability-icon { display: none; }
  .availability-card > a { grid-column: 1; }
  footer { align-items: flex-start; flex-direction: column; gap: 18px; padding: 30px 24px; }
}

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