/*
Theme Name: Manable
Theme URI: https://manable.fr
Author: Manable
Author URI: https://manable.fr
Description: Landing page moderne pour Manable — conseil, code et stratégie digitale. Palette vert forêt + bone, typographie Fraunces + Inter Tight, animations subtiles.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: manable
Tags: one-page, landing, dark, french, serif
*/

:root {
  --bg: #1e3a34;
  --bg-2: #17302a;
  --fg: #f2ede3;
  --fg-dim: #f2ede3aa;
  --fg-muted: #f2ede366;
  --accent: #b5d78c;
  --line: #f2ede322;
  --line-strong: #f2ede344;
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Inter Tight', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 56px);
  --maxw: 1320px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { overflow-x: hidden; position: relative; }

/* Grain + ambient light */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(60vw 50vh at 85% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 65%),
    radial-gradient(70vw 60vh at 0% 110%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%);
  mix-blend-mode: screen; opacity: .5;
}
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .35; mix-blend-mode: overlay;
}
.nav, .hero, .section, .cta-band, footer.site-footer { position: relative; z-index: 3; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--bg); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad); max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 600; letter-spacing: -0.01em; }
.brand-lockup { height: 36px; width: auto; display: block; }
.foot-brand .brand-lockup { height: 40px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px; background: var(--accent);
  display: grid; place-items: center; overflow: hidden; color: var(--bg);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-word { font-size: 17px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--fg-dim); list-style: none; padding: 0; margin: 0; }
.nav-links a:hover, .nav-links li.current-menu-item > a { color: var(--fg); }
.nav-cta {
  font-size: 14px; padding: 9px 16px; border: 1px solid var(--line-strong);
  border-radius: 999px; transition: background .2s, color .2s;
}
.nav-cta:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ---------- HERO ---------- */
.hero { position: relative; padding: clamp(60px, 10vw, 140px) 0 clamp(40px, 6vw, 80px); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-dim); margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.hero-headline {
  font-family: var(--serif); font-weight: 340;
  font-size: clamp(48px, 9.5vw, 156px); line-height: 0.92;
  letter-spacing: -0.035em; max-width: 14ch;
  text-wrap: balance;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
}
.hero-headline em {
  font-style: italic; color: var(--accent);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  letter-spacing: -0.04em;
}
.hero-sub {
  margin-top: 32px; max-width: 56ch;
  font-size: clamp(16px, 1.3vw, 20px); line-height: 1.55; color: var(--fg-dim);
  text-wrap: pretty;
}
.hero-actions { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  transition: transform .15s ease, background .2s, color .2s;
  cursor: pointer; border: 0;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: var(--bg); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--fg); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

.hero-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  margin-top: clamp(60px, 10vw, 120px);
  padding-top: 40px; border-top: 1px solid var(--line);
}
.meta-num { font-family: var(--serif); font-weight: 350; font-size: clamp(36px, 4.6vw, 60px); line-height: 1; letter-spacing: -0.03em; font-variation-settings: 'opsz' 144, 'SOFT' 60; }
.meta-lbl { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-muted); margin-top: 10px; }
@media (max-width: 720px) { .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

/* Hero decorative mark */
.hero-orb {
  position: absolute; right: -4vw; top: 12vw; width: 38vw; max-width: 540px;
  aspect-ratio: 1; pointer-events: none; opacity: 0.9;
}
.hero-orb::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--accent) 60%, transparent), transparent 60%);
  filter: blur(40px);
}
.hero-orb svg { position: relative; width: 100%; height: 100%; }
@media (max-width: 900px) { .hero-orb { display: none; } }

