:root {
  --bg: #f4f1ea;
  --bg-soft: #fbfaf6;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: #ffffff;
  --text: #17202a;
  --muted: #5d6977;
  --line: rgba(23, 32, 42, 0.11);
  --accent: #1e67d7;
  --accent-deep: #1349a3;
  --accent-soft: rgba(30, 103, 215, 0.1);
  --warm: #d9c9a8;
  --shadow: 0 24px 80px rgba(33, 42, 53, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --content-width: 1260px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(217, 201, 168, 0.4), transparent 34%),
    linear-gradient(180deg, #f7f4ed 0%, #f3f0ea 42%, #f6f3ed 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 70%);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding-bottom: 56px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 18px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.back-to-top {
  position: fixed;
  top: 22px;
  left: 50%;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 34px rgba(27, 37, 50, 0.12);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  transform: translate(-50%, -6px);
  transition: opacity 140ms ease, transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
  -webkit-appearance: none;
  appearance: none;
}

.back-to-top.is-visible {
  opacity: 0.96;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translate(-50%, -1px);
  box-shadow: 0 18px 40px rgba(27, 37, 50, 0.18);
  background: rgba(255, 255, 255, 0.94);
  outline: none;
}

.back-to-top-icon {
  display: block;
  width: 22px;
  height: 22px;
}

.back-to-top-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.18fr);
  gap: 40px;
  align-items: center;
  padding: 34px 0 56px;
}

.hero-copy {
  padding-right: 12px;
}

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

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

h1,
h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(3.3rem, 5vw, 5.7rem);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 3vw, 3.4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-text,
.section-heading p,
.card p,
.step p,
.trust-card p,
.faq-item p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent) 0%, #5594ff 100%);
  box-shadow: 0 18px 34px rgba(30, 103, 215, 0.26);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 32, 42, 0.08);
}

.hero-points {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
}

.hero-points li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, #6ca0f7 100%);
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.hero-visual {
  position: relative;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 14%, transparent 86%, rgba(23, 32, 42, 0.06));
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.signal-band div {
  padding: 18px 20px;
  border: 1px solid rgba(23, 32, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.section {
  margin-top: 28px;
  padding: 38px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.narrow {
  max-width: 620px;
}

.card-grid,
.trust-grid,
.faq-list,
.step-list {
  display: grid;
  gap: 18px;
}

.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid-advanced .card {
  min-height: 100%;
}

.card,
.trust-card,
.faq-item,
.step {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: 0 16px 44px rgba(27, 37, 50, 0.06);
}

.card,
.trust-card,
.faq-item {
  padding: 24px;
}

.card-accent {
  background:
    linear-gradient(180deg, rgba(30, 103, 215, 0.06), rgba(255, 255, 255, 0.9) 28%),
    var(--panel);
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.step-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step {
  padding: 24px 24px 26px;
}

.step-number {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.trust-grid,
.faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(30, 103, 215, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
  box-shadow: 0 18px 54px rgba(27, 37, 50, 0.08);
}

.download-note,
.download-footnote {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.download-note {
  margin-bottom: 0;
}

.download-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.download-actions .button {
  width: auto;
  min-width: 220px;
}

.download-footnote {
  margin-bottom: 0;
}

.faq-item h3,
.trust-card h3,
.card h3,
.step h3 {
  font-size: 1.05rem;
}

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

  .hero-copy {
    padding-right: 0;
  }

  .signal-band,
  .card-grid,
  .trust-grid,
  .faq-list,
  .step-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--content-width));
  }

  .back-to-top {
    top: 14px;
    width: 42px;
    height: 42px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero {
    gap: 24px;
    padding-top: 18px;
  }

  .signal-band,
  .card-grid,
  .trust-grid,
  .faq-list,
  .step-list {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .download-actions .button {
    min-width: 0;
  }
}
