:root {
  --bg: #f6f3ef;
  --paper: #ffffff;
  --ink: #171717;
  --muted: #69645f;
  --line: #e3ddd5;
  --accent: #b5243f;
  --accent-dark: #8e1830;
  --gold: #d49c43;
  --shadow: 0 20px 70px rgba(53, 35, 26, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

button,
input {
  font: inherit;
}

.page {
  min-height: 100vh;
}

.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 48px;
  align-items: center;
  padding: 48px min(6vw, 76px) 40px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.price {
  font-size: 48px;
  font-weight: 900;
}

.price-note {
  color: var(--muted);
  font-weight: 700;
}

.actions {
  max-width: 620px;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.consent input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  margin-top: 2px;
}

.primary {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  margin-top: 16px;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
  font-weight: 850;
}

.primary:hover {
  background: var(--accent-dark);
}

.primary:disabled {
  background: #c9c0b9;
  cursor: not-allowed;
}

.hint {
  color: var(--muted);
  font-size: 14px;
  margin: 10px 0 0;
}

.preview {
  display: grid;
  place-items: center;
}

.phone-frame {
  width: min(380px, 100%);
  aspect-ratio: 9 / 16;
  border: 12px solid #1f1d1c;
  border-radius: 34px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.04)),
    url("https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.video-card {
  width: 100%;
  color: #ffffff;
}

.poster {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: rgba(181, 36, 63, 0.86);
  font-weight: 900;
  margin-bottom: 14px;
}

.caption {
  padding: 16px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.52);
}

.caption p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.notice-band {
  background: #181511;
  color: #ffffff;
  padding: 38px min(6vw, 76px);
}

.notice-band h2 {
  font-size: clamp(24px, 3vw, 36px);
}

.notice-band p {
  max-width: 980px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.65;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 34px min(6vw, 76px);
}

.content-grid article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.content-grid h3 {
  font-size: 22px;
}

ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.9;
}

.content-grid p {
  color: var(--muted);
  line-height: 1.7;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px min(6vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer p {
  margin: 0;
}

dialog {
  width: min(460px, calc(100vw - 32px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

dialog form {
  padding: 24px;
}

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

code {
  background: #f0ece7;
  border-radius: 4px;
  padding: 2px 5px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .preview {
    order: -1;
  }

  .phone-frame {
    max-height: 520px;
  }

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

@media (max-width: 640px) {
  .hero {
    padding: 26px 18px 30px;
    gap: 30px;
  }

  .notice-band,
  .content-grid,
  footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 42px;
  }

  footer {
    flex-direction: column;
  }
}
