/* TikTato landing page (logged-out visitors / judges). Builds on app.css tokens. No purple. */
html { overflow-x: clip; }
body.landing { padding: 0; overflow-x: clip; }
.landing .gold { color: var(--gold); }
.landing code { font: 700 .85em/1.3 ui-monospace, "Cascadia Code", Consolas, monospace; color: #a5f3fc; }

/* nav */
.ln-nav {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 18px;
  padding: calc(12px + env(safe-area-inset-top)) clamp(16px, 4vw, 48px) 12px;
  background: rgba(7, 13, 28, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.ln-nav.scrolled { background: rgba(7, 13, 28, .94); border-bottom-color: var(--line); }
.ln-links { display: flex; gap: 22px; margin-left: auto; }
.ln-links a { color: var(--muted); text-decoration: none; font-weight: 900; font-size: 15px; }
.ln-links a:hover { color: var(--gold); }
.ln-nav-cta { min-height: 44px; padding: 0 18px; font-size: 16px; text-decoration: none; }
@media (max-width: 900px) { .ln-links { display: none; } .ln-nav-cta { margin-left: auto; } }

/* hero */
.ln-hero {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  max-width: 1240px; margin: 0 auto; padding: clamp(36px, 7vw, 90px) clamp(16px, 4vw, 48px) 40px;
}
.ln-pill { display: inline-block; padding: 8px 16px; border-radius: 999px; background: rgba(245, 197, 24, .12); border: 1.5px solid rgba(245, 197, 24, .5); color: var(--gold); font-weight: 900; font-size: 14px; }
.ln-hero h1 { margin: 18px 0 16px; font: 400 clamp(42px, 6vw, 76px)/1.02 var(--display); letter-spacing: .5px; }
.ln-hero h1 span { color: var(--gold); text-shadow: 0 0 40px rgba(245, 197, 24, .35); }
.ln-lead { margin: 0 0 26px; max-width: 620px; color: #d3dcef; font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; }
.ln-lead b { color: var(--text); }
.ln-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ln-ctas .btn { text-decoration: none; }
.ln-creds {
  display: flex; align-items: center; gap: 14px; margin-top: 22px; max-width: 520px; padding: 14px 16px;
  border-radius: 18px; background: rgba(13, 23, 48, .8); border: 1.5px dashed rgba(20, 184, 166, .6);
}
.ln-creds div { flex: 1; }
.ln-creds small { display: block; color: var(--muted); font-size: 13px; }
.ln-creds b { display: block; margin: 2px 0; font: 700 19px/1.3 ui-monospace, Consolas, monospace; color: #5eead4; }
.ln-creds .btn { min-height: 42px; font-size: 15px; }

.ln-hero-art { position: relative; height: 620px; }
.ln-glow { position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(circle, rgba(245, 197, 24, .28), rgba(30, 107, 255, .15) 45%, transparent 70%); filter: blur(20px); }
.ln-phone { margin: 0; border-radius: 34px; padding: 9px; background: linear-gradient(160deg, #1b2a4d, #0a1228); box-shadow: 0 0 0 2px rgba(255, 255, 255, .12), 0 30px 70px rgba(0, 0, 0, .55); }
.ln-phone img { display: block; width: 100%; border-radius: 26px; }
.ln-phone figcaption { margin: 10px 4px 2px; text-align: center; color: var(--muted); font-size: 14px; font-weight: 800; }
.ln-hero-art .ln-phone { position: absolute; width: 250px; }
.ln-hero-art .p1 { left: -3%; top: 70px; transform: rotate(-8deg); animation: ln-float 7s ease-in-out infinite; }
.ln-hero-art .p2 { left: 50%; top: 10px; width: 280px; margin-left: -140px; z-index: 2; animation: ln-float 6s ease-in-out -2s infinite; }
.ln-hero-art .p3 { right: -3%; top: 90px; transform: rotate(8deg); animation: ln-float 7.5s ease-in-out -4s infinite; }
@keyframes ln-float { 50% { translate: 0 -14px; } }
.ln-float {
  position: absolute; z-index: 3; padding: 10px 16px; border-radius: 999px; font-weight: 900; font-size: 15px; white-space: nowrap;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .45); animation: ln-float 5s ease-in-out infinite;
}
.f1 { left: 50%; bottom: 40px; margin-left: -110px; background: linear-gradient(180deg, #ffe066, var(--gold)); color: #2a1d00; }
.f2 { left: 0; top: 18px; background: rgba(34, 211, 238, .16); border: 1.5px solid rgba(34, 211, 238, .6); color: #a5f3fc; animation-delay: -1.5s; }
.f3 { right: 0; bottom: 130px; background: rgba(20, 184, 166, .18); border: 1.5px solid rgba(20, 184, 166, .6); color: #99f6e4; animation-delay: -3s; }
@media (max-width: 960px) {
  .ln-hero { grid-template-columns: 1fr; }
  .ln-hero-art .p1 { left: 2%; } .ln-hero-art .p3 { right: 2%; }
  .ln-hero-art { height: 470px; }
  .ln-hero-art .ln-phone { width: 180px; } .ln-hero-art .p2 { width: 205px; margin-left: -102px; }
}
@media (max-width: 480px) {
  .ln-hero-art { height: 400px; }
  .ln-hero-art .ln-phone { width: 140px; } .ln-hero-art .p2 { width: 170px; margin-left: -85px; }
  .f2 { top: 0; } .f3 { bottom: 90px; } .f1 { bottom: 10px; }
}

/* proof strip */
.ln-proof {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; max-width: 1240px; margin: 10px auto 0;
  padding: 0 clamp(16px, 4vw, 48px);
}
.ln-proof > div { padding: 16px; border-radius: 18px; background: var(--card); border: 1.5px solid var(--line); text-align: center; }
.ln-proof b { display: block; font: 400 clamp(28px, 3vw, 38px)/1.1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.ln-proof small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 800; }
.ln-proof .ln-ok b { color: #5eead4; }
.ln-proof-note { grid-column: 1 / -1; margin: 4px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .ln-proof { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .ln-proof { grid-template-columns: repeat(2, 1fr); } }

/* sections */
.ln-section { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 8vw, 100px) clamp(16px, 4vw, 48px) 0; }
.ln-kicker { display: block; color: var(--teal); font-weight: 900; font-size: 14px; letter-spacing: 4px; text-transform: uppercase; }
.ln-section h2 { margin: 10px 0 12px; font: 400 clamp(32px, 4.2vw, 54px)/1.06 var(--display); }
.ln-sub { margin: 0 0 30px; max-width: 760px; color: #c4cfe6; font-size: 18px; font-weight: 700; }
.ln-note { color: var(--muted); font-size: 15px; }

.ln-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.ln-card { padding: 26px; border-radius: 24px; background: rgba(13, 23, 48, .85); border: 1.5px solid var(--line); }
.ln-card.gold { border-color: rgba(245, 197, 24, .6); }
.ln-em { font-size: 40px; }
.ln-card h3 { margin: 10px 0 8px; font: 400 26px/1.1 var(--display); }
.ln-card p { margin: 0; color: #c4cfe6; font-size: 16px; }
@media (max-width: 820px) { .ln-cards3 { grid-template-columns: 1fr; } }

.ln-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.ln-split.rev { grid-template-columns: .8fr 1.2fr; }
@media (max-width: 960px) { .ln-split, .ln-split.rev { grid-template-columns: 1fr; } }

.ln-steps { margin: 0 0 22px; padding: 0; list-style: none; }
.ln-steps li { display: flex; gap: 16px; margin-bottom: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(13, 23, 48, .8); border: 1.5px solid rgba(20, 184, 166, .45); }
.ln-steps i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #032a25; font-style: normal; font-weight: 900; }
.ln-steps b { display: block; font: 400 22px/1.1 var(--display); }
.ln-steps span { display: block; margin-top: 4px; color: #c4cfe6; font-size: 15px; }
.ln-rails { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ln-rails li { padding: 10px 12px 10px 38px; border-radius: 12px; background: var(--card); position: relative; font-size: 14.5px; }
.ln-rails li::before { content: "✓"; position: absolute; left: 12px; top: 9px; color: #5eead4; font-weight: 900; }
@media (max-width: 520px) { .ln-rails { grid-template-columns: 1fr; } }
.ln-shots2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ln-shots2 .ln-phone:last-child { translate: 0 40px; }
.ln-phone.big { max-width: 360px; margin: 0 auto; }

/* PayPal API grid */
.ln-api { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ln-api article { padding: 20px; border-radius: 20px; background: rgba(13, 23, 48, .85); border: 1.5px solid rgba(34, 211, 238, .35); }
.ln-api article.hl { border-color: rgba(245, 197, 24, .65); background: linear-gradient(160deg, rgba(245, 197, 24, .1), rgba(13, 23, 48, .9)); }
.ln-api h3 { margin: 0 0 8px; font: 400 21px/1.1 var(--display); }
.ln-api code { display: inline-block; margin-bottom: 10px; padding: 4px 8px; border-radius: 8px; background: rgba(34, 211, 238, .1); font-size: 12.5px; word-break: break-word; }
.ln-api p { margin: 0; color: #c4cfe6; font-size: 14.5px; }
@media (max-width: 1060px) { .ln-api { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ln-api { grid-template-columns: 1fr; } }
.ln-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 26px; padding: 18px; border-radius: 20px; background: rgba(3, 8, 20, .55); border: 1.5px dashed var(--line); }
.ln-flow span { padding: 10px 14px; border-radius: 12px; background: var(--card); font-weight: 900; font-size: 15px; }
.ln-flow span.gold { color: #2a1d00; background: var(--gold); }
.ln-flow i { font-style: normal; color: var(--gold); font-weight: 900; }

/* Tato */
.ln-checks { margin: 0 0 18px; padding: 0; list-style: none; }
.ln-checks li { margin: 0 0 10px; padding-left: 30px; position: relative; color: #d3dcef; font-size: 16.5px; }
.ln-checks li::before { content: "→"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }
.ln-checks b { color: var(--text); }
.ln-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ln-chips span { padding: 6px 10px; border-radius: 10px; background: rgba(20, 184, 166, .14); border: 1.5px solid rgba(20, 184, 166, .45); color: #99f6e4; font: 700 13px/1.2 ui-monospace, Consolas, monospace; }

/* game */
.ln-shots3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 900px; margin: 0 auto; }
.ln-shots3 .ln-phone:nth-child(2) { translate: 0 30px; }
@media (max-width: 640px) { .ln-shots3 { grid-template-columns: 1fr 1fr; } .ln-shots3 .ln-phone:nth-child(3) { display: none; } }
.ln-math { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 56px auto 8px; }
.ln-math div { padding: 12px 18px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); text-align: center; }
.ln-math small { display: block; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; }
.ln-math b { font: 400 30px/1.1 var(--display); }
.ln-math .win { border-color: rgba(34, 197, 94, .6); } .ln-math .win b { color: #86efac; }
.ln-math .draw b { color: #5eead4; font-size: 22px; }
.ln-math i { font-style: normal; color: var(--gold); font-weight: 900; }

/* audit */
.ln-laptop { margin: 0 auto; max-width: 1080px; }
.ln-laptop .lid { padding: 14px; border-radius: 22px 22px 8px 8px; background: linear-gradient(160deg, #1b2a4d, #0a1228); box-shadow: 0 0 0 2px rgba(255, 255, 255, .12), 0 40px 80px rgba(0, 0, 0, .55); }
.ln-laptop img { display: block; width: 100%; border-radius: 6px; }
.ln-laptop .base { height: 20px; margin: 0 clamp(-40px, -3vw, -8px); border-radius: 0 0 24px 24px; background: linear-gradient(180deg, #24365f, #111b36); }

/* video */
.ln-video { max-width: 1080px; margin: 0 auto; padding: 10px; border-radius: 26px; background: linear-gradient(160deg, rgba(245, 197, 24, .5), rgba(20, 184, 166, .4)); }
.ln-video video { display: block; width: 100%; border-radius: 18px; background: #000; }

/* judges */
.ln-judges { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 900px) { .ln-judges { grid-template-columns: 1fr; } }
.ln-try { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.ln-try li { counter-increment: s; position: relative; margin-bottom: 12px; padding: 14px 16px 14px 58px; border-radius: 16px; background: rgba(13, 23, 48, .85); border: 1.5px solid var(--line); color: #d3dcef; font-size: 16px; }
.ln-try li::before { content: counter(s); position: absolute; left: 14px; top: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: #2a1d00; font-weight: 900; }
.ln-try b { color: var(--text); }
.ln-accounts { padding: 20px; border-radius: 22px; background: rgba(13, 23, 48, .85); border: 1.5px solid rgba(20, 184, 166, .5); }
.ln-accounts table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 15px; }
.ln-accounts th { text-align: left; color: var(--gold); font-size: 13px; text-transform: uppercase; letter-spacing: .5px; padding: 6px 8px; }
.ln-accounts td { padding: 10px 8px; border-top: 1px solid var(--line); color: #d3dcef; }
.ln-accounts code { color: #5eead4; }

.ln-foot { max-width: 1240px; margin: 80px auto 0; padding: 28px clamp(16px, 4vw, 48px) calc(36px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 14px; }
.ln-foot b { color: var(--text); }

/* scroll reveal (works without JS: elements stay visible) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .9, .3, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ln-hero-art .ln-phone, .ln-float { animation: none; }
}
