/* PulsedMC website (sites.pulsedmc.net). Layout modelled on a classic game-host
   homepage: dark navy page, gold accent, chunky 3D buttons, Montserrat headings. */
:root {
  --bg: #15151c;
  --bg-2: #1b1b24;
  --card: #20202b;
  --card-2: #262634;
  --line: #2e2e3d;
  --text: #e9e9f1;
  --text-2: #b8b8c8;
  --muted: #8a8a9c;
  --yellow: #f5c518;
  --yellow-2: #c79c00;
  --green: #1a8a2e;
  --green-2: #126b22;
  --purple: #6c3ca5;
  --purple-2: #532c82;
  --blue: #3b6ef0;
  --blue-2: #2b55c4;
  --ok: #22c55e;
  --head: 'Montserrat', system-ui, sans-serif;
  --body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Roboto, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; line-height: 1.15; }
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 1120px; }
.y { color: var(--yellow); }

/* ── buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 15px/1 var(--body); text-decoration: none;
  padding: 15px 18px; border-radius: 10px; border: 0; cursor: pointer;
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}
.btn:active { transform: translateY(3px); }
.btn-yellow { background: var(--yellow); color: #17130a; box-shadow: 0 5px 0 var(--yellow-2); text-transform: uppercase; }
.btn-yellow:hover { filter: brightness(1.06); }
.btn-yellow:active { box-shadow: 0 2px 0 var(--yellow-2); }
.btn-light { background: #e6e6ee; color: #17171f; box-shadow: 0 5px 0 #b2b2c0; text-transform: uppercase; }
.btn-light:active { box-shadow: 0 2px 0 #b2b2c0; }
.btn-dark { background: var(--card-2); color: var(--text); box-shadow: 0 4px 0 #101016; }
.btn-dark:hover { background: #2d2d3d; }
.btn-dark:active { box-shadow: 0 1px 0 #101016; }
.btn-lg { padding: 18px 22px; font-size: 15.5px; }
.btn-sm { padding: 11px 16px; font-size: 14px; box-shadow: 0 4px 0 var(--yellow-2); }

/* ── top update bar ────────────────────────────────────── */
.topbar {
  display: flex; align-items: center; gap: 10px; padding: 14px 20px;
  background: var(--bg-2); border-bottom: 2px solid var(--yellow);
  text-decoration: none; font-size: 15.5px; color: var(--text-2);
}
.topbar:hover .topbar-text { color: var(--text); }
.topbar-pill { background: #2563eb; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .02em; padding: 3px 8px; border-radius: 7px; flex: none; }
.topbar-arrow { flex: none; }

/* ── header ────────────────────────────────────────────── */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(27,27,36,.96); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 22px/1 var(--head); letter-spacing: .01em; color: var(--yellow); flex: none; }
.brand b { color: #fff; font-weight: 800; }
.brand img { width: 40px; height: 40px; }
.hnav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-item { position: relative; }
.nav-btn { display: flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--text-2); font: 500 17px/1 var(--body); padding: 12px 10px; cursor: pointer; border-radius: 8px; }
.nav-btn:hover, .nav-item.is-open .nav-btn { color: #fff; }
.nav-btn svg { transition: transform .15s; }
.nav-item.is-open .nav-btn svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.45); display: flex; gap: 22px; min-width: 300px;
  opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s;
}
.mega-wide { min-width: 460px; }
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-col { display: flex; flex-direction: column; gap: 2px; min-width: 200px; }
.mega-col h3 { font: 700 12px/1 var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--yellow); margin: 2px 8px 10px; }
.mega-col a { display: block; text-decoration: none; padding: 9px 10px; border-radius: 9px; }
.mega-col a:hover { background: var(--card-2); }
.mega-col a b { display: block; font-weight: 600; font-size: 15.5px; color: #fff; }
.mega-col a span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.mega-all { color: var(--yellow) !important; font-weight: 600; font-size: 14.5px; }
.hdr-right { display: flex; align-items: center; gap: 16px; flex: none; }
.hdr-link { color: var(--text-2); text-decoration: none; font-weight: 500; }
.hdr-link:hover { color: #fff; }
.burger { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 9px; cursor: pointer; }
.burger span { display: block; height: 2.5px; background: #fff; border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }

/* ── hero ──────────────────────────────────────────────── */
.hero { position: relative; padding: 40px 0 80px; overflow: hidden; isolation: isolate; }
/* the game art behind the hero: two layers so one can fade in over the other */
.hero-bg { position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; opacity: 0; transform: scale(1.04); transition: opacity 1.1s ease, transform 6s ease-out; }
.hero-bg.is-on { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(21,21,28,.96) 0%, rgba(21,21,28,.82) 38%, rgba(21,21,28,.45) 70%, rgba(21,21,28,.6) 100%),
    linear-gradient(180deg, rgba(21,21,28,.55) 0%, rgba(21,21,28,0) 25%, rgba(21,21,28,0) 70%, var(--bg) 100%); }
.hero-inner { display: grid; grid-template-columns: 1fr 380px; align-items: center; gap: 40px; min-height: 640px; }
.hero-kicker { font-size: 24px; color: var(--text-2); margin: 0 0 6px; }
.hero h1 { font-size: clamp(44px, 6vw, 72px); font-weight: 900; letter-spacing: -.01em; color: #fff; }
#hero-game { display: inline-block; transition: opacity .3s, transform .3s; }
#hero-game.is-out { opacity: 0; transform: translateY(-12px); }
.checks { list-style: none; padding: 0; margin: 30px 0 40px; display: flex; flex-wrap: wrap; gap: 12px 26px; max-width: 600px; }
.checks li { position: relative; padding-left: 34px; font-size: 19px; color: var(--text-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 23px; height: 23px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317130a' stroke-width='3.2'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.hero-ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero-ctas-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* the vertical game reel on the right */
.hero-reel { position: relative; height: 640px; overflow: hidden; }
.reel-card {
  position: absolute; left: 50%; top: 50%; width: 220px; height: 136px; border-radius: 14px;
  overflow: hidden; background: #1f1f2b center / cover no-repeat; box-shadow: 0 14px 40px rgba(0,0,0,.5);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .6s;
  text-decoration: none;
}
.reel-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,16,.05), rgba(10,10,16,.55)); }
.reel-card.no-shade::before { background: linear-gradient(180deg, rgba(10,10,16,0) 55%, rgba(10,10,16,.55)); }
.reel-card { border: 1px solid rgba(255,255,255,.08); }
.reel-card > * { position: relative; }
.reel-card .rc-logo { max-width: 68%; max-height: 50px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.reel-card .rc-name { font: 900 25px/1 var(--head); color: var(--yellow); text-transform: uppercase; letter-spacing: .02em; text-shadow: 0 2px 10px rgba(0,0,0,.7); text-align: center; padding: 0 10px; }
.reel-card .rc-sub { font: 700 10px/1 var(--body); color: #fff; letter-spacing: .2em; text-transform: uppercase; }

/* ── generic sections ──────────────────────────────────── */
.sec { padding: 80px 0; }
.h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; color: #fff; }
.h2-center { text-align: center; }
.lede { font-size: 20px; color: var(--text-2); max-width: 680px; margin: 14px 0 0; }
.lede-center { margin: 14px auto 0; text-align: center; }
.lede a { color: var(--text); }
.tag { display: inline-block; font: 800 18px/1 var(--head); color: var(--yellow); letter-spacing: .02em; margin: 0 0 14px; }
.tag-center { display: block; text-align: center; }

/* three products */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px; margin-top: 70px; }
.prod { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 54px 30px 0; display: flex; flex-direction: column; }
.prod-ico { position: absolute; top: -32px; left: 20px; width: 64px; height: 64px; border-radius: 8px; object-fit: cover; box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.prod-ico-games { width: auto; height: 60px; max-width: 160px; object-fit: contain; background: #111; padding: 8px 12px; border-radius: 10px; }
.prod-ico-svg { width: 90px; height: 66px; top: -36px; box-shadow: none; }
.prod h3 { font-size: 32px; font-weight: 800; color: #fff; }
.prod p { color: var(--text-2); font-size: 18px; margin: 18px 0 0; }
.ticks { list-style: none; padding: 0; margin: 22px 0 32px; display: grid; gap: 6px; }
.ticks li { position: relative; padding-left: 32px; font-size: 18px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 21px; height: 21px; border-radius: 50%; background: var(--tick, var(--ok)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.prod-btn { margin: auto -31px -1px; display: block; text-align: center; text-decoration: none; color: #fff; font: 700 20px/1 var(--body); padding: 24px 16px; border-radius: 0 0 14px 14px; transition: filter .12s; }
.prod-btn:hover { filter: brightness(1.08); }
.prod-green  { --tick: #22a83a; } .prod-green  .prod-btn { background: var(--green);  box-shadow: inset 0 -5px 0 var(--green-2); }
.prod-purple { --tick: #8a5cc7; } .prod-purple .prod-btn { background: var(--purple); box-shadow: inset 0 -5px 0 var(--purple-2); }
.prod-blue   { --tick: #3b6ef0; } .prod-blue   .prod-btn { background: var(--blue);   box-shadow: inset 0 -5px 0 var(--blue-2); }

/* control panel */
.sec-panel { background: #101017; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0; }
.panel-split { display: grid; grid-template-columns: minmax(0, 720px) 1fr; max-width: 1400px; margin: 0 auto; }
.panel-left { padding: 90px 20px; }
.h2-left { text-align: left; }
.lede-left { margin: 14px 0 34px; }
.feat-list { display: grid; gap: 12px; max-width: 440px; }
.feat { display: flex; align-items: center; gap: 16px; background: var(--card); color: #fff; border: 0; border-radius: 12px; padding: 22px; font: 700 20px/1 var(--head); text-align: left; cursor: pointer; transition: background .15s, color .15s; }
.feat:hover { background: var(--card-2); }
.feat.is-on { background: var(--yellow); color: #17130a; }
.panel-ctas { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.panel-right { border-left: 1px solid var(--line); padding: 90px 0 90px 40px; display: flex; align-items: center; overflow: hidden; }
.mock { display: flex; width: 100%; max-width: 760px; min-height: 520px; background: #181822; border: 1px solid var(--line); border-right: 0; border-radius: 16px 0 0 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.mock-side { width: 78px; background: #13131b; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 18px 0; }
.mock-logo img { width: 36px; height: 36px; }
.mock-side i { width: 30px; height: 30px; border-radius: 50%; background: #3b3b4f; }
.mock-side i.on { background: var(--yellow); }
.mock-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.mock-top { display: flex; align-items: center; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.mock-top b { color: #fff; font: 700 17px/1 var(--head); margin-right: auto; }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(34,197,94,.15); }
.mock-body { flex: 1; padding: 18px 22px; font: 13.5px/1.75 ui-monospace, 'SFMono-Regular', Menlo, monospace; color: #c8c8d6; overflow: hidden; }
.mock-body .l-info { color: #7dd3fc; } .mock-body .l-ok { color: #86efac; } .mock-body .l-warn { color: #fcd34d; } .mock-body .l-dim { color: var(--muted); }
.mock-body .row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-family: var(--body); font-size: 15px; }
.mock-body .row i { width: 30px; height: 30px; border-radius: 8px; background: #2b2b3b; flex: none; }
.mock-body .row b { color: #fff; font-weight: 600; margin-right: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-body .row span { color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.mock-body .pill { display: inline-block; background: var(--yellow); color: #17130a; font-weight: 700; padding: 4px 10px; border-radius: 7px; font-size: 13px; font-family: var(--body); }
.mock-stats { display: flex; gap: 24px; padding: 14px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.mock-stats b { color: #fff; font-weight: 600; margin-right: 4px; }

/* perks */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 30px; margin-top: 70px; }
.perk { text-align: center; }
.perk-ico { display: inline-flex; align-items: center; justify-content: center; width: 70px; height: 66px; border-radius: 14px; background: #241f12; border: 1px solid #4d4012; color: var(--yellow); }
.perk h3 { font-size: 25px; font-weight: 700; margin: 20px 0 10px; color: #fff; }
.perk p { color: var(--text-2); font-size: 18px; margin: 0 auto; max-width: 440px; }

/* numbers */
.sec-numbers { background: var(--bg-2); }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.num { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 30px 20px; text-align: center; }
.num b { display: block; font: 900 46px/1 var(--head); color: var(--yellow); }
.num span { display: block; margin-top: 10px; color: var(--text-2); }

/* support */
.live-dot { display: inline-block; width: 30px; height: 30px; border-radius: 50%; background: rgba(34,197,94,.2); vertical-align: middle; position: relative; margin-left: 6px; }
.live-dot::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 50% { transform: scale(.75); opacity: .7; } }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 1080px; margin: 70px auto 0; }
.support-card { position: relative; background: var(--card-2); border-top: 2px solid var(--yellow); border-radius: 12px; padding: 50px 26px 28px; }
.support-ico { position: absolute; top: -26px; left: 14px; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: #17130a; display: flex; align-items: center; justify-content: center; }
.support-card h3 { font-size: 24px; font-weight: 700; color: #fff; }
.support-card p { color: var(--text-2); margin: 12px 0 22px; }

/* faq */
.faq-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 50px; }
.faq-contact p { margin: 0 0 12px; color: var(--text-2); text-align: center; }
.faq-contact div { display: flex; align-items: center; gap: 18px; }
.online { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); font-size: 18px; }
.online i { width: 14px; height: 14px; border-radius: 50%; background: var(--ok); }
.faq { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); background: var(--bg); }
.faq details:last-child { border-bottom: 0; }
.faq details[open] { background: var(--card); }
.faq summary { list-style: none; display: flex; align-items: center; gap: 18px; padding: 26px 60px 26px 24px; font: 700 21px/1.3 var(--head); color: #fff; cursor: pointer; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e9e9f1' stroke-width='2'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .q { flex: none; width: 34px; height: 34px; border-radius: 8px; background: #5c4c12; color: var(--yellow); display: flex; align-items: center; justify-content: center; font: 800 18px/1 var(--head); }
.faq details[open] .q { background: var(--yellow); color: #17130a; }
.faq details p { margin: -10px 24px 26px 76px; color: var(--text-2); font-size: 18px; }

/* resources */
.res { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 24px; align-items: stretch; }
.res-copy .lede { font-size: 19px; }
.res-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-decoration: none; min-height: 240px; transition: background .15s, transform .15s; }
.res-card:hover { background: var(--card); transform: translateY(-3px); }
.res-card b { font-size: 20px; color: #fff; }

/* free CTA */
.cta { position: relative; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg-2); }
.cta-copy { padding: 70px 50px; position: relative; z-index: 1; }
.cta-kicker { font: 700 22px/1 var(--head); color: var(--yellow); margin: 0 0 16px; }
.cta h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; color: #fff; }
.cta-copy > p:not(.cta-kicker) { color: var(--text-2); font-size: 19px; margin: 18px 0 30px; max-width: 440px; }
.cta-art { background: url("/img/art-minecraft-key.webp") center / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }

/* footer */
.ftr { background: var(--bg-2); padding: 70px 0 40px; margin-top: 40px; }
.totop { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 600 19px/1 var(--head); margin-bottom: 70px; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 50px 30px; }
.ftr-brand { grid-row: span 2; }
.ftr-brand p { color: var(--text-2); font-size: 16px; max-width: 380px; margin: 18px 0 0; }
.socials { display: flex; gap: 16px; margin-top: 26px; }
.socials a { color: #fff; opacity: .85; }
.socials a:hover { opacity: 1; color: var(--yellow); }
.ftr-col { display: flex; flex-direction: column; gap: 12px; }
.ftr-col h4 { font: 600 20px/1.2 var(--body); color: #fff; margin-bottom: 6px; }
.ftr-col a { color: var(--muted); text-decoration: none; font-size: 17px; }
.ftr-col a:hover { color: #fff; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 70px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 15.5px; }

/* ── responsive ────────────────────────────────────────── */
@media (max-width: 1240px) {
  .nav-btn { font-size: 16px; padding: 12px 8px; }
  .hdr-link { display: none; }
  .prod-grid { gap: 40px 24px; }
  .panel-split { grid-template-columns: 1fr; }
  .panel-right { border-left: 0; border-top: 1px solid var(--line); padding: 50px 0 60px 20px; }
}
@media (max-width: 1040px) {
  .hero::after { background: linear-gradient(180deg, rgba(21,21,28,.55) 0%, rgba(21,21,28,.82) 45%, var(--bg) 100%); }
  .hnav { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 10px 20px 20px; max-height: calc(100vh - 72px); overflow: auto; display: none; }
  .hdr.is-menu .hnav { display: flex; }
  .nav-btn { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .mega, .nav-item.is-open .mega { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 6px 0 12px; min-width: 0; flex-direction: column; gap: 8px; background: transparent; }
  .mega { display: none; }
  .nav-item.is-open .mega { display: flex; }
  .burger { display: block; }
  .hdr-right { margin-left: auto; }
  .hdr.is-menu .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .hdr.is-menu .burger span:nth-child(2) { opacity: 0; }
  .hdr.is-menu .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-reel { height: 230px; order: -1; }
  .prod-grid, .perks { grid-template-columns: 1fr 1fr; }
  .nums { grid-template-columns: 1fr 1fr; }
  .res { grid-template-columns: 1fr 1fr 1fr; }
  .res-copy { grid-column: 1 / -1; }
  .ftr-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .topbar { font-size: 14px; padding: 11px 16px; }
  .wrap { padding: 0 16px; }
  .brand { font-size: 19px; }
  .hdr-right .btn { display: none; }
  .hero { padding: 20px 0 50px; }
  .hero-kicker { font-size: 19px; }
  .checks li { font-size: 17px; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas-row { width: 100%; }
  .hero-ctas-row .btn { flex: 1 1 140px; width: auto; justify-content: center; text-align: center; white-space: nowrap; padding-left: 12px; padding-right: 12px; }
  .sec { padding: 56px 0; }
  .lede { font-size: 17.5px; }
  .prod-grid, .perks, .support-grid { grid-template-columns: 1fr; gap: 50px; }
  .prod h3 { font-size: 28px; }
  .panel-left { padding: 56px 16px; }
  .feat { font-size: 17px; padding: 18px; }
  .panel-right { padding: 30px 0 40px 16px; }
  .mock { min-height: 420px; }
  .mock-side { width: 56px; }
  .mock-stats { gap: 14px; }
  .faq summary { font-size: 18px; padding: 20px 50px 20px 16px; gap: 14px; }
  .faq summary::after { right: 16px; }
  .faq details p { margin: -6px 16px 22px 16px; font-size: 16.5px; }
  .res { grid-template-columns: 1fr; }
  .res-card { min-height: 150px; }
  .cta { grid-template-columns: 1fr; }
  .cta-copy { padding: 44px 24px; }
  .cta-art { height: 200px; order: -1; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .num b { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* rotating update bar */
.topbar-text { transition: opacity .25s ease, transform .25s ease; min-width: 0; }
.topbar-text.is-out { opacity: 0; transform: translateY(-4px); }
.topbar-dots { display: inline-flex; gap: 6px; margin-left: auto; padding-left: 14px; }
.topbar-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--text-2); opacity: .35; cursor: pointer; }
.topbar-dots button.is-on { opacity: .95; background: var(--yellow); }
@media (max-width: 700px) { .topbar-dots { display: none; } }

.topbar-pill { transition: opacity .25s ease; }
.topbar-pill.is-out { opacity: 0; }
.topbar-pill[hidden] { display: none; }
.topbar-pill[data-tone="gold"] { background: #f5c518; color: #17130a; }
.topbar-pill[data-tone="green"] { background: #16a34a; }
.topbar-pill[data-tone="red"] { background: #dc2626; }

/* maintenance notices: fixed, under the menu, never rotating */
.maint-stack { position: relative; z-index: 40; }
.maint { --m-bg: rgba(251,146,60,.13); --m-line: #fb923c; --m-text: #fde2c8; background: var(--m-bg); border-bottom: 1px solid rgba(255,255,255,.06); border-left: 0; }
.maint[data-tone="gold"]  { --m-bg: rgba(245,197,24,.12); --m-line: #f5c518; --m-text: #fbe7a1; }
.maint[data-tone="blue"]  { --m-bg: rgba(96,165,250,.13); --m-line: #60a5fa; --m-text: #d6e7ff; }
.maint[data-tone="green"] { --m-bg: rgba(74,222,128,.12); --m-line: #4ade80; --m-text: #d3f9e0; }
.maint[data-tone="red"]   { --m-bg: rgba(248,113,113,.15); --m-line: #f87171; --m-text: #ffdcdc; }
.maint-inner { max-width: 1400px; margin: 0 auto; padding: 13px 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--m-text); font: 500 15.5px/1.45 var(--body, system-ui); box-shadow: inset 4px 0 0 var(--m-line); }
.maint-ico { color: var(--m-line); flex: none; }
.maint-tag { background: var(--m-line); color: #17130a; font-size: 12.5px; font-weight: 800; letter-spacing: .03em; padding: 3px 8px; border-radius: 6px; }
.maint-msg { flex: 1 1 260px; min-width: 0; overflow-wrap: anywhere; }
.maint-link { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.maint-link:hover { text-decoration: underline; }
@media (max-width: 700px) { .maint-inner { padding: 11px 16px; font-size: 14.5px; } }

/* on /account the header button is Sign Out, and phones keep it (it is the way out) */
@media (max-width: 700px) { #hdr .hdr-right .btn.is-signout { display: inline-flex !important; padding: 9px 12px; font-size: 13px; } }

/* homepage: latest guides (build/build-home-guides.mjs) */
.hg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.hg-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; transition: transform .15s, border-color .15s; }
.hg-card:hover { transform: translateY(-3px); border-color: var(--yellow); }
.hg-card b { font: 700 19px/1.3 var(--head); color: #fff; }
.hg-card span { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.hg-card small { margin-top: auto; color: var(--muted); font-size: 13px; }
.hg-all { text-align: center; margin: 26px 0 0; }
.hg-all a { color: var(--yellow); font-weight: 700; text-decoration: none; }
@media (max-width: 960px) { .hg-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .hg-grid { grid-template-columns: 1fr; } }
