/* Content pages (articles, services, case studies, contacts…). Same voice as the 3D island, built for reading. Mobile first. */
:root {
  --navy: #020617; --bg: #040b24; --bg2: #071131; --card: #0a1740; --blue: #1d6bff; --sky: #3b82f6; --cyan: #5ee7ff; --orange: #ff8a1f; --yellow: #ffd23f; --red: #ff3b3b; --violet: #a78bfa;
  --ink: #eef3ff; --ink2: #c9d6f2; --muted: #93a6cf; --line: rgba(94, 231, 255, .18); --pc: #ff8a1f;
  --f-logo: 'Luckiest Guy', system-ui, sans-serif; --f-pix: 'Press Start 2P', ui-monospace, monospace; --f-body: 'Outfit', system-ui, sans-serif;
  --w: 1180px; --read: 70ch;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; background: var(--navy); }
body.site { font-family: var(--f-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: radial-gradient(90% 520px at 50% 0%, #0b2569 0%, var(--bg) 60%) no-repeat, var(--bg); -webkit-font-smoothing: antialiased; min-height: 100svh; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: #2a0e00; padding: .6em 1em; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.muted { color: var(--muted); font-size: .92rem; }
.lnk { text-decoration: underline; text-underline-offset: 3px; color: inherit; }
.kicker { font-family: var(--f-pix); font-size: .58rem; letter-spacing: .06em; line-height: 1.9; color: var(--cyan); text-transform: uppercase; }
.draft { position: sticky; top: 0; z-index: 60; background: var(--yellow); color: #2a1600; text-align: center; font-family: var(--f-pix); font-size: .55rem; padding: .7em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--f-logo); font-size: 1.15rem; letter-spacing: .02em; line-height: 1; text-decoration: none; padding: .78em 1.15em .66em; border-radius: 14px; color: #fff;
  background: linear-gradient(180deg, #ffb057, var(--orange) 50%, #e0430f); text-shadow: 0 2px 0 #7a2400; box-shadow: 0 5px 0 #7a2400, 0 0 24px rgba(255, 138, 31, .3); transition: transform .12s, box-shadow .12s; }
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 7px 0 #7a2400, 0 0 30px rgba(255, 138, 31, .45); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #7a2400; }
.btn--ghost { background: rgba(94, 231, 255, .08); text-shadow: none; box-shadow: inset 0 0 0 2px var(--cyan), 0 5px 0 #061440; }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px #fff, 0 7px 0 #061440; }
.btn--sm { font-size: .95rem; padding: .7em .9em .58em; border-radius: 11px; box-shadow: 0 4px 0 #7a2400; }

/* header */
.sh { position: sticky; top: 0; z-index: 50; background: rgba(2, 8, 30, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.sh__in { max-width: var(--w); margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
.sh__logo { font-family: var(--f-logo); font-size: 1.25rem; letter-spacing: .02em; color: #fff; text-decoration: none; white-space: nowrap; }
.sh__logo b { font-weight: 400; color: var(--orange); }
.sh__nav { display: none; gap: 4px; margin-left: 12px; }
.sh__nav a { color: var(--ink2); text-decoration: none; font-weight: 500; padding: .5em .8em; border-radius: 10px; }
.sh__nav a:hover, .sh__nav a[aria-current] { color: #fff; background: rgba(94, 231, 255, .1); }
.sh__act { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.sh__play { font-family: var(--f-pix); font-size: .55rem; color: var(--yellow); text-decoration: none; padding: .9em .8em; border: 1px solid rgba(255, 210, 63, .4); border-radius: 10px; white-space: nowrap; }
.sh__play span { display: none; }
.sh__menu { position: relative; }
.sh__menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; }
.sh__menu summary::-webkit-details-marker { display: none; }
.sh__menu summary i, .sh__menu summary i::before, .sh__menu summary i::after { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; content: ''; }
.sh__menu summary i::before { position: absolute; top: -6px; } .sh__menu summary i::after { position: absolute; top: 6px; }
.sh__drawer { position: absolute; right: 0; top: 52px; width: min(300px, calc(100vw - 32px)); display: grid; padding: 8px; border-radius: 14px; background: #061238; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.sh__drawer a { color: var(--ink); text-decoration: none; padding: .75em .9em; border-radius: 10px; font-weight: 500; }
.sh__drawer a:hover, .sh__drawer a[aria-current] { background: rgba(94, 231, 255, .1); }
@media (max-width: 520px) { .sh__act .btn--sm { display: none; } }
@media (min-width: 900px) { .sh__nav { display: flex; } .sh__menu { display: none; } .sh__play span { display: inline; } .sh__in { padding: 12px 28px; } }

/* hero */
.hero { padding: clamp(28px, 6vw, 64px) 0 clamp(20px, 4vw, 40px); }
.hero h1 { font-family: var(--f-logo); font-weight: 400; font-size: clamp(2.05rem, 6.2vw, 3.6rem); line-height: 1.04; letter-spacing: .005em; margin: .7rem 0 1rem; max-width: 22ch; text-shadow: 0 4px 0 #061440; text-wrap: balance; }
.hero--s h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink2); max-width: 60ch; line-height: 1.55; }
.hero__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4em; font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.crumbs i { font-style: normal; opacity: .6; }
.crumbs span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.ameta { display: flex; gap: 12px; align-items: center; margin-top: 1.2rem; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.ameta img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.ameta a { color: var(--ink); font-weight: 600; text-decoration: none; }

/* reading */
.page { padding-bottom: 32px; }
.prose { max-width: var(--read); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); line-height: 1.2; margin-top: 2.2em; font-weight: 700; letter-spacing: -.01em; }
.prose h3 { font-size: 1.22rem; line-height: 1.3; margin-top: 1.8em; font-weight: 700; }
.prose h4 { font-size: 1.05rem; margin-top: 1.5em; }
.prose p, .prose li { color: var(--ink2); }
.prose strong { color: #fff; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--orange); }
.prose blockquote { border-left: 4px solid var(--orange); padding: .8em 1.1em; background: rgba(255, 138, 31, .07); border-radius: 0 12px 12px 0; font-size: 1.08rem; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose code { font-size: .88em; background: rgba(94, 231, 255, .1); padding: .1em .35em; border-radius: 6px; color: #fff; }
.prose pre { background: #020a22; border: 1px solid var(--line); border-radius: 12px; padding: 1em; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose figure img { border-radius: 14px; border: 1px solid var(--line); }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: .5em; }
.md-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.md-table table { border-collapse: collapse; width: 100%; font-size: .94rem; }
.md-table th, .md-table td { text-align: left; padding: .7em .9em; border-bottom: 1px solid var(--line); vertical-align: top; }
.md-table th { background: rgba(94, 231, 255, .06); color: #fff; font-weight: 600; }
.md-cards, .md-steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); max-width: none; margin-top: 1.4em; }
.prose .md-cards, .prose .md-steps { width: min(100vw - 32px, var(--w) - 56px); }
.md-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.1em 1.15em; box-shadow: 0 5px 0 #030b26; }
.md-card h3, .md-card h4 { margin-top: 0; font-size: 1.1rem; color: #fff; }
.md-card p { margin-top: .5em; font-size: .97rem; }
.md-steps { counter-reset: st; }
.md-steps .md-card { position: relative; padding-top: 2.6em; }
.md-steps .md-card::before { counter-increment: st; content: counter(st, decimal-leading-zero); position: absolute; top: .55em; left: 1.05em; font-family: var(--f-logo); font-size: 1.6rem; color: var(--orange); text-shadow: 0 2px 0 #061440; }
.md-note, .md-cta { border: 1px solid var(--line); border-radius: 14px; padding: 1em 1.2em; background: rgba(94, 231, 255, .06); }
.md-cta { border-color: rgba(255, 138, 31, .5); background: rgba(255, 138, 31, .08); }
.toc { max-width: var(--read); margin: 0 0 1.6rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(4, 16, 46, .6); }
.toc summary { cursor: pointer; padding: .8em 1em; font-family: var(--f-pix); font-size: .55rem; color: var(--cyan); }
.toc ol { padding: 0 1em 1em 2.2em; font-size: .93rem; }
.toc li + li { margin-top: .35em; }
.toc a { color: var(--ink2); text-decoration: none; }
.toc a:hover { color: #fff; text-decoration: underline; }

/* article layout */
.art { display: grid; gap: 8px; }
@media (min-width: 1100px) {
  .art { grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
  .art__side { position: sticky; top: 92px; }
  .art__side .toc { margin: 0; }
}
.cover { margin-bottom: 1.6rem; max-width: var(--read); }
.cover img { border-radius: 16px; border: 1px solid var(--line); width: 100%; }
.author { max-width: var(--read); display: flex; gap: 16px; align-items: flex-start; margin-top: 3rem; padding: 1.2rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.author img { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; flex: 0 0 auto; }
.author__n { font-family: var(--f-logo); font-size: 1.3rem; margin: .2rem 0 .3rem; }
.author__n a { color: #fff; text-decoration: none; }
.author p:last-child { color: var(--ink2); font-size: .95rem; }

/* newsletter */
.nl { max-width: var(--read); margin-top: 1.6rem; padding: 1.3rem 1.2rem; border-radius: 18px; border: 2px solid rgba(94, 231, 255, .35); background: linear-gradient(180deg, rgba(19, 66, 181, .35), rgba(4, 16, 46, .6)); }
.nl h2 { font-size: 1.3rem; line-height: 1.25; margin: .5rem 0 .3rem; }
.nl > p { color: var(--ink2); font-size: .95rem; }
.nl__f { margin-top: 1rem; display: grid; gap: .8rem; }
.nl__row { display: flex; gap: 8px; flex-wrap: wrap; }
.nl__row input { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 16px; color: #fff; background: rgba(1, 6, 22, .8); border: 1.5px solid #2a4580; border-radius: 12px; padding: .75em .9em; }
.nl__row input:focus { outline: none; border-color: var(--cyan); }
.nl__msg { font-size: .92rem; color: #a6f7c1; }
.nl__msg.is-bad { color: #ffb4b4; }
.nl__msg:empty { display: none; }

/* lists of cards */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-top: 1.4rem; }
.card a { display: flex; flex-direction: column; gap: .55rem; height: 100%; padding: 1.15rem 1.15rem 1rem; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: inherit; box-shadow: 0 5px 0 #030b26; transition: transform .2s cubic-bezier(.2, 1.6, .4, 1), border-color .2s; }
.card a:hover { transform: translateY(-4px); border-color: var(--cyan); color: inherit; }
.card h3 { font-size: 1.12rem; line-height: 1.3; color: #fff; }
.card p { font-size: .94rem; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__m { margin-top: auto; font-size: .82rem; color: var(--muted); }
.chip { align-self: flex-start; font-family: var(--f-pix); font-size: .45rem; line-height: 1; padding: .7em .8em; border-radius: 999px; background: rgba(255, 138, 31, .14); color: #ffd1a6; border: 1px solid rgba(255, 138, 31, .4); }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips a { text-decoration: none; color: var(--ink2); padding: .5em .9em; border-radius: 999px; border: 1px solid var(--line); font-size: .92rem; }
.chips a small { color: var(--muted); }
.chips a[aria-current] { background: var(--orange); border-color: var(--orange); color: #2a0e00; }
.chips a[aria-current] small { color: #5a2100; }
.search { display: flex; gap: 8px; flex: 1 1 260px; max-width: 420px; }
.search input { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: #fff; background: rgba(1, 6, 22, .8); border: 1.5px solid #2a4580; border-radius: 12px; padding: .6em .85em; }
.search input:focus { outline: none; border-color: var(--cyan); }
.search--big { max-width: 640px; margin-bottom: 1.6rem; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 2rem 0 1rem; color: var(--muted); font-size: .92rem; }
.prose--intro { margin-bottom: 1rem; }
.rel { margin-top: 3rem; }
.rel h2 { font-family: var(--f-logo); font-weight: 400; font-size: 1.7rem; }
.results { list-style: none; display: grid; gap: 10px; max-width: 760px; }
.results a { display: grid; gap: .3rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink2); }
.results b { color: #fff; font-size: 1.08rem; }
.results mark { background: rgba(255, 210, 63, .25); color: #fff; border-radius: 3px; padding: 0 .15em; }
.links404 { list-style: none; display: grid; gap: 6px; margin: 1rem 0 2rem; font-size: 1.05rem; }

/* faq */
.faq { margin-top: 2.4rem; }
.faq h2 { font-family: var(--f-logo); font-weight: 400; font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin-bottom: 1rem; }
.faq details { max-width: 860px; border: 1px solid var(--line); border-radius: 14px; background: rgba(4, 16, 46, .6); }
.faq details + details { margin-top: 8px; }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 1.1rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--cyan); font-family: var(--f-pix); font-size: .8rem; flex: 0 0 auto; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 1.1rem 1.1rem; color: var(--ink2); }

/* call to action band */
.cta { margin-top: 3.6rem; padding: clamp(32px, 6vw, 64px) 0; background: linear-gradient(180deg, rgba(255, 138, 31, .1), rgba(255, 138, 31, 0)); border-top: 1px solid rgba(255, 138, 31, .3); }
.cta h2 { font-family: var(--f-logo); font-weight: 400; font-size: clamp(2rem, 5vw, 3rem); margin: .5rem 0 .6rem; text-shadow: 0 4px 0 #061440; }
.cta p:not(.kicker) { color: var(--ink2); max-width: 60ch; }

/* contact page */
.contact { display: grid; gap: 24px; padding-bottom: 24px; }
.contact .seg { margin-top: 0; }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .contact__side { position: sticky; top: 92px; } }
.contact__side { display: grid; gap: 12px; }
.box { display: block; padding: 1.1rem 1.15rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--ink2); text-decoration: none; }
.box p + p { margin-top: .6rem; }
.box a { color: #fff; }
.box--play { font-family: var(--f-logo); font-size: 1.15rem; color: var(--yellow); border-color: rgba(255, 210, 63, .4); }
.steps-s { padding-left: 1.2em; margin-top: .5rem; font-size: .95rem; }
.steps-s li + li { margin-top: .4rem; }
.steps-s b { color: #fff; }

/* footer */
.sf { margin-top: 4rem; border-top: 1px solid var(--line); background: #020920; }
.sf__in { max-width: var(--w); margin: 0 auto; padding: 40px 16px 24px; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.sf__brand p { color: var(--muted); font-size: .92rem; margin: .7rem 0; }
.sf__nap a { color: var(--ink2); }
.sf__h { font-family: var(--f-pix); font-size: .52rem; color: var(--cyan); margin-bottom: .8rem; }
.sf__col { display: grid; gap: .35rem; align-content: start; }
.sf__col a { color: var(--ink2); text-decoration: none; font-size: .93rem; }
.sf__col a:hover { color: #fff; text-decoration: underline; }
.sf__legal { max-width: var(--w); margin: 0 auto; padding: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: .82rem; color: var(--muted); }
.sf__legal a { color: var(--muted); }
.sf__disamb { max-width: var(--w); margin: 0 auto; padding: 0 16px 24px; font-size: .75rem; color: #6c7ea6; }

/* forms.css variables for the content pages */
.gform fieldset { background: rgba(4, 16, 46, .7); }
.gdone .save__btn { font-size: 1.1rem; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
[hidden] { display: none !important; }
.art .prose .md-cards, .art .prose .md-steps { width: auto; grid-template-columns: minmax(0, 1fr); }

/* ================= footer v2 ================= */
.sf__in { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); padding: 44px 16px 28px; }
.sf__brand { max-width: 380px; }
.sf__brand > p { color: var(--muted); font-size: .93rem; margin: .8rem 0 1rem; }
.sf__nap { list-style: none; display: grid; gap: .45rem; margin-bottom: 1.2rem; font-size: .93rem; }
.sf__nap li { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: baseline; }
.sf__nap span { font-family: var(--f-pix); font-size: .45rem; color: var(--muted); }
.sf__nap a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.sf__nap a:hover { color: var(--cyan); text-decoration: underline; }
.sf__cols { display: grid; gap: 28px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sf__col ul { list-style: none; display: grid; gap: .1rem; }
.sf__col a { display: inline-block; padding: .3rem 0; line-height: 1.35; color: var(--ink2); text-decoration: none; font-size: .9rem; }
.sf__col a:hover { color: #fff; text-decoration: underline; }
.sf__h { margin-bottom: .5rem; }
.sf__bottom { border-top: 1px solid var(--line); background: #01061a; }
.sf__bin { max-width: var(--w); margin: 0 auto; padding: 20px 16px 8px; display: grid; gap: 14px; }
.sf__id { display: grid; gap: .2rem; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.sf__id b { color: var(--ink2); font-weight: 600; }
.sf__legal { max-width: none; margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; font-size: .85rem; justify-content: flex-start; }
.sf__legal a, .sf__legal .lnk { color: var(--ink2); text-decoration: underline; text-decoration-color: rgba(201,214,242,.3); text-underline-offset: 3px; padding: .45rem 0; }
.sf__legal a:hover, .sf__legal .lnk:hover { color: #fff; text-decoration-color: #fff; }
.sf__disamb { max-width: none; padding: 4px 0 20px; font-size: .74rem; color: #6c7ea6; }
@media (min-width: 760px) { .sf__in { padding: 56px 28px 36px; } .sf__bin { padding: 22px 28px 8px; } .sf__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .sf__in { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 56px; }
  .sf__bin { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .sf__legal { justify-content: flex-end; }
}
.sf__bottom > .sf__disamb { max-width: var(--w); margin: 0 auto; padding: 2px 16px 22px; }
@media (min-width: 760px) { .sf__bottom > .sf__disamb { padding: 2px 28px 26px; } }
