/* YOLOFFY 官网 — Warm Performance Editorial 轻燃运动编辑风 */
:root{
  --bg:#FAF9F7;
  --bg-warm:#F6F4F2;
  --card:#FFFFFF;
  --line:rgba(26,24,24,0.08);
  --ink:#1A1818;
  --ink-soft:#6B6664;
  --ink-faint:#9A9491;
  --action:#111111;
  --brand-a:#8426D6;
  --brand-b:#C238A1;
  --brand-c:#FF6537;
  --tool:#4418BE;
  --radius:22px;
  --radius-sm:14px;
  --shadow:0 12px 34px rgba(40,25,10,0.08);
  --shadow-soft:0 6px 18px rgba(40,25,10,0.06);
  --grad:linear-gradient(135deg,#8426D6 0%,#C238A1 50%,#FF6537 100%);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.6;
  font-weight:450;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
.wrap{max-width:1080px;margin:0 auto;padding:0 24px}

/* ---------- Nav ---------- */
.nav{
  position:sticky;top:0;z-index:50;
  background:rgba(250,249,247,0.82);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{display:flex;align-items:center;gap:10px;font-weight:580;font-size:19px;letter-spacing:.5px}
.brand .dot{width:26px;height:26px;border-radius:8px;background:var(--grad)}
.nav-links{display:flex;gap:28px;font-size:15px;color:var(--ink-soft);font-weight:480}
.nav-links a:hover{color:var(--ink)}
@media(max-width:640px){.nav-links{display:none}}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:13px 24px;border-radius:999px;font-weight:560;font-size:15px;
  transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease;cursor:pointer;border:none;
}
.btn:active{transform:scale(.97)}
.btn-dark{background:var(--action);color:#fff}
.btn-dark:hover{box-shadow:0 8px 22px rgba(0,0,0,.22)}
.btn-light{background:#fff;color:var(--action)}
.btn-light:hover{box-shadow:var(--shadow)}
.btn-ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}
.btn-ghost:hover{background:var(--bg-warm)}

/* ---------- Hero ---------- */
.hero{
  background:var(--grad);
  color:#fff;border-radius:0 0 32px 32px;
  padding:84px 0 96px;position:relative;overflow:hidden;
}
.hero .eyebrow{font-size:14px;letter-spacing:2px;text-transform:uppercase;opacity:.85;font-weight:560}
.hero h1{font-size:clamp(40px,7vw,76px);font-weight:600;line-height:1.05;margin:14px 0 8px;letter-spacing:-1px}
.hero .slogan{font-size:clamp(17px,2.4vw,22px);font-weight:480;opacity:.95;margin-bottom:18px}
.hero .lead{max-width:540px;font-size:17px;opacity:.92;margin-bottom:34px}
.hero .cta{display:flex;gap:14px;flex-wrap:wrap}
.hero .badge-soft{
  display:inline-block;margin-top:22px;font-size:13px;opacity:.85;
  padding:6px 14px;border:1px solid rgba(255,255,255,.4);border-radius:999px;
}

/* ---------- Sections ---------- */
.section{padding:80px 0}
.section h2{font-size:clamp(28px,4vw,40px);font-weight:580;letter-spacing:-.5px;margin-bottom:12px}
.section .sub{color:var(--ink-soft);font-size:17px;max-width:560px;margin-bottom:48px}

/* ---------- Feature grid ---------- */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.feature{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:28px;box-shadow:var(--shadow-soft);transition:transform .2s ease,box-shadow .2s ease;
}
.feature:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.feature .ic{
  width:52px;height:52px;border-radius:var(--radius-sm);display:grid;place-items:center;
  font-size:26px;background:var(--bg-warm);margin-bottom:18px;
}
.feature.tool .ic{background:rgba(68,24,190,.08)}
.feature h3{font-size:19px;font-weight:560;margin-bottom:8px}
.feature p{color:var(--ink-soft);font-size:15px}

/* ---------- Steps ---------- */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;counter-reset:s}
.step{background:var(--bg-warm);border-radius:var(--radius);padding:26px;position:relative}
.step::before{
  counter-increment:s;content:counter(s);
  display:grid;place-items:center;width:38px;height:38px;border-radius:12px;
  background:var(--grad);color:#fff;font-weight:600;margin-bottom:16px;
}
.step h3{font-size:17px;font-weight:560;margin-bottom:6px}
.step p{color:var(--ink-soft);font-size:14.5px}

/* ---------- CTA band ---------- */
.band{background:var(--action);color:#fff;border-radius:var(--radius);padding:56px 40px;text-align:center}
.band h2{font-size:clamp(26px,4vw,38px);font-weight:580;margin-bottom:12px}
.band p{opacity:.8;margin-bottom:28px;font-size:16px}

/* ---------- Legal / article pages ---------- */
.article{max-width:760px;margin:0 auto;padding:56px 24px 80px}
.article .back{color:var(--tool);font-size:15px;font-weight:520;display:inline-block;margin-bottom:24px}
.article h1{font-size:34px;font-weight:600;letter-spacing:-.5px;margin-bottom:8px}
.article .meta{color:var(--ink-faint);font-size:14px;margin-bottom:36px}
.article h2{font-size:21px;font-weight:580;margin:34px 0 12px}
.article h3{font-size:17px;font-weight:560;margin:22px 0 8px}
.article p,.article li{color:#3a3633;font-size:15.5px;margin-bottom:10px}
.article ul,.article ol{padding-left:22px;margin-bottom:14px}
.article .card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:24px 28px;box-shadow:var(--shadow-soft)}
.article strong{font-weight:580}

/* ---------- Footer ---------- */
.footer{background:var(--bg-warm);border-top:1px solid var(--line);padding:48px 0 36px;margin-top:40px}
.footer .cols{display:flex;justify-content:space-between;flex-wrap:wrap;gap:28px;margin-bottom:30px}
.footer .brand{font-size:17px;margin-bottom:10px}
.footer .col h4{font-size:13px;text-transform:uppercase;letter-spacing:1px;color:var(--ink-faint);margin-bottom:12px;font-weight:560}
.footer .col a{display:block;color:var(--ink-soft);font-size:15px;margin-bottom:8px}
.footer .col a:hover{color:var(--ink)}
.footer .legal{border-top:1px solid var(--line);padding-top:22px;color:var(--ink-faint);font-size:13.5px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}
.footer .legal a{color:var(--ink-faint)}
