/* ===== Base ===== */
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #14213d;
  --ink-soft: #4a5568;
  --muted: #8a94a6;
  --line: #e7e4dc;
  --accent: #1f5eff;
  --accent-dark: #1846c4;
  --accent-soft: #eef3ff;
  --gold: #b8892f;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 33, 61, .04), 0 12px 32px -12px rgba(20, 33, 61, .14);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.2; }

.container { width: min(1100px, 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 48px); }

section { padding: 88px 0; }

.section-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-align: center;
  margin-bottom: 48px;
}
.section-sub { text-align: center; margin: -32px auto 40px; max-width: 560px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 120px 0 96px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 50% -10%, #e4ecff 0%, rgba(228, 236, 255, 0) 70%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 0%, transparent 75%);
  opacity: .55;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  font-size: .85rem; font-weight: 500;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .18);
}

.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 5.2vw, 3.9rem);
  letter-spacing: -.02em;
  max-width: 900px;
  margin: 28px auto 22px;
}
.hero h1 .accent {
  font-weight: 600;
  background: linear-gradient(120deg, var(--accent) 0%, #6b4dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.lead { font-size: 1.15rem; max-width: 640px; margin: 0 auto 36px; }

.btn {
  display: inline-block;
  padding: 15px 34px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--accent);
  border-radius: 12px;
  box-shadow: 0 10px 24px -10px rgba(31, 94, 255, .7);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(31, 94, 255, .8); }
.btn:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; }

/* ===== Domains ===== */
.domains { padding-top: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.domain-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease;
}
.domain-card:hover { transform: translateY(-4px); border-color: #cfd9f5; }

.domain-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  color: var(--accent);
  background: var(--accent-soft);
  margin-bottom: 24px;
}
.domain-icon svg { width: 26px; height: 26px; }

.domain-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.domain-name span { color: var(--gold); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; }
.tags li {
  font-size: .8rem; font-weight: 500;
  padding: 5px 12px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* ===== Why ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  padding: 30px 28px;
  border-top: 2px solid var(--accent);
  background: var(--surface);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { margin: 0; }

/* ===== Process ===== */
.process { background: var(--surface); border-block: 1px solid var(--line); }
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  counter-reset: none;
}
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  flex: 0 0 44px; height: 44px;
  display: grid; place-items: center;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; font-size: 1.2rem;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 50%;
}
.steps h3 { font-size: 1.08rem; margin-bottom: 6px; }
.steps p { margin: 0; }

/* ===== Form ===== */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
  overflow: hidden;
}
.form-card iframe {
  display: block;
  width: 100%;
  height: 1200px;
  border: 0;
  border-radius: 12px;
}
.form-fallback { text-align: center; font-size: .92rem; color: var(--muted); margin-top: 18px; }
.form-fallback a { color: var(--accent); font-weight: 500; }

.closing { text-align: center; font-size: .85rem; color: var(--muted); margin: 0; padding: 0 0 40px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .grid-3, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  section { padding: 64px 0; }
  .hero { padding: 88px 0 72px; }
  .grid-2 { grid-template-columns: 1fr; }
  .domain-card { padding: 32px 26px; }
  .hero h1 .accent { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