/* ---------- SECTION SHARED ---------- */
.section { padding: clamp(80px, 10vw, 160px) 0; position: relative; }
.section-tag {
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--fg-dim);
  display: inline-flex; align-items: center; gap: 10px;
}
.section-tag::before { content: ''; width: 24px; height: 1px; background: var(--accent); }
.section-title {
  font-family: var(--serif); font-weight: 340;
  font-size: clamp(36px, 5.4vw, 84px); line-height: 0.98;
  letter-spacing: -0.03em; margin-top: 20px;
  max-width: 20ch; text-wrap: balance;
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
}
.section-title em { font-style: italic; color: var(--accent); font-variation-settings: 'opsz' 144, 'SOFT' 100; }

/* ---------- FEATURES ---------- */
.features { background: var(--bg-2); }
.features-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 80px; }
.features-head .lede { font-size: 18px; line-height: 1.55; color: var(--fg-dim); max-width: 48ch; }
@media (max-width: 820px) { .features-head { grid-template-columns: 1fr; gap: 24px; } }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.feat {
  padding: 48px 36px 44px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; min-height: 360px;
  transition: background .25s;
}
.feat:last-child { border-right: none; }
.feat:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.feat-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--fg-muted); }
.feat-icon {
  margin: 36px 0 32px; width: 56px; height: 56px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 12px;
  color: var(--accent);
}
.feat-icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.25; }
.feat-title {
  font-family: var(--serif); font-weight: 360; font-size: 32px; line-height: 1.02; letter-spacing: -0.02em;
  margin-bottom: 14px;
  font-variation-settings: 'opsz' 60, 'SOFT' 50;
}
.feat-body { font-size: 15px; line-height: 1.6; color: var(--fg-dim); }
.feat-list { margin-top: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fg-muted); display: flex; flex-wrap: wrap; gap: 8px; }
.feat-list span { border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; text-transform: uppercase; }
@media (max-width: 900px) {
  .feat-grid { grid-template-columns: 1fr; }
  .feat { border-right: none; border-bottom: 1px solid var(--line); min-height: auto; }
  .feat:last-child { border-bottom: none; }
}

/* ---------- HOW IT WORKS ---------- */
.steps-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .steps-wrap { grid-template-columns: 1fr; gap: 40px; } }
.steps-sticky { position: sticky; top: 100px; }
.steps-list { display: flex; flex-direction: column; }
.step {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 28px; padding: 36px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num { font-family: var(--serif); font-weight: 350; font-size: 56px; line-height: 1; color: var(--accent); letter-spacing: -0.03em; font-variation-settings: 'opsz' 144, 'SOFT' 100; }
.step h3 { font-family: var(--serif); font-weight: 360; font-size: 32px; line-height: 1.05; margin-bottom: 10px; letter-spacing: -0.02em; font-variation-settings: 'opsz' 72, 'SOFT' 40; }
.step p { font-size: 15px; line-height: 1.6; color: var(--fg-dim); max-width: 52ch; }
.step-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fg-muted); }
.step-tags span { border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }

.steps-vis {
  aspect-ratio: 3/4; border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; position: relative;
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, color-mix(in srgb, var(--fg) 4%, transparent) 22px 24px),
    var(--bg-2);
}
.steps-vis-label {
  position: absolute; top: 20px; left: 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-muted);
}
.steps-vis-big {
  position: absolute; bottom: 28px; left: 28px; right: 28px;
  font-family: var(--serif); font-weight: 340; font-size: clamp(30px, 3.8vw, 52px); line-height: 1;
  letter-spacing: -0.03em; text-wrap: balance;
  font-variation-settings: 'opsz' 144, 'SOFT' 60;
}
.steps-vis-big em { font-style: italic; color: var(--accent); font-variation-settings: 'opsz' 144, 'SOFT' 100; }

