@font-face { font-family: "Kanit"; src: url("fonts/Kanit-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Kanit"; src: url("fonts/Kanit-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Prompt"; src: url("fonts/Prompt-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Prompt"; src: url("fonts/Prompt-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

/* SideKickr brand: gunmetal + ember glow + HUD corner brackets (from the Cyber Wolf R4 artwork) */
:root {
  --void: #08090B; --gun: #111317; --plate: #181B21; --plate-2: #20242C; --line: rgba(255, 255, 255, .07);
  --steel: #9AA3AE; --ink: #EEF0F3; --ember: #FF8A00; --amber: #FFB020; --glow: 0 0 24px rgba(255, 138, 0, .45);
  --ok: #3DDC97; --bad: #FF5A5F; --paper: #F6F2EA; --paper-ink: #16130E;
  --radius: 14px; --wrap: 1180px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before { animation: none !important; transition: none !important; } }
body { margin: 0; color: var(--ink); background: radial-gradient(1200px 640px at 78% -8%, rgba(255, 138, 0, .13), transparent 60%), var(--void);
  font: 300 17px/1.7 "Prompt", "Leelawadee UI", "Noto Sans Thai", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { font-family: "Kanit", "Prompt", sans-serif; font-weight: 800; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(30px, 4.4vw, 50px); }
h3 { font-size: 22px; font-weight: 700; }
p { margin: 0; }
b, strong { font-weight: 600; }
.muted { color: var(--steel); }
.ember { color: var(--ember); }

/* HUD plate */
.hud { position: relative; background: linear-gradient(180deg, rgba(32, 36, 44, .92), rgba(20, 23, 28, .94)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; }
.hud::before, .hud::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--ember); pointer-events: none; }
.hud::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: var(--radius); }
.hud::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: var(--radius); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 12px;
  font: 600 16px/1 "Prompt", sans-serif; border: 1px solid rgba(255,255,255,.12); color: var(--ink); background: var(--plate-2);
  text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.go { background: linear-gradient(180deg, #FFA43A, var(--ember)); color: #1A0E00; border: 0; box-shadow: var(--glow); }
.btn.go:hover { box-shadow: 0 0 34px rgba(255, 138, 0, .6); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12);
  font-size: 14px; color: var(--steel); background: rgba(255,255,255,.02); }
.name { font: 700 13px/1 "Kanit", sans-serif; color: var(--amber); margin-bottom: 8px; letter-spacing: .02em; }
.bubble { background: var(--paper); color: var(--paper-ink); border-radius: 4px 16px 16px 16px; padding: 12px 15px; font-size: 15px; line-height: 1.55; }
.bubble b { color: #B45F00; }

/* top bar */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(8, 9, 11, .82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.top .logo img { height: 50px; width: auto; }
.top nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--steel); }
.top nav a:hover { color: var(--ink); }
.top .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (max-width: 820px) { .top nav { display: none; } .top .btn { margin-left: auto; } .top .logo img { height: 40px; } }

/* hero */
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; align-items: center; min-height: 640px; padding-block: 30px 10px; }
.hero h1 { font-size: clamp(40px, 5.8vw, 70px); }
.hero h1 em { font-style: normal; color: var(--ember); text-shadow: var(--glow); white-space: nowrap; font-size: .78em; }
.hero .lead { font-size: 20px; color: #C9CED6; margin-top: 18px; max-width: 32ch; }
.pains { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.pains .chip { color: #FFC9CA; font-size: 15px; border-color: rgba(255, 90, 95, .35); text-decoration: line-through; text-decoration-color: var(--bad); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine { margin-top: 12px; font-size: 14px; color: var(--steel); }
.stage { position: relative; height: 600px; }
.stage .wolf { position: absolute; right: 0; bottom: 0; height: 600px; width: auto; filter: drop-shadow(0 0 40px rgba(255,138,0,.35));
  animation: breathe 5s ease-in-out infinite; transform-origin: 60% 100%; }
@keyframes breathe { 50% { transform: translateY(-6px); filter: drop-shadow(0 0 54px rgba(255,138,0,.5)); } }
.stage .floor { position: absolute; left: 0; right: 0; bottom: 0; height: 130px; background: radial-gradient(50% 60% at 62% 100%, rgba(255,138,0,.28), transparent 70%); }
.stage .say { position: absolute; left: -30px; top: 250px; width: 270px; z-index: 2; }
.stage .say .bubble { border-radius: 16px 16px 4px 16px; }
.stage .stat { position: absolute; right: 0; top: 30px; width: 230px; padding: 16px 18px; }
.stage .stat b { display: block; font: 800 40px/1 "Kanit", sans-serif; color: var(--ember); }
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .stage { height: 440px; }
  .stage .wolf { height: 440px; right: 50%; transform: translateX(50%); animation: none; }
  .stage .say { left: 0; top: auto; bottom: 18px; width: min(270px, 70%); }
  .stage .stat { top: 0; width: 190px; }
}

/* sections */
section { padding: 84px 0; }
.kicker { font: 700 14px/1 "Kanit", sans-serif; color: var(--amber); margin-bottom: 14px; letter-spacing: .03em; }
.sub { color: var(--steel); font-size: 18px; max-width: 60ch; margin-top: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.grid3 .big { font: 800 46px/1 "Kanit", sans-serif; color: var(--ember); }
.grid3 h3 { margin: 12px 0 8px; }
.grid3 p { color: var(--steel); font-size: 16px; }
.pain .big { color: var(--bad); white-space: nowrap; font-size: clamp(36px, 4vw, 46px); }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } }
.extras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 26px; margin-top: 34px; }
.extras div { border-top: 2px solid var(--ember); padding-top: 12px; font-size: 15px; color: var(--steel); }
.extras b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
@media (max-width: 900px) { .extras { grid-template-columns: 1fr 1fr; } }

/* quest (how it works: a real sequence) */
.quest { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: q; }
.quest li { counter-increment: q; }
.quest li .hud { height: 100%; padding-top: 64px; }
.quest li .hud::marker { content: none; }
.quest li .n { position: absolute; top: 18px; left: 22px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  font: 800 17px/1 "Kanit", sans-serif; background: var(--ember); color: #1A0E00; box-shadow: var(--glow); }
.quest li h3 { font-size: 19px; margin-bottom: 6px; }
.quest li p { color: var(--steel); font-size: 15px; }
@media (max-width: 900px) { .quest { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .quest { grid-template-columns: 1fr; } }

/* R4 at work (demo) */
.demo { display: grid; grid-template-columns: 1.4fr .6fr; gap: 24px; margin-top: 40px; align-items: center; }
.demo .shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.says { display: grid; gap: 12px; }
.say-row { display: grid; grid-template-columns: 48px 1fr; gap: 10px; align-items: start; }
.say-row img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ember); box-shadow: var(--glow); }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } }

/* example */
.example { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: center; margin-top: 40px; }
.phone { width: 100%; max-width: 300px; aspect-ratio: 9 / 19.5; border-radius: 40px; padding: 10px; background: linear-gradient(160deg, #2B2F37, #0E1014);
  box-shadow: 0 30px 80px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.07); }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 31px; background: #000; }
.ba { display: grid; gap: 14px; }
.ba .row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.ba .cell { padding: 14px 18px; }
.ba .cell small { display: block; color: var(--steel); font-size: 13px; }
.ba .cell b { font: 800 28px/1.15 "Kanit", sans-serif; }
.ba .cell.after b { color: var(--ember); }
.ba .arrow { color: var(--ember); font: 800 24px/1 "Kanit", sans-serif; }
@media (max-width: 900px) { .example { grid-template-columns: 1fr; } .example .phone { justify-self: center; } }
@media (max-width: 520px) { .ba .row { grid-template-columns: 1fr; } .ba .arrow { transform: rotate(90deg); justify-self: center; } }

/* calculator */
.calc { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.calc label { color: var(--steel); }
.calc output.n { font: 800 64px/1 "Kanit", sans-serif; display: block; margin: 8px 0 12px; }
.calc input[type=range] { width: 100%; accent-color: var(--ember); height: 34px; }
.calc .save { display: grid; gap: 14px; }
.calc .save div { border-left: 3px solid var(--ember); padding-left: 16px; }
.calc .save b { font: 800 40px/1.1 "Kanit", sans-serif; color: var(--ember); display: block; }
.calc .save span { color: var(--steel); font-size: 15px; }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }

/* compare */
.tablewrap { overflow-x: auto; margin-top: 36px; }
table.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.cmp th, .cmp td { padding: 15px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font: 700 17px/1.3 "Kanit", sans-serif; color: var(--steel); }
.cmp td.us, .cmp th.us { background: rgba(255, 138, 0, .09); color: var(--ink); font-weight: 600; }
.cmp thead th.us { color: var(--ember); border-top: 2px solid var(--ember); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.best { border-color: rgba(255, 138, 0, .55); box-shadow: 0 0 0 1px rgba(255,138,0,.25), 0 20px 60px rgba(255,138,0,.12); }
.plan .tag { position: absolute; top: -13px; right: 22px; background: var(--ember); color: #1A0E00; font: 700 13px/1 "Kanit"; padding: 6px 12px; border-radius: 999px; }
.plan .price { margin: 14px 0 4px; font: 800 52px/1 "Kanit", sans-serif; }
.plan .price small { font: 600 16px/1 "Prompt", sans-serif; color: var(--steel); margin-left: 4px; }
.plan .per { color: var(--amber); font-weight: 600; }
.plan ul { padding-left: 20px; margin: 16px 0 22px; font-size: 15.5px; flex: 1; color: #C9CED6; }
.plan li { margin: 6px 0; }
.plan .alt { font-size: 14px; color: var(--steel); margin-top: 10px; }
.trial { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.trial b { font: 800 24px/1.2 "Kanit", sans-serif; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

.cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* faq */
.faq { margin-top: 30px; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 800 26px/1 "Kanit", sans-serif; color: var(--ember); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--steel); max-width: 70ch; }
.faq a { color: var(--amber); }

/* final */
.final .hud { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 34px; overflow: hidden; }
.final h2 { max-width: 18ch; }
.final img { height: 260px; width: auto; margin: -34px -10px -34px 0; filter: drop-shadow(0 0 30px rgba(255,138,0,.4)); }
@media (max-width: 760px) { .final .hud { grid-template-columns: 1fr; } .final img { height: 200px; margin: 0 auto -34px; } }
footer { border-top: 1px solid var(--line); padding: 26px 0 calc(26px + env(safe-area-inset-bottom, 0px)); color: var(--steel); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; }

/* ================= cyber background (owner's spec) + motion that rewards staying ================= */
body {
  background-color: #09090b;
  background-image:
    radial-gradient(circle at 75% 35%, rgba(249, 115, 22, 0.16) 0%, transparent 50%),
    linear-gradient(to right, rgba(249, 115, 22, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(249, 115, 22, 0.06) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  background-position: center center;
  background-attachment: fixed;
}
.top { background: rgba(9, 9, 11, .78); }

/* R4 in the hero: follows the cursor a little, eyes glow, a scan line passes over */
.wolfwrap { position: absolute; right: 0; bottom: 0; height: 600px; aspect-ratio: 525 / 700; transition: transform .25s ease-out; will-change: transform; }
.wolfwrap .wolf { position: static; height: 100%; animation: breathe 5s ease-in-out infinite; }
.wolfwrap .eyes { position: absolute; left: 44%; top: 15.5%; width: 26%; height: 5%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 170, 40, .75), rgba(255, 120, 0, .25) 60%, transparent);
  mix-blend-mode: screen; animation: eyes 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes eyes { 50% { opacity: .35; transform: scale(.9); } }
.wolfwrap .scan { position: absolute; inset: 0; overflow: hidden; pointer-events: none; -webkit-mask: url(/static/site/img/wolf.png) center/contain no-repeat;
  mask: url(/static/site/img/wolf.png) center/contain no-repeat; }
.wolfwrap .scan::after { content: ""; position: absolute; left: 0; right: 0; height: 18%; top: -20%;
  background: linear-gradient(180deg, transparent, rgba(255, 150, 30, .28), transparent); animation: scan 4.5s ease-in-out infinite; }
@keyframes scan { 0% { top: -20%; } 60%, 100% { top: 110%; } }
@media (max-width: 920px) { .wolfwrap { height: 440px; right: 50%; transform: translateX(50%); } .wolfwrap .wolf { animation: none; } }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #B45F00; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: .25; transform: translateY(-3px); } }

/* HUD plates draw their corner brackets when they scroll into view (one reveal style for the whole page) */
.js .hud.rv::before, .js .hud.rv::after { width: 0; height: 0; transition: width .5s ease .1s, height .5s ease .1s; }
.js .hud.rv { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .hud.rv.in { opacity: 1; transform: none; }
.js .hud.rv.in::before, .js .hud.rv.in::after { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .js .hud.rv { opacity: 1; transform: none; } .js .hud.rv::before, .js .hud.rv::after { width: 18px; height: 18px; } }

/* stat ticker under the hero */
.ticker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-block: 1px solid var(--line); background: rgba(9, 9, 11, .6); }
.ticker div { padding: 18px 20px; border-left: 1px solid var(--line); }
.ticker div:first-child { border-left: 0; }
.ticker b { display: block; font: 800 34px/1 "Kanit", sans-serif; color: var(--ember); }
.ticker span { color: var(--steel); font-size: 14px; }
@media (max-width: 760px) { .ticker { grid-template-columns: 1fr 1fr; } .ticker div:nth-child(3) { border-left: 0; } }

/* try R4 now */
.try { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; margin-top: 36px; align-items: stretch; }
.try .cats2 { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 16px; }
.try .cats2 button { font: 600 14px/1.2 "Prompt"; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.02); color: var(--steel); cursor: pointer; min-height: 40px; }
.try .cats2 button[aria-pressed="true"] { border-color: var(--ember); color: var(--ink); background: rgba(255,138,0,.12); }
.try input { width: 100%; min-height: 54px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: #0B0C0F;
  color: var(--ink); font: 300 17px/1.4 "Prompt", sans-serif; }
.try input:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(255,138,0,.18); }
.try .samples { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.try .samples button { font: 300 13px/1.2 "Prompt"; padding: 6px 10px; border-radius: 8px; border: 1px dashed rgba(255,255,255,.18); background: none; color: var(--steel); cursor: pointer; }
.try .screen { display: flex; flex-direction: column; gap: 12px; min-height: 360px; }
.try .feed { display: grid; gap: 10px; align-content: start; flex: 1; }
.try .r4row { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: start; }
.try .r4row img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ember); box-shadow: var(--glow); }
.try .hookcard { background: #0B0C0F; border: 1px solid rgba(255,138,0,.35); border-radius: 12px; padding: 12px 14px; font-size: 16px; }
.try .hookcard b { color: var(--amber); margin-right: 8px; font: 800 15px/1 "Kanit"; }
.try .me { justify-self: end; background: var(--ember); color: #1A0E00; padding: 8px 14px; border-radius: 14px 14px 4px 14px; max-width: 85%; }
@media (max-width: 900px) { .try { grid-template-columns: 1fr; } }

/* viral formula explorer */
.fx { display: grid; grid-template-columns: 260px 1fr; gap: 18px; margin-top: 36px; }
.fx .tabs { display: grid; gap: 6px; align-content: start; }
.fx .tabs button { text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02);
  color: var(--steel); font: 600 15px/1.2 "Prompt"; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; }
.fx .tabs button small { color: var(--steel); font-weight: 300; }
.fx .tabs button[aria-selected="true"] { border-color: var(--ember); color: var(--ink); background: rgba(255,138,0,.1); }
.fx .panel h3 { font-size: 28px; }
.fx .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.fx .kpis div { background: #0B0C0F; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.fx .kpis b { display: block; font: 800 32px/1 "Kanit"; color: var(--ember); }
.fx .kpis span { font-size: 13px; color: var(--steel); }
.fx .pace { height: 12px; border-radius: 999px; background: #0B0C0F; border: 1px solid var(--line); overflow: hidden; margin-top: 8px; }
.fx .pace i { display: block; height: 100%; background: linear-gradient(90deg, var(--ember), var(--amber)); transition: width .6s ease; }
.fx .flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 14px; }
.fx .flow span { padding: 8px 12px; border-radius: 10px; background: rgba(255,138,0,.1); border: 1px solid rgba(255,138,0,.35); font-size: 15px; }
.fx .flow em { color: var(--ember); font-style: normal; }
.fx .lab2 { font-size: 14px; color: var(--steel); margin-top: 12px; }
@media (max-width: 860px) { .fx { grid-template-columns: 1fr; } .fx .tabs { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } .fx .kpis { grid-template-columns: 1fr 1fr 1fr; } }
