:root {
  --bg: #050505;
  --bg-soft: #0d0d0d;
  --panel: #111111;
  --panel-strong: #151515;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f5f5f2;
  --muted: rgba(255, 255, 255, 0.72);
  --muted-soft: rgba(255, 255, 255, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

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

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

input,
button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.12;
  pointer-events: none;
}

.site-shell::before {
  width: 280px;
  height: 280px;
  background: #ffffff;
  top: -100px;
  right: -80px;
}

.site-shell::after {
  width: 240px;
  height: 240px;
  background: #808080;
  bottom: 12%;
  left: -80px;
}

.header {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 22px;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 5;
}

.brand {
  width: 190px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  padding: 11px 10px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 8px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.88);
  transition: width 0.24s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.search-btn,
.menu-toggle {
  background: transparent;
  border: 0;
  color: var(--text);
  padding: 0;
  cursor: pointer;
}

.search-btn {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  margin-left: 8px;
}

.search-btn svg {
  width: 100%;
  height: 100%;
}

.menu-toggle {
  display: none;
  width: 34px;
  height: 26px;
  flex-direction: column;
  justify-content: space-between;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
}

.hero {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 88px;
}

.hero-grid {
  min-height: 56vh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 72px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--muted-soft);
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 600;
}

.hero-copy h1,
.section-head h2,
.split h2,
.contact-box h2,
.calculator-section h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.hero-copy h1 {
  font-size: clamp(3.7rem, 8vw, 6.2rem);
  line-height: 0.98;
  max-width: 700px;
}

.hero-copy h1 span {
  opacity: 0.92;
}

.hero-text {
  max-width: 430px;
  justify-self: end;
  padding-bottom: 18px;
}

.hero-text p,
.split p,
.card p,
.contact-box p,
.result-note {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  margin-top: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.58);
}

.info-band,
.content-section,
.contact-box {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.info-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.info-band span,
.result-list span,
.result-highlight span,
.range-value {
  display: block;
  color: var(--muted-soft);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.info-band strong {
  display: block;
  font-weight: 500;
  line-height: 1.5;
}

.content-section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-head.slim {
  margin-bottom: 28px;
}

.section-head h2,
.split h2,
.contact-box h2,
.calculator-section h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.04;
  max-width: 760px;
}

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

.card,
.calculator-form,
.calculator-result {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
}

.card {
  padding: 28px;
  min-height: 220px;
}

.card h3 {
  margin: 0 0 18px;
  font-size: 1.28rem;
  font-weight: 500;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: start;
}

.calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 24px;
}

.calculator-form {
  padding: 28px;
  display: grid;
  gap: 20px;
}

.calculator-form label {
  display: grid;
  gap: 10px;
}

.calculator-form label > span {
  color: var(--text);
  font-size: 0.96rem;
}

.calculator-form input[type="number"],
.calculator-form input[type="range"] {
  width: 100%;
}

.calculator-form input[type="number"] {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 14px 16px;
  outline: none;
}

.calculator-form input[type="number"]:focus {
  border-color: rgba(255, 255, 255, 0.32);
}

.calculator-form input[type="range"] {
  appearance: none;
  background: transparent;
}

.calculator-form input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
}

.calculator-form input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  margin-top: -7px;
  cursor: pointer;
}

.calculator-form input[type="range"]::-moz-range-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
}

.calculator-form input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  cursor: pointer;
}

.calculator-result {
  padding: 28px;
  display: grid;
  gap: 26px;
  align-content: start;
}

.result-highlight {
  padding: 24px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
}

.result-highlight strong {
  display: block;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
}

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

.result-list div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
}

.result-list strong {
  display: block;
  font-size: 1.16rem;
  line-height: 1.4;
}

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

.pillar {
  border: 1px solid var(--line);
  padding: 22px 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.process-steps .pillar {
  display: grid;
  gap: 14px;
}

.process-steps .pillar strong {
  font-size: 1.5rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
}

.process-steps .pillar span {
  color: var(--muted);
  line-height: 1.6;
}

.shareholders {
  border-bottom: 0;
}

.contact-box {
  margin-bottom: 80px;
  padding: 36px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  background: transparent;
  cursor: pointer;
}

.primary-btn.filled {
  background: #ffffff;
  color: #050505;
}

@media (max-width: 1100px) {
  .nav {
    gap: 18px;
  }

  .hero-grid,
  .split,
  .cards,
  .advisors .pillars,
  .info-band,
  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .hero-text {
    justify-self: start;
    max-width: 620px;
  }

  .contact-box,
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .header {
    padding-top: 24px;
    flex-wrap: wrap;
  }

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

  .search-btn {
    margin-left: 0;
  }

  .nav {
    order: 4;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0 6px;
  }

  .nav.open {
    display: flex;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 16vw, 4.7rem);
  }

  .contact-box {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .result-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .header,
  .hero,
  .info-band,
  .content-section,
  .contact-box {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    width: 148px;
    padding: 10px 9px;
  }

  .hero-text p,
  .split p,
  .card p,
  .contact-box p,
  .result-note {
    font-size: 0.98rem;
  }

  .section-head h2,
  .split h2,
  .contact-box h2,
  .calculator-section h2 {
    font-size: 2rem;
  }

  .card,
  .calculator-form,
  .calculator-result {
    padding: 22px;
  }

  .result-highlight {
    padding: 20px;
  }

  .primary-btn {
    width: 100%;
  }
}