/* ---------- PRICING ---------- */
.pricing { background: var(--bg-2); }
.pricing-head { text-align: center; margin-bottom: 80px; display: flex; flex-direction: column; align-items: center; }
.pricing-head .section-title { max-width: 22ch; }
.pricing-head .lede { margin-top: 22px; max-width: 54ch; font-size: 17px; line-height: 1.55; color: var(--fg-dim); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan {
  border: 1px solid var(--line); border-radius: 20px;
  padding: 36px 32px; display: flex; flex-direction: column;
  background: var(--bg); position: relative;
  transition: border-color .2s, transform .2s;
}
.plan:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.plan.featured { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--bg)); }
.plan-badge {
  position: absolute; top: -11px; left: 32px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--accent); color: var(--bg); padding: 5px 10px; border-radius: 999px;
}
.plan-name { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-dim); }
.plan-price { font-family: var(--serif); font-weight: 340; font-size: 72px; line-height: 1; letter-spacing: -0.04em; margin: 22px 0 6px; font-variation-settings: 'opsz' 144, 'SOFT' 60; }
.plan-price .unit { font-family: var(--sans); font-size: 14px; color: var(--fg-dim); margin-left: 6px; letter-spacing: 0; }
.plan-desc { font-size: 14px; line-height: 1.55; color: var(--fg-dim); margin-bottom: 28px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; padding: 20px 0 0; border-top: 1px solid var(--line); }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; line-height: 1.45; color: var(--fg); }
.plan li svg { margin-top: 3px; width: 14px; height: 14px; color: var(--accent); }
.plan .btn { margin-top: 32px; justify-content: center; width: 100%; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ---------- INTRO ANIMATION ---------- */
#intro {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background: var(--bg); overflow: hidden;
}
.intro-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  animation: introContentFade .5s 1.7s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes introContentFade { to { opacity: 0; transform: translateY(-12px); } }
.intro-lockup {
  height: clamp(56px, 9vw, 120px); width: auto;
  opacity: 0; transform: translateY(10px) scale(0.96);
  animation: introRise 1s .2s cubic-bezier(.2,.8,.2,1) forwards;
  filter: drop-shadow(0 20px 40px color-mix(in srgb, var(--accent) 18%, transparent));
}
.intro-caption {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted);
  opacity: 0; transform: translateY(14px);
  animation: introRise .9s .85s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes introRise { to { opacity: 1; transform: none; } }
.intro-curtain {
  position: absolute; inset: 0; background: var(--bg);
  transform-origin: top;
  animation: introCurtain 1.1s 2s cubic-bezier(.77,0,.18,1) forwards;
}
@keyframes introCurtain {
  from { transform: scaleY(1); }
  to { transform: scaleY(0); }
}
body.intro-done #intro { display: none; }
@media (prefers-reduced-motion: reduce) { #intro { display: none; } }

/* ---------- TICKER ---------- */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; white-space: nowrap; position: relative;
  padding: 22px 0; background: color-mix(in srgb, var(--bg) 92%, black);
}
.ticker-track {
  display: inline-flex; gap: 64px; animation: slide 40s linear infinite;
  font-family: var(--serif); font-weight: 340; font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.02em; font-variation-settings: 'opsz' 144, 'SOFT' 80;
  padding-right: 64px;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 64px; }
.ticker-track em { font-style: italic; color: var(--accent); }
.ticker-track i {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); opacity: .6; vertical-align: middle;
}
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- TESTIMONIAL ---------- */
.testimonial { padding: clamp(80px, 10vw, 140px) 0; }
.quote {
  font-family: var(--serif); font-weight: 340;
  font-size: clamp(30px, 4.2vw, 60px); line-height: 1.15;
  letter-spacing: -0.025em; max-width: 24ch; margin: 0 auto;
  text-wrap: balance; text-align: left;
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
}
.quote em { font-style: italic; color: var(--accent); font-variation-settings: 'opsz' 144, 'SOFT' 100; }
.quote-meta {
  margin-top: 36px; display: flex; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted);
}
.quote-meta b { display: block; font-family: var(--sans); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--fg); font-weight: 500; }
.quote-meta .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 30%, var(--bg-2));
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--serif); color: var(--accent); font-size: 20px;
}

