/* Fulfilify marketing — brand: #00203C navy, #cb522d terracotta. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f1722;
  background: #fafbfd;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Use padding-left/right longhands so we don't clobber any vertical
   padding set by <section> (or any other ancestor). Combining
   `section` + `.container` on one element with a shorthand padding
   zeros the top/bottom. */
.container { max-width: 1200px; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.container.narrow { max-width: 780px; }
.container.wide { max-width: 1320px; }

/* ------------- Typography -------------------------------------------- */

h1, h2, h3, h4 {
  font-family: 'Inter', -apple-system, sans-serif;
  color: #0f1722;
  letter-spacing: -0.015em;
  line-height: 1.08;
  font-weight: 600;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 600;  }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 600;  }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; font-family: 'Inter', sans-serif; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; color: #cb522d; font-weight: 500;  }
/* Step number — use Inter for the big count so it sits properly with the rest */
.step::before { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.95rem; }

p { font-size: 1.02rem; color: #445062; }
p.lead { font-size: clamp(1.12rem, 1.4vw, 1.28rem); color: #5a677a; max-width: 56ch; line-height: 1.5; }
p.small { font-size: 0.87rem; }
.dim { color: #8a94a4; }
.hl { color: #cb522d; }

/* ------------- Buttons ---------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 999px; font-size: 0.95rem; font-weight: 550;
  border: 1px solid transparent; cursor: pointer; transition: all 180ms ease;
  line-height: 1; white-space: nowrap; font-family: inherit; gap: 6px;
}
.btn-primary { background: #0f1722; color: #fff; }
.btn-primary:hover { background: #1c2940; transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(15, 23, 34, 0.5); }
.btn-accent { background: #cb522d; color: #fff; }
.btn-accent:hover { background: #b4461f; transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(203, 82, 45, 0.5); }
.btn-ghost { background: rgba(255,255,255,0.6); color: #0f1722; border-color: rgba(15, 23, 34, 0.12); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; border-color: rgba(15, 23, 34, 0.3); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-arrow::after { content: '→'; transition: transform 180ms; }
.btn:hover.btn-arrow::after { transform: translateX(4px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 650; color: #cb522d;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(203, 82, 45, 0.1);
  margin-bottom: 1rem;
  border: 1px solid rgba(203, 82, 45, 0.15);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #cb522d; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.eyebrow.tone-green { color: #2e7d32; background: rgba(46, 125, 50, 0.09); border-color: rgba(46, 125, 50, 0.15); }
.eyebrow.tone-green::before { background: #2e7d32; }
.eyebrow.tone-navy { color: #0f1722; background: rgba(15, 23, 34, 0.06); border-color: rgba(15, 23, 34, 0.1); }
.eyebrow.tone-navy::before { background: #0f1722; }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 251, 253, 0.7);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid rgba(15, 23, 34, 0.06);
}
.nav-wrap { display: flex; align-items: center; gap: 2rem; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Inter', -apple-system, sans-serif; font-weight: 600; color: #0f1722; font-size: 1.3rem; letter-spacing: -0.02em; }
.logo img { height: 32px; width: auto; }
.logo-text { font-weight: 700; font-size: 1.2rem; color: #0f1722; letter-spacing: -0.02em; font-family: 'Inter', -apple-system, sans-serif; }
.nav { display: flex; gap: 0.25rem; margin-left: auto; }
.nav a { font-size: 0.92rem; color: #445062; padding: 8px 14px; border-radius: 999px; transition: all 160ms; font-weight: 500; }
.nav a:hover { color: #0f1722; background: rgba(15, 23, 34, 0.05); }
.nav a.active { color: #0f1722; background: rgba(15, 23, 34, 0.07); font-weight: 600; }
.nav-cta { display: flex; gap: 0.5rem; }
.nav-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-burger span { display: block; width: 22px; height: 2px; background: #0f1722; margin: 5px 0; border-radius: 2px; transition: transform 180ms; }
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav, .nav-cta { display: none; }
  .nav-burger { display: block; margin-left: auto; }
  body.nav-open .nav, body.nav-open .nav-cta {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 1.5rem; gap: 0.5rem; border-bottom: 1px solid #eaedf2;
    box-shadow: 0 20px 40px rgba(15, 23, 34, 0.1);
  }
  body.nav-open .nav-cta { top: auto; padding-top: 0.5rem; border-top: 1px solid #eaedf2; }
}

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

.hero {
  padding: 4rem 0 5rem;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 80% -20%, rgba(203, 82, 45, 0.18), transparent 55%),
              radial-gradient(ellipse at 10% 110%, rgba(15, 23, 34, 0.08), transparent 50%),
              linear-gradient(180deg, #fafbfd 0%, #ffffff 100%);
}
.hero::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(203, 82, 45, 0.15) 0%, transparent 70%);
  filter: blur(80px); z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.hero h1 { max-width: 14ch; margin-bottom: 1.25rem; }
.hero .lead { max-width: 50ch; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-meta { color: #5a677a; font-size: 0.88rem; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta span::before { content: '✓'; color: #2e7d32; font-weight: 700; background: rgba(46, 125, 50, 0.12); width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; }

.hero-photo-stack {
  position: relative; aspect-ratio: 4/5; max-width: 520px; margin-left: auto;
}
.hero-photo {
  position: absolute; border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(15, 23, 34, 0.35), 0 0 0 1px rgba(15, 23, 34, 0.04);
  transition: transform 400ms cubic-bezier(.4,0,.2,1);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo.p1 { top: 0; left: 0; width: 68%; aspect-ratio: 4/3; transform: rotate(-4deg); z-index: 3; }
.hero-photo.p2 { bottom: 10%; right: 0; width: 60%; aspect-ratio: 1/1; transform: rotate(6deg); z-index: 2; }
.hero-photo.p3 { top: 30%; right: 20%; width: 46%; aspect-ratio: 1/1; transform: rotate(-2deg); z-index: 4; }
.hero-photo-stack:hover .hero-photo.p1 { transform: rotate(-6deg) translateY(-6px); }
.hero-photo-stack:hover .hero-photo.p2 { transform: rotate(8deg) translateY(-6px); }
.hero-photo-stack:hover .hero-photo.p3 { transform: rotate(-3deg) translateY(-10px); }
/* Floating tag */
.hero-tag {
  position: absolute; z-index: 5;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  padding: 10px 14px; border-radius: 14px; font-size: 0.82rem; font-weight: 600;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 34, 0.3); display: flex; align-items: center; gap: 8px;
}
.hero-tag-1 { top: 8%; right: 8%; color: #2e7d32; }
.hero-tag-1::before { content: '✓'; background: #2e7d32; color: #fff; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.hero-tag-2 { bottom: 15%; left: -8%; color: #cb522d; }
.hero-tag-2::before { content: '📮'; font-size: 1.1rem; }

@media (max-width: 900px) {
  .hero { padding: 3rem 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-photo-stack { margin: 0 auto; max-width: 420px; aspect-ratio: 5/4; }
}
@media (max-width: 480px) {
  .hero-photo-stack { max-width: 100%; aspect-ratio: 6/5; }
  /* Smaller rotation at very narrow widths so nothing clips */
  .hero-photo.p1 { transform: rotate(-3deg); }
  .hero-photo.p2 { transform: rotate(4deg); }
  .hero-photo.p3 { transform: rotate(-1deg); }
  .hero-tag { font-size: 0.72rem; padding: 6px 10px; }
  .marquee-item { width: 220px; }
}

/* ------------- Sub-hero (inner pages) ------------------------------- */

.hero-sub {
  padding: 4rem 0 3rem;
  background: radial-gradient(ellipse at 70% 0%, rgba(203, 82, 45, 0.1), transparent 60%),
              linear-gradient(180deg, #fafbfd 0%, #ffffff 100%);
  position: relative; overflow: hidden;
}
.hero-sub h1 { font-size: clamp(2rem, 3.8vw, 3.2rem); margin-bottom: 1rem; }

/* ------------- Marquee ---------------------------------------------- */

.marquee {
  overflow: hidden;
  padding: 2rem 0; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.marquee-track {
  display: flex; gap: 1.25rem; width: fit-content; animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  flex-shrink: 0; width: 280px; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 30px -12px rgba(15, 23, 34, 0.2);
  transition: transform 200ms;
}
.marquee-item:hover { transform: translateY(-4px) scale(1.02); }
.marquee-item img { width: 100%; height: 100%; object-fit: cover; }

/* ------------- Sections --------------------------------------------- */

section { padding: 5rem 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { margin-bottom: 0.75rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ------------- Feature card (modern, hover animated) ---------------- */

.feature-card {
  background: #fff; border-radius: 20px; padding: 2rem;
  border: 1px solid rgba(15, 23, 34, 0.06);
  position: relative; overflow: hidden;
  transition: transform 220ms cubic-bezier(.4,0,.2,1), box-shadow 220ms;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(203, 82, 45, 0.08), transparent 60%);
  opacity: 0; transition: opacity 300ms;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px -15px rgba(15, 23, 34, 0.18); }
.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; }
.feature-card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, #0f1722, #1c2940);
  color: #fff; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px -6px rgba(15, 23, 34, 0.4);
}
.feature-card .icon svg { width: 22px; height: 22px; }
.feature-card.accent .icon { background: linear-gradient(135deg, #cb522d, #e67e22); box-shadow: 0 8px 20px -6px rgba(203, 82, 45, 0.4); }
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.95rem; }

/* Card variant: left-align feature rows */
.card {
  background: #fff; border-radius: 20px; padding: 2rem;
  border: 1px solid rgba(15, 23, 34, 0.06);
}
.card.callout {
  background: linear-gradient(135deg, #0f1722 0%, #1c2940 100%);
  color: #fff; border: 0;
}
.card.callout h2, .card.callout h2 em { color: #fff; }
.card.callout p { color: rgba(255, 255, 255, 0.8); }

/* ------------- Persona card (photo background) --------------------- */

.persona-card {
  position: relative; border-radius: 20px; overflow: hidden;
  aspect-ratio: 4/5; min-height: 320px; color: #fff;
  box-shadow: 0 12px 30px -15px rgba(15, 23, 34, 0.25);
  transition: transform 220ms, box-shadow 220ms;
}
.persona-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px -15px rgba(15, 23, 34, 0.35); }
.persona-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 600ms cubic-bezier(.4,0,.2,1);
}
.persona-card:hover .persona-bg { transform: scale(1.06); }
.persona-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 34, 0.05) 0%, rgba(15, 23, 34, 0.75) 60%, rgba(15, 23, 34, 0.9) 100%);
  pointer-events: none;
}
.persona-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 1.5rem;
}
.persona-body .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.15); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem; backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.persona-body h3 { color: #fff; margin-bottom: 4px; }
.persona-body p { color: rgba(255, 255, 255, 0.85); font-size: 0.92rem; line-height: 1.45; }

/* ------------- Steps ------------------------------------------------ */

.step-list { display: grid; gap: 1rem; counter-reset: step; max-width: 780px; margin: 0 auto; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start;
  padding: 1.5rem 1.75rem; background: #fff; border-radius: 18px;
  border: 1px solid rgba(15, 23, 34, 0.06);
  transition: transform 200ms, box-shadow 200ms;
}
.step:hover { transform: translateX(4px); box-shadow: 0 12px 30px -10px rgba(15, 23, 34, 0.12); }
.step::before {
  counter-increment: step; content: counter(step);
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #0f1722, #1c2940);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem;
  font-family: 'Inter', -apple-system, sans-serif;
  flex-shrink: 0;
}
.step h3 { margin-bottom: 4px; }

/* ------------- Price table ------------------------------------------ */

.price-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.price-table th {
  text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: #8a94a4; padding: 14px 18px; border-bottom: 1px solid #eaedf2; font-weight: 600;
}
.price-table td { padding: 18px; border-bottom: 1px solid #f0f3f7; }
.price-table td.num { font-weight: 700; color: #0f1722; font-variant-numeric: tabular-nums; font-size: 1.1rem; font-family: 'Inter', -apple-system, sans-serif; }
.price-table td.small { font-size: 0.85rem; color: #8a94a4; }
.price-table tr:last-child td { border-bottom: 0; }
.table-card { background: #fff; border: 1px solid #eaedf2; border-radius: 18px; overflow: hidden; }

.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 0.7rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; margin-left: 6px; }
.tag-blue { background: #e8f4fd; color: #1565c0; }
.tag-purple { background: #f3e8fd; color: #7b3f9f; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.stat-card {
  display: flex; flex-direction: column; background: #fff; border-radius: 18px;
  border: 1px solid rgba(15, 23, 34, 0.06); overflow: hidden;
  transition: transform 200ms, box-shadow 200ms;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -15px rgba(15, 23, 34, 0.18); }
.stat-img { height: 180px; background: #f4f6fa center/cover no-repeat; }
.stat-img.placeholder { background: linear-gradient(135deg, #f4f6fa, #fff8f3); }
.stat-body { padding: 1.25rem; }
.stat-title { font-weight: 600; color: #0f1722; margin-bottom: 4px; }
.stat-sub { font-size: 0.82rem; color: #8a94a4; }
.stat-price { margin-top: 6px; font-weight: 700; color: #cb522d; font-family: 'Inter', -apple-system, sans-serif; font-size: 1.05rem; }

/* ------------- Stats row -------------------------------------------- */

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 3rem 0; border-top: 1px solid #eaedf2; border-bottom: 1px solid #eaedf2; }
@media (max-width: 720px) { .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
.stat-big { text-align: center; }
.stat-big .num { font-family: 'Inter', -apple-system, sans-serif; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 600; color: #0f1722; line-height: 1; letter-spacing: -0.02em; }
.stat-big .num em { color: #cb522d; font-style: normal; }
.stat-big .lbl { font-size: 0.82rem; color: #8a94a4; margin-top: 8px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; }

/* ------------- CTA -------------------------------------------------- */

.cta-section { padding: 4rem 0 6rem; }
.cta {
  background: linear-gradient(135deg, #0f1722 0%, #1c2940 100%);
  color: #fff; padding: 4rem 2.5rem; border-radius: 28px; text-align: center;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px;
  border-radius: 50%; background: rgba(203, 82, 45, 0.25); filter: blur(80px);
}
.cta::after {
  content: ''; position: absolute; bottom: -100px; left: -100px; width: 300px; height: 300px;
  border-radius: 50%; background: rgba(52, 152, 219, 0.15); filter: blur(80px);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: 0.75rem; }
.cta h2 em { color: #ff9a6c; }
.cta p { color: rgba(255,255,255,0.8); max-width: 56ch; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta .btn-primary { background: #cb522d; color: #fff; }
.cta .btn-primary:hover { background: #e56237; }

/* ------------- Logos row (chips) ------------------------------------ */

.logos-row {
  display: flex; flex-wrap: wrap; gap: 2rem 3rem; justify-content: center; align-items: center;
  padding: 1rem 0;
}
.logos-row .logo-chip {
  font-size: 1.1rem; font-weight: 500; color: #6b7180;
  font-family: 'Inter', -apple-system, sans-serif; font-style: italic; letter-spacing: -0.01em;
  opacity: 0.7; transition: opacity 160ms;
}
.logos-row .logo-chip:hover { opacity: 1; }

/* ------------- Form ------------------------------------------------- */

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
label { font-size: 0.85rem; color: #445062; font-weight: 500; display: block; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=url], select, textarea {
  width: 100%; font-family: inherit; font-size: 1rem;
  padding: 12px 14px; border: 1px solid #d6dae1; border-radius: 10px; background: #fff;
  transition: border-color 140ms, box-shadow 140ms; color: #0f1722;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: #0f1722; box-shadow: 0 0 0 4px rgba(15, 23, 34, 0.08);
}
textarea { resize: vertical; min-height: 130px; font-family: inherit; }

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

.site-footer {
  background: #0f1722; color: #a0aabd;
  margin-top: 6rem; padding: 5rem 0 2rem; position: relative; overflow: hidden;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 80%; height: 1px; background: linear-gradient(90deg, transparent, rgba(203, 82, 45, 0.4), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
.footer-grid a {
  display: block; font-size: 0.92rem; color: #a0aabd; padding: 4px 0; transition: color 140ms;
}
.footer-grid a:hover { color: #fff; }
.footer-head {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: #6a7388; font-weight: 700; margin-bottom: 1rem;
}
.site-footer .logo-text { color: #fff; margin-bottom: 0.5rem; display: block; }
.footer-legal { padding-top: 2rem; text-align: center; color: #6a7388; }

/* ------------- Scroll reveal animations ----------------------------- */

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 700ms cubic-bezier(.4,0,.2,1), transform 700ms cubic-bezier(.4,0,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

/* ------------- Misc ------------------------------------------------- */

.flash { padding: 1rem 1.25rem; border-radius: 12px; margin-bottom: 1rem; font-size: 0.92rem; }
.flash-ok { background: #e8f5e9; color: #2e7d32; }
.flash-err { background: #ffebee; color: #c62828; }

/* Honor reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
