/* Fini Marketing Team Academy. Same identity as finimarketing.com: navy, gold, Playfair Display and DM Sans. */
:root {
  --navy: #1e3a5f;
  --navy-2: #2d5a8a;
  --navy-deep: #12263f;
  --gold: #c9a227;
  --gold-2: #e6c656;
  --paper: #fbfaf6;
  --mist: #f1f3f7;
  --ink: #1a1a2e;
  --body: #4a5568;
  --muted: #718096;
  --line: #e2e8f0;
  --line-2: #cbd5e0;
  --leaf: #3f7d58;
  --display: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r: 14px;
  --shadow: 0 8px 30px rgba(18, 38, 63, 0.10);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--paper); color: var(--body); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); font-weight: 600; line-height: 1.15; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.eyebrow--navy { color: var(--navy-2); }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 246, .92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: .28em; color: var(--navy); display: flex; align-items: baseline; gap: 2px; }
.brand i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); display: inline-block; transform: translateY(-14px); }
.brand small { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--muted); margin-left: 14px; text-transform: uppercase; border-left: 1px solid var(--line-2); padding-left: 14px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 500; color: var(--body); }
.nav a:hover { color: var(--navy); }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; font-family: var(--sans); }
.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 8px 24px rgba(30, 58, 95, .25); }
.btn--navy:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn--line { border-color: var(--line-2); color: var(--navy); background: #fff; }
.btn--line:hover { border-color: var(--navy); }
.btn--soon { background: var(--mist); color: var(--muted); cursor: default; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } .brand small { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 84px; background:
  radial-gradient(900px 420px at 85% -10%, rgba(201, 162, 39, .16), transparent 60%),
  radial-gradient(700px 400px at -5% 110%, rgba(45, 90, 138, .12), transparent 60%), var(--paper); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 82px); letter-spacing: -.01em; margin: 18px 0 22px; }
