:root {
  color-scheme: light;
  --bg: #f2f7f5;
  --bg-deep: #0b1f1c;
  --surface: #ffffff;
  --ink: #12201d;
  --muted: #5c6f6a;
  --accent: #0f8f7b;
  --accent-deep: #0a6b5c;
  --accent-soft: #d9f3ee;
  --line: #d5e3de;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(20px, 4vw, 48px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}
.top.is-solid {
  background: rgba(242, 247, 245, 0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: #f5fffc;
  text-decoration: none;
}
.top.is-solid .brand { color: var(--ink); }
.brand:hover { color: #9ef0df; text-decoration: none; }
.top.is-solid .brand:hover { color: var(--accent); }
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.top-links { display: flex; flex-wrap: wrap; gap: 18px; }
.top-links a {
  color: rgba(245, 255, 252, 0.72);
  font-size: 0.82rem;
  font-weight: 500;
}
.top.is-solid .top-links a { color: var(--muted); }
.top-links a:hover { color: #fff; text-decoration: none; }
.top.is-solid .top-links a:hover { color: var(--ink); }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  color: #f5fffc;
  background: #071614;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 18% 20%, rgba(20, 140, 120, 0.35), transparent 60%),
    radial-gradient(ellipse 55% 50% at 88% 12%, rgba(56, 189, 168, 0.18), transparent 55%),
    radial-gradient(ellipse 80% 60% at 70% 90%, rgba(8, 70, 60, 0.55), transparent 60%),
    linear-gradient(165deg, #0a1c19 0%, #071614 45%, #0d2621 100%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  animation: orbFloat 14s var(--ease) infinite alternate;
}
.orb-a {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  left: -8%;
  top: 18%;
  background: rgba(15, 143, 123, 0.45);
}
.orb-b {
  width: min(36vw, 300px);
  height: min(36vw, 300px);
  right: 8%;
  top: 8%;
  background: rgba(94, 234, 212, 0.22);
  animation-delay: -4s;
}
.orb-c {
  width: min(42vw, 360px);
  height: min(42vw, 360px);
  right: -6%;
  bottom: -8%;
  background: rgba(10, 107, 92, 0.5);
  animation-delay: -7s;
}
.grid-fade {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(245, 255, 252, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 255, 252, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.hero-stage {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: clamp(24px, 4vw, 48px);
  padding: 110px clamp(20px, 5vw, 56px) clamp(28px, 5vw, 48px);
}
.hero-copy {
  max-width: 36rem;
  padding-bottom: clamp(24px, 6vw, 64px);
  animation: rise 0.9s var(--ease) both;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.4rem);
  font-weight: 650;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  color: #fff;
}
.hero-line {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  color: #e7f7f3;
  max-width: 18ch;
}
.hero-lead {
  margin: 0 0 1.75rem;
  color: rgba(231, 247, 243, 0.78);
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  max-width: 32rem;
}
.hero-device {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  animation: risePhone 1.05s 0.08s var(--ease) both;
}
.phone {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 9 / 19.2;
  border-radius: 36px;
  padding: 10px;
  background: linear-gradient(160deg, #2a3d39, #101918 55%, #0a1412);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 18px;
  border-radius: 999px;
  background: #0a1210;
  z-index: 2;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
  background: #f2f7f5;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: rise 1s 0.12s var(--ease) both;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 28px rgba(15, 143, 123, 0.32);
}
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-ghost {
  background: rgba(245, 255, 252, 0.08);
  color: #f5fffc;
  border: 1px solid rgba(245, 255, 252, 0.22);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(245, 255, 252, 0.45); color: #fff; }

@media (max-width: 900px) {
  .hero-stage {
    grid-template-columns: 1fr;
    align-items: start;
    padding-bottom: 36px;
  }
  .hero-copy { padding-bottom: 8px; }
  .phone { width: min(100%, 260px); }
}

.section {
  padding: clamp(56px, 10vw, 96px) clamp(20px, 5vw, 56px);
}
.section-head {
  max-width: 36rem;
  margin-bottom: 28px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.65rem;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.feature-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 900px) {
  .feature-rail { grid-template-columns: 1fr; }
}
.feature-item {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  max-height: 520px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(18, 32, 29, 0.06);
}
.feature-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 1.1s var(--ease);
}
.feature-item:hover img { transform: scale(1.04); }
.feature-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 31, 28, 0.88) 100%);
}
.feature-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
}
.feature-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.feature-caption span {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: rgba(245, 255, 252, 0.75);
}

.band {
  margin: 0 clamp(20px, 5vw, 56px);
  padding: clamp(36px, 6vw, 56px);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 80% 80% at 100% 0%, rgba(15, 143, 123, 0.18), transparent 55%),
    linear-gradient(135deg, #12302b, #0b1f1c 60%);
  color: #e7f7f3;
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  gap: 20px;
  align-items: center;
}
@media (min-width: 800px) {
  .band { grid-template-columns: 1.4fr auto; }
}
.band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
  color: #fff;
}
.band p { margin: 0; color: #9fbfb7; max-width: 36rem; }
.band .btn-ghost {
  border-color: rgba(245, 255, 252, 0.22);
  color: #f5fffc;
}

.site-footer {
  padding: 40px clamp(20px, 5vw, 56px) 48px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

.page-shell { padding-top: 72px; }
.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 72px;
}
.wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
  font-weight: 600;
}
.wrap h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-weight: 600;
}
.wrap p, .wrap li { color: var(--muted); font-size: 0.95rem; }
.wrap ul { padding-left: 1.25rem; }
.meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.75rem; }
.wrap strong { color: var(--ink); font-weight: 600; }
.doc-footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4%, -3%, 0) scale(1.08); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes risePhone {
  from { opacity: 0; transform: translateY(36px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
  .hero-copy, .cta-row, .hero-device { animation: none; }
  .feature-item img { transition: none; }
}
