/* Agua Leads — shared stylesheet
   Dark editorial design (Vivid+Co reference) — near-black canvas, bone-white type,
   gunmetal-blue accent, floating glass-prism animated background.
   Font: Inter (Neue Montreal substitute) */

:root {
  /* Core tokens */
  --color-bone-white: #fffdf9;
  --color-canvas: #16213a;
  --color-canvas-soft: #1c2a47;
  --color-carbon: #101010;
  --color-gunmetal-blue: #6f879c;
  --color-hairline: rgba(255, 253, 249, 0.10);
  --color-panel: rgba(255, 253, 249, 0.03);

  /* Legacy aliases — keep inline styles in the HTML working */
  --teal: #8fa9bf;
  --teal-dark: #8fa9bf;
  --teal-light: rgba(111, 135, 156, 0.18);
  --navy: #fffdf9;
  --navy-soft: rgba(255, 253, 249, 0.08);
  --ink: #fffdf9;
  --ink-soft: rgba(255, 253, 249, 0.66);
  --line: var(--color-hairline);
  --bg: var(--color-canvas);
  --card: var(--color-panel);
  --green: #fffdf9;
  --green-bg: transparent;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(96, 140, 190, 0.16), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(96, 140, 190, 0.10), transparent 60%),
    var(--color-canvas);
  background-attachment: fixed;
  color: var(--color-bone-white);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--color-gunmetal-blue); color: var(--color-bone-white); }

a { color: var(--color-bone-white); }

/* Content sits above the animated background */
.site-header, .hero, main, .site-footer { position: relative; z-index: 1; }

/* ---------- Animated glass-prism background ---------- */

.bg-prisms {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-prisms span {
  position: absolute;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.09) 0%, rgba(255, 253, 249, 0.015) 55%, rgba(255, 253, 249, 0.05) 100%);
  border: 1px solid rgba(255, 253, 249, 0.10);
  box-shadow:
    -14px 14px 44px rgba(255, 80, 80, 0.07),
    14px -10px 44px rgba(80, 130, 255, 0.09),
    0 22px 40px rgba(80, 255, 170, 0.04),
    inset 0 1px 0 rgba(255, 253, 249, 0.14);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.bg-prisms span:nth-child(1) {
  width: 220px; height: 220px;
  top: 12%; right: 9%;
  transform: rotate(18deg);
  animation: prism-float-a 26s ease-in-out infinite;
}

.bg-prisms span:nth-child(2) {
  width: 120px; height: 120px;
  top: 46%; right: 24%;
  transform: rotate(-12deg);
  animation: prism-float-b 21s ease-in-out infinite;
  animation-delay: -7s;
}

.bg-prisms span:nth-child(3) {
  width: 160px; height: 160px;
  bottom: 10%; left: 6%;
  transform: rotate(32deg);
  animation: prism-float-c 31s ease-in-out infinite;
  animation-delay: -14s;
  opacity: 0.8;
}

@keyframes prism-float-a {
  0%, 100% { transform: translate(0, 0) rotate(18deg); }
  50%      { transform: translate(-30px, 38px) rotate(28deg); }
}

@keyframes prism-float-b {
  0%, 100% { transform: translate(0, 0) rotate(-12deg); }
  50%      { transform: translate(24px, -30px) rotate(-24deg); }
}

@keyframes prism-float-c {
  0%, 100% { transform: translate(0, 0) rotate(32deg); }
  50%      { transform: translate(36px, -22px) rotate(20deg); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-prisms span { animation: none; }
}

/* ---------- Header / Nav ---------- */

.site-header {
  background: transparent;
  border-bottom: 1px solid var(--color-hairline);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.wordmark svg { flex-shrink: 0; }

.wordmark span {
  color: var(--color-bone-white);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.2px;
  line-height: 1.25;
}

.wordmark small {
  display: block;
  color: var(--color-gunmetal-blue);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  line-height: 1.4;
}

.site-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav a {
  color: rgba(255, 253, 249, 0.78);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 8px 0;
  border: 1px solid transparent;
  transition: color 0.18s;
}

.site-nav a:hover { color: var(--color-bone-white); background: none; }

.site-nav a.active {
  background: none;
  color: var(--color-bone-white);
  border: 1px solid rgba(255, 253, 249, 0.45);
  border-radius: 999px;
  padding: 8px 18px;
}

/* ---------- Hero ---------- */

.hero {
  background: transparent;
  color: var(--color-bone-white);
  text-align: left;
  padding: 110px 40px 120px;
}

.hero > * {
  position: relative;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.hero .badge {
  display: inline-block;
  background: rgba(255, 253, 249, 0.04);
  border: 1px solid rgba(111, 135, 156, 0.5);
  color: rgba(255, 253, 249, 0.85);
  font-size: 11.5px;
  font-weight: 400;
  padding: 8px 18px;
  border-radius: 999px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  display: block;
  width: fit-content;
  margin-bottom: 34px;
}

.hero h1 {
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin-bottom: 28px;
}

.hero h1 .accent { color: inherit; font-weight: 700; }

.hero p.lede {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  background: var(--color-bone-white);
  color: var(--color-canvas);
  text-decoration: none;
  font-weight: 500;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 13px 28px;
  border: 1px solid var(--color-bone-white);
  border-radius: 999px;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.btn:hover { background: transparent; color: var(--color-bone-white); }

.btn.ghost {
  background: transparent;
  color: var(--color-bone-white);
  border: 1px solid rgba(111, 135, 156, 0.6);
  margin-left: 12px;
}

.btn.ghost:hover { border-color: var(--color-bone-white); background: rgba(255, 253, 249, 0.04); }

/* ---------- Page shells ---------- */

.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 40px 110px;
}

.page-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 40px 110px;
}

.page-title {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--color-bone-white);
  margin-bottom: 14px;
}

.page-sub {
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 600px;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-bone-white);
  margin: 64px 0 18px;
}

