:root {
  --bg: #f4f6ef;
  --bg-deep: #dfe8da;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #18231b;
  --muted: #516258;
  --line: rgba(24, 35, 27, 0.1);
  --primary: #1f6f67;
  --primary-strong: #164f76;
  --accent: #f0b45d;
  --shadow: 0 22px 60px rgba(20, 42, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(79, 209, 197, 0.28), transparent 30%),
    radial-gradient(circle at top right, rgba(240, 180, 93, 0.22), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, #edf3ea 55%, var(--bg-deep) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  filter: blur(32px);
  opacity: 0.38;
  pointer-events: none;
}

body::before {
  top: -7rem;
  right: -6rem;
  background: rgba(31, 111, 103, 0.16);
}

body::after {
  bottom: -8rem;
  left: -5rem;
  background: rgba(22, 79, 118, 0.14);
}

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

.page-shell {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 2.5rem;
}

.topbar,
.footer,
.hero,
.trust-grid,
.info-band,
.content-grid,
.contact-card,
.download-panel {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  display: inline-flex;
  border-radius: 0.9rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), var(--shadow);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.active-link {
  color: var(--text);
}

.nav-cta {
  padding: 0.78rem 1rem;
  border-radius: 999px;
  background: rgba(22, 79, 118, 0.08);
  border: 1px solid rgba(22, 79, 118, 0.12);
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1.4rem;
  align-items: stretch;
  padding: 2.6rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(242, 247, 241, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 2rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -4rem;
  top: -4rem;
  width: 16rem;
  height: 16rem;
  border-radius: 3rem;
  transform: rotate(25deg);
  background: linear-gradient(135deg, rgba(79, 209, 197, 0.2), rgba(240, 180, 93, 0.24));
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--primary-strong);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1,
.page-hero h1,
.download-panel h1 {
  margin: 0;
  max-width: 11ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.98;
}

.lede {
  margin: 1.2rem 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}

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

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

.button-primary {
  color: #f7fafc;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 16px 34px rgba(22, 79, 118, 0.22);
}

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

.beta-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.panel-card,
.trust-card,
.content-card,
.contact-card,
.download-panel,
.info-band {
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.panel-card {
  padding: 1.35rem;
  border-radius: 1.5rem;
}

.panel-label {
  margin: 0 0 0.9rem;
  color: var(--primary-strong);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.signal-list li {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

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

.accent-card {
  background: linear-gradient(160deg, rgba(31, 111, 103, 0.12), rgba(240, 180, 93, 0.14));
}

.trust-grid,
.content-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.trust-card,
.content-card {
  padding: 1.3rem;
  border-radius: 1.4rem;
}

.trust-card h2,
.content-card h2,
.info-band h2 {
  margin: 0 0 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  line-height: 1.15;
}

.trust-card p,
.content-card p,
.info-band p,
.contact-copy,
.download-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.icon-wrap {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: rgba(31, 111, 103, 0.08);
}

.icon-wrap svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: var(--primary-strong);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.info-band {
  margin-top: 1rem;
  padding: 1.5rem;
  border-radius: 1.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
  padding: 1.4rem 0 0;
}

.footer p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  justify-content: flex-end;
}

.inner-page {
  display: grid;
  gap: 1rem;
}

.page-hero {
  padding: 1rem 0 0.6rem;
}

.page-hero h1,
.download-panel h1 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

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

.compact-band {
  margin-top: 0;
}

.contact-card,
.download-panel {
  border-radius: 1.8rem;
  padding: 2rem;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: center;
}

.large-icon {
  width: 4.4rem;
  height: 4.4rem;
}

.large-icon svg {
  width: 2rem;
  height: 2rem;
}

.contact-link {
  display: inline-block;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 700;
  color: var(--text);
}

.contact-copy {
  margin-top: 0.7rem;
}

.download-panel {
  text-align: center;
}

.download-panel h1,
.download-panel .lede {
  margin-left: auto;
  margin-right: auto;
}

.countdown-box {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: rgba(22, 79, 118, 0.08);
  border: 1px solid rgba(22, 79, 118, 0.12);
}

.countdown-box strong {
  min-width: 2ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.countdown-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.download-note {
  margin-top: 1rem;
}

code {
  padding: 0.1rem 0.35rem;
  border-radius: 0.35rem;
  background: rgba(24, 35, 27, 0.06);
}

@media (max-width: 960px) {
  .hero,
  .info-band,
  .trust-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1,
  .download-panel h1 {
    max-width: 100%;
  }

  .footer {
    flex-direction: column;
  }

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

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 1rem, 1160px);
    padding-top: 0.8rem;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .contact-card,
  .download-panel {
    padding: 1.35rem;
    border-radius: 1.4rem;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  .button {
    width: 100%;
  }
}
