:root {
  --bg:            #f5f5f7;
  --bg-soft:       #ffffff;
  --surface:       rgba(255, 255, 255, 0.9);
  --surface-strong:#ffffff;
  --text:          #111111;
  --muted:         #6e6e73;
  --line:          rgba(17, 17, 17, 0.08);
  --shadow:        0 18px 50px rgba(0, 0, 0, 0.05);
  --radius-xl:     36px;
  --radius-lg:     28px;
  --radius-md:     20px;
  --container:     min(1200px, calc(100% - 48px));

  /* Ember brand */
  --ember:         #C4603B;
  --ember-deep:    #8F3E22;
  --ember-blush:   #EFD3C5;
  --ember-soft:    rgba(196, 96, 59, 0.07);
  --ember-shadow:  rgba(196, 96, 59, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
  color: var(--text);
}

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

img {
  max-width: 100%;
}

.site-shell {
  width: var(--container);
  margin: 0 auto;
  padding-bottom: 96px;
}

/* ── Topbar ─────────────────────────────────── */

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin: 16px auto 0;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 17, 17, 0.05);
  border-radius: 999px;
  backdrop-filter: blur(22px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-wordmark {
  font-weight: 800;
  letter-spacing: -0.045em;
  font-size: 1.22rem;
  line-height: 1;
}

.brand-i    { color: var(--ember); }
.brand-rest { color: var(--text); }

.brand-wordmark--inline {
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

/* ── Language toggle ─────────────────────────── */

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.lang-toggle:hover {
  border-color: rgba(17, 17, 17, 0.16);
}

.lang-option {
  white-space: nowrap;
}

.lang-option.is-active {
  color: var(--text);
  font-weight: 700;
}

.lang-separator {
  opacity: 0.45;
}

/* ── Sections ────────────────────────────────── */

.section {
  padding: 120px 0;
}

/* ── Buttons ─────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease, background-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--ember);
  color: #fff;
  box-shadow: 0 12px 26px var(--ember-shadow);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 16px 34px rgba(196, 96, 59, 0.30);
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  color: var(--text);
}

/* ── Eyebrow / Kicker ────────────────────────── */

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--ember);
  opacity: 0.55;
}

/* ── Hero ────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
  min-height: calc(100vh - 120px);
}

.hero h1,
.section-heading h2,
.cta-panel h2 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(4rem, 7vw, 7rem);
}

.hero-text,
.intro-copy p,
.cta-copy p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.06rem;
}

.hero-text {
  max-width: 38ch;
  margin: 28px 0 0;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 38ch;
  opacity: 0.8;
}

/* ── Hero Visual ─────────────────────────────── */

.hero-visual {
  position: relative;
  min-height: 680px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.orb-one {
  top: 40px;
  right: 18px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(196, 96, 59, 0.11), rgba(196, 96, 59, 0));
}

.orb-two {
  bottom: 28px;
  left: 10px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(196, 96, 59, 0.07), rgba(196, 96, 59, 0));
}

.city-field {
  position: relative;
  height: 100%;
  min-height: 640px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 40%,
      rgba(255, 255, 255, 0.85),
      rgba(245, 245, 247, 0.35) 45%,
      rgba(245, 245, 247, 0) 72%);
}

.city-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
  animation: float 9s ease-in-out infinite;
  white-space: nowrap;
}

.city-pill-accent {
  background: var(--ember);
  color: #ffffff;
  border-color: var(--ember);
  box-shadow: 0 12px 30px rgba(196, 96, 59, 0.20);
}

.city-pill-1 { top: 10%; left: 14%; animation-delay: -0.3s; }
.city-pill-2 { top: 18%; right: 12%; animation-delay: -1.2s; }
.city-pill-3 { top: 36%; left:  2%; animation-delay: -2.8s; }
.city-pill-4 { top: 38%; right: 18%; animation-delay: -4.1s; }
.city-pill-5 { top: 54%; left: 22%; animation-delay: -2.1s; }
.city-pill-6 { top: 58%; right:  2%; animation-delay: -5.3s; }
.city-pill-7 { bottom: 14%; left:  8%; animation-delay: -3.7s; }
.city-pill-8 { bottom: 10%; right: 20%; animation-delay: -6.5s; }

/* ── Proof Strip ─────────────────────────────── */

.proof-strip {
  padding: 36px 52px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.proof-items {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1;
}

.proof-num {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ember);
  line-height: 1;
}

