/* CUSTOMIZEADS — premium, dark + light
   Colours are channel variables (see index.html tailwind config) so every
   utility class follows the active theme. The logo yellow stays fixed. */

:root, [data-theme="dark"] {
  --bg: 10 10 11; --bg2: 19 19 22; --fg: 244 241 234; --mute: 154 154 163; --acc: 255 214 10;
  --err: #FF7A70; --card: 19 19 22; --card-shadow: 0 0 0 rgba(0,0,0,0);
  --g1: #FFE55C; --g2: #FFD60A; --g3: #FFB800;
  --glowA: rgba(255,214,10,.16); --glowB: rgba(53,208,74,.07);
  --link: #8AB4F8; --mock: #17181A; --mock-fg: #E4E6EB; --mock-mute: #A8ABB2; --mock-line: rgba(255,255,255,.1);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: 250 248 242; --bg2: 241 238 228; --fg: 10 10 11; --mute: 93 93 102; --acc: 138 104 0;
  --err: #C5221F; --card: 255 255 255; --card-shadow: 0 18px 40px -26px rgba(10,10,11,.3);
  --g1: #C99400; --g2: #A87400; --g3: #8A5F00;
  --glowA: rgba(255,214,10,.3); --glowB: rgba(53,208,74,.08);
  --link: #1A0DAB; --mock: #FFFFFF; --mock-fg: #1F2328; --mock-mute: #6A6F76; --mock-line: rgba(10,10,11,.1);
  color-scheme: light;
}

