/* getselfedit.com — sister site of selfeditsocial.com.
   Tokens extracted directly from selfeditsocial.com's inline styles. */

:root {
  --bg-primary:       #1a2942;        /* body / hero base */
  --bg-section-soft:  rgba(30, 58, 95, 0.30);
  --bg-section-mid:   rgba(30, 58, 95, 0.50);
  --bg-section-strong:rgba(30, 58, 95, 0.95);
  --bg-trust:         rgba(0, 0, 0, 0.30);
  --bg-card:          rgba(30, 58, 95, 0.50);
  --bg-input:         rgba(0, 0, 0, 0.25);

  --accent-cyan:      #00d4ff;
  --accent-cyan-soft: rgba(0, 212, 255, 0.10);
  --accent-blue:      #2ea3f2;
  --accent-gradient:  linear-gradient(135deg, #00d4ff, #2ea3f2);
  --glow-cyan-text:   0 0 30px rgba(0, 212, 255, 0.5);
  --glow-cyan-button: 0 0 40px rgba(0, 212, 255, 0.6);
  --glow-cyan-soft:   0 0 25px rgba(0, 212, 255, 0.3);

  --text-primary:     #ffffff;
  --text-secondary:   #b8c9db;
  --text-muted:       #8a9bae;

  --border-cyan-faint:rgba(0, 212, 255, 0.10);
  --border-cyan:      rgba(0, 212, 255, 0.20);
  --border-cyan-bright:rgba(0, 212, 255, 0.30);
}

/* ─────────────────────────────────────────────────────────────────────
   Base
   ───────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
.hidden { display: none !important; }

/* ─────────────────────────────────────────────────────────────────────
   Honeycomb decorative background — 6 cyan hex SVGs scattered, very low
   opacity. Sits behind everything via z-index 0; content sits at z 1.
   ───────────────────────────────────────────────────────────────────── */
.honeycomb-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  color: var(--accent-cyan);
  overflow: hidden;
}
.honeycomb-bg .hex {
  position: absolute;
  width: 180px;
  height: 207px;
  opacity: 0.06;
}
.honeycomb-bg .hex-1 { top:  4%;  left:  -3%; width: 240px; opacity: 0.08; }
.honeycomb-bg .hex-2 { top: 18%;  right:  4%; width: 160px; opacity: 0.10; }
.honeycomb-bg .hex-3 { top: 42%;  left:  10%; width: 200px; opacity: 0.05; }
.honeycomb-bg .hex-4 { top: 60%;  right: -4%; width: 280px; opacity: 0.07; }
.honeycomb-bg .hex-5 { top: 78%;  left:  35%; width: 150px; opacity: 0.05; }
.honeycomb-bg .hex-6 { top: 90%;  right: 18%; width: 200px; opacity: 0.07; }

/* All real content above the hex background. */
nav, section, main, footer, .trust-bar { position: relative; z-index: 1; }

/* ─────────────────────────────────────────────────────────────────────
   NAV — sticky, semi-transparent navy with cyan border bottom
   ───────────────────────────────────────────────────────────────────── */
.nav {
  background: var(--bg-section-strong);
  border-bottom: 2px solid var(--border-cyan-bright);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img { height: 36px; width: auto; }
.nav-logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-word-cyan  { color: var(--accent-cyan); }
.nav-word-white { color: var(--text-primary); }

.nav-cta {
  background: var(--accent-gradient);
  color: var(--bg-primary) !important;
  padding: 10px 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  border-radius: 4px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-cyan-button);
}

@media (max-width: 600px) {
  .nav-logo img { height: 32px; }
  .nav-logo-text { font-size: 0.9rem; letter-spacing: 1px; }
  .nav-cta { padding: 9px 16px; font-size: 0.75rem; letter-spacing: 0.5px; }
}

/* ─────────────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────────────── */
.hero {
  padding: 100px 24px 80px;
  text-align: center;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.8), rgba(26, 41, 66, 0.9));
  border-bottom: 2px solid var(--border-cyan);
  overflow: hidden;
}
.hero-content { max-width: 900px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  margin: 0 0 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.highlight {
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan-text);
}
.hero-tagline {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  color: var(--text-secondary);
  margin: 0 auto 36px;
  line-height: 1.6;
  max-width: 720px;
}