.proof-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.proof-divider {
  width: 1px;
  height: 44px;
  background: var(--line);
  flex-shrink: 0;
}

.proof-source {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
}

.proof-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.proof-link:hover {
  color: var(--ember);
}

/* ── Pillars ─────────────────────────────────── */

.pillars {
  display: flex;
  flex-direction: column;
}

.section-heading {
  display: grid;
  gap: 20px;
}

.section-heading h2,
.cta-panel h2 {
  font-size: clamp(2.3rem, 4.8vw, 4.6rem);
}

.pillars .section-heading {
  margin-bottom: 48px;
}

.pillars .section-heading h2 {
  max-width: none;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar {
  padding: 40px 32px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pillar:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.06);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ember-soft);
  border-radius: 14px;
  color: var(--ember);
  margin-bottom: 22px;
}

.pillar h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  line-height: 1.2;
}

.pillar p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

/* ── About / Intro ───────────────────────────── */

.intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.intro-copy {
  max-width: 32rem;
}

.intro-copy p {
  margin: 0;
}

/* ── Final CTA ───────────────────────────────── */

.final-cta {
  padding-bottom: 0;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 52px;
  border-radius: 40px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 248, 250, 0.98)),
    linear-gradient(135deg, rgba(246, 246, 247, 0.66), rgba(255, 255, 255, 0.76));
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.035);
}

.cta-copy p {
  max-width: 34ch;
  margin: 14px 0 0;
}

/* ── CTA Form ────────────────────────────────── */

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-input {
  flex: 1;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(196, 96, 59, 0.12);
}

.form-input::placeholder {
  color: var(--muted);
}

.form-note {
  font-size: 0.72rem;
  color: var(--muted);
  padding-left: 20px;
  margin: 0;
}

.form-success {
  font-size: 0.88rem;
  color: var(--ember);
  font-weight: 600;
  padding: 16px 20px;
  background: var(--ember-soft);
  border-radius: 14px;
  border: 1px solid var(--ember-blush);
  line-height: 1.6;
  margin: 0;
}

/* ── Responsive: 1120px ──────────────────────── */

@media (max-width: 1120px) {
  .hero,
  .intro,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .section-heading h2,
  .cta-panel h2 {
    max-width: none;
  }
}

/* ── Responsive: 900px ───────────────────────── */

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ── Responsive: 820px ───────────────────────── */

@media (max-width: 820px) {
  .site-shell {
    width: min(100% - 24px, 100%);
  }

  .topbar {
    position: static;
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    min-height: auto;
    gap: 40px;
    padding-top: 24px;
  }

  .hero h1 {
    font-size: clamp(3rem, 13vw, 4.8rem);
  }

  .hero-visual {
    min-height: auto;
  }

  .city-field {
    min-height: 420px;
  }

  .city-pill {
    min-height: 46px;
    padding: 0 16px;
    font-size: 0.92rem;
  }

  .city-pill-1 { top:  2%; left:  6%; }
  .city-pill-2 { top: 12%; right:  2%; }
  .city-pill-3 { top: 28%; left:   0; }
  .city-pill-4 { top: 36%; right:  8%; }
  .city-pill-5 { top: 52%; left:  12%; }
  .city-pill-6 { top: 60%; right:   0; }
  .city-pill-7 { bottom: 12%; left:  2%; }
  .city-pill-8 { bottom:  2%; right: 10%; }

  .proof-strip {
    padding: 28px 24px;
  }

  .proof-items {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 0;
  }

  .proof-item {
    flex: 0 0 50%;
  }

  .proof-divider {
    display: none;
  }

  .cta-panel {
    padding: 32px 28px;
  }

  .form-row {
    flex-direction: column;
  }
}

/* ── Responsive: 560px ───────────────────────── */

@media (max-width: 560px) {
  .button,
  .button-primary,
  .button-secondary,
  .button-ghost {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section {
    padding: 60px 0;
  }

  .topbar {
    padding: 14px;
  }

  .hero {
    gap: 28px;
  }

  .hero-text,
  .hero-note,
  .cta-copy p,
  .intro-copy {
    max-width: none;
  }

  .city-field {
    min-height: 360px;
  }

  .city-pill {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .pillar {
    padding: 28px 24px;
  }
}

/* ── Animation ───────────────────────────────── */

@keyframes float {
  0%,
  100% { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(0, -8px, 0); }
}
