:root {
  color-scheme: light;
  --bg: #f6f2ea;
  --bg-soft: #e8f0ef;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --border: rgba(15, 47, 55, 0.14);
  --text: #102b32;
  --muted: #557077;
  --teal: #0e3038;
  --teal-soft: #dbe9e8;
  --bronze: #a87545;
  --bronze-strong: #8e5f35;
  --shadow: 0 24px 70px rgba(17, 42, 48, 0.14);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #06171d;
  --bg-soft: #0e2a32;
  --surface: rgba(12, 36, 44, 0.82);
  --surface-strong: #0c242c;
  --border: rgba(255, 255, 255, 0.14);
  --text: #ecf7f8;
  --muted: #a8c0c5;
  --teal: #d9f0f2;
  --teal-soft: #143942;
  --bronze: #c79560;
  --bronze-strong: #e1b276;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(14, 48, 56, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(14, 48, 56, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, var(--bg), var(--bg-soft));
  background-size: 72px 72px, 72px 72px, auto;
  color: var(--text);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(145deg, var(--surface-strong), var(--teal-soft));
  box-shadow: 0 10px 26px rgba(14, 48, 56, 0.12);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.book {
  stroke: var(--teal);
}

.arrow {
  stroke: var(--bronze);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.brand-name span {
  color: var(--bronze);
}

.brand-line {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.desktop-nav a,
.mobile-nav a,
.site-footer a {
  text-decoration: none;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.site-footer a:hover {
  color: var(--bronze);
}

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

.theme-toggle,
.menu-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.theme-toggle {
  position: relative;
}

.sun,
.moon {
  position: absolute;
  width: 18px;
  height: 18px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.sun {
  border: 2px solid var(--bronze);
  border-radius: 50%;
}

.sun::before,
.sun::after {
  position: absolute;
  inset: -7px;
  border-top: 2px solid var(--bronze);
  border-bottom: 2px solid var(--bronze);
  content: "";
}

.sun::after {
  transform: rotate(90deg);
}

.moon {
  border-radius: 50%;
  box-shadow: -6px 0 0 var(--teal);
  transform: translateX(5px);
}

html[data-theme="light"] .moon,
html[data-theme="dark"] .sun {
  opacity: 0;
  transform: scale(0.7);
}

.menu-button {
  display: none;
  gap: 5px;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.mobile-nav {
  display: none;
  padding: 14px 20px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-strong);
}

.mobile-nav.is-open {
  display: grid;
  gap: 12px;
}

.hero {
  display: grid;
  min-height: calc(100vh - 82px);
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
  padding: clamp(52px, 8vw, 96px) clamp(20px, 7vw, 104px);
}

.hero-content {
  max-width: 730px;
  min-width: 0;
  order: -1;
}

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

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2.9rem, 5.7vw, 5.25rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.lead {
  max-width: 650px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.notice {
  display: grid;
  max-width: 660px;
  gap: 6px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--bronze);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  line-height: 1.55;
}

.notice strong {
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--bronze), var(--bronze-strong));
  color: #fffaf2;
  box-shadow: 0 18px 44px rgba(168, 117, 69, 0.28);
}

.button.secondary {
  background: var(--surface);
  color: var(--text);
}

.hero-media {
  min-height: 520px;
  display: grid;
  min-width: 0;
  place-items: center;
}

.ledger-sheet {
  width: min(100%, 500px);
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--teal) 8%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--teal) 8%, transparent) 1px, transparent 1px),
    var(--surface);
  background-size: 36px 36px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sheet-head {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-strong) 65%, transparent);
}

.sheet-head span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bronze);
}

.sheet-head span:nth-child(2) {
  background: var(--teal);
}

.sheet-head span:nth-child(3) {
  background: var(--muted);
}

.ledger-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  padding: 22px;
}

.ledger-grid span,
.ledger-grid strong {
  min-height: 64px;
  padding: 20px 18px;
  border-bottom: 1px solid var(--border);
}

.ledger-grid span {
  color: var(--muted);
  font-weight: 700;
}

.ledger-grid strong {
  color: var(--text);
  text-align: right;
}

.ledger-grid span:nth-last-child(-n + 2),
.ledger-grid strong:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.status-band,
.services,
.contact-panel {
  padding: clamp(54px, 7vw, 90px) clamp(20px, 7vw, 104px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.7;
}

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

.status-card,
.service-row,
.contact-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.status-card {
  padding: 24px;
}

.card-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--bronze);
  font-weight: 900;
  letter-spacing: 0.16em;
}

.status-card p,
.service-row p,
.contact-panel p,
.form-note {
  color: var(--muted);
  line-height: 1.65;
}

.progress {
  height: 8px;
  margin-top: 22px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 20%, transparent);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--bronze), var(--teal));
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
}

.service-row span {
  color: var(--text);
  font-weight: 900;
}

.service-row p {
  margin: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 5vw, 70px);
  margin: clamp(24px, 5vw, 72px);
  padding: clamp(28px, 5vw, 56px);
}

.launch-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--text);
  padding: 0 14px;
  font: inherit;
}

.form-note {
  min-height: 24px;
  margin: 0;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(20px, 7vw, 104px);
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }

  .hero,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 360px;
  }

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

@media (max-width: 680px) {
  .brand-line {
    display: none;
  }

  .site-header {
    padding: 14px 16px;
  }

  .hero,
  .status-band,
  .services {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-panel {
    margin-left: 16px;
    margin-right: 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }
}
