/* Aquaivo content pages: Explore, How it works, List your boat, Support, Safety, About, Legal */

.page-hero {
  max-width: var(--container);
  margin: 22px auto 0;
  border-radius: var(--radius-lg);
  min-height: 360px;
  padding: clamp(48px, 6vw, 72px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 85% 0%, rgba(47, 211, 195, 0.28), transparent 44%),
    radial-gradient(90% 90% at 0% 100%, rgba(207, 224, 111, 0.18), transparent 48%),
    linear-gradient(155deg, #0a3b39, #04211f 78%);
  color: #eef6f4;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 211, 195, 0.22) 0 30%, transparent 32%);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero .eyebrow { color: #9fd6d0; }
.page-hero h1 {
  font: 700 clamp(42px, 6.4vw, 74px) Fraunces, serif;
  letter-spacing: -2.6px;
  line-height: 0.98;
  margin: 0;
  max-width: 700px;
}
.page-hero h1 em { color: var(--lime); }
.page-hero p:last-of-type {
  line-height: 1.6;
  color: #c9dedb;
  max-width: 540px;
  font-size: 16px;
  margin-top: 20px;
}

.signal {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 40px;
  padding: 8px 13px;
  color: #d8efe4;
  font-size: 11px;
  margin-top: 20px;
}
.signal i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }

.page-content { max-width: var(--container); margin: 90px auto; padding: 0 24px; }
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}
.page-heading h2,
.content-card h2 {
  font: 600 clamp(28px, 3.8vw, 42px) Fraunces, serif;
  letter-spacing: -1.6px;
  margin: 0;
}

.page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.future-card,
.content-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.future-card { transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.future-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.future-card span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(150deg, #dcf1ea, #cfe6dd);
  color: #176267;
  font-size: 20px;
}
.future-card h3 { font: 600 22px Fraunces, serif; margin: 22px 0 8px; letter-spacing: -0.6px; }
.future-card p,
.content-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.future-card .text-button { margin-top: 14px; font-size: 13px; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.steps article { background: var(--paper); padding: 28px; min-height: 220px; }
.steps b { color: var(--orange); font-size: 12px; font-weight: 700; }
.steps h3 { font: 600 21px Fraunces, serif; margin: 18px 0 8px; }
.steps p { font-size: 12px; color: var(--muted); line-height: 1.6; }

.cta-band {
  max-width: var(--container);
  margin: 80px auto 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--lime), #bcd25f);
  padding: 44px clamp(28px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2 { font: 600 clamp(26px, 3.6vw, 38px) Fraunces, serif; letter-spacing: -1.4px; margin: 0; }
.cta-band p { margin: 9px 0 0; color: #3c5a4f; font-size: 13px; }

.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 18px;
}
.faq summary { font-weight: 700; font-size: 14px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 18px; color: var(--orange); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 12px 0 0; }

/* Long-form legal / policy pages */
.legal { max-width: 760px; margin: 70px auto; padding: 0 24px; }
.legal h1 { font: 700 clamp(34px, 5vw, 52px) Fraunces, serif; letter-spacing: -1.8px; margin: 0 0 8px; }
.legal .updated { font-size: 12px; color: var(--muted); margin-bottom: 32px; }
.legal h2 { font: 600 22px Fraunces, serif; margin: 34px 0 10px; letter-spacing: -0.6px; }
.legal p, .legal li { font-size: 14px; line-height: 1.7; color: #385553; }
.legal ul { padding-left: 20px; }
.note {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--orange);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 13px;
  color: var(--muted);
  margin: 24px 0;
}

@media (max-width: 940px) {
  .page-grid, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .page-hero { border-radius: 20px; margin-top: 14px; }
  .page-content { margin: 64px auto; }
  .page-heading { flex-direction: column; align-items: flex-start; }
  .page-grid, .steps { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band .primary-button { width: 100%; justify-content: center; }
}

/* ---- agreements ---- */
.legal-banner {
  border: 1px solid #d99a2b; background: #fdf3e0; color: #7a5a12;
  border-radius: 10px; padding: 12px 14px; margin: 0 0 20px; font-size: 13px; line-height: 1.5;
}
.legal .legal-section { margin-bottom: 28px; }
.legal .legal-section h3 { font: 600 15px "DM Sans", sans-serif; margin: 16px 0 4px; }
.legal .updated { color: var(--muted); font-size: 12px; margin-bottom: 18px; }
.agree-line { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; margin-top: 10px; }
.agree-line input { margin-top: 2px; flex: none; }
