:root {
  --gold: #b8870b;
  --ink: #15110d;
  --paper: #f4f2ee;
  --card: #e7e5e0;
  --line: rgba(21, 17, 13, 0.12);
  --muted: #6e6860;
}

[data-theme="dark"] {
  --ink: #fbf7ef;
  --paper: #11100f;
  --card: #1c1b19;
  --line: rgba(255, 255, 255, 0.1);
  --muted: #b9afa2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(184, 135, 11, 0.08), transparent 34%),
    var(--paper);
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  letter-spacing: 0;
}

img {
  max-width: 100%;
}

.landing-page {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: 12px 12px 44px;
}

.landing-hero,
.card-section {
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 12px 36px rgba(21, 17, 13, 0.1);
}

.hero-media {
  display: grid;
  place-items: end center;
  min-height: 360px;
  background:
    linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.48)),
    linear-gradient(135deg, #e5d3a9, #304a42 52%, #1b0d00);
}

.building-art {
  display: grid;
  grid-template-columns: repeat(2, 54px);
  gap: 14px;
  width: 210px;
  min-height: 300px;
  padding: 42px 38px;
  border-radius: 8px 8px 0 0;
  background: rgba(27, 13, 0, 0.88);
}

.building-art span {
  border-radius: 6px;
  background: linear-gradient(180deg, #fff5ce, var(--gold));
}

.hero-content,
.card-section {
  padding: clamp(22px, 6vw, 36px);
}

.hero-content img {
  width: min(260px, 76vw);
  margin-bottom: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 14px;
  color: #ffffff;
  background: #111111;
  font-size: 0.86rem;
  font-weight: 900;
}

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

h1 {
  margin: 18px 0 12px;
  font-size: clamp(2.7rem, 12vw, 5.4rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 6vw, 2.15rem);
  line-height: 1.08;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-content a,
.step-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  width: 100%;
  margin-top: 12px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: #111111;
  font-weight: 900;
  text-decoration: none;
}

.section-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 8px;
  color: var(--gold);
  background: rgba(184, 135, 11, 0.13);
  font-weight: 900;
}

.payment-bar {
  display: flex;
  overflow: hidden;
  height: 22px;
  margin: 22px 0;
  border-radius: 999px;
  background: #ffffff;
}

.payment-bar span:nth-child(1) {
  background: #171717;
}

.payment-bar span:nth-child(2) {
  background: #3394d8;
}

.payment-bar span:nth-child(3) {
  background: #d9902e;
}

.range-list {
  display: grid;
  gap: 24px;
}

.range-list label {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 800;
}

.range-list strong {
  justify-self: end;
  color: var(--ink);
  font-size: 1.3rem;
}

input[type="range"] {
  width: 100%;
  accent-color: #111111;
}

.payment-result {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.12);
}

.payment-result strong {
  font-size: 1.5rem;
}

.nearby-list {
  display: grid;
  gap: 10px;
}

.nearby-list button,
.step-form fieldset button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  font: inherit;
  font-weight: 800;
}

.nearby-list strong {
  min-width: 64px;
  border-radius: 999px;
  padding: 8px 12px;
  color: #ffffff;
  background: #111111;
  text-align: center;
}

.nearby-media {
  min-height: 190px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.14)),
    linear-gradient(135deg, #8cc5dc, #efe1ae 48%, #267c74);
}

.chart-card {
  position: relative;
  padding: 14px;
  border-radius: 8px;
  color: #111111;
  background: rgba(255, 255, 255, 0.42);
}

.chart-card svg {
  display: block;
  width: 100%;
}

.chart-card line {
  stroke: rgba(0, 0, 0, 0.12);
}

.chart-card strong {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 999px;
  padding: 8px 12px;
  color: #ffffff;
  background: #111111;
}

.step-form {
  display: grid;
  gap: 16px;
}

.progress {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.1);
}

.progress span {
  display: block;
  width: 32%;
  height: 100%;
  border-radius: inherit;
  background: #111111;
}

.step-form fieldset {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.step-form legend {
  margin-bottom: 12px;
  font-size: 1.35rem;
  font-weight: 900;
}

.step-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.step-form input {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  font: inherit;
}

@media (max-width: 520px) {
  .payment-result {
    display: grid;
  }
}
