/* ============================================================
   WordPress Rescue — design tokens + base styles
   Aesthetic: Coastal Calm. Light bluish. Friendly. Premium.
   Type: Newsreader (display serif) + Geist (sans body)
   ============================================================ */

:root {
  /* ----- color ----- */
  --bg:           #F2F6FB;            /* soft sky-tinted off-white */
  --bg-2:         #FFFFFF;            /* pure white cards */
  --bg-3:         #E8EFF8;            /* darker tint for nested panels */
  --ink:          #0E2236;            /* deep navy, primary text */
  --ink-2:        #3B5168;            /* secondary text */
  --ink-3:        #6F8299;            /* tertiary text */
  --line:         #DCE6F2;            /* hairlines */
  --line-2:       #C9D6E6;

  /* primary — a calm trustworthy blue */
  --blue:         #2F6FE0;
  --blue-deep:    #1F4FB0;
  --blue-soft:    #DCE8FB;
  --blue-glow:    #B6CDFB;

  /* accent — a warm coral for "rescue" energy */
  --coral:        #FF7A5C;
  --coral-soft:   #FFE3DA;

  /* utility */
  --green:        #2BB673;
  --amber:        #F2B33D;
  --red:          #E25555;

  /* ----- radii ----- */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* ----- shadows ----- */
  --sh-1: 0 1px 2px rgba(14, 34, 54, 0.04), 0 2px 6px rgba(14, 34, 54, 0.04);
  --sh-2: 0 4px 12px rgba(14, 34, 54, 0.06), 0 12px 28px rgba(14, 34, 54, 0.06);
  --sh-3: 0 8px 20px rgba(31, 79, 176, 0.10), 0 24px 60px rgba(31, 79, 176, 0.12);

  /* ----- type ----- */
  --font-display: "Geist", "Geist Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans:    "Geist", "Geist Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* sky gradient that lives behind hero */
.sky-bg {
  background:
    radial-gradient(120% 80% at 80% -10%, #D8E6FB 0%, transparent 55%),
    radial-gradient(90% 70% at 0% -10%, #E8F0FB 0%, transparent 60%),
    linear-gradient(180deg, #EAF1FB 0%, var(--bg) 60%);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(46px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 500; }
h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.028em; font-weight: 500; }
h3 { font-size: 21px; line-height: 1.2; font-weight: 500; letter-spacing: -0.015em; }

p { margin: 0; color: var(--ink-2); text-wrap: pretty; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }

.italic-serif {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  color: var(--blue);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px; background: currentColor;
}

/* ----- buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--sh-2);
}
.btn-primary:hover { background: #182f47; box-shadow: var(--sh-3); }

.btn-coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255,122,92,0.35);
}
.btn-coral:hover { background: #ff6643; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--bg-2); border-color: var(--ink); }

.btn-white {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--sh-1);
}
.btn-white:hover { border-color: var(--ink); }

/* ----- layout ----- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.section { padding: 110px 0; }
.section-tight { padding: 72px 0; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent);
}

/* ----- nav ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(242, 246, 251, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(242, 246, 251, 0.92); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 4px 10px rgba(31,79,176,0.30), inset 0 1px 0 rgba(255,255,255,0.3);
}
.nav-links {
  display: flex; gap: 28px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.nav-links a { color: inherit; }
.nav-links a:hover { color: var(--ink); }

/* ----- chips & badges ----- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}
.chip-coral {
  background: var(--coral-soft);
  border-color: #ffd0c0;
  color: #c4452a;
}
.chip-blue {
  background: var(--blue-soft);
  border-color: #c9dafc;
  color: var(--blue-deep);
}
.chip-green {
  background: #DFF5E9;
  border-color: #B8E6CF;
  color: #117a4a;
}

.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(43,182,115,0.18);
}

/* ----- cards ----- */
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}

/* ----- forms ----- */
.input, .textarea, .select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.textarea { resize: vertical; min-height: 140px; }
.label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

/* ----- utility ----- */
.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.94); }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* placeholder image */
.ph {
  background:
    repeating-linear-gradient(135deg,
      #E8EFF8 0 12px, #DCE6F2 12px 13px);
  border-radius: var(--r-md);
  display: grid; place-items: center;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* small screens */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .section { padding: 70px 0; }
  .wrap { padding: 0 22px; }
}