html { scroll-behavior: auto; }
body { overflow-x: hidden; transition: background-color .3s, color .3s; }
main > section, footer { overflow-x: clip; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: #FFD60A; color: #0A0A0B; padding: 8px 14px; font-weight: 700; border-radius: 6px; }
.skip-link:focus { left: 8px; }

.disp { font-family: Outfit, system-ui, sans-serif; }
.text-grad { background: linear-gradient(100deg, var(--g1), var(--g2) 55%, var(--g3)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.glow-a { background-image: radial-gradient(ellipse 55% 50% at 82% 30%, var(--glowA), transparent 70%), radial-gradient(ellipse 40% 40% at 8% 90%, var(--glowB), transparent 70%); }
.grid-fade { background-image: linear-gradient(rgb(var(--fg) / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--fg) / .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: Outfit, sans-serif; font-weight: 600; font-size: 13.5px; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow b { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #FFD60A; color: #0A0A0B; font-weight: 700; letter-spacing: .06em; }

/* scroll progress */
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: linear-gradient(90deg, #FFB800, #FFE55C); box-shadow: 0 0 12px rgba(255,214,10,.7); }

/* ---------- buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; font-family: Outfit, sans-serif; font-weight: 600; font-size: 16.5px; padding: 15px 30px; border-radius: 999px; cursor: pointer; transition: transform .2s, box-shadow .25s, background .2s, color .2s; }
.btn--sun { background: #FFD60A; color: #0A0A0B; box-shadow: 0 10px 30px -10px rgba(255,214,10,.65); }
.btn--sun::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.6), transparent); transform: skewX(-20deg); transition: left .6s; }
.btn--sun:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(255,214,10,.85); }
.btn--sun:hover::after { left: 130%; }
.btn--ghost { box-shadow: inset 0 0 0 1.5px rgb(var(--fg) / .3); color: rgb(var(--fg)); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px rgb(var(--acc)); color: rgb(var(--acc)); }
.btn--sm { padding: 10px 22px; font-size: 15px; }
.btn__arrow { width: 16px; height: 10px; position: relative; display: inline-block; transition: transform .2s; }
.btn__arrow::before { content: ""; position: absolute; left: 0; right: 1px; top: 50%; height: 2.5px; background: currentColor; transform: translateY(-50%); border-radius: 2px; }
.btn__arrow::after { content: ""; position: absolute; right: 1px; top: 50%; width: 8px; height: 8px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.nl { font-family: Outfit, sans-serif; font-weight: 500; font-size: 15.5px; color: rgb(var(--fg) / .75); padding: 6px 2px; position: relative; transition: color .2s; }
.nl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #FFD60A; border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nl:hover { color: rgb(var(--fg)); } .nl:hover::after { transform: scaleX(1); }

.nav-glass { position: relative; background: rgb(var(--bg) / .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgb(var(--fg) / .1); }

/* theme toggle */
.tt { position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgb(var(--fg) / .22); color: rgb(var(--fg)); cursor: pointer; transition: border-color .2s, background .2s; }
.tt:hover { border-color: #FFD60A; background: rgb(var(--fg) / .05); }
.tt svg { position: absolute; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s; }
[data-theme="dark"] .tt .i-moon { transform: rotate(90deg) scale(.3); opacity: 0; }
[data-theme="light"] .tt .i-sun { transform: rotate(-90deg) scale(.3); opacity: 0; }

/* ---------- hero animation ---------- */
.ring { animation: spin 46s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.float { animation: float 6s ease-in-out infinite; }
.float2 { animation: float 7.5s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translateY(-10px); } }

.scene { position: relative; height: 500px; max-width: 540px; margin: 0 auto; }
.mock { background: var(--mock); color: var(--mock-fg); border: 1px solid var(--mock-line); border-radius: 22px; box-shadow: 0 30px 70px -28px rgba(0,0,0,.55), 0 0 0 1px rgba(255,214,10,.06); }
.mock-mute { color: var(--mock-mute); }
.mock-fg { color: var(--mock-fg); }
.skel { height: 9px; border-radius: 6px; background: var(--mock-line); }
.type-reveal { display: inline-block; clip-path: inset(0 100% 0 0); animation: typing 9s infinite; }
@keyframes typing { 0% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18); } 24% { clip-path: inset(0 0 0 0); } 93% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: #4285F4; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ad-in { opacity: 0; transform: translateY(12px); animation: adin 9s infinite; }
@keyframes adin { 0%, 24% { opacity: 0; transform: translateY(12px); } 30%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(12px); } }
.shimmer { background: linear-gradient(115deg, #FFD60A 0 30%, #FFB800 30% 55%, #0064E0 55% 80%, #FFE55C 80%); background-size: 200% 100%; animation: sh 8s ease-in-out infinite alternate; }
@keyframes sh { to { background-position: 100% 0; } }
.cta-pulse { animation: cta 2.2s ease-in-out infinite; }
@keyframes cta { 0%, 100% { box-shadow: 0 0 0 0 rgba(0,100,224,.45); } 50% { box-shadow: 0 0 0 9px rgba(0,100,224,0); } }
.pop-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: #FFD60A; color: #0A0A0B; font-family: Outfit, sans-serif; font-weight: 600; font-size: 14px; box-shadow: 0 14px 30px -10px rgba(255,214,10,.7); animation: popchip 6s ease-in-out infinite; animation-delay: var(--d, 0s); opacity: 0; }
@keyframes popchip { 0% { opacity: 0; transform: translateY(14px) scale(.85); } 8%, 60% { opacity: 1; transform: none; } 70%, 100% { opacity: 0; transform: translateY(-10px); } }
.heart { animation: beat 1.6s ease-in-out infinite; transform-origin: center; }
@keyframes beat { 0%, 100% { transform: scale(1); } 20% { transform: scale(1.25); } 40% { transform: scale(1); } }

.run-on { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; border: 1px solid rgb(var(--fg) / .18); background: rgb(var(--fg) / .04); font-family: Outfit, sans-serif; font-weight: 600; font-size: 15px; }

/* ---------- plan builder ---------- */
.cfg { position: relative; background: rgb(var(--card)); border: 1px solid rgba(255,214,10,.45); border-radius: 26px; box-shadow: 0 30px 80px -34px rgba(255,214,10,.35), var(--card-shadow); }
.cfg__lbl { font-family: Outfit, sans-serif; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgb(var(--mute)); }
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: Outfit, sans-serif; font-weight: 500; font-size: 15px; padding: 8px 15px; border-radius: 999px; border: 1px solid rgb(var(--fg) / .22); color: rgb(var(--fg) / .85); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: rgb(var(--acc)); }
.chip[aria-pressed="true"] { background: #FFD60A; border-color: #FFD60A; color: #0A0A0B; font-weight: 600; box-shadow: 0 6px 18px -6px rgba(255,214,10,.7); }
.bar { height: 8px; border-radius: 999px; background: rgb(var(--fg) / .1); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #FFB800, #FFE55C); transition: width .7s cubic-bezier(.2,.8,.2,1); }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #23A83A; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #35D04A; box-shadow: 0 0 10px #35D04A; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- marquee ---------- */
.marq { background: #FFD60A; color: #0A0A0B; overflow: hidden; border-block: 1px solid #b89800; }
.marq__track { display: flex; width: max-content; animation: marq 36s linear infinite; }
.marq:hover .marq__track { animation-play-state: paused; }
.marq__item { display: inline-flex; align-items: center; gap: 26px; padding: 15px 13px; font-family: Outfit, sans-serif; font-weight: 700; font-size: 24px; letter-spacing: -.01em; white-space: nowrap; }
.marq__item::after { content: ""; width: 14px; height: 14px; background: #0A0A0B; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- platform panels ---------- */
.card { position: relative; background: rgb(var(--card)); border: 1px solid rgb(var(--fg) / .12); border-radius: 26px; overflow: hidden; box-shadow: var(--card-shadow); transition: border-color .3s, transform .3s cubic-bezier(.2,.8,.2,1); }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,214,10,.16), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: rgba(255,214,10,.6); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card[data-reveal].is-visible { transition: opacity .7s ease var(--reveal-delay, 0ms), transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.tag { display: inline-block; font-size: 13px; font-weight: 500; padding: 5px 13px; border-radius: 999px; border: 1px solid rgb(var(--fg) / .16); color: rgb(var(--fg) / .78); }
.fn { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 12px; font-size: 14px; }
.fn__bar { height: 22px; border-radius: 8px; background: rgb(var(--fg) / .07); overflow: hidden; }
.fn__bar > i { display: block; height: 100%; width: 0; border-radius: 8px; animation: fnfill 5s cubic-bezier(.2,.8,.2,1) infinite; animation-delay: var(--d, 0s); }
@keyframes fnfill { 0% { width: 0; } 30%, 85% { width: var(--w); } 100% { width: 0; } }
.line-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 5s ease-in-out infinite; }
@keyframes draw { 0% { stroke-dashoffset: 1; } 55%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }

/* ---------- phone service cards (liquid fill rises on hover) ---------- */
.phone { display: flex; flex-direction: column; --liq: 66 133 244; }
.phone__body { position: relative; flex: 1; overflow: hidden; background: rgb(var(--card)); border: 2px solid rgb(var(--fg) / .28); border-radius: 38px; box-shadow: var(--card-shadow); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .3s; }
.phone__body::before { content: ""; position: absolute; left: -8%; right: -8%; bottom: 0; height: var(--fill, 20%); background: linear-gradient(180deg, rgb(var(--liq) / .34), rgb(var(--liq) / .16)); border-radius: 50% 50% 0 0 / 26px 26px 0 0; transition: height .7s cubic-bezier(.2,.8,.2,1); }
.phone__body::after { content: ""; position: absolute; top: 12px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 999px; background: rgb(var(--fg) / .88); }
.phone__body > * { position: relative; z-index: 1; }
.phone:hover .phone__body { transform: translateY(-8px); border-color: rgb(var(--liq)); box-shadow: 0 30px 50px -28px rgb(var(--liq) / .6); }
.phone:hover .phone__body::before { height: 62%; }
.phone[data-reveal].is-visible .phone__body { transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .3s; }
.phone__btn { position: absolute; right: -4px; top: 92px; width: 4px; height: 44px; border-radius: 3px; background: rgb(var(--fg) / .28); }
.icon-tile { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: rgb(var(--fg) / .06); border: 1px solid rgb(var(--fg) / .14); }

/* ---------- process ---------- */
.stroke-num { font-family: Outfit, sans-serif; font-weight: 800; line-height: .85; color: transparent; -webkit-text-stroke: 2px rgb(var(--acc) / .8); }
.step { border-top: 1px solid rgb(var(--fg) / .12); }

/* ---------- standards (fixed yellow band, both themes) ---------- */
.sun-bg { background: #FFD60A; color: #0A0A0B; background-image: radial-gradient(ellipse 50% 60% at 90% 0%, rgba(255,255,255,.4), transparent 70%); }

/* ---------- logo tile ---------- */
.logo-tile { display: inline-block; }
.logo-tile img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 40px rgba(255,214,10,.22)); }

/* ---------- testimonial ---------- */
.quote { position: relative; background: rgb(var(--card)); border: 1px solid rgb(var(--fg) / .12); border-radius: 26px; box-shadow: var(--card-shadow); }
.quote::before { content: "“"; position: absolute; right: 26px; top: 6px; font-family: Outfit, sans-serif; font-weight: 800; font-size: 96px; line-height: 1; color: #FFD60A; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid rgb(var(--fg) / .12); }
.faq-item:first-child { border-top: 1px solid rgb(var(--fg) / .12); }
.faq-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 24px 0; cursor: pointer; }
.faq-trigger:hover .faq-q { color: rgb(var(--acc)); }
.faq-x { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1.5px solid rgb(var(--fg) / .3); transition: background .25s, border-color .25s; }
.faq-x::before, .faq-x::after { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; margin-top: -1px; background: rgb(var(--fg)); transition: transform .3s, background .25s; }
.faq-x::after { transform: rotate(90deg); }
.faq-item[data-state="open"] .faq-x { background: #FFD60A; border-color: #FFD60A; }
.faq-item[data-state="open"] .faq-x::before, .faq-item[data-state="open"] .faq-x::after { background: #0A0A0B; }
.faq-item[data-state="open"] .faq-x::after { transform: rotate(0); }
.faq-item[data-state="open"] .faq-q { color: rgb(var(--acc)); }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-body > * { overflow: hidden; min-height: 0; }
.faq-item[data-state="open"] .faq-body { grid-template-rows: 1fr; }

/* ---------- form ---------- */
.fieldbox { display: block; background: rgb(var(--fg) / .04); border: 1px solid rgb(var(--fg) / .18); border-radius: 16px; padding: 10px 16px 7px; transition: border-color .2s, background .2s, box-shadow .2s; }
.fieldbox:focus-within { border-color: #FFD60A; box-shadow: 0 0 0 4px rgba(255,214,10,.16); }
.lbl { display: block; font-family: Outfit, sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgb(var(--acc)); }
.field { width: 100%; background: transparent; border: 0; outline: 0; font-size: 17.5px; padding: 5px 0; color: rgb(var(--fg)); font-family: "DM Sans", sans-serif; }
.field option { color: #0A0A0B; background: #fff; }
select.field { appearance: none; -webkit-appearance: none; cursor: pointer; }
.fieldbox--sel { position: relative; }
.fieldbox--sel::after { content: ""; position: absolute; right: 18px; bottom: 20px; width: 8px; height: 8px; border-right: 2px solid rgb(var(--acc)); border-bottom: 2px solid rgb(var(--acc)); transform: rotate(45deg); pointer-events: none; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: #FFD60A; color: #0A0A0B; border-radius: 999px; padding: 13px 26px; font-family: Outfit, sans-serif; font-weight: 600; font-size: 16px; max-width: calc(100vw - 32px); transition: opacity .3s, transform .3s; box-shadow: 0 16px 40px -10px rgba(255,214,10,.6); }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
.toast__msg::before { content: "✓ "; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .ring, .float, .float2, .marq__track, .live::before, .type-reveal, .caret, .shimmer, .cta-pulse, .pop-chip, .heart, .fn__bar > i, .line-draw { animation: none; }
  .type-reveal { clip-path: none; } .ad-in { animation: none; opacity: 1; transform: none; } .fn__bar > i { width: var(--w); } .line-draw { stroke-dashoffset: 0; } .pop-chip { opacity: 1; position: static; }
}

/* ---------- real logo lockup ---------- */
.brandpill { display: inline-flex; align-items: center; gap: 8px; }
.logo-img { display: block; }
.logo-img.ll { display: none; }
[data-theme="light"] .logo-img.ld { display: none; }
[data-theme="light"] .logo-img.ll { display: block; }
[data-theme="light"] .logo-tile img { filter: drop-shadow(0 18px 40px rgba(180,140,0,.25)); }
.force-dark .logo-img.ld { display: block !important; }
.force-dark .logo-img.ll { display: none !important; }

/* ---------- form validation ---------- */
.fw { min-width: 0; }
.err { margin: 7px 4px 0; font-size: 13.5px; line-height: 1.4; font-weight: 500; color: var(--err); }
.fieldbox[data-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 3px color-mix(in srgb, var(--err) 18%, transparent); }
.field::placeholder { color: rgb(var(--mute) / .7); }
.btn:disabled { opacity: .7; cursor: progress; }
.toast--err { background: #C5221F; color: #fff; box-shadow: 0 16px 40px -10px rgba(197,34,31,.55); }
.toast--err .toast__msg::before { content: "! "; }
