/* PowerSite site styles */
:root {
  --ink: #0b0f1a; --ink-2: #151b2b; --paper: #f5f4ee; --card: #ffffff; --line: #e3e1d8;
  --text: #1b2030; --muted: #5d6475; --accent: #c6ff3d; --accent-ink: #1d2a00; --warn: #ff5a4e;
  --radius: 18px; --shadow: 0 10px 30px rgba(11, 15, 26, .08);
  --head: 'Bricolage Grotesque', system-ui, sans-serif; --body: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--text); background: var(--paper); }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; max-width: 22ch; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }
.wrap { width: min(1140px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 40px); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--muted); margin-bottom: .8em; }
.small { font-size: .86rem; color: var(--muted); }
.hl { color: var(--accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .9em 1.5em; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; border: 2px solid var(--accent);
  transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(198, 255, 61, .35); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #7aa2ff; outline-offset: 3px; }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { box-shadow: none; border-color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 .8em; }
.cta-row.center { justify-content: center; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 15, 26, .92); backdrop-filter: blur(10px); color: #fff; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .55em; font: 800 1.3rem var(--head); text-decoration: none; }
.logo-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--ink); font-size: 1.1rem; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; opacity: .85; font-weight: 500; }
.nav a:not(.btn):hover { opacity: 1; color: var(--accent); }
.menu-btn { display: none; background: none; color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: .45em 1em; font: 600 .9rem var(--body); cursor: pointer; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 80% -10%, #22305a 0%, transparent 60%), var(--ink); color: #fff; padding: 72px 0 88px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--accent); }
.hero .lead { font-size: 1.12rem; color: #c9cfdd; max-width: 56ch; }
.hero .small { color: #98a0b3; }

/* before / after illustration */
.ba { margin: 0; }
.ba-tabs { display: inline-flex; background: var(--ink-2); border-radius: 999px; padding: 4px; margin-bottom: 14px; }
.ba-tab { background: none; border: 0; color: #c9cfdd; font: 600 .9rem var(--body); padding: .5em 1.2em; border-radius: 999px; cursor: pointer; }
.ba-tab[aria-selected="true"] { background: var(--accent); color: var(--ink); }
.ba-stage { position: relative; height: 360px; }
.mock { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); transition: opacity .6s ease, transform .6s ease; }
.m-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #e9e9e9; color: #555; font: 12px/1 var(--body); }
.m-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c8c8c8; }
.m-bar span { margin-left: 8px; background: #fff; padding: 4px 10px; border-radius: 6px; flex: 1; }
.old { background: #fdfbe8; font-family: 'Times New Roman', serif; color: #2b2bd1; }
.old .m-bar span { color: #c0392b; }
.old-head { background: linear-gradient(#3a6fd8, #1d3f9a); color: #ff0; font-weight: 700; padding: 12px; font-size: 20px; text-align: center; }
.old-head small { display: block; color: #fff; font-size: 12px; font-style: italic; }
.old-marquee { background: #c0392b; color: #fff; font-size: 12px; padding: 4px; white-space: nowrap; animation: slide 9s linear infinite; }
@keyframes slide { from { transform: translateX(60%); } to { transform: translateX(-60%); } }
.old-body { display: flex; gap: 10px; padding: 12px; }
.old-side { display: flex; flex-direction: column; gap: 6px; font-size: 13px; width: 30%; }
.old-main { flex: 1; }
.old-main b, .new-hero b { display: block; height: 9px; background: #bbb; margin-bottom: 8px; border-radius: 2px; }
.old-main b.short, .new-hero b.short { width: 60%; }
.old-img { margin-top: 10px; height: 110px; border: 2px dashed #999; display: grid; place-items: center; color: #999; font-size: 12px; }
.new { background: #fff; }
.new-nav { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #eee; }
.new-nav { font: 600 12px var(--body); color: #4a5164; }
.new-nav .new-logo { margin-right: auto; font: 800 14px var(--head); color: var(--ink); }
.new-nav .new-pill { padding: 5px 14px; border-radius: 999px; background: var(--accent); color: var(--ink); }
.new-hero { padding: 26px 18px; background: linear-gradient(135deg, #0f1730, #24366b); }
.new-hero { color: #fff; }
.new-open { display: inline-block; font: 600 11px var(--body); color: var(--accent); margin-bottom: 8px; }
.new-hero strong { display: block; font: 800 20px/1.15 var(--head); max-width: 18ch; }
.new-hero em { display: block; font: 400 12.5px var(--body); color: #c9cfdd; margin: 6px 0 4px; }
.new-btn { display: inline-block; margin: 10px 8px 0 0; padding: 7px 14px; border-radius: 999px; background: var(--accent); color: var(--ink); font: 600 12px var(--body); }
.new-btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .5); }
.new-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 18px; }
.new-cards span { display: grid; place-items: center; font: 600 12.5px var(--body); color: var(--ink); height: 56px; border-radius: 10px; background: #f1f2f6; border: 1px solid #e6e8ee; }
.flags, .wins { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.flags li, .wins li { position: absolute; padding: 6px 12px; border-radius: 999px; font: 600 12.5px var(--body); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); transition: opacity .5s ease, transform .5s ease; }
.flags li { background: var(--warn); color: #fff; }
.flags li::before { content: "✕ "; }
.wins li { background: var(--accent); color: var(--ink); }
.wins li::before { content: "✓ "; }
.f1 { top: 2px; right: -8px; } .f2 { top: 82px; left: -12px; } .f3 { top: 205px; right: -14px; } .f4 { bottom: 14px; left: 18px; }
.w1 { top: 2px; right: -8px; } .w2 { top: 112px; right: -8px; } .w3 { bottom: -14px; right: 10px; }
.ba-stage[data-view="before"] .new, .ba-stage[data-view="after"] .old { opacity: 0; transform: scale(.97); }
.ba-stage[data-view="before"] .wins li, .ba-stage[data-view="after"] .flags li { opacity: 0; transform: translateY(6px); }
.ba figcaption { margin-top: 26px; color: #98a0b3; }

/* sections */
.sec { padding: 88px 0; scroll-margin-top: 68px; }
.sec-alt { background: #ecebe3; }
.sec-dark { background: var(--ink); color: #fff; }
.sec-dark .eyebrow { color: var(--accent); }
.grid { display: grid; gap: 20px; margin-top: 36px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.ico { font-size: 1.6rem; display: block; margin-bottom: 12px; }
.svc.feat { background: var(--ink); color: #fff; border-color: var(--ink); }
.svc.feat p { color: #c9cfdd; }
.svc.feat h3::after { content: "Most asked"; margin-left: 10px; vertical-align: middle; font: 600 .7rem var(--body); text-transform: uppercase; letter-spacing: .08em; background: var(--accent); color: var(--ink); padding: 3px 8px; border-radius: 999px; }
.why h3 { color: var(--accent); }
.why p { color: #c9cfdd; margin: 0; }

.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.steps p { color: var(--muted); margin: 0; }
.num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--ink); font: 800 1.1rem var(--head); margin-bottom: 16px; }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { margin-top: 24px; border-top: 1px solid var(--line); }
summary { cursor: pointer; font: 600 1.08rem var(--head); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

.sec-cta { background: linear-gradient(135deg, #0f1730, #24366b); color: #fff; text-align: center; }
.cta-box h2 { margin: 0 auto .4em; }
.cta-box p { color: #c9cfdd; font-size: 1.1rem; }

.foot { background: var(--ink); color: #98a0b3; padding: 32px 0; font-size: .9rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.small-logo { color: #fff; font-size: 1.05rem; }
.small-logo .logo-mark { width: 26px; height: 26px; font-size: .9rem; border-radius: 8px; }

.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.nf .logo { margin-bottom: 28px; }

/* phone / tablet */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav .btn { margin-top: 14px; }
  .sec { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .g2, .g3, .steps { grid-template-columns: 1fr; }
  .ba-stage { height: 380px; }
  .w2 { display: none; }
  .f1, .w1, .w2 { right: 4px; } .f2 { left: 4px; } .f3 { right: 4px; }
  .btn { width: 100%; }
}
