:root {
  --ink: #0c1a17;
  --mist: #e8f2ef;
  --foam: #f3faf7;
  --teal: #256b64;
  --teal-deep: #143f3b;
  --teal-soft: #3d9a90;
  --sand: #d7ebe4;
  --line: rgba(12, 26, 23, 0.12);
  --shadow: 0 28px 80px rgba(20, 63, 59, 0.28);
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", 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(1200px 700px at 12% -10%, rgba(61, 154, 144, 0.22), transparent 55%),
    radial-gradient(900px 600px at 100% 0%, rgba(37, 107, 100, 0.18), transparent 50%),
    linear-gradient(180deg, #f7fcfa 0%, var(--foam) 42%, #eef6f3 100%);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-deep);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

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

.nav-links a {
  color: var(--teal-deep);
  text-decoration: none;
  opacity: 0.85;
}

.nav-links a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 6.5rem 1.5rem 4rem;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 28%, rgba(61, 154, 144, 0.45), transparent 70%),
    radial-gradient(ellipse 90% 70% at 80% 90%, rgba(20, 63, 59, 0.75), transparent 60%),
    linear-gradient(160deg, #1a4f49 0%, #256b64 42%, #0c1a17 100%);
  transform: scale(1.04);
  animation: atmosphere-drift 14s ease-in-out infinite alternate;
}

.hero-atmosphere::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(244, 251, 248, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 251, 248, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 40%, black 20%, transparent 72%);
  opacity: 0.7;
}

.hero-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 16, 0.08), rgba(8, 18, 16, 0.55));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  text-align: center;
  color: #f4fbf8;
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-icon {
  width: min(148px, 34vw);
  height: auto;
  margin: 0 auto 1.4rem;
  border-radius: 28px;
  box-shadow: var(--shadow);
  animation: float-soft 5.5s ease-in-out infinite;
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero-line {
  margin: 1.1rem auto 0;
  max-width: 28ch;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(244, 251, 248, 0.92);
}

.hero-support {
  margin: 0.85rem auto 0;
  max-width: 38ch;
  font-size: 1.02rem;
  color: rgba(232, 242, 239, 0.78);
}

.cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  font: inherit;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-primary {
  background: #f4fbf8;
  color: var(--teal-deep);
}

.button-primary:hover {
  background: #ffffff;
  color: var(--ink);
}

.button-ghost {
  background: transparent;
  color: #f4fbf8;
  box-shadow: inset 0 0 0 1.5px rgba(244, 251, 248, 0.45);
}

.button-ghost:hover {
  background: rgba(244, 251, 248, 0.1);
  color: #fff;
}

.section {
  width: min(980px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0 1rem;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section > p.lead {
  margin: 0 0 2rem;
  max-width: 46ch;
  color: rgba(12, 26, 23, 0.72);
  font-size: 1.05rem;
}

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

.feature-list li {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

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

.feature-list strong {
  display: block;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.3rem;
}

.feature-list span {
  color: rgba(12, 26, 23, 0.7);
}

.store-note {
  margin-top: 1.5rem;
  color: rgba(12, 26, 23, 0.62);
  font-size: 0.95rem;
}

.site-footer {
  margin-top: 4rem;
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  color: rgba(12, 26, 23, 0.65);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
}

.page {
  padding: 7rem clamp(1.25rem, 4vw, 3rem) 3rem;
}

.page-shell {
  width: min(760px, 100%);
  margin: 0 auto;
}

.page h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.page .meta {
  margin: 0 0 2rem;
  color: rgba(12, 26, 23, 0.58);
}

.page p,
.page li {
  color: rgba(12, 26, 23, 0.82);
}

.page h2 {
  margin: 2.2rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.page ul {
  padding-left: 1.2rem;
}

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

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes atmosphere-drift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.07) translate3d(0, -1.5%, 0);
  }
}

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

  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 640px) {
  .nav-links {
    gap: 0.85rem;
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 5.5rem;
  }
}