/* ---------- CONTACT FORM ---------- */
.contact-form {
  max-width: 560px; margin: 40px auto 0; display: grid; gap: 14px; text-align: left;
}
.contact-form input, .contact-form textarea {
  background: color-mix(in srgb, var(--bg) 80%, black);
  border: 1px solid var(--line-strong); color: var(--fg);
  padding: 14px 18px; border-radius: 12px; font-family: var(--sans); font-size: 15px;
  transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { justify-self: start; }
.form-notice { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--accent); margin-top: 12px; }
.form-notice.error { color: #ff9c9c; }

/* ---------- CTA BAND ---------- */
.cta-band { padding: clamp(80px, 10vw, 140px) 0; text-align: center; position: relative; }
.cta-band h2 {
  font-family: var(--serif); font-size: clamp(44px, 8vw, 120px);
  line-height: 0.96; letter-spacing: -0.035em; font-weight: 340;
  max-width: 16ch; margin: 0 auto; text-wrap: balance;
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
}
.cta-band h2 em { font-style: italic; color: var(--accent); font-variation-settings: 'opsz' 144, 'SOFT' 100; }
.cta-band .sub { margin-top: 24px; font-size: 17px; color: var(--fg-dim); }
.cta-band .hero-actions { justify-content: center; margin-top: 40px; }

/* ---------- FOOTER ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 40px; }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .foot-top { grid-template-columns: 1fr 1fr; } }
.foot-brand { max-width: 34ch; }
.foot-brand p { margin-top: 18px; font-size: 14px; color: var(--fg-dim); line-height: 1.55; }
.foot-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 18px; font-weight: 500; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--fg-dim); padding: 0; }
.foot-col a:hover { color: var(--fg); }
.foot-bottom {
  margin-top: 80px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--fg-muted); text-transform: uppercase;
}

.logo-mark { width: 100%; height: 100%; }

/* ---------- ANIMATIONS ---------- */
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.pulse-dot { animation: pulse 2.4s ease-in-out infinite; transform-origin: center; }

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero-orb svg > circle { transform-origin: 100px 100px; }
.hero-orb svg > circle:nth-of-type(1) { animation: slowSpin 80s linear infinite; }
.hero-orb svg > circle:nth-of-type(2) { animation: slowSpin 60s linear infinite reverse; }
.hero-orb svg > circle:nth-of-type(3) { animation: slowSpin 40s linear infinite; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-orb { animation: floatY 8s ease-in-out infinite; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow, .hero-headline, .hero-sub, .hero-actions, .hero-meta {
  opacity: 0;
  animation: rise 0.9s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-eyebrow  { animation-delay: .05s; }
.hero-headline { animation-delay: .18s; }
.hero-sub      { animation-delay: .38s; }
.hero-actions  { animation-delay: .52s; }
.hero-meta     { animation-delay: .68s; }

@keyframes wordGlow {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 24px color-mix(in srgb, var(--accent) 40%, transparent); }
}
.hero-headline em { animation: wordGlow 4.5s ease-in-out infinite; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s;   opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .12s; opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .24s; opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .36s; opacity: 1; transform: none; }

.feat .feat-icon { transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .3s, color .3s; }
.feat:hover .feat-icon { transform: translateY(-4px) rotate(-3deg); border-color: var(--accent); }
.feat-title { transition: transform .3s ease; }
.feat:hover .feat-title { transform: translateX(2px); }

.step-num { transition: transform .5s cubic-bezier(.2,.7,.2,1), color .3s; }
.step:hover .step-num { transform: translateY(-2px); color: var(--fg); }

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.plan.featured::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(100deg, transparent 40%, color-mix(in srgb, var(--accent) 18%, transparent) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: shimmer 6s ease-in-out infinite;
  opacity: .7;
}

.btn { position: relative; overflow: hidden; }
.brand-mark { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* Admin bar adjustment */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
