:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #4b5563;
  --line: #dbe0e7;
  --brand: #0f62fe;
  --brand-2: #0b4dcc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 10% 10%, #eaf1ff, #f7f8fc 40%);
  color: var(--ink);
}

.container {
  width: min(1040px, 92vw);
  margin: 0 auto;
}

.hero {
  padding: 78px 0 60px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-preview {
  width: min(360px, 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.12);
  display: block;
}

.eyebrow {
  margin: 0;
  color: #0b4dcc;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

h1 {
  margin: 12px 0 0;
  font-size: clamp(32px, 5vw, 54px);
  max-width: 14ch;
  line-height: 1.04;
}

.subhead {
  margin: 18px 0 24px;
  font-size: 19px;
  color: var(--muted);
  max-width: 60ch;
}

.cta-main,
.cta {
  display: inline-block;
  text-decoration: none;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 18px;
}

.cta-main:hover,
.cta:hover {
  background: var(--brand-2);
}

.section {
  padding: 20px 0 56px;
}

.preview-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.4fr 1fr;
  align-items: start;
}

.media-card,
.feature-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 14px;
}

.preview-media {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #edf2ff;
  display: block;
}

.hidden-media {
  display: none;
}

h2 {
  margin: 0 0 20px;
  font-size: 30px;
}

.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 22px;
}

.cards .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cards .card .cta {
  margin-top: auto;
  align-self: flex-start;
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 26px 24px;
}

.legal-card h2 {
  margin-bottom: 12px;
}

.legal-card p + p {
  margin-top: 12px;
}

.featured {
  border-color: #8ab4ff;
  box-shadow: 0 8px 30px rgba(15, 98, 254, 0.14);
}

.card-tag {
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 700;
}

.price {
  margin: 0;
  font-size: 38px;
  font-weight: 800;
}

.price span {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
}

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

.note {
  margin-top: 14px;
  color: var(--muted);
}

.muted-area {
  background: linear-gradient(180deg, rgba(231, 238, 251, 0.4), rgba(244, 246, 251, 0.6));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.faq-list article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.footer {
  padding: 20px 0 26px;
}

.footer-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 12px;
}

.footer a {
  text-decoration: none;
  color: #1046a7;
}

body.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.legal-page main {
  flex: 1;
}

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

  .hero-visual {
    justify-content: flex-start;
  }

  .preview-layout {
    grid-template-columns: 1fr;
  }
}