/* Primary CTA — matches selfeditsocial.com's hero-cta exactly. Same
   style is reused in nav-mobile, FAQ-bottom, and form-submit. */
.hero-cta {
  display: inline-block;
  background: var(--accent-gradient);
  color: var(--bg-primary);
  padding: 18px 48px;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  font-family: inherit;
}
.hero-cta:hover, .hero-cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--glow-cyan-button);
  outline: none;
}
.hero-cta:active { transform: translateY(-1px); }

.hero-trust {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .hero { padding: 60px 20px 56px; }
  .hero-cta { padding: 16px 32px; letter-spacing: 1.5px; }
}

/* ─────────────────────────────────────────────────────────────────────
   TRUST BAR
   ───────────────────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--bg-trust);
  padding: 26px 20px;
  text-align: center;
  border-bottom: 2px solid var(--border-cyan-faint);
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 56px;
  max-width: 1100px;
  margin: 0 auto;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
}
.trust-item svg {
  width: 24px; height: 24px;
  stroke: var(--accent-cyan);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────────────
   SECTIONS — alternating bg-tint to give vertical rhythm
   ───────────────────────────────────────────────────────────────────── */
.section { padding: 80px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-inner.narrow { max-width: 760px; }

.section.pain          { background: transparent; }
.section.how-it-works  { background: var(--bg-section-soft); }
.section.who           { background: transparent; }
.section.form-section  { background: var(--bg-section-soft); }
.section.faq-section   { background: transparent; }

@media (max-width: 600px) { .section { padding: 64px 20px; } }

/* Section header — uppercase cyan H2 over slate subhead, centered. */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  color: var(--accent-cyan);
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  line-height: 1.2;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────────────
   Prose blocks (Pain, Offer wrap-up, Who-We-Are body)
   ───────────────────────────────────────────────────────────────────── */
.prose-block { color: var(--text-secondary); font-size: 1.0625rem; line-height: 1.75; }
.prose-block p { margin: 0 0 1.25rem; max-width: 65ch; }
.prose-block--center { text-align: center; }
.prose-block--center p { margin-left: auto; margin-right: auto; }
.prose-block .emphasis { color: var(--text-primary); font-weight: 600; }
.prose-block .hl-white { color: var(--text-primary); }
.prose-block .hl-cyan  { color: var(--accent-cyan); }

.mt-12 { margin-top: 48px; }

/* "We do it differently" pivot — cyan underline accent */
.pivot { margin-top: 16px; }
.pivot-text {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--accent-cyan);
}

/* ─────────────────────────────────────────────────────────────────────
   AUDIT CARDS — 3-3-1 grid
   ───────────────────────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px)  { .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 560px)  { .steps-grid { grid-template-columns: 1fr; } }

.step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: 12px;
  padding: 44px 24px 28px;
  text-align: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.step-card:hover {
  border-color: var(--border-cyan-bright);
  box-shadow: var(--glow-cyan-soft);
  transform: translateY(-3px);
}
/* 7th card centered alone in its row */
.step-card--solo { grid-column: 2 / 3; }
@media (max-width: 900px) {
  .step-card--solo { grid-column: 1 / -1; max-width: 360px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .step-card--solo { max-width: none; }
}

.step-number {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: var(--bg-primary);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.35);
}
.step-icon {
  width: 56px;
  height: 56px;
  margin: 8px auto 18px;
  color: var(--accent-cyan);
}
.step-icon svg { width: 100%; height: 100%; stroke-linecap: round; stroke-linejoin: round; }
.step-card h3 {
  color: var(--text-primary);
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.35;
}
.step-card p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ─────────────────────────────────────────────────────────────────────
   WHO WE ARE — photo + body grid + logo wall
   ───────────────────────────────────────────────────────────────────── */
.who-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 760px) {
  .who-grid { grid-template-columns: 1fr; gap: 32px; justify-items: center; }
  .who-photo { max-width: 220px; }
}

