:root {
  --ink: #102033;
  --ink-soft: #3a4d63;
  --paper: #f3f7fb;
  --accent: #0f6cbd;
  --accent-deep: #0a4f8c;
  --line: rgba(16, 32, 51, 0.12);
  --max: 1120px;
  --font-display: "Fraunces", "Source Serif 4", Georgia, serif;
  --font-body: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 90% 55% at 12% -10%, #d7ebff 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 88% 8%, #cfe8df 0%, transparent 50%),
    linear-gradient(180deg, #f7fbff 0%, var(--paper) 38%, #eef4f9 100%);
  line-height: 1.55;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-deep);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding: 1.25rem 0 0;
}

.site-header.page-header {
  position: static;
  justify-content: space-between;
  padding-top: 1.25rem;
}

.site-header .home-link {
  font-family: var(--font-display);
  font-weight: 650;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-content: end;
  overflow: clip;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  animation: slow-pan 16s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(243, 247, 251, 0.55) 0%, rgba(243, 247, 251, 0.28) 35%, rgba(16, 32, 51, 0.55) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 7rem 0 3.25rem;
  color: #f7fbff;
  animation: rise 0.85s ease both;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.brand-mark img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 10vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-weight: 650;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.hero-lead {
  margin: 1rem 0 0;
  max-width: 28rem;
  color: rgba(247, 251, 255, 0.9);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.55rem;
  text-decoration: none;
  font-weight: 650;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: #fff;
  color: var(--ink);
}

.btn-primary:hover {
  background: #e8f0f7;
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-secondary:hover {
  border-color: #fff;
}

.section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-lead {
  margin: 0 0 2rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

.feature-list {
  display: grid;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  gap: 0.35rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
  animation: rise 0.7s ease both;
}

.feature-list li:nth-child(2) {
  animation-delay: 0.08s;
}

.feature-list li:nth-child(3) {
  animation-delay: 0.16s;
}

.feature-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.feature-list strong {
  font-size: 1.05rem;
}

.feature-list span {
  color: var(--ink-soft);
}

.plans {
  display: grid;
  gap: 1.5rem;
}

.plan {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.plan:last-child {
  border-bottom: 1px solid var(--line);
}

.plan h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.plan-price {
  margin: 0.35rem 0 0.8rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.plan p,
.plan ul {
  color: var(--ink-soft);
}

.plan ul {
  margin: 0;
  padding-left: 1.15rem;
}

.notice,
.support-box {
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 40rem;
}

.legal-page {
  padding: 5.5rem 0 4rem;
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
}

.legal-page .updated {
  color: var(--ink-soft);
  margin: 0 0 2rem;
}

.legal-page h2 {
  margin: 2rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
  max-width: 42rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

.site-footer a {
  text-decoration: none;
  color: inherit;
}

.site-footer a:hover {
  color: var(--ink);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slow-pan {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@media (min-width: 900px) {
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .feature-list li {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .plans {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .plan,
  .plan:last-child {
    border: 0;
    padding: 0;
  }

  .hero-copy {
    padding-bottom: 4.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
