:root {
  color-scheme: dark;
  --bg: #1b1713;
  --bg-sunk: #0b0805;
  --surface: #2c2824;
  --surface-raised: #34302c;
  --surface-subtle: #3d3935;
  --border: #3d3935;
  --border-strong: #68635b;
  --text: #f5efe6;
  --muted: #cfc7bd;
  --subtle: #aba39a;
  --primary: #bda6c4;
  --primary-soft: #453a49;
  --accent: #d7a380;
  --accent-soft: #433126;
  --danger: #b15d55;
  --radius: 26px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  font-family:
    Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  background:
    radial-gradient(circle at 82% 12%, rgba(189, 166, 196, 0.14), transparent 29rem),
    radial-gradient(circle at 10% 18%, rgba(215, 163, 128, 0.1), transparent 25rem),
    linear-gradient(115deg, rgba(11, 8, 5, 0.82), rgba(27, 23, 19, 0.94) 44%, rgba(44, 40, 36, 0.72)),
    var(--bg);
  color: var(--text);
  margin: 0;
}

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

.page {
  margin: 0 auto;
  max-width: 1200px;
  min-height: 100vh;
  padding: 24px clamp(20px, 4vw, 56px) 48px;
}

.nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.brand,
.nav-link,
.button {
  align-items: center;
  display: inline-flex;
  font-weight: 700;
}

.brand {
  color: var(--text);
  gap: 12px;
  letter-spacing: -0.025em;
}

.brand-mark {
  align-items: center;
  background: var(--primary);
  border-radius: 14px;
  color: var(--bg);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  font-weight: 800;
  width: 36px;
}

.nav-link {
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 44px;
  padding: 0 18px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 6vw, 76px);
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  padding: clamp(14px, 2.2vw, 28px) 0 clamp(44px, 6vw, 68px);
}

.eyebrow,
.step {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(3.1rem, 6.8vw, 6.05rem);
  font-weight: 800;
  letter-spacing: -0.034em;
  line-height: 0.98;
  margin-top: 14px;
  max-width: 820px;
}

h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.hero-text,
.promise p,
.card p,
.phone-card p {
  color: var(--muted);
  line-height: 1.5;
}

.hero-text {
  color: var(--subtle);
  font-size: clamp(1.04rem, 1.7vw, 1.24rem);
  line-height: 1.46;
  margin-top: 22px;
  max-width: 620px;
}

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

.button {
  border-radius: 999px;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
}

.button.primary {
  background: var(--primary);
  color: var(--bg);
}

.button.secondary {
  background: rgba(61, 57, 53, 0.62);
  border: 1px solid var(--border);
  color: var(--text);
}

.phone-card,
.card,
.promise {
  background: linear-gradient(180deg, rgba(52, 48, 44, 0.94), rgba(44, 40, 36, 0.86));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.phone-card {
  border-color: rgba(104, 99, 91, 0.56);
  border-radius: 42px;
  justify-self: center;
  max-width: 392px;
  padding: 28px;
  width: 100%;
}

.phone-top,
.quick-entry {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.phone-top {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 54px;
}

.amount {
  font-size: clamp(3.6rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.94;
}

.budget-line {
  background: rgba(245, 239, 230, 0.12);
  border-radius: 999px;
  height: 10px;
  margin: 30px 0;
  overflow: hidden;
}

.budget-line span {
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--danger));
  border-radius: inherit;
  display: block;
  height: 100%;
}

.quick-entry {
  background: rgba(11, 8, 5, 0.34);
  border-radius: 22px;
  margin-top: 12px;
  padding: 15px 16px;
}

.quick-entry.muted {
  color: var(--muted);
}

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

.card,
.promise {
  border-radius: var(--radius);
  padding: 26px;
}

.card h2 {
  margin: 16px 0 10px;
}

.promise {
  margin-top: 14px;
  padding: clamp(30px, 5vw, 56px);
}

.promise p {
  font-size: 1.1rem;
  line-height: 1.52;
  margin: 16px 0 26px;
  max-width: 720px;
}

.legal {
  margin: 0 auto;
  max-width: 760px;
  padding: 56px 24px;
}

.legal h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 56px 0 20px;
}

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

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.75rem);
  }

  .phone-card {
    justify-self: stretch;
    max-width: none;
  }
}
