/* proyeet.com: one small stylesheet, no frameworks, no scripts. Dark first, light when the visitor's device prefers it. */
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("/assets/fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("/assets/fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 800; font-display: swap; src: url("/assets/fonts/figtree-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 600; font-display: swap; src: url("/assets/fonts/chakra-petch-latin-600-normal.woff2") format("woff2"); }

:root {
  --bg: #070b14; --surface: #0e1523; --surface-2: #131c2e; --line: rgba(255,255,255,.1);
  --ink: #eaf1fb; --muted: #9aaac4; --accent: #7cc4ff; --accent-ink: #04111f;
  --gift: #ffc247; --heart: #ff5c8a; --ok: #5fd08a; --bad: #ff7b7b;
  --font-display: "Chakra Petch", ui-monospace, "Segoe UI", sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #f2f5fa; --surface: #ffffff; --surface-2: #e9eff8; --line: rgba(10,20,40,.13); --ink: #0b1424; --muted: #4f5f7a; --accent: #1470c4; --accent-ink: #ffffff; --gift: #9a6400; --heart: #d92d63; --ok: #1d8a4e; --bad: #c42b2b; color-scheme: light; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font-body); -webkit-text-size-adjust: 100%; }
img, svg { max-width: 100%; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; text-wrap: pretty; }

/* top bar */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1120px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: .01em; line-height: 1; margin: 0; color: var(--ink); text-decoration: none; }
.wordmark b { color: var(--accent); font-weight: 700; }
.wordmark.sm { font-size: 20px; margin-bottom: 6px; }
.top nav { flex: 1; min-width: 0; }
.top nav ul, .foot nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.top nav a { display: inline-block; padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); background: var(--surface-2); }
.top-acct { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.link { color: var(--ink); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }

/* buttons and forms */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font: 700 1rem var(--font-body); padding: 12px 22px; border-radius: 12px; text-decoration: none; border: 0; cursor: pointer; text-align: center; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.big { padding: 15px 28px; font-size: 1.05rem; }
.btn.warn { background: var(--bad); color: #fff; }
.btn.small { padding: 6px 12px; font-size: .88rem; border-radius: 8px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
form.stack { display: grid; gap: 16px; max-width: 420px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], select, textarea { width: 100%; font: 400 1rem var(--font-body); padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.hint { color: var(--muted); font-size: .88rem; font-weight: 400; }
.alert { padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); margin-bottom: 18px; }
.alert.bad { border-color: var(--bad); } .alert.ok { border-color: var(--ok); }

/* layout */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section.tight { padding: 36px 0; }
.eyebrow { font: 600 .78rem var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 44px; align-items: center; padding: 56px 0 40px; }
.hero .lede { color: var(--muted); font-size: 1.15rem; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { padding: 26px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.card.key { background: var(--surface-2); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.card h2, .card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .label { font: 600 .78rem var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 10px; }
.price { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-variant-numeric: tabular-nums; margin: 6px 0 14px; }
.price b { font-size: 2.8rem; line-height: 1; }
.price span { color: var(--muted); }
ul.check { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
ul.check li { padding-left: 28px; position: relative; }
ul.check li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 10px; height: 6px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; padding: 20px 22px 20px 70px; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 700 1rem var(--font-display); }
.steps li strong { display: block; font-size: 1.1rem; margin-bottom: 2px; }

/* the hero video */
.hero-video { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(0,0,0,.65); background: #000; }
.hero-video video { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 672; }
/* the hero picture: a game with the overlay in the corner */
.mock { position: relative; aspect-ratio: 16 / 10; width: 100%; border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(to bottom, #1b3a6b 0%, #6fa8dc 62%, transparent 62%), linear-gradient(to bottom, transparent 62%, #2f6b3a 62%, #2f6b3a 68%, #5b3d27 68%); box-shadow: 0 30px 70px -30px rgba(0,0,0,.65); }
.mock .block { position: absolute; bottom: 32%; width: 9%; aspect-ratio: 1; background: #8a6a45; border: 3px solid #5b3d27; }
.mock .b1 { left: 16%; } .mock .b2 { left: 25%; background: #7a7f86; border-color: #51565c; } .mock .b3 { left: 20.5%; bottom: calc(32% + 14.4%); background: #c2a15c; border-color: #8c6f33; }
.mock .tag { position: absolute; left: 12px; top: 10px; font: 600 .72rem var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.9); background: rgba(0,0,0,.4); padding: 3px 8px; border-radius: 6px; }
.ov { position: absolute; right: 4%; bottom: 6%; width: min(46%, 280px); border-radius: 12px; overflow: hidden; background: rgba(14,21,35,.86); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 14px 34px rgba(0,0,0,.45); color: #eaf1fb; }
.ov-bar { padding: 7px 10px; background: rgba(8,12,22,.92); font: 700 .8rem var(--font-display); } .ov-bar b { color: #7cc4ff; }
.ov-feed { display: flex; flex-direction: column; gap: 6px; padding: 9px 10px 10px; }
.orow { display: flex; gap: 7px; align-items: flex-start; font-size: .72rem; line-height: 1.3; }
.oav { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .6rem; font-weight: 800; color: #fff; }
.orow small { display: block; color: #93a3bd; font-weight: 600; font-size: .62rem; }
.orow.gift { align-items: center; background: rgba(255,194,71,.16); border-radius: 8px; padding: 5px 7px; }
.orow.gift svg { flex: none; width: 20px; height: 20px; } .orow.gift .n { margin-left: auto; font: 700 .72rem var(--font-display); color: #ffc247; }
.pop { position: absolute; left: 5%; top: 8%; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 12px; background: linear-gradient(90deg, #ffc247, #ff5c7a); color: #1a1020; font-size: .72rem; font-weight: 800; box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.pop .oav { width: 24px; height: 24px; }
.fall { position: absolute; width: 14px; height: 14px; fill: var(--heart); opacity: .85; animation: drop 5s linear infinite; }
.f1 { left: 62%; top: -6%; } .f2 { left: 78%; top: -12%; width: 10px; height: 10px; animation-delay: -2s; } .f3 { left: 90%; top: -4%; width: 18px; height: 18px; animation-delay: -3.4s; } .f4 { left: 52%; top: -9%; width: 9px; height: 9px; animation-delay: -1s; }
@keyframes drop { from { transform: translateY(0); opacity: .9; } to { transform: translateY(130%) rotate(24deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fall { animation: none; top: 24%; opacity: .6; } html { scroll-behavior: auto; } }

/* long text pages */
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.8em; } .prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin-bottom: .4em; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; } .crumbs a { color: var(--muted); }
.callout { padding: 18px 22px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); margin: 1.4em 0; }
details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-bottom: 12px; }
summary { cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--accent); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details > div { padding: 0 20px 16px; color: var(--muted); }
.guide-list { list-style: none; padding: 0; display: grid; gap: 16px; }
.guide-list a.card { display: block; text-decoration: none; color: inherit; } .guide-list a.card:hover { border-color: var(--accent); }

/* account + admin */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-bottom: 20px; }
.meter { height: 12px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin: 8px 0 4px; } .meter > i { display: block; height: 100%; background: var(--accent); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; } .kv dt { color: var(--muted); } .kv dd { margin: 0; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.tag-ok, .tag-bad, .tag-mute { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: .8rem; font-weight: 700; border: 1px solid currentColor; }
.tag-ok { color: var(--ok); } .tag-bad { color: var(--bad); } .tag-mute { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; } .stat b { display: block; font: 700 1.9rem var(--font-display); } .stat span { color: var(--muted); font-size: .85rem; }
.inline-form { display: inline; }
.admin-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }

/* footer */
.foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 36px 20px 40px; }
.foot-in { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 24px 60px; justify-content: space-between; }
.foot a { color: var(--muted); text-decoration: none; display: inline-block; padding: 4px 8px; } .foot a:hover { color: var(--ink); text-decoration: underline; }
.fine { max-width: 1120px; margin: 24px auto 0; color: var(--muted); font-size: .82rem; }

@media (max-width: 880px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 32px; }
  .section { padding: 44px 0; }
  .top-acct { margin-left: 0; }
}
