:root {
  --bg: #f4f7f5;
  --ink: #1f2a37;
  --ink-soft: #445062;
  --line: #d2dde4;
  --accent: #0f766e;
  --accent-strong: #0a5b55;
  --accent-soft: #d9f3ee;
  --sun: #ffd06f;
  --white: #ffffff;
  --shadow-sm: 0 10px 30px rgba(24, 40, 56, 0.12);
  --shadow-lg: 0 22px 60px rgba(24, 40, 56, 0.18);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: min(1160px, 92vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 7%, rgba(217, 243, 238, 0.8), transparent 45%),
    radial-gradient(circle at 88% 0%, rgba(255, 208, 111, 0.6), transparent 32%), var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.16;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
}

p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.62;
}

a {
  color: inherit;
}

.backdrop-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image: linear-gradient(rgba(15, 118, 110, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 18%, #000 0, transparent 78%);
}

.backdrop-blob {
  position: fixed;
  pointer-events: none;
  filter: blur(2px);
  z-index: -2;
}

.blob-a {
  width: 370px;
  height: 370px;
  right: -120px;
  top: -110px;
  background: linear-gradient(135deg, #0f766e, #5ecdbf);
  border-radius: 53% 47% 64% 36% / 54% 40% 60% 46%;
  animation: float-a 18s ease-in-out infinite;
}

.blob-b {
  width: 320px;
  height: 320px;
  left: -90px;
  bottom: -120px;
  background: linear-gradient(135deg, #ffc661, #ffde9a);
  border-radius: 42% 58% 35% 65% / 64% 40% 60% 36%;
  animation: float-b 21s ease-in-out infinite;
}

@keyframes float-a {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(18px) rotate(4deg);
  }
}

@keyframes float-b {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-16px) rotate(-5deg);
  }
}

.topbar {
  width: var(--container);
  margin: 16px auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 14px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f766e, #33af9f);
  box-shadow: 0 0 0 7px rgba(15, 118, 110, 0.12);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.layout,
.footer {
  width: var(--container);
  margin-inline: auto;
}

.hero {
  margin-top: 3.2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.3fr 1fr;
}

.hero-copy {
  display: grid;
  gap: 1.05rem;
}

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-strong);
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  letter-spacing: 0.008em;
}

.lede {
  font-size: clamp(1.02rem, 2.1vw, 1.2rem);
  max-width: 67ch;
}

.hero-cta,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.75rem 1.12rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.btn-solid {
  background: linear-gradient(135deg, #0f766e, #149788);
  color: var(--white);
  box-shadow: 0 11px 30px rgba(15, 118, 110, 0.35);
}

.btn-solid:hover {
  box-shadow: 0 14px 35px rgba(15, 118, 110, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  color: var(--ink);
}

.stat-strip {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-strip li {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  padding: 0.84rem 0.9rem;
  display: grid;
}

.stat-strip strong {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: 1rem;
}

.stat-strip span {
  color: #5b6677;
  font-size: 0.86rem;
  margin-top: 0.2rem;
}

.hero-panel {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: linear-gradient(170deg, rgba(16, 30, 44, 0.95), rgba(31, 48, 68, 0.92));
  color: #d9ebff;
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 0.82rem;
}

.panel-head {
  display: inline-flex;
  gap: 0.4rem;
}

.panel-head span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.panel-head span:nth-child(1) {
  background: #ff6f6f;
}

.panel-head span:nth-child(2) {
  background: #ffd16f;
}

.panel-head span:nth-child(3) {
  background: #6fdd88;
}

.panel-label {
  color: #9ab1ca;
  font-size: 0.82rem;
}

.hero-panel pre {
  margin: 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 16, 26, 0.52);
  padding: 0.9rem;
  overflow-x: auto;
}

.hero-panel code {
  color: #dff7ee;
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  line-height: 1.55;
}

.panel-note {
  color: #b7cbde;
  font-size: 0.93rem;
}

.grid-three,
.feature-stack,
.shots,
.cta {
  margin-top: 3.2rem;
}

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

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--sun));
}

.soft-a {
  background: linear-gradient(165deg, #ffffff, #edf9f6);
}

.soft-b {
  background: linear-gradient(165deg, #ffffff, #fff7e6);
}

.soft-c {
  background: linear-gradient(165deg, #ffffff, #f0f5ff);
}

.card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}

.section-head {
  display: grid;
  gap: 0.66rem;
  margin-bottom: 1.05rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.3vw, 2.45rem);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.feature-list article {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
}

.feature-list h3 {
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.82rem;
}

.shot {
  margin: 0;
  grid-column: span 4;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.shot-main {
  grid-column: span 8;
}

.shot img {
  width: 100%;
  display: block;
  max-height: 320px;
  object-fit: cover;
  object-position: center top;
}

.shot-feature {
  display: flex;
  flex-direction: column;
}

.shot-feature img {
  flex: 1 1 auto;
  height: 100%;
  min-height: 300px;
  max-height: none;
  object-position: center 8%;
}

.shot figcaption {
  padding: 0.78rem 0.9rem;
  color: #556174;
  font-size: 0.9rem;
}

.cta-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(145deg, rgba(15, 118, 110, 0.1), rgba(255, 255, 255, 0.9));
  box-shadow: var(--shadow-lg);
  padding: clamp(1.1rem, 2vw, 2rem);
  display: grid;
  gap: 0.85rem;
}

.cta-card h2 {
  font-size: clamp(1.5rem, 3.1vw, 2.25rem);
}

.footer {
  margin-top: 3.4rem;
  padding: 1.4rem 0 2.4rem;
  display: grid;
  gap: 0.68rem;
  color: #556174;
  font-size: 0.92rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.footer-top p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-legal a {
  text-decoration: none;
  border-bottom: 1px dashed rgba(85, 97, 116, 0.5);
}

.footer-legal a:hover {
  border-bottom-color: rgba(85, 97, 116, 0.95);
}

.legal-layout {
  width: var(--container);
  margin: 2.8rem auto 0;
}

.legal-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.1rem, 2vw, 2rem);
}

.legal-card h1 {
  font-size: clamp(1.8rem, 4.2vw, 2.75rem);
  margin-top: 0.2rem;
  margin-bottom: 0.45rem;
}

.legal-card h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  margin-top: 1.5rem;
  margin-bottom: 0.45rem;
}

.legal-card p,
.legal-card li {
  color: #2e3949;
}

.legal-card p + p {
  margin-top: 0.45rem;
}

.legal-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.legal-card a {
  color: var(--accent-strong);
}

.legal-note {
  margin-top: 1.15rem;
  font-size: 0.9rem;
  color: #5a6778;
}

.reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

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

  .shot,
  .shot-main {
    grid-column: span 6;
  }

  .shot-feature img {
    min-height: 240px;
  }
}

@media (max-width: 760px) {
  .topbar {
    border-radius: 18px;
    padding: 0.75rem;
    top: 10px;
    flex-wrap: wrap;
  }

  .top-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .btn {
    width: 100%;
  }

  .hero-cta .btn,
  .cta-actions .btn {
    width: auto;
  }

  .legal-layout .btn {
    width: 100%;
  }

  .stat-strip,
  .grid-three,
  .feature-list,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .shot,
  .shot-main {
    grid-column: span 1;
  }

  .shot-feature img {
    min-height: 0;
    height: auto;
    max-height: 320px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
