:root {
  --bg: #eef2f6;
  --bg-soft: #f7f8fb;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #17212d;
  --muted: #5e6a7a;
  --line: rgba(23, 33, 45, 0.08);
  --line-strong: rgba(23, 33, 45, 0.12);
  --accent: #86a6ff;
  --accent-deep: #6479d7;
  --accent-soft: rgba(134, 166, 255, 0.14);
  --glow: rgba(132, 167, 255, 0.18);
  --shadow-lg: 0 30px 80px rgba(34, 51, 84, 0.10);
  --shadow-md: 0 18px 40px rgba(30, 47, 74, 0.08);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(134, 166, 255, 0.22), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(183, 215, 255, 0.18), transparent 26%),
    linear-gradient(180deg, #f6f8fb 0%, #edf1f5 100%);
  min-height: 100vh;
  line-height: 1.65;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 240px;
  height: 240px;
  right: 6%;
  top: 10%;
  background: rgba(183, 215, 255, 0.28);
}

body::after {
  width: 280px;
  height: 280px;
  left: -40px;
  bottom: 5%;
  background: rgba(168, 183, 255, 0.20);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max));
  margin: 18px auto;
}

.inner-shell {
  width: min(calc(100% - 32px), 1100px);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  margin-bottom: 24px;
}

.glass-bar {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-md);
  border-radius: 999px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand strong,
.brand em {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.brand em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.84rem;
}

.brand-mark {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(134, 166, 255, 1), rgba(255, 255, 255, 0.95));
  box-shadow: 0 0 0 8px rgba(134, 166, 255, 0.10);
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.top-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.section-space {
  margin-bottom: 28px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.72fr);
  gap: 24px;
  align-items: start;
}

.reverse-grid {
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
}

.compact-grid {
  align-items: stretch;
}

.card-panel,
.note-panel,
.guide-card,
.process-card,
.faq-list details,
.site-footer {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.card-panel::before,
.note-panel::before,
.guide-card::before,
.process-card::before,
.faq-list details::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.42), transparent 40%);
  pointer-events: none;
}

.large-panel {
  padding: 44px;
  min-height: 100%;
}

.content-panel,
.form-panel,
.legal-hero,
.legal-card,
.legal-stack,
.thankyou-card,
.narrow-stack {
  padding: 32px;
}

.stack-rail {
  display: grid;
  gap: 18px;
}

.note-panel {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.accent-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(236, 241, 255, 0.92));
  border-color: rgba(134, 166, 255, 0.22);
}

.soft-panel,
.muted-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 248, 251, 0.96));
}

.subtle-accent {
  background: linear-gradient(180deg, rgba(247, 249, 255, 0.95), rgba(255, 255, 255, 0.85));
}

.eyebrow,
.panel-label,
.metric-label,
.tag {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--muted);
}

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

h1,
h2,
h3 {
  letter-spacing: -0.03em;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.02;
  max-width: 11ch;
  margin-bottom: 22px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.28rem;
  line-height: 1.18;
  margin-bottom: 12px;
}

.lead {
  font-size: 1.08rem;
  color: #334051;
  max-width: 62ch;
  margin-bottom: 26px;
}

.small-lead {
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent-deep), #8aa4ff);
  box-shadow: 0 16px 28px rgba(100, 121, 215, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--line-strong);
}

.wide-button {
  width: 100%;
}

.hero-metrics,
.contact-strip,
.footer-grid,
.feature-columns,
.legal-grid,
.thankyou-grid {
  display: grid;
  gap: 16px;
}

.hero-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.hero-metrics strong,
.contact-strip strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
}

.flow-list,
.legal-list {
  padding-left: 18px;
  margin-bottom: 0;
}

.flow-list li,
.legal-list li {
  margin-bottom: 10px;
}

.layered-section {
  padding: 6px;
  border-radius: calc(var(--radius-xl) + 4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.12));
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.split-heading {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.72fr);
  align-items: end;
}

.section-note {
  color: var(--muted);
  max-width: 38ch;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.guide-card {
  padding: 26px;
  min-height: 100%;
}

.guide-card ul {
  padding-left: 18px;
  color: var(--muted);
  margin-bottom: 0;
}

.guide-card li {
  margin-bottom: 8px;
}

.guide-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.price {
  font-size: 1.1rem;
  font-weight: 700;
}

.featured-card {
  grid-column: span 5;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 242, 255, 0.96));
}

.guide-grid > article:nth-child(2) {
  grid-column: span 3;
}

.wide-card {
  grid-column: span 7;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 248, 255, 0.94));
}

.muted-card {
  grid-column: span 5;
}

.feature-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.process-card {
  padding: 24px;
}

.process-card span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
  margin-bottom: 18px;
}

.faq-shell {
  padding: 24px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 22px 24px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding-right: 26px;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--muted);
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list p {
  margin-top: 16px;
  color: var(--muted);
  max-width: 70ch;
}

.inquiry-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.contact-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

form label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(100, 121, 215, 0.45);
  box-shadow: 0 0 0 4px rgba(100, 121, 215, 0.08);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.form-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-layout,
.thankyou-layout {
  display: grid;
  gap: 24px;
}

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

.legal-card,
.legal-stack,
.thankyou-card,
.narrow-stack {
  background: rgba(255, 255, 255, 0.82);
}

.thankyou-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.thankyou-card {
  padding: 40px;
}

.narrow-stack {
  max-width: 640px;
}

.site-footer {
  margin-top: 6px;
  padding: 28px;
  background: rgba(248, 250, 253, 0.88);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.7fr 0.8fr;
  align-items: start;
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: 10px;
}

.site-footer a,
.site-footer p {
  color: var(--muted);
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
}

.disclaimer {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #415063;
}

.minimal-footer {
  border-radius: var(--radius-xl);
}

.compact-header {
  margin-bottom: 10px;
}

@media (max-width: 1100px) {
  .editorial-grid,
  .reverse-grid,
  .inquiry-grid,
  .split-heading,
  .process-grid,
  .feature-columns,
  .footer-grid,
  .thankyou-grid,
  .legal-grid,
  .hero-metrics,
  .contact-strip {
    grid-template-columns: 1fr;
  }

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

  .featured-card,
  .wide-card,
  .muted-card,
  .guide-grid > article:nth-child(2) {
    grid-column: span 1;
  }
}

@media (max-width: 820px) {
  .page-shell,
  .inner-shell {
    width: min(calc(100% - 20px), var(--max));
    margin: 10px auto;
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
    border-radius: 28px;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .large-panel,
  .content-panel,
  .form-panel,
  .legal-hero,
  .legal-card,
  .legal-stack,
  .thankyou-card,
  .narrow-stack,
  .guide-card,
  .process-card,
  .note-panel,
  .site-footer {
    padding: 22px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10vw, 3.25rem);
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

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

@media (max-width: 520px) {
  body {
    background: linear-gradient(180deg, #f6f8fb 0%, #edf1f5 100%);
  }

  .glass-bar {
    backdrop-filter: blur(8px);
  }

  .button {
    width: 100%;
  }
}
