/* =========================================================
   RoboWorker 24/7: landing + legal pages, ninja theme.
   The SAME design system as the extension popup and the checkout page: sunset village scene, dark scroll panels with orange rods,
   ink outlines and offset shadows, parchment plan scrolls, falling leaves. Fonts are local (fonts/), scene art is scene/*.svg.
   Generic ninja imagery only (scroll, kunai, shuriken, rank): no third-party names or characters.
   ========================================================= */

@font-face { font-family: 'Bangers'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/bangers-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('fonts/inter-latin.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('fonts/jetbrains-mono-latin.woff2') format('woff2'); }

:root {
  --ink: #0F0F14;
  --navy-950: #070E1B;
  --navy-900: #0A1628;
  --navy-800: #1A2942;
  --orange: #FF6B00;
  --orange-2: #FF8C1A;
  --crimson: #DC2626;
  --crimson-2: #B91C1C;
  --yellow: #FCD34D;
  --chakra: #00E5FF;
  --success: #10B981;

  --cream: #FFF4DC;
  --dim: #D6DFEE;
  --muted: #A9B6CC;
  --parch: #F8EBCB;
  --parch-2: #EBD3A0;
  --parch-ink: #2A170B;

  --head: 'Bangers', 'Impact', 'Arial Black', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  --radius: 16px;
  --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .7 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --paper-brown: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .27 0 0 0 0 .1 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --chakra-line: linear-gradient(90deg, var(--chakra), var(--yellow), var(--orange), var(--yellow), var(--chakra));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { min-height: 100vh; display: flex; flex-direction: column; background: #23163F; color: var(--cream); font: 16px/1.62 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow); text-underline-offset: 3px; }
a:hover { color: #FFE58A; }
:focus-visible { outline: 3px solid var(--chakra); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.15em; height: 1.15em; flex: none; color: var(--orange-2); }
.accent { color: var(--chakra); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* =========================================================
   Scene: the village at sunset
   ========================================================= */
.scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(180deg, #2B1A55 0%, #7A2E6E 14%, #D0491A 36%, #FF8C1A 58%, #FFC24D 84%, #FCD34D 100%); }
.sun { position: absolute; left: 50%; bottom: 17%; margin-left: calc(clamp(150px, 30vmin, 320px) / -2); width: clamp(150px, 30vmin, 320px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #FFF9D6 0 30%, #FFE27A 31% 58%, #FF9A1F 100%); box-shadow: 0 0 70px 26px rgba(255, 150, 30, 0.6), 0 0 160px 60px rgba(255, 107, 0, 0.3); animation: sunPulse 7s ease-in-out infinite; }
.cloud { position: absolute; left: 0; height: 44px; width: 220px; border-radius: 44px; background: rgba(255, 224, 170, 0.5); filter: blur(5px); animation: cloudDrift linear infinite; will-change: transform; }
.cloud::before, .cloud::after { content: ''; position: absolute; background: inherit; border-radius: 50%; }
.cloud::before { width: 86px; height: 86px; left: 28px; top: -38px; }
.cloud::after { width: 64px; height: 64px; right: 36px; top: -26px; }
.cloud.c1 { top: 13%; animation-duration: 150s; animation-delay: -40s; }
.cloud.c2 { top: 27%; transform: scale(0.7); animation-duration: 210s; animation-delay: -120s; opacity: 0.8; }
.cloud.c3 { top: 8%; transform: scale(1.2); animation-duration: 260s; animation-delay: -200s; opacity: 0.6; }
.layer { position: absolute; left: 0; right: 0; bottom: 0; background-repeat: repeat-x; background-position: 0 100%; background-size: auto 100%; }
.layer.far { height: 46vh; background-image: url('scene/far.svg'); opacity: 0.9; }
.layer.mid { height: 34vh; background-image: url('scene/mid.svg'); }
.layer.near { height: 26vh; background-image: url('scene/near.svg'); }
.leaf { position: absolute; top: -30px; width: 16px; height: 16px; color: var(--orange-2); opacity: 0.55; animation: leafFall 20s linear infinite; }
.leaf.l1 { left: 8%; animation-duration: 22s; }
.leaf.l2 { left: 24%; animation-duration: 17s; animation-delay: -7s; width: 12px; height: 12px; }
.leaf.l3 { left: 47%; animation-duration: 25s; animation-delay: -12s; }
.leaf.l4 { left: 63%; animation-duration: 19s; animation-delay: -4s; width: 13px; height: 13px; }
.leaf.l5 { left: 82%; animation-duration: 23s; animation-delay: -15s; }
.leaf.l6 { left: 93%; animation-duration: 18s; animation-delay: -9s; width: 11px; height: 11px; }

/* =========================================================
   Header
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(12, 23, 43, 0.93); backdrop-filter: blur(8px); border-bottom: 3px solid var(--ink); box-shadow: 0 3px 0 rgba(255, 140, 26, 0.55); }
.site-header .wrap { display: flex; align-items: center; gap: 14px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: block; border-radius: 13px; filter: drop-shadow(2px 2px 0 var(--ink)) drop-shadow(0 0 10px rgba(255, 140, 26, 0.6)); }
.brand-name { font: 400 28px/1 var(--head); letter-spacing: 1.5px; color: #FFB04D; text-shadow: 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 2px 0 var(--ink), 0 -2px 0 var(--ink), 0 0 14px rgba(255, 140, 26, 0.55); }
.brand-name .accent { text-shadow: 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 2px 0 var(--ink), 0 -2px 0 var(--ink), 0 0 12px rgba(0, 229, 255, 0.7); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--dim); text-decoration: none; padding: 8px 13px 7px; border-radius: 10px; font: 400 19px/1 var(--head); letter-spacing: 1.2px; text-transform: uppercase; }
.nav a:not(.btn):hover { background: rgba(255, 255, 255, 0.08); color: var(--yellow); }
.nav .btn { margin-left: 8px; }

/* ---------- buttons: same press feel as the extension ---------- */
.btn { --lift: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; font: 400 22px/1 var(--head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); padding: 15px 28px 13px; border-radius: 12px; border: 3px solid var(--ink); background: linear-gradient(#FFB347, #FF8C1A 48%, #FF6B00); box-shadow: var(--lift) var(--lift) 0 var(--ink), inset 0 2px 0 rgba(255, 255, 255, 0.45); transition: transform 0.12s ease, box-shadow 0.12s ease; position: relative; overflow: hidden; }
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%); transform: translateX(-120%); }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink), 0 0 22px rgba(255, 140, 26, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.45); color: var(--ink); }
.btn:hover::after { transform: translateX(120%); transition: transform 0.45s ease; }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink), inset 0 2px 0 rgba(0, 0, 0, 0.25); }
.btn-gold { background: linear-gradient(#FFE27A, #FBBF24 50%, #FF9A1F); }
.btn-ghost { background: rgba(255, 255, 255, 0.07); color: var(--cream); border-color: var(--ink); box-shadow: var(--lift) var(--lift) 0 var(--ink), 0 0 0 1px rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { color: var(--cream); background: rgba(255, 255, 255, 0.14); }
.btn-sm { font-size: 18px; padding: 11px 18px 9px; --lift: 3px; }

/* =========================================================
   Scroll panels: dark parchment with orange rods
   ========================================================= */
.panel, .tile, .hero-panel, .plans-panel {
  position: relative; border: 2px solid var(--ink); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 38%), var(--paper), linear-gradient(rgba(20, 35, 63, 0.94), rgba(12, 23, 43, 0.95));
  box-shadow: 0 0 0 1px rgba(255, 140, 26, 0.35), 5px 5px 0 var(--ink);
}
.panel::before, .panel::after, .hero-panel::before, .hero-panel::after, .plans-panel::before, .plans-panel::after {
  content: ''; position: absolute; left: -6px; right: -6px; height: 12px; border: 2px solid var(--ink); border-radius: 7px;
  background: linear-gradient(#E58A2E, #9A4E12 55%, #6B360C); box-shadow: inset 0 1px 0 rgba(255, 220, 160, 0.55); pointer-events: none;
}
.panel::before, .hero-panel::before, .plans-panel::before { top: -7px; }
.panel::after, .hero-panel::after, .plans-panel::after { bottom: -7px; }
.panel { padding: 30px 32px 32px; }
main { flex: 1; padding: 34px 0 30px; }
main > .wrap > * + * { margin-top: 44px; }
.panel-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 2px dashed rgba(255, 255, 255, 0.2); }
.panel-head .ico { width: 30px; height: 30px; filter: drop-shadow(2px 2px 0 var(--ink)); }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.04; }
.panel-head h2, .panel > h2 { font-size: clamp(30px, 4.2vw, 42px); letter-spacing: 1.6px; text-transform: uppercase; color: var(--yellow); text-shadow: 2px 2px 0 var(--ink); }
.sub { color: var(--muted); margin: -8px 0 22px; max-width: 46em; }

/* ---------- hero ---------- */
.hero-panel { padding: 34px 36px; border-color: transparent; background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 38%) padding-box, linear-gradient(#152743, #0C172B) padding-box, var(--chakra-line) border-box; background-size: 100% 100%, 100% 100%, 300% 100%; animation: unroll 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) backwards, chakraFlow 6s linear infinite; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 44px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 5px; border: 2px solid var(--ink); border-radius: 999px; background: #0E2A22; color: #6EE7B7; font: 400 17px/1 var(--head); letter-spacing: 1.3px; text-transform: uppercase; box-shadow: 2px 2px 0 var(--ink); }
.eyebrow .ico { color: currentColor; }
h1 { font-size: clamp(44px, 6.4vw, 80px); letter-spacing: 2px; color: #FFB04D; margin: 18px 0 16px; text-shadow: 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 3px 0 var(--ink), 0 -3px 0 var(--ink), 3px 3px 0 var(--ink), 0 0 26px rgba(255, 140, 26, 0.5); }
h1 .cy { color: var(--chakra); text-shadow: 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 3px 0 var(--ink), 0 -3px 0 var(--ink), 3px 3px 0 var(--ink), 0 0 22px rgba(0, 229, 255, 0.6); }
.lead { font-size: clamp(17px, 1.7vw, 19.5px); color: var(--dim); max-width: 34em; margin-bottom: 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.cta-note { margin-top: 16px; color: var(--muted); font-size: 14px; }
.shot { justify-self: center; width: min(330px, 100%); }
.frame { border-radius: 22px; border: 3px solid var(--ink); background: var(--navy-900); overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 140, 26, 0.5), 8px 8px 0 var(--ink), 0 24px 60px rgba(0, 0, 0, 0.5); }
@media (prefers-reduced-motion: no-preference) { .shot .frame { animation: bob 6s ease-in-out infinite; } }

/* ---------- step tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile { padding: 22px 22px 20px; animation: unroll 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
.tile:nth-child(2) { animation-delay: 0.1s; } .tile:nth-child(3) { animation-delay: 0.2s; }
.tile .ico { width: 34px; height: 34px; filter: drop-shadow(2px 2px 0 var(--ink)); margin-bottom: 10px; }
.tile h3 { font-size: 27px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--yellow); text-shadow: 2px 2px 0 var(--ink); margin-bottom: 6px; }
.tile p { color: var(--dim); font-size: 15.5px; }
.step-no { position: absolute; top: -14px; right: 16px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--orange); color: var(--ink); font: 400 24px/1 var(--head); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }

/* ---------- features ---------- */
.split { display: grid; grid-template-columns: 0.55fr 1.45fr; gap: 44px; align-items: center; }
.split .frame { max-width: 290px; justify-self: center; }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li .ico { position: absolute; left: 0; top: 4px; width: 22px; height: 22px; }
.checks b { color: var(--cream); }

/* ---------- plans ---------- */
.plans-panel { padding: 34px 28px 30px; }
.plans-panel > h2 { font-size: clamp(30px, 4.2vw, 42px); letter-spacing: 1.6px; text-transform: uppercase; color: var(--yellow); text-shadow: 2px 2px 0 var(--ink); }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 30px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 20px 22px; color: var(--parch-ink); background: linear-gradient(180deg, var(--parch), var(--parch-2)); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink); }
.plan.free { background: linear-gradient(180deg, #24385A, #1A2942); color: var(--dim); }
.plan .rank { position: absolute; top: -17px; left: 14px; background: var(--crimson); color: #fff; font: 400 19px/1 var(--head); letter-spacing: 0.06em; padding: 7px 12px 5px; border: 3px solid var(--ink); border-radius: 8px; box-shadow: 2px 2px 0 var(--ink); }
.plan.free .rank { background: #5A6E90; }
.plan .pop { position: absolute; top: -22px; right: 10px; background: var(--cream); color: #8B1A10; font: 400 14px/1 var(--head); padding: 9px 8px 7px; border-radius: 99px; border: 3px solid #8B1A10; transform: rotate(8deg); }
.plan h3 { font-size: 30px; margin-top: 8px; letter-spacing: 1px; text-transform: uppercase; }
.plan.free h3 { color: var(--cream); }
.price { font: 400 46px/1.1 var(--head); color: #9B3410; margin: 4px 0 0; }
.plan.free .price { color: var(--yellow); }
.per { font-size: 14px; font-weight: 600; opacity: 0.85; margin-bottom: 14px; }
.plan ul { list-style: none; display: grid; gap: 8px; font-size: 15px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: '✔'; position: absolute; left: 0; color: #0B7A55; font-weight: 800; }
.plan.free li::before { color: var(--success); }
.plan-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }
.center { text-align: center; margin-top: 22px; }

/* ---------- notice + faq ---------- */
.notice { position: relative; border: 2px solid var(--ink); border-radius: var(--radius); padding: 16px 22px; background: #3A2A08; color: #FDE68A; text-align: center; box-shadow: 0 0 0 1px rgba(255, 140, 26, 0.35), 5px 5px 0 var(--ink); }
.notice b { display: block; font: 400 22px/1.1 var(--head); letter-spacing: 1.4px; text-transform: uppercase; color: var(--yellow); margin-bottom: 2px; }
.faq details { border-bottom: 2px dashed rgba(255, 255, 255, 0.16); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; padding: 15px 4px; font-weight: 600; color: var(--cream); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 28px/1 var(--head); color: var(--orange-2); }
.faq details[open] summary::after { content: '−'; }
.faq details > div { padding: 0 4px 16px; color: var(--dim); }
.faq details p { margin: 0 0 10px; }

/* ---------- legal pages ---------- */
.doc h1 { font-size: clamp(38px, 5.4vw, 58px); margin: 0 0 6px; }
.doc .meta { color: var(--muted); margin-bottom: 22px; }
.doc h2 { font-size: 30px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--yellow); text-shadow: 2px 2px 0 var(--ink); margin: 38px 0 10px; }
.doc p, .doc li { font-size: 16.5px; color: var(--dim); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin-top: 8px; }
.doc li { margin-bottom: 6px; }
.doc b { color: var(--cream); }
.doc code { font-family: var(--mono); font-size: 0.92em; background: rgba(255, 255, 255, 0.09); padding: 1px 6px; border-radius: 6px; }
.tldr { border: 3px solid var(--ink); border-radius: var(--radius); background: linear-gradient(180deg, var(--parch), var(--parch-2)); padding: 20px 24px; box-shadow: 6px 6px 0 var(--ink); margin: 22px 0 8px; }
.doc .tldr h2 { margin: 0 0 8px; color: #9B3410; text-shadow: none; }
.doc .tldr li, .doc .tldr p { color: var(--parch-ink); }
.doc .tldr b { color: var(--parch-ink); }
.tldr a { color: #8B1A10; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0 6px; }
table.data th, table.data td { text-align: left; padding: 10px 12px; border-bottom: 2px dashed rgba(255, 255, 255, 0.16); vertical-align: top; color: var(--dim); }
table.data th { color: var(--yellow); font: 400 19px/1 var(--head); letter-spacing: 1px; text-transform: uppercase; }

/* ---------- footer ---------- */
.site-footer { padding: 24px 16px 30px; text-align: center; font-size: 14px; }
.foot-tag { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 12px 24px 11px; border: 2px solid var(--ink); border-radius: 999px; background: rgba(12, 23, 43, 0.96); box-shadow: 0 0 0 1px rgba(255, 140, 26, 0.35), 3px 3px 0 var(--ink); color: var(--cream); }
.foot-tag a { font-weight: 700; }

/* ---------- motion ---------- */
@keyframes chakraFlow { to { background-position: 0 0, 0 0, 300% 0; } }
@keyframes unroll { 0% { transform: scaleY(0.2); opacity: 0; transform-origin: top; } 100% { transform: none; opacity: 1; transform-origin: top; } }
@keyframes sunPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.92; } }
@keyframes cloudDrift { from { transform: translateX(-30vw); } to { transform: translateX(130vw); } }
@keyframes leafFall { 0% { transform: translate3d(0, -40px, 0) rotate(0); } 100% { transform: translate3d(-140px, 108vh, 0) rotate(600deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-0.6deg); } 50% { transform: translateY(-8px) rotate(0.6deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 30px; }
  .tiles { grid-template-columns: 1fr; gap: 26px; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .nav a:not(.btn) { display: none; }
  .shot { width: min(270px, 68%); }
}
@media (max-width: 560px) {
  .grid4 { grid-template-columns: 1fr; gap: 28px; }
  .panel { padding: 26px 20px 26px; }
  .hero-panel { padding: 26px 20px; }
  .brand-name { font-size: 20px; letter-spacing: 1px; white-space: nowrap; }
  .brand-mark { width: 38px; height: 38px; }
  .site-header .wrap { min-height: 64px; gap: 8px; }
  .nav .btn { margin-left: 0; white-space: nowrap; font-size: 16px; padding: 10px 12px 8px; }
  .btn { font-size: 20px; padding: 14px 22px 12px; }
  main { padding-top: 26px; }
  main > .wrap > * + * { margin-top: 38px; }
}

/* "coming soon" badge instead of a button that would lead nowhere */
.btn-soon { background: linear-gradient(#5A6E90, #3A4A66); color: #DCE6F5; cursor: default; pointer-events: none; box-shadow: 4px 4px 0 var(--ink); }
.btn-soon::after { display: none; }
