/* getRipped.AI brand palette — Brand_Guide.md
   Dark Navy #0D1B2A · Midnight #1B2D45 · Electric Cyan #00E5FF
   Pure White #FFFFFF · Steel Gray #7C96A7 · Body text #E8EEF4 (site) */

:root {
  --navy: #0d1b2a;
  --midnight: #1b2d45;
  --cyan: #00e5ff;
  --white: #ffffff;
  --steel: #7c96a7;
  --body: #e8eef4;
}

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

body {
  background: var(--navy);
  color: var(--body);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a { color: var(--cyan); }
img { max-width: 100%; display: block; }

/* ── Top navigation ─────────────────────────────────────────────── */
.topnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--midnight);
}

.topnav .brand {
  font-weight: bold;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--white);
  text-decoration: none;
}

.accent { color: var(--cyan); }

.topnav .links { display: flex; flex-wrap: wrap; gap: 1.25rem; }

.topnav .links a {
  color: var(--body);
  text-decoration: none;
  font-size: 0.95rem;
}

.topnav .links a:hover, .topnav .links a.active { color: var(--cyan); }

/* ── Home hero ──────────────────────────────────────────────────── */
.home-hero { text-align: center; padding-bottom: 1rem; }

.hero-banner { width: 100%; max-height: 40vh; object-fit: cover; }

.hero-logo {
  width: min(340px, 70vw);
  margin: -3rem auto 1.5rem;
  position: relative;
}

.home-hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.15;
  padding: 0 1.5rem;
  margin-bottom: 0.75rem;
}

.home-hero .motto { color: var(--steel); letter-spacing: 0.12em; }

/* ── Teaser band (HeroBackground) ───────────────────────────────── */
.teaser {
  margin-top: 2.5rem;
  background-size: cover;
  background-position: center;
}

.teaser-inner {
  background: rgba(13, 27, 42, 0.78);
  padding: 4.5rem 1.5rem;
  text-align: center;
  font-size: 1.15rem;
}

.teaser-inner p { max-width: 40rem; margin: 0 auto 1.5rem; }
.teaser-inner p:last-child { margin-bottom: 0; }

/* ── Feature cards ──────────────────────────────────────────────── */
main { max-width: 64rem; margin: 0 auto; padding: 3rem 1.5rem 4rem; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.card {
  background: var(--midnight);
  border-radius: 0.75rem;
  overflow: hidden;
  padding-bottom: 1.5rem;
}

.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card h3 { font-size: 1.15rem; margin: 1.1rem 1.5rem 0.4rem; }
.card p { color: var(--steel); font-size: 0.95rem; margin: 0 1.5rem; }

/* ── Closing section ────────────────────────────────────────────── */
.closer { text-align: center; max-width: 44rem; margin: 0 auto; }
.closer h2 { font-size: clamp(1.4rem, 4vw, 2rem); margin-bottom: 1rem; }
.closer p { color: var(--body); margin-bottom: 1.75rem; }

.badge-line {
  display: inline-block;
  border: 1px solid var(--cyan);
  color: var(--cyan) !important;
  border-radius: 999px;
  padding: 0.4rem 1.4rem;
  font-size: 0.95rem;
}

/* ── Inner-page hero (contact / privacy / terms) ────────────────── */
.page-hero {
  text-align: center;
  padding: 3.5rem 1.5rem 1rem;
}

.wordmark { font-weight: bold; font-size: 1.2rem; color: var(--white); }

.page-hero .motto, footer .motto {
  color: var(--steel);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  margin-top: 0.35rem;
}

.page-hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); margin-top: 1.75rem; }

main.narrow { max-width: 46rem; }

.lede { text-align: center; color: var(--steel); font-size: 1.05rem; margin-bottom: 2.5rem; }

/* ── Contact page ───────────────────────────────────────────────── */
.contact-block {
  background: var(--midnight);
  border-radius: 0.75rem;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.contact-block h2 { margin-bottom: 0.6rem; }
.contact-block > p { color: var(--body); margin-bottom: 0.9rem; }

.phone-big {
  display: inline-block;
  color: var(--cyan);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  margin: 0.25rem 0 0.5rem;
}

.muted { color: var(--steel); font-size: 0.9rem; }

form { display: flex; flex-direction: column; gap: 0.35rem; }

label { font-size: 0.85rem; color: var(--steel); margin-top: 0.75rem; }

input, textarea {
  background: var(--navy);
  border: 1px solid transparent;
  border-radius: 0.5rem;
  color: var(--white);
  font: inherit;
  padding: 0.65rem 0.8rem;
}

input:focus, textarea:focus { outline: none; border-color: var(--cyan); }

button {
  margin-top: 1.25rem;
  background: var(--cyan);
  color: var(--navy);
  border: none;
  border-radius: 0.5rem;
  font: inherit;
  font-weight: bold;
  padding: 0.8rem;
  cursor: pointer;
}

button:hover { filter: brightness(1.1); }

/* Honeypot — visually removed, still in the DOM for bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sent {
  background: var(--navy);
  border-left: 3px solid var(--cyan);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
}

.form-err {
  background: var(--navy);
  border-left: 3px solid #ff5470;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.recaptcha-note { color: var(--steel); font-size: 0.75rem; margin-top: 0.75rem; }

/* ── Legal pages ────────────────────────────────────────────────── */
.legal h2 { margin: 2.25rem 0 0.75rem; font-size: 1.3rem; }
.legal h3 { margin: 1.5rem 0 0.5rem; font-size: 1.05rem; }
.legal p, .legal li { color: var(--body); margin-bottom: 0.9rem; }
.legal ul { padding-left: 1.4rem; }
.legal hr { border: none; border-top: 1px solid var(--midnight); margin: 2.5rem 0 1.5rem; }
.legal .toc { list-style: none; padding: 0; }
.legal .toc li { margin-bottom: 0.15rem; }
.legal .toc a { text-decoration: none; }
.legal .toc a:hover { text-decoration: underline; }

.effective { color: var(--steel); text-align: center; font-size: 0.9rem; margin-bottom: 1rem; }

/* ── Footer ─────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--midnight);
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.footnav { display: flex; justify-content: center; gap: 1.5rem; margin: 1rem 0 1.2rem; }

.footnav a { color: var(--body); text-decoration: none; font-size: 0.95rem; }
.footnav a:hover { color: var(--cyan); }

.foot-call {
  display: inline-block;
  color: var(--cyan);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  text-decoration: none;
  margin-bottom: 18px;
}

.copyright { color: var(--steel); font-size: 12px; }

/* Hide Google's floating reCAPTCHA badge — allowed as long as the
   attribution text next to the submit button stays visible. */
.grecaptcha-badge { visibility: hidden; }