.who-photo { width: 100%; }
.photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 2px solid var(--border-cyan);
  box-shadow: var(--glow-cyan-soft);
}
.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.photo-frame-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 0;
}
.photo-frame.is-missing img { display: none; }

.logo-wall-wrap { margin-top: 64px; text-align: center; }
.logo-wall-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0 0 24px;
}
/* 9 logos → clean 3x3 grid on desktop + tablet, 2-col on mobile (one
   orphan in the last row, acceptable on narrow screens). */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 480px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }

.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-cyan-faint);
  border-radius: 8px;
  height: 84px;
  padding: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
/* Each tile holds two stacked <img>s — designer-rendered grey sits on
   top at rest; full-color sits beneath. On hover the grey fades out
   and the color reads through. Designer-rendered greyscale gives more
   visually consistent results across 12 wildly different source logos
   than CSS filter: grayscale() ever could.

   Both images use identical absolute positioning so the two layers
   register pixel-perfect with each other across the fade. */
.logo-tile { position: relative; }
.logo-tile img {
  position: absolute;
  inset: 12px;                     /* matches .logo-tile padding */
  margin: auto;
  max-height: calc(100% - 24px);
  max-width:  calc(100% - 24px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.logo-tile .logo-grey {
  z-index: 2;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.logo-tile .logo-color {
  z-index: 1;
}
.logo-tile:hover {
  border-color: var(--border-cyan-bright);
  box-shadow: var(--glow-cyan-soft);
}
.logo-tile:hover .logo-grey { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .logo-tile .logo-grey { transition: none; }
}
/* JS adds .is-missing when an image 404s — fall back to alt-text label */
.logo-tile.is-missing img { display: none; }
.logo-tile.is-missing::before {
  content: attr(data-name);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-align: center;
}

/* ─────────────────────────────────────────────────────────────────────
   FORM
   ───────────────────────────────────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.form-field { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-required { color: var(--accent-cyan); margin-left: 2px; font-weight: 700; }
.form-optional { font-weight: 400; font-size: 0.8rem; color: var(--text-muted); }
.form-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-cyan);
  color: var(--text-primary);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 16px;          /* >=16px prevents iOS zoom-on-focus */
  line-height: 1.4;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  appearance: none;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}
.form-input.is-invalid {
  border-color: #ff3b30;
  box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.18);
}
textarea.form-input { resize: vertical; min-height: 120px; }

.form-error {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: #ff8b85;
}
.form-submit { margin-top: 32px; text-align: center; }
.form-submit .hero-cta { width: 100%; max-width: 360px; }
.form-disclaimer {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ─────────────────────────────────────────────────────────────────────
   FAQ
   ───────────────────────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: 8px;
  padding: 0 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] {
  border-color: var(--border-cyan-bright);
  box-shadow: var(--glow-cyan-soft);
}
.faq-q {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '';
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  border-right: 2px solid var(--accent-cyan);
  border-bottom: 2px solid var(--accent-cyan);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-bottom: 4px;
}
.faq-item[open] .faq-q::after {
  transform: rotate(-135deg);
  margin-top: 6px;
  margin-bottom: 0;
}
.faq-a {
  padding: 0 0 20px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}
.faq-a p { margin: 0; max-width: 70ch; }

.faq-cta { text-align: center; margin-top: 48px; }

/* ─────────────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-section-strong);
  border-top: 2px solid var(--border-cyan);
  color: var(--text-secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 56px 24px 40px;
  align-items: start;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-brand img { height: 30px; width: auto; }
.footer-tagline { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 8px; }
.footer-copy   { color: var(--text-muted); font-size: 0.8rem; margin: 0; }

.footer-h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  margin: 0 0 16px;
}
.footer-col ul li { padding: 4px 0; }
.footer-col p { margin: 0; font-size: 0.95rem; line-height: 1.6; }
.footer-link {
  color: var(--text-primary);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-link:hover {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border-cyan-faint);
  padding: 16px 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ─────────────────────────────────────────────────────────────────────
   Reduced motion
   ───────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .hero-cta:hover, .step-card:hover, .nav-cta:hover { transform: none !important; }
}