.hero h1 em { font-style: italic; color: var(--navy-2); font-weight: 500; }
.hero h1 u { text-decoration: none; background: linear-gradient(transparent 78%, rgba(201, 162, 39, .38) 78%); }
.hero p.lede { font-size: 19px; max-width: 54ch; color: var(--body); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero__facts { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.fact b { display: block; font-family: var(--display); font-size: 34px; color: var(--navy); line-height: 1; }
.fact span { font-size: 13px; color: var(--muted); }
.plant { width: 100%; max-width: 420px; margin-left: auto; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .plant { display: none; } .hero { padding: 64px 0 56px; } }

/* Sections */
section { padding: 88px 0; }
.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 10px 0 14px; }
.sec-head p { font-size: 17px; }
.alt { background: #fff; border-block: 1px solid var(--line); }
.dark { background: var(--navy-deep); color: #c9d4e4; }
.dark h2, .dark h3 { color: #fff; }

/* Ranks */
.ranks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; margin-top: 12px; }
.ranks::before { content: ""; position: absolute; left: 10%; right: 10%; top: 38px; height: 2px; background: linear-gradient(90deg, var(--line-2), var(--gold)); }
.rank { text-align: center; padding: 0 10px; position: relative; }
.rank__dot { width: 76px; height: 76px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); margin: 0 auto 18px; display: grid; place-items: center; box-shadow: var(--shadow); position: relative; z-index: 1; }
.rank:nth-child(5) .rank__dot { border-color: var(--gold); background: linear-gradient(135deg, #fff, #fbf3d4); }
.rank h3 { font-size: 22px; margin-bottom: 6px; }
.rank p { font-size: 14px; color: var(--muted); line-height: 1.55; }
@media (max-width: 860px) { .ranks { grid-template-columns: 1fr; gap: 26px; } .ranks::before { display: none; } .rank { display: grid; grid-template-columns: 76px 1fr; text-align: left; gap: 18px; align-items: center; } .rank__dot { margin: 0; } }

/* Tracks */
.tracks { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.track { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; position: relative; transition: transform .25s, box-shadow .25s; }
.track:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.track--first { background: var(--navy); color: #cfdaea; border-color: var(--navy); }
.track--first h3 { color: #fff; }
.track--first .tag { background: var(--gold); color: var(--navy-deep); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--mist); color: var(--navy); margin-bottom: 16px; }
.track h3 { font-size: 26px; margin-bottom: 10px; }
.track p { font-size: 15px; }
@media (max-width: 900px) { .tracks { grid-template-columns: 1fr; } }

/* Roadmap */
.road { display: grid; gap: 14px; }
.road__group { margin-top: 20px; }
.road__group h3 { font-size: 15px; font-family: var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-2); margin-bottom: 12px; font-weight: 700; }
.mod { display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.mod:hover { border-color: var(--gold); transform: translateX(4px); box-shadow: var(--shadow); }
.mod__n { font-family: var(--display); font-size: 34px; color: var(--gold); font-weight: 600; text-align: center; line-height: 1; }
.mod h4 { font-size: 20px; margin-bottom: 2px; }
.mod p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.mod__meta { font-size: 12px; color: var(--muted); text-align: right; white-space: nowrap; }
.mod__done { color: var(--leaf); font-weight: 700; display: none; }
.mod.is-done .mod__done { display: block; }
.mod.is-done { border-color: #cfe5d6; background: #f6fbf8; }
@media (max-width: 640px) { .mod { grid-template-columns: 44px 1fr; } .mod__meta { grid-column: 2; text-align: left; } }

/* Funnel */
.funnel { display: grid; gap: 12px; max-width: 760px; }
.fun { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
.fun span { font-size: 14px; color: #c9d4e4; }
.fun div { height: 38px; border-radius: 8px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); color: var(--navy-deep); font-weight: 700; font-size: 13px; display: flex; align-items: center; padding-left: 14px; }
.dark .note { margin-top: 28px; padding: 20px 24px; border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--r); max-width: 760px; font-size: 15px; }
.dark .note b { color: var(--gold-2); }

/* Report mock */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.report { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 28px; font-size: 14px; }
.report h4 { font-size: 20px; margin-bottom: 4px; }
.report .row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: center; }
.pill { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .06em; }
.pill--y { background: #fbf3d4; color: #7a5f08; } .pill--g { background: #e4f3ea; color: #2c6a45; } .pill--b { background: #e3ecf7; color: var(--navy); }
.mono { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; color: var(--navy); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Rules */
.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rule { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 18px 22px; font-size: 15px; }
.rule b { color: var(--ink); }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }

/* Module page */
.m-head { padding: 64px 0 40px; background: linear-gradient(180deg, #fff, var(--paper)); border-bottom: 1px solid var(--line); }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumb a:hover { color: var(--navy); }
.m-head h1 { font-size: clamp(34px, 5vw, 58px); max-width: 20ch; margin: 10px 0 16px; }
.m-head p { font-size: 19px; max-width: 58ch; }
.m-meta { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.chip { font-size: 12px; font-weight: 700; padding: 6px 13px; border-radius: 999px; background: var(--mist); color: var(--navy); letter-spacing: .04em; }
.m-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding: 56px 0 24px; }
.toc { position: sticky; top: 96px; align-self: start; font-size: 14px; border-left: 2px solid var(--line); padding-left: 18px; display: grid; gap: 10px; }
.toc a { color: var(--muted); } .toc a:hover { color: var(--navy); }
.prose h2 { font-size: 30px; margin: 44px 0 14px; } .prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; font-size: 17px; max-width: 66ch; }
.prose ul { margin: 6px 0 18px 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 66ch; }
.prose li { position: relative; padding-left: 26px; font-size: 17px; }
.prose li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; background: var(--gold); }
.prose strong { color: var(--ink); }
.box { margin: 40px 0; padding: 28px 30px; border-radius: 16px; max-width: 70ch; }
.box--ex { background: var(--navy); color: #d6e0ee; }
.box--ex h3 { color: #fff; font-size: 24px; margin-bottom: 8px; } .box--ex .eyebrow { color: var(--gold-2); }
.box--chk { background: #fff; border: 1px solid var(--line); }
.box--chk h3 { font-size: 24px; margin-bottom: 14px; }
.box--ai { background: #fbf6e4; border: 1px solid #e6d9a6; }
.box--ai h3 { font-size: 24px; margin-bottom: 8px; }
.prompt { position: relative; margin: 14px 0; background: #fff; border: 1px solid #e6d9a6; border-radius: 12px; }
.prompt pre { margin: 0; padding: 16px 18px; padding-right: 120px; white-space: pre-wrap; word-break: break-word; font: 14px/1.6 ui-monospace, Menlo, Consolas, monospace; color: #1e2a3a; }
.prompt__copy { position: absolute; top: 10px; right: 10px; border: 0; border-radius: 999px; padding: 7px 14px; background: var(--navy); color: #fff; font: 600 13px "DM Sans", system-ui, sans-serif; cursor: pointer; }
.prompt__copy:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.ai-watch { margin: 0; font-size: 15px; }
@media (max-width: 600px) { .prompt pre { padding-right: 18px; padding-top: 52px; } }
details { border-top: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { margin: 10px 0 0; font-size: 16px; }
.m-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0 88px; align-items: center; }
@media (max-width: 900px) { .m-body { grid-template-columns: 1fr; gap: 24px; } .toc { display: none; } }

footer { background: var(--navy-deep); color: #8fa3bd; padding: 44px 0; font-size: 14px; }
footer .brand { color: #fff; font-size: 22px; margin-bottom: 8px; }
footer a:hover { color: #fff; }

/* Motion */
.rise { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rise.in { opacity: 1; transform: none; }
.grow path.stem { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.4s ease forwards .3s; }
.grow .leaf { transform-origin: bottom center; transform: scale(0); animation: pop .6s cubic-bezier(.3, 1.5, .5, 1) forwards; }
.grow .l1 { animation-delay: 1.2s; } .grow .l2 { animation-delay: 1.5s; } .grow .l3 { animation-delay: 1.8s; } .grow .l4 { animation-delay: 2.1s; }
.grow .sun { opacity: 0; animation: fade 1s ease forwards 2.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } } @keyframes pop { to { transform: scale(1); } } @keyframes fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; transform: none; transition: none; } .grow path.stem { animation: none; stroke-dashoffset: 0; } .grow .leaf, .grow .sun { animation: none; transform: none; opacity: 1; } html { scroll-behavior: auto; } .mod:hover, .track:hover { transform: none; } }
