:root {
  --ink: #14161f;
  --muted: #5b6173;
  --paper: #f6f4ff;
  --card: #ffffff;
  --line: #ddd7f2;
  --violet: #6d4aff;
  --violet-deep: #4b2fd4;
  --wash: #ece7ff;
  --ok: #1f7a4d;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 10% -10%, #e4dcff 0%, transparent 55%),
    radial-gradient(700px 380px at 100% 0%, #dce8ff 0%, transparent 50%),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-deep); }
a:hover { color: var(--violet); }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav { display: flex; flex-wrap: wrap; gap: 16px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 28px 0 56px;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--violet-deep);
  margin: 0 0 12px;
}
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.15; }
h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin: 0 0 16px;
}
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
}
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-deep); color: #fff; }
.btn-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.fine { margin: 14px 0 0; color: var(--muted); font-size: 0.92rem; }

.phone {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 14px;
  box-shadow: 0 24px 60px rgba(77, 47, 180, 0.12);
}
.phone img {
  width: 100%;
  height: min(620px, 78vh);
  object-fit: cover;
  object-position: center 38%;
  border-radius: 18px;
}

section { padding: 28px 0 56px; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 10px;
}
.section-head p { margin: 0; color: var(--muted); }

.shots {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.shots figure { margin: 0; }
.shots img,
.guides .card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
}
.shots figcaption { margin-top: 8px; font-size: 0.86rem; color: var(--muted); }

.steps, .features, .guides, .legal-list { display: grid; gap: 16px; }
.steps { grid-template-columns: repeat(3, 1fr); }
.features { grid-template-columns: repeat(3, 1fr); }
.guides { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p, .card li { color: var(--muted); }
.card ol, .card ul { padding-left: 1.2rem; }
article ol, article ul { list-style: disc; padding-left: 1.2rem; }
article ol { list-style: decimal; }

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--muted); }
.cta-band {
  background: linear-gradient(135deg, var(--wash), #fff 60%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}
.cta-band h2 { font-family: var(--serif); margin-top: 0; }

.guide-hero img, .guide-figure img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--line);
}
.guide-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}
article .intro { font-size: 1.15rem; color: var(--ink); }
article h2 { font-family: var(--serif); margin-top: 2rem; }
.callout {
  background: var(--wash);
  border-left: 4px solid var(--violet);
  padding: 16px 18px;
  border-radius: 0 14px 14px 0;
  margin: 24px 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero, .guide-layout, .steps, .features, .guides { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .shots { grid-template-columns: 1fr; }
  .wrap { width: min(1120px, calc(100% - 28px)); }
}
