/* ============================================================
   Sportimizer — kit.css  v2
   Marketing site styles — minimalist indigo, cool grays, multi-page.
   ============================================================ */

body { background: var(--bg); color: var(--ink); }

/* ---------- Layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--ink); color: #fff; }
.section--brand-soft { background: var(--brand-soft); }
.section-h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; margin: 0 0 16px; max-width: 760px; color: var(--ink); }
.section-h2 em { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.section-sub { font-size: 17px; color: var(--ink-3); max-width: 620px; line-height: 1.55; margin: 0 0 56px; }
.section--ink .section-h2 { color: #fff; }
.section--ink .section-sub { color: rgba(255,255,255,0.7); }
.overline { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); margin: 0 0 16px; display: inline-flex; align-items: center; gap: 8px; }
.overline::before { content: ""; width: 18px; height: 1px; background: var(--brand); display: inline-block; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-body); font-size: 14.5px; font-weight: 600; padding: 11px 20px; border-radius: var(--r-btn); border: 1px solid transparent; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); text-decoration: none; line-height: 1; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); box-shadow: var(--shadow-brand); }
.btn-secondary { background: var(--ink); color: #fff; }
.btn-secondary:hover { background: #1F2937; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); background: var(--bg-soft); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-tint); }
.btn-sm { font-size: 13px; padding: 8px 14px; }
.btn-lg { font-size: 15.5px; padding: 14px 24px; }
.btn .arr { width: 16px; height: 16px; }

/* ---------- Navbar ---------- */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--dur-base); }
.navbar.scrolled { border-bottom-color: var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 14px 0; }
.brand-lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-lockup img { height: 30px; width: auto; }
.brand-lockup .wm { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.nav-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color var(--dur-fast); position: relative; padding: 4px 0; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--brand); font-weight: 600; }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -19px; height: 2px; background: var(--brand); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.lang-switcher { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.lang-btn { border: 0; background: transparent; color: var(--ink-3); font-size: 11px; font-weight: 700; padding: 5px 8px; border-radius: 999px; cursor: pointer; }
.lang-btn.active { background: var(--brand); color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 80px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1.1fr; gap: 56px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: var(--r-pill); background: var(--brand-soft); border: 1px solid var(--brand-line); font-size: 12px; font-weight: 600; color: var(--brand-strong); margin-bottom: 24px; }
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: pulse-dot 1.8s ease-in-out infinite; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.85); } }
}
.hero h1 { font-family: var(--font-body); font-weight: 800; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 20px; color: var(--ink); }
.hero h1 em { font-family: var(--font-display); font-style: italic; font-weight: 400; letter-spacing: 0; }
.hero-sub { font-size: 18px; line-height: 1.55; color: var(--ink-3); margin: 0 0 28px; max-width: 520px; }
.hero-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hero-meta { margin-top: 22px; display: flex; gap: 18px; align-items: center; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
.hero-meta .meta-item { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 14px; height: 14px; color: var(--success); }

/* ---------- Animated ERP dashboard mock ---------- */
.erp-mock { background: #fff; border: 1px solid var(--line); border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 140px 1fr; aspect-ratio: 4/3; max-width: 640px; }
.erp-mock.full { aspect-ratio: 16/10; }
.erp-side { background: #fff; border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.erp-brand { display: flex; align-items: center; gap: 8px; padding: 6px 8px 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.erp-brand .b-icon { width: 22px; height: 22px; border-radius: 6px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 11px; }
.erp-brand .b-name { font-weight: 700; font-size: 12px; color: var(--ink); }
.erp-nav-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; font-size: 11px; color: var(--ink-3); transition: background var(--dur-fast); cursor: pointer; }
.erp-nav-item svg { width: 14px; height: 14px; stroke-width: 1.6; flex-shrink: 0; }
.erp-nav-item:hover { background: var(--bg-soft); color: var(--ink-2); }
.erp-nav-item.on { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.erp-main { display: flex; flex-direction: column; min-width: 0; background: var(--bg-soft); }
.erp-topbar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.erp-topbar .ttl { font-weight: 700; font-size: 14px; color: var(--ink); }
.erp-topbar .actions { display: flex; gap: 6px; }
.erp-topbar .chip { padding: 3px 8px; font-size: 9.5px; border-radius: 5px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-3); font-weight: 600; }
.erp-topbar .chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.erp-body { padding: 14px; display: grid; grid-template-rows: auto 1fr 1fr; gap: 10px; min-height: 0; overflow: hidden; }
.erp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.erp-stat { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.erp-stat .lbl { font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.erp-stat .val { font-weight: 700; font-size: 18px; color: var(--ink); margin-top: 4px; line-height: 1; }
.erp-stat .delta { font-size: 9px; font-weight: 600; margin-top: 4px; display: inline-flex; align-items: center; gap: 2px; }
.erp-stat .delta.up { color: var(--success); }
.erp-stat .delta.dn { color: var(--danger); }
.erp-spark { width: 36px; height: 14px; float: right; margin-top: -2px; }
.erp-chart-wrap { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: grid; grid-template-rows: auto 1fr; gap: 6px; min-height: 0; }
.erp-chart-h { display: flex; justify-content: space-between; align-items: baseline; }
.erp-chart-h .t { font-size: 11px; font-weight: 700; color: var(--ink); }
.erp-chart-h .legend { display: flex; gap: 10px; font-size: 9px; color: var(--ink-3); }
.erp-chart-h .legend i { width: 8px; height: 2px; display: inline-block; margin-right: 4px; vertical-align: middle; }
.erp-chart { width: 100%; height: 100%; min-height: 60px; }

/* Path-draw animation */
@media (prefers-reduced-motion: no-preference) {
  .erp-line { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 1.8s var(--ease-out) 0.3s forwards; }
  .erp-line.delay { animation-delay: 0.5s; }
  .erp-area { opacity: 0; animation: fade-in 1.4s var(--ease-out) 1.2s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes fade-in { to { opacity: 1; } }
  .erp-stat { opacity: 0; animation: rise 0.5s var(--ease-out) forwards; }
  .erp-stat:nth-child(1) { animation-delay: 0s; }
  .erp-stat:nth-child(2) { animation-delay: 0.08s; }
  .erp-stat:nth-child(3) { animation-delay: 0.16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}

/* ---------- Logo strip ---------- */
.logo-strip { padding: 48px 0 0; }
.logo-strip .label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; text-align: center; margin: 0 0 28px; }
.logo-strip-row { display: flex; align-items: center; justify-content: space-around; gap: 32px; flex-wrap: wrap; }
.fake-club { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink-3); letter-spacing: 0.02em; }
.fake-club .shield { width: 18px; height: 22px; background: var(--ink-3); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); opacity: 0.7; }

/* ---------- Features grid ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; transition: border-color var(--dur-base), box-shadow var(--dur-base); position: relative; }
.feat-card:hover { border-color: var(--brand-line); box-shadow: var(--shadow-sm); }
.feat-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--brand-soft); display: grid; place-items: center; margin-bottom: 16px; color: var(--brand); }
.feat-icon svg { width: 18px; height: 18px; stroke-width: 1.7; }
.feat-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px; color: var(--ink); }
.feat-card p { font-size: 14px; line-height: 1.55; color: var(--ink-3); margin: 0; }
.feat-card .learn { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--brand); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.feat-card .learn:hover { gap: 8px; }

/* ---------- Module showcase ---------- */
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mod-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color var(--dur-base), box-shadow var(--dur-base), transform var(--dur-base); display: flex; flex-direction: column; }
.mod-card:hover { border-color: var(--brand-line); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.mod-thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, #F5F7FF 0%, #E8ECFD 60%, #F5F7FF 100%); border-bottom: 1px solid var(--line); padding: 14px; position: relative; overflow: hidden; }
.mod-thumb::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 80% 0%, rgba(99, 102, 241, 0.08), transparent 50%); }
.mod-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mod-num { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.mod-num .n { width: 22px; height: 22px; border-radius: 6px; background: var(--brand-soft); border: 1px solid var(--brand-line); display: grid; place-items: center; font-size: 11px; color: var(--brand); }
.mod-title { font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--ink); margin: 4px 0 0; }
.mod-title em { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.mod-desc { font-size: 13.5px; line-height: 1.55; color: var(--ink-3); margin: 4px 0 0; }

/* ---------- Avatar ---------- */
.av { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #60A5FA 0%, #6366F1 70%); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 11px; flex-shrink: 0; box-shadow: inset 0 -1px 0 rgba(0,0,0,0.06); }
.av.lg { width: 36px; height: 36px; font-size: 13px; }
.av.sm { width: 22px; height: 22px; font-size: 10px; }
.av-2 { background: linear-gradient(135deg, #818CF8 0%, #4F46E5 80%); }
.av-3 { background: linear-gradient(135deg, #7DD3FC 0%, #6366F1 80%); }
.av-4 { background: linear-gradient(135deg, #C4B5FD 0%, #8B5CF6 80%); }

/* ---------- Mock cards ---------- */
.mk { width: 100%; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 4px 16px rgba(15,23,42,0.04); position: relative; overflow: hidden; }
.mk-h { display: flex; justify-content: space-between; align-items: center; }
.mk-h .ttl { font-weight: 700; font-size: 11px; color: var(--ink); }
.mk-h .sub { font-size: 9.5px; color: var(--ink-3); }
.mk-h .chip { padding: 2px 7px; font-size: 9px; border-radius: 4px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-3); font-weight: 600; }
.mk-h .chip.on { background: var(--brand-soft); color: var(--brand); border-color: var(--brand-line); }
.mk-row { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 4px 0; }
.mk-row .nm { font-size: 11px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.mk-row .meta { font-size: 9.5px; color: var(--ink-3); margin-top: 1px; }
.mk-pill { padding: 2px 8px; font-size: 9.5px; border-radius: var(--r-pill); font-weight: 600; }
.mk-pill.b { background: var(--brand-soft); color: var(--brand); }
.mk-pill.g { background: var(--success-soft); color: var(--success); }
.mk-pill.r { background: var(--danger-soft); color: var(--danger); }
.mk-pill.y { background: var(--warning-soft); color: #92400E; }
.mk-pill.k { background: var(--bg-tint); color: var(--ink-2); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); position: relative; }
.live-dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1px solid var(--brand); opacity: 0.4; animation: ring 1.6s ease-out infinite; }
.live-dot.r { background: var(--danger); }
.live-dot.r::after { border-color: var(--danger); }
.live-dot.g { background: var(--success); }
.live-dot.g::after { border-color: var(--success); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes ring { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(2.2); opacity: 0; } }
}

.mk-bars { display: flex; gap: 3px; align-items: flex-end; height: 36px; }
.mk-bars .b { flex: 1; background: var(--brand); border-radius: 2px 2px 0 0; min-height: 4px; animation: bar-grow 1s var(--ease-out) backwards; }
.mk-bars .b.r { background: var(--danger); }
.mk-bars .b.s { background: var(--brand-line); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes bar-grow { from { transform: scaleY(0); transform-origin: bottom; } }
}

.ai-shimmer { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: var(--r-pill); font-size: 9.5px; font-weight: 700; background: linear-gradient(120deg, var(--brand) 0%, #A855F7 50%, var(--brand) 100%); background-size: 200% 100%; color: #fff; animation: shimmer 3s linear infinite; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
}
.ai-shimmer svg { width: 10px; height: 10px; }

.pay-chip { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 8px; border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--line); flex: 1; min-width: 0; }
.pay-chip .nm { font-size: 9.5px; font-weight: 700; color: var(--ink); }
.pay-chip .ic { font-size: 11px; font-weight: 800; color: var(--brand); letter-spacing: -.02em; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; position: relative; display: flex; flex-direction: column; }
.pcard.feat { border: 1px solid var(--brand); box-shadow: var(--shadow-brand); }
.pcard .pop-pill { position: absolute; top: -10px; left: 24px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill); }
.pcard .plan { font-size: 13px; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.pcard .plan-sub { font-size: 12.5px; color: var(--ink-3); margin: 0 0 18px; }
.pcard .price { display: flex; align-items: baseline; gap: 3px; margin: 0 0 6px; }
.pcard .price .cur { font-size: 18px; color: var(--ink-2); font-weight: 600; margin-right: 2px; }
.pcard .price .amt { font-weight: 800; font-size: 44px; color: var(--ink); line-height: 1; letter-spacing: -0.03em; }
.pcard .price .amt-txt { font-weight: 800; font-size: 26px; color: var(--ink); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.pcard .price .per { font-size: 14px; color: var(--ink-3); margin-left: 4px; }
.pcard .price-note { font-size: 12px; color: var(--ink-3); margin: 0 0 24px; }
.pcard ul.feats { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; }
.pcard ul.feats li { font-size: 14px; color: var(--ink-2); display: flex; gap: 8px; align-items: flex-start; }
.pcard ul.feats svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; color: var(--brand); }

/* ---------- Testimonial ---------- */
.testimonial { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.testimonial-quote { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); line-height: 1.25; color: var(--ink); margin: 0 0 24px; font-style: italic; }
.testimonial-attr { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; font-weight: 700; font-size: 16px; color: var(--brand); border: 1px solid var(--brand-line); }
.testimonial-name { font-weight: 700; font-size: 14px; color: var(--ink); }
.testimonial-role { font-size: 12.5px; color: var(--ink-3); }
.testimonial-stats { display: flex; gap: 36px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.testimonial-stats .v { font-weight: 800; font-size: 32px; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.testimonial-stats .l { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-top: 6px; }
.testimonial-photo { aspect-ratio: 4/5; border-radius: var(--r-2xl); overflow: hidden; background: linear-gradient(135deg, var(--brand-soft), var(--bg-tint)); position: relative; border: 1px solid var(--line); }
.testimonial-photo .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); font-size: 12px; font-family: var(--font-mono); padding: 20px; text-align: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; margin: 0 0 16px; color: var(--ink); }
.contact-info h2 em { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.contact-info p { font-size: 16px; color: var(--ink-3); line-height: 1.55; margin: 0 0 32px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico { width: 36px; height: 36px; border-radius: 8px; background: var(--brand-soft); display: grid; place-items: center; flex-shrink: 0; color: var(--brand); border: 1px solid var(--brand-line); }
.contact-list .ico svg { width: 16px; height: 16px; stroke-width: 1.6; }
.contact-list .lbl { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.contact-list .val { font-size: 15px; color: var(--ink); margin-top: 2px; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select { font-family: var(--font-body); font-size: 14.5px; padding: 11px 13px; border-radius: var(--r-btn); border: 1px solid var(--line-strong); background: #fff; color: var(--ink); transition: border-color var(--dur-base), box-shadow var(--dur-base); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring-brand); }
.field textarea { min-height: 96px; resize: vertical; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 40px 0 32px; }
.footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer h4 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 700; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: color var(--dur-fast); }
.footer ul a:hover { color: #fff; }
.footer .brand-lockup, .footer .brand-lockup .wm { color: #fff; }
.footer-tagline { margin: 16px 0 0; font-size: 14px; line-height: 1.55; max-width: 320px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.4); }

/* ---------- Page hero ---------- */
.page-hero { padding: 64px 0 32px; text-align: center; background: var(--bg); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 16px; color: var(--ink); }
.page-hero h1 em { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.page-hero p { font-size: 18px; color: var(--ink-3); line-height: 1.55; max-width: 640px; margin: 0 auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; cursor: pointer; }
.faq-q { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 16px; color: var(--ink); }
.faq-q .plus { width: 20px; height: 20px; color: var(--brand); transition: transform var(--dur-base); }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: var(--ink-3); max-width: 640px; display: none; }
.faq-item.open .faq-a { display: block; }

/* ---------- Legal ---------- */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; padding: 56px 0 96px; }
.legal-toc { position: sticky; top: 88px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 12px; }
.legal-toc .toc-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin: 0 0 12px; }
.legal-toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.legal-toc a { display: block; font-size: 13px; color: var(--ink-3); text-decoration: none; padding: 6px 14px; border-left: 2px solid transparent; margin-left: -1px; line-height: 1.4; transition: color var(--dur-fast), border-color var(--dur-fast); }
.legal-toc a:hover { color: var(--ink); }
.legal-toc a.active { color: var(--brand); border-left-color: var(--brand); font-weight: 600; }
.legal-body { max-width: 760px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.legal-body h1 { font-size: clamp(36px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 12px; color: var(--ink); }
.legal-body h1 em { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.legal-body .updated { font-size: 13px; color: var(--ink-3); margin: 0 0 40px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal-body h2 { font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; margin: 48px 0 16px; color: var(--ink); scroll-margin-top: 88px; }
.legal-body h3 { font-size: 17px; font-weight: 700; line-height: 1.3; margin: 28px 0 10px; color: var(--ink); }
.legal-body p { margin: 0 0 14px; }
.legal-body ul, .legal-body ol { margin: 0 0 18px; padding-left: 22px; }
.legal-body li { margin-bottom: 6px; }
.legal-body li::marker { color: var(--ink-3); }
.legal-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brand-line); transition: text-decoration-color var(--dur-fast); }
.legal-body a:hover { text-decoration-color: var(--brand); }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 13.5px; }
.legal-body table th, .legal-body table td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-body table th { background: var(--bg-soft); font-weight: 600; color: var(--ink); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.legal-body table td:first-child { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink); }
.legal-body .callout { background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: var(--r-lg); padding: 16px 20px; margin: 18px 0; font-size: 14px; color: var(--ink-2); }
.legal-body .callout strong { color: var(--brand-strong); }
.legal-body .callout ul { margin-bottom: 0; }

/* ---------- About ---------- */
.about-hero-stack { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center; padding: 56px 0 80px; }
.about-hero-stack h1 { font-family: var(--font-body); font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 20px; color: var(--ink); }
.about-hero-stack h1 em { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.about-hero-stack .lead { font-size: 18px; line-height: 1.6; color: var(--ink-3); margin: 0; }
.founder-card { background: linear-gradient(135deg, var(--brand-soft) 0%, #F5F3FF 100%); border: 1px solid var(--brand-line); border-radius: var(--r-2xl); padding: 32px; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.founder-card::after { content: ""; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(99,102,241,0.2), transparent 70%); pointer-events: none; }
.founder-card .av-xl { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, #60A5FA 0%, #6366F1 70%); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 28px; box-shadow: 0 8px 24px rgba(99,102,241,0.25); margin-bottom: 18px; }
.founder-card .nm { font-weight: 700; font-size: 22px; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
.founder-card .rl { font-size: 13px; color: var(--brand); font-weight: 600; margin: 2px 0 16px; }
.founder-card .bio { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin: 0; }

.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.value-card .num { font-family: var(--font-display); font-size: 56px; line-height: 1; color: var(--brand); font-style: italic; }
.value-card h3 { font-size: 22px; font-weight: 700; margin: 8px 0 12px; color: var(--ink); letter-spacing: -0.015em; }
.value-card h3 em { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.value-card p { font-size: 15px; line-height: 1.6; color: var(--ink-3); margin: 0; }

.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--brand) 0%, var(--brand-line) 100%); }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -39px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--brand); }
.timeline-item.future::before { background: var(--bg); box-shadow: 0 0 0 2px var(--brand-line); }
.timeline-year { font-family: var(--font-display); font-size: 36px; font-style: italic; color: var(--brand); line-height: 1; margin-bottom: 6px; }
.timeline-content h3 { font-size: 19px; font-weight: 700; margin: 0 0 6px; color: var(--ink); }
.timeline-content p { font-size: 15px; line-height: 1.6; color: var(--ink-3); margin: 0; max-width: 580px; }

/* ---------- Module responsive ---------- */
@media (max-width: 900px) {
  .modules-grid { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .testimonial, .contact-grid, .footer .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; max-height: none; padding: 0; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .about-hero-stack, .values-grid { grid-template-columns: 1fr; gap: 32px; }
}
