:root {
  --navy-950: #07111f;
  --navy-900: #0b182b;
  --navy-800: #13243b;
  --navy-700: #1b304b;
  --ivory: #f7f1e7;
  --paper: #efe5d5;
  --gold: #d88a09;
  --gold-light: #f0b84b;
  --red: #9d1f2b;
  --teal: #3d938f;
  --green: #5f9a68;
  --ink: #111b29;
  --muted: #aab5c3;
  --line: rgba(240, 184, 75, 0.23);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 8%, rgba(216, 138, 9, 0.13), transparent 26rem),
    linear-gradient(180deg, var(--navy-950), #091729 54%, #081321);
  color: var(--ivory);
  font-family: var(--sans);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  background-image:
    linear-gradient(rgba(240, 184, 75, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 184, 75, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

a {
  color: inherit;
}

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

.skip-link {
  background: var(--ivory);
  color: var(--ink);
  left: 1rem;
  padding: 0.7rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.84);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 78px;
  padding: 0.75rem clamp(1rem, 4vw, 4rem);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  border-radius: 11px;
  height: 48px;
  width: 48px;
}

.desktop-nav,
.footer-links {
  align-items: center;
  display: flex;
  gap: clamp(0.8rem, 2vw, 1.65rem);
}

.desktop-nav a,
.mobile-nav a,
.footer-links a {
  color: #d7dce4;
  font-size: 0.92rem;
  text-decoration: none;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover {
  color: var(--gold-light);
}

.language-select {
  background: var(--navy-800);
  border: 1px solid rgba(247, 241, 231, 0.25);
  border-radius: 999px;
  color: var(--ivory);
  font: inherit;
  padding: 0.55rem 2rem 0.55rem 0.85rem;
}

.nav-cta,
.button {
  align-items: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 0;
  border-radius: 999px;
  color: var(--navy-950) !important;
  display: inline-flex;
  font-weight: 800;
  gap: 0.55rem;
  justify-content: center;
  padding: 0.82rem 1.25rem;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.nav-cta:hover {
  box-shadow: 0 10px 28px rgba(216, 138, 9, 0.26);
  transform: translateY(-2px);
}

.button-secondary {
  background: transparent;
  border: 1px solid rgba(247, 241, 231, 0.32);
  color: var(--ivory) !important;
}

.menu-toggle {
  background: transparent;
  border: 1px solid rgba(247, 241, 231, 0.25);
  border-radius: 12px;
  color: var(--ivory);
  display: none;
  font-size: 1.3rem;
  height: 44px;
  width: 44px;
}

.mobile-nav {
  background: var(--navy-900);
  border-bottom: 1px solid var(--line);
  display: none;
  padding: 1rem;
}

.mobile-nav[data-open] {
  display: grid;
  gap: 0.95rem;
}

.shell {
  margin: 0 auto;
  max-width: 1240px;
  width: 100%;
  padding-inline: clamp(1rem, 4vw, 4rem);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  min-height: calc(100vh - 78px);
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.eyebrow {
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.06;
  margin-top: 0;
}

h1 {
  font-size: clamp(3.4rem, 6.2vw, 6.5rem);
  letter-spacing: -0.055em;
  margin-bottom: 1.4rem;
  max-width: 11ch;
}

h1 em,
h2 em {
  color: var(--gold-light);
  font-weight: 400;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  margin-bottom: 0.7rem;
}

.hero > * {
  min-width: 0;
}

.hero-copy {
  color: #c9d0da;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-note {
  color: var(--muted);
  font-size: 0.87rem;
  margin-top: 1.3rem;
}

.office-frame {
  background: #101f32;
  border: 1px solid rgba(240, 184, 75, 0.42);
  border-radius: 30px;
  box-shadow: var(--shadow);
  min-height: 610px;
  overflow: hidden;
  position: relative;
}

.office-frame::after {
  background: linear-gradient(180deg, transparent 35%, rgba(7, 17, 31, 0.96));
  content: "";
  inset: 0;
  position: absolute;
}

.office-frame > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.office-seal {
  background: rgba(7, 17, 31, 0.9);
  border: 1px solid var(--gold);
  border-radius: 22px;
  bottom: 1.5rem;
  left: 1.5rem;
  padding: 1.2rem;
  position: absolute;
  right: 1.5rem;
  z-index: 2;
}

.office-seal strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
}

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

.stats {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  margin-block: 1rem 5rem;
  overflow: hidden;
}

.stat {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(1.2rem, 4vw, 2.4rem);
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1;
}

.stat span {
  color: #4d5662;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.15fr 0.85fr;
  margin-bottom: 2.5rem;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid,
.scene-grid,
.support-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.support-card {
  background: linear-gradient(155deg, rgba(27, 48, 75, 0.9), rgba(11, 24, 43, 0.96));
  border: 1px solid rgba(247, 241, 231, 0.13);
  border-radius: 22px;
  padding: clamp(1.4rem, 3vw, 2.25rem);
}

.feature-card .number {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 2.4rem;
  margin-bottom: 2.5rem;
}

.feature-card p,
.support-card p {
  color: var(--muted);
}

.scene-card {
  background: var(--navy-800);
  border: 1px solid rgba(247, 241, 231, 0.12);
  border-radius: 22px;
  overflow: hidden;
}

.scene-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.scene-copy {
  padding: 1.25rem;
}

.scene-copy p {
  color: var(--muted);
  margin-bottom: 0;
}

.cabinet {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.9), rgba(7, 17, 31, 0.35)),
    url("/assets/city-night.webp") center / cover;
  border: 1px solid var(--line);
  border-radius: 32px;
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  padding: clamp(1.4rem, 5vw, 4.5rem);
}

.chat {
  background: #efe9dc;
  border-radius: 24px;
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 1rem;
  transform: rotate(1deg);
}

.chat-header {
  align-items: center;
  border-bottom: 1px solid #cfc4b2;
  display: flex;
  gap: 0.8rem;
  padding: 0.4rem 0.4rem 0.9rem;
}

.advisor-stack {
  display: flex;
}

.advisor-stack img {
  border: 2px solid var(--paper);
  border-radius: 50%;
  height: 44px;
  margin-left: -10px;
  object-fit: cover;
  width: 44px;
}

.advisor-stack img:first-child {
  margin-left: 0;
}

.bubble {
  background: white;
  border-radius: 10px 10px 10px 3px;
  margin: 0.8rem 0;
  max-width: 88%;
  padding: 0.75rem 0.9rem;
}

.bubble strong {
  color: #6d2330;
  display: block;
  font-size: 0.77rem;
}

.bubble.mayor {
  background: #d8ebc8;
  margin-left: auto;
}

.transformation {
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.transformation img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.transformation [data-after] {
  clip-path: inset(0 calc(100% - var(--reveal, 55%)) 0 0);
  inset: 0;
  position: absolute;
}

.transformation input {
  bottom: 1.2rem;
  left: 10%;
  position: absolute;
  width: 80%;
  z-index: 2;
}

.paper-strip {
  background: var(--paper);
  color: var(--ink);
  margin-top: clamp(4rem, 9vw, 8rem);
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.paper-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.1fr 0.9fr;
}

.paper-grid h2 {
  max-width: 11ch;
}

.paper-grid p {
  color: #4d5662;
  font-size: 1.05rem;
}

.page-hero {
  padding-block: clamp(4.5rem, 10vw, 8rem) 3rem;
}

.page-hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  max-width: 13ch;
}

.page-hero > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 720px;
}

.effective {
  color: var(--gold-light) !important;
  font-size: 0.88rem !important;
  font-weight: 800;
}

.legal-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: 250px minmax(0, 760px);
  padding-bottom: 7rem;
}

.legal-toc {
  align-self: start;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 0.65rem;
  padding-left: 1rem;
  position: sticky;
  top: 110px;
}

.legal-toc a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.legal-content section {
  border-top: 1px solid rgba(247, 241, 231, 0.13);
  padding-block: 2rem;
}

.legal-content section:first-child {
  border-top: 0;
  padding-top: 0;
}

.legal-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.legal-content h3 {
  margin-top: 1.6rem;
}

.legal-content p,
.legal-content li {
  color: #c4ccd7;
}

.legal-content a,
.support-card a {
  color: var(--gold-light);
}

.notice {
  background: rgba(216, 138, 9, 0.11);
  border: 1px solid rgba(240, 184, 75, 0.35);
  border-radius: 16px;
  margin: 1.4rem 0;
  padding: 1rem 1.2rem;
}

.action-panel {
  background: linear-gradient(140deg, var(--red), #57151f);
  border-radius: 24px;
  margin: 1.5rem 0 3rem;
  padding: clamp(1.4rem, 4vw, 2.6rem);
}

.action-panel h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.action-panel p {
  color: #f1dfe0;
  max-width: 680px;
}

.email-button {
  background: var(--ivory);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 900;
  margin-top: 0.6rem;
  padding: 0.85rem 1.2rem;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 2.5rem clamp(1rem, 4vw, 4rem);
}

.footer-inner {
  align-items: center;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr auto;
  margin: 0 auto;
  max-width: 1240px;
}

.copyright {
  color: var(--muted);
  font-size: 0.82rem;
  grid-column: 1 / -1;
}

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

  .menu-toggle {
    display: block;
  }

  .hero,
  .section-heading,
  .cabinet,
  .paper-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .office-frame {
    min-height: 560px;
  }

  .feature-grid,
  .scene-grid,
  .support-grid {
    grid-template-columns: 1fr 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    display: flex;
    flex-wrap: wrap;
    position: static;
  }
}

@media (max-width: 600px) {
  .site-header {
    min-height: 68px;
  }

  .brand img {
    height: 42px;
    width: 42px;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 3.8rem);
    max-width: 100%;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .office-frame {
    min-height: 480px;
  }

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

  .feature-grid,
  .scene-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

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

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

  .copyright {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