.kicker {
  color: var(--color-gunmetal-blue);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

/* ---------- Feature grid — quiet glass panels ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.card {
  background: var(--color-panel);
  border: 1px solid var(--color-hairline);
  border-radius: 14px;
  padding: 30px 28px;
  box-shadow: none;
  transition: border-color 0.2s, background 0.2s;
}

.card:hover {
  border-color: rgba(111, 135, 156, 0.45);
  background: rgba(255, 253, 249, 0.045);
}

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(111, 135, 156, 0.12);
  border: 1px solid rgba(111, 135, 156, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-bone-white);
  margin-bottom: 9px;
}

.card p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Notice / callout ---------- */

.notice {
  background: var(--color-panel);
  border: 1px solid var(--color-hairline);
  border-left: 2px solid var(--color-gunmetal-blue);
  border-radius: 14px;
  padding: 32px 36px;
  margin: 64px 0 8px;
}

.notice h3 {
  color: var(--color-bone-white);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 9px;
}
.notice p { font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }
.notice a { color: var(--color-bone-white); }

.contact-box {
  background: var(--color-panel);
  border: 1px solid var(--color-hairline);
  border-radius: 14px;
  padding: 32px 36px;
  margin: 44px 0;
}

.contact-box h3 {
  color: var(--color-bone-white);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.contact-box p { font-size: 14.5px; margin: 6px 0; color: var(--ink-soft); }
.contact-box a { color: var(--color-bone-white); font-weight: 400; }
.contact-box a:hover { color: var(--color-gunmetal-blue); }

/* ---------- Legal pages ---------- */

.legal {
  background: var(--color-panel);
  border: 1px solid var(--color-hairline);
  border-radius: 16px;
  padding: 52px 56px;
  box-shadow: none;
}

.legal h1 {
  color: var(--color-bone-white);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.legal .updated {
  color: var(--color-gunmetal-blue);
  font-size: 13px;
  margin-bottom: 44px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-hairline);
}

.legal h2 {
  color: var(--color-bone-white);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--color-hairline);
}

.legal p, .legal li { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal li { margin: 6px 0; }
.legal a { color: var(--color-bone-white); }
.legal a:hover { color: var(--color-gunmetal-blue); }
.legal strong { color: var(--color-bone-white); font-weight: 700; }

/* ---------- FAQ ---------- */

.faq-item {
  background: var(--color-panel);
  border: 1px solid var(--color-hairline);
  border-radius: 14px;
  padding: 26px 30px;
  margin-bottom: 14px;
  transition: border-color 0.2s;
}

.faq-item:hover { border-color: rgba(111, 135, 156, 0.45); }

.faq-item h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-bone-white);
  margin-bottom: 8px;
}
.faq-item p { font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
.faq-item a { color: var(--color-bone-white); }
.faq-item a:hover { color: var(--color-gunmetal-blue); }

/* ---------- Steps (delete account) ---------- */

.steps { counter-reset: step; margin: 36px 0; }

.step {
  background: var(--color-panel);
  border: 1px solid var(--color-hairline);
  border-radius: 14px;
  padding: 26px 30px 26px 78px;
  margin-bottom: 14px;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 26px;
  top: 26px;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(111, 135, 156, 0.12);
  border: 1px solid rgba(111, 135, 156, 0.40);
  color: var(--color-bone-white);
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-bone-white);
  margin-bottom: 6px;
}
.step p { font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
.step a { color: var(--color-bone-white); font-weight: 400; text-decoration: underline; }
.step a:hover { color: var(--color-gunmetal-blue); }

/* ---------- Tables ---------- */

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 36px 0;
  background: var(--color-panel);
  border: 1px solid var(--color-hairline);
  border-radius: 14px;
  overflow: hidden;
  font-size: 14px;
}

.data-table th {
  background: rgba(255, 253, 249, 0.05);
  color: var(--color-bone-white);
  text-align: left;
  padding: 13px 18px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: 1.2px;
}

.data-table td {
  padding: 13px 18px;
  border-top: 1px solid var(--color-hairline);
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */

.site-footer {
  background: transparent;
  color: var(--ink-soft);
  margin-top: 90px;
  border-top: 1px solid var(--color-hairline);
  padding: 56px 40px 36px;
}

.footer-inner {
  margin: 0 auto;
  max-width: 1240px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand span { color: var(--color-bone-white); font-weight: 500; font-size: 16px; }
.footer-brand p { font-size: 13.5px; line-height: 1.6; margin-top: 8px; max-width: 320px; }

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

.footer-links h4 {
  color: var(--color-gunmetal-blue);
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-bottom: 13px;
}

.footer-links a {
  display: block;
  color: rgba(255, 253, 249, 0.78);
  text-decoration: none;
  font-size: 14px;
  margin: 7px 0;
  transition: color 0.18s;
}

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

.footer-bottom {
  margin: 40px auto 0;
  max-width: 1240px;
  padding-top: 20px;
  border-top: 1px solid var(--color-hairline);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 760px) {
  .feature-grid { grid-template-columns: 1fr !important; gap: 14px; }
  .hero { padding: 64px 22px 72px; }
  .hero h1 { font-size: clamp(34px, 9vw, 48px); }
  .page, .page-narrow { padding: 36px 22px 72px; }
  .nav-inner { justify-content: center; padding: 18px 20px; }
  .btn.ghost { margin-left: 0; margin-top: 12px; }
  .legal { padding: 32px 24px; }
  .footer-inner { flex-direction: column; }
  .footer-links { gap: 32px; }
  .bg-prisms span:nth-child(2) { display: none; }
}
