@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;700;900&family=Work+Sans:wght@400;500;700&display=swap");

:root {
  --bg: #f0f9ff;
  --text: #0c4a6e;
  --muted: #315c74;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(14, 165, 233, 0.24);
  --primary: #0ea5e9;
  --primary-2: #38bdf8;
  --cta: #4caf50;
  --shadow: 0 14px 45px rgba(2, 58, 84, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Work Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 0% 5%, #d5f1ff 0, transparent 40%),
    radial-gradient(circle at 100% 0%, #e9f8ff 0, transparent 40%), var(--bg);
  scroll-behavior: smooth;
}

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

.texture {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background-image: radial-gradient(#9ed7f4 0.5px, transparent 0.5px);
  background-size: 12px 12px;
}

main,
.topbar,
.footer,
.policy-wrap {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.topbar {
  margin-top: 18px;
  position: sticky;
  top: 14px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Outfit", "Trebuchet MS", sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
}

.nav a {
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}

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

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

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 18px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn {
  background: var(--cta);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.32);
}

.btn-ghost {
  background: var(--surface-strong);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-small {
  padding: 9px 14px;
  font-size: 0.9rem;
}

.hero {
  margin-top: 42px;
  max-width: 980px;
}

.hero-label,
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Outfit", "Trebuchet MS", sans-serif;
  line-height: 1.08;
}

h1 {
  margin-top: 8px;
  font-size: clamp(2.5rem, 9vw, 6.1rem);
  letter-spacing: -0.03em;
}

.hero-sub {
  max-width: 68ch;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  margin-top: 14px;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.showcase {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mock-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.focus-card header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.focus-card h2 {
  margin-top: 10px;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.focus-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.metric-card h3 {
  margin-top: 8px;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.metric-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.metric-grid div {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-strong);
  padding: 12px;
}

.metric-grid strong {
  display: block;
  font-family: "Outfit", "Trebuchet MS", sans-serif;
}

.metric-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  margin-top: 66px;
}

.section-head h2 {
  margin-top: 8px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.feature-grid,
.steps,
.faq,
.policy-grid {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.step,
.faq details,
.cta,
.policy-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card,
.step,
.cta,
.policy-card {
  padding: 18px;
}

.feature-card p,
.step p,
.faq p,
.cta p,
.small,
.policy-card p,
.policy-card li {
  color: var(--muted);
  line-height: 1.62;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  font-size: 0.8rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: var(--primary);
  font-weight: 700;
}

.faq details {
  padding: 14px 16px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  margin-bottom: 0;
}

.cta {
  margin-top: 70px;
  text-align: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), var(--surface));
}

.footer {
  margin-top: 54px;
  margin-bottom: 26px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: grid;
  gap: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* Privacy page */
.policy-wrap {
  margin-top: 28px;
  margin-bottom: 44px;
}

.policy-hero {
  margin-top: 12px;
}

.policy-card h3 {
  margin-bottom: 10px;
}

@media (max-width: 980px) {
  .showcase,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }
}

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