:root {
  --bg-top: #fef8eb;
  --bg-mid: #edf7ff;
  --bg-bottom: #f8fbff;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-soft: rgba(255, 247, 225, 0.82);
  --surface-blue: rgba(244, 251, 255, 0.92);
  --text: #1c3557;
  --muted: #4d6583;
  --line: rgba(255, 255, 255, 0.72);
  --primary: #28527a;
  --primary-deep: #183153;
  --accent: #ffbc66;
  --accent-strong: #ff9f68;
  --sky: #5ac8fa;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius: 28px;
  --radius-sm: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 214, 153, 0.72), transparent 32%),
    radial-gradient(circle at top right, rgba(159, 232, 255, 0.7), transparent 28%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 52%, var(--bg-bottom) 100%);
}

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

p,
li {
  color: var(--muted);
  line-height: 1.7;
}

h1,
h2,
h3 {
  margin: 0 0 0.6rem;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.12;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

.site-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar,
.footer,
.card,
.page-link,
.pricing-card,
.legal-card,
.contact-card,
.hero-panel,
.cta {
  backdrop-filter: blur(14px);
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

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

.brand small {
  color: var(--muted);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fff7df 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 35px rgba(65, 117, 168, 0.16);
}

.brand-mark img {
  width: 38px;
  height: 38px;
  display: block;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.nav a:hover,
.nav a.active {
  background: rgba(90, 200, 250, 0.1);
  color: var(--primary-deep);
}

.hero,
.page-hero,
.cta {
  margin-top: 28px;
  background: linear-gradient(145deg, var(--surface) 0%, var(--surface-soft) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 56px;
}

.page-hero {
  padding: 48px 40px;
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  max-width: 12ch;
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 116px;
  margin: 8px 0 22px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #fff7df 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 35px rgba(65, 117, 168, 0.16);
}

.hero-logo img {
  width: 74px;
  height: 74px;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(65, 117, 168, 0.16));
}

.lead {
  max-width: 62ch;
  font-size: 1.08rem;
}

.lead.compact {
  max-width: 52ch;
}

.eyebrow,
.panel-label,
.price-label,
.legal-meta {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow,
.panel-label,
.price-label {
  color: var(--primary);
  font-weight: 700;
}

.legal-meta {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, #ffb457 0%, var(--accent-strong) 100%);
  color: #fffdf9;
  box-shadow: 0 14px 28px rgba(255, 162, 93, 0.28);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary-deep);
  border: 1px solid var(--line);
}

.hero-panel {
  display: flex;
  align-items: center;
}

.panel-card,
.card,
.page-link,
.pricing-card,
.legal-card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel-card {
  width: 100%;
  padding: 28px;
}

.accent-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 247, 225, 0.86)),
    linear-gradient(135deg, rgba(255, 188, 102, 0.14), rgba(90, 200, 250, 0.08));
}

.section {
  margin-top: 28px;
}

.section-heading {
  margin-bottom: 18px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card,
.page-link,
.pricing-card,
.contact-card {
  padding: 26px;
}

.page-link {
  display: block;
}

.page-link:hover,
.card:hover,
.pricing-card:hover {
  transform: translateY(-2px);
  transition: transform 180ms ease;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  margin-top: 10px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--sky));
  transform: translateY(-50%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.pricing-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.pricing-card.featured {
  background:
    linear-gradient(180deg, rgba(40, 82, 122, 0.96), rgba(24, 49, 83, 0.98)),
    #183153;
  color: #fff;
}

.pricing-card.featured p,
.pricing-card.featured li,
.pricing-card.featured .price-label,
.pricing-card.featured h2 {
  color: #fff;
}

.legal-card {
  margin-top: 28px;
  padding: 34px;
}

.legal-card h2 {
  margin-top: 24px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
}

.footer {
  margin-top: 28px;
  border-radius: 28px;
}

.footer p {
  margin: 4px 0 0;
}

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

.muted {
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero,
  .pricing-grid,
  .grid.two,
  .grid.three,
  .cta,
  .topbar,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 34px 24px;
  }

  .page-hero,
  .legal-card,
  .contact-card,
  .cta {
    padding: 28px 22px;
  }

  .topbar,
  .footer {
    border-radius: 28px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 12px;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    padding-left: 0;
    padding-right: 0;
  }
}
