:root {
    --ink: #15263d;
    --muted: #4e6277;
    --cream: #fff9e9;
    --paper: #fffef8;
    --sky: #76d7ff;
    --sky-pale: #c7f0ff;
    --grass: #72c84b;
    --grass-dark: #32823e;
    --yellow: #ffd44e;
    --coral: #ff755e;
    --blue: #2959d9;
    --line: #18304b;
    --shadow: 5px 5px 0 var(--line);
    color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .display { font-family: ui-rounded, "Arial Rounded MT Bold", Inter, sans-serif; font-weight: 900; letter-spacing: -0.035em; line-height: .98; }
::selection { background: var(--yellow); color: var(--ink); }

.wrap { width: min(1120px, calc(100% - 2.5rem)); margin: 0 auto; }
.skip-link { position: fixed; left: 1rem; top: -4rem; background: var(--yellow); border: 2px solid var(--line); color: var(--ink); padding: .6rem 1rem; z-index: 20; font-weight: 800; }
.skip-link:focus { top: 1rem; }
.site-header { position: relative; z-index: 4; padding: 1.1rem 0; background: color-mix(in srgb, var(--sky-pale) 86%, white); border-bottom: 2px solid rgb(21 38 61 / .15); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; font-family: ui-rounded, sans-serif; font-weight: 1000; font-size: 1.1rem; letter-spacing: -.05em; }
.brand-ball { width: 1.7rem; height: 1.7rem; margin-right: .45rem; border-radius: 50%; background: radial-gradient(circle at 35% 28%, white 0 16%, transparent 17%), conic-gradient(from 35deg, #18293c 0 12%, #f7f4e9 12% 26%, #18293c 26% 38%, #f7f4e9 38% 54%, #18293c 54% 66%, #f7f4e9 66% 83%, #18293c 83% 94%, #f7f4e9 94%); border: 2px solid var(--line); }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: end; gap: .3rem .9rem; font-size: .88rem; font-weight: 750; }
.site-nav a { text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a:focus-visible { border-color: var(--coral); }

.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 6.8rem) 0 clamp(4rem, 8vw, 7rem); background: linear-gradient(180deg, var(--sky) 0%, var(--sky-pale) 74%, var(--cream) 74%); }
.hero::before { content: ""; position: absolute; inset: auto -5vw 20% auto; width: 20rem; height: 20rem; border-radius: 50%; background: #fff7bc; opacity: .8; }
.hero::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 24%; background: repeating-linear-gradient(90deg, var(--grass) 0 11%, #83d55c 11% 22%); clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(320px, .94fr); align-items: center; gap: clamp(2.25rem, 6vw, 5.5rem); position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .42rem .75rem; border: 2px solid var(--line); border-radius: 999px; background: var(--paper); box-shadow: 3px 3px 0 rgb(21 38 61 / .25); font-size: .73rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: .55rem; height: .55rem; background: var(--coral); border: 1px solid var(--line); border-radius: 50%; }
.hero-logo { width: min(470px, 100%); margin: 1.1rem 0 .9rem; filter: drop-shadow(4px 5px 0 rgb(21 38 61 / .22)); }
.hero h1 { max-width: 10ch; margin-bottom: 1rem; font-size: clamp(2.7rem, 7.4vw, 5.7rem); }
.hero-copy { max-width: 53ch; font-size: clamp(1rem, .95rem + .25vw, 1.15rem); color: var(--muted); }
.hero-copy strong { color: var(--ink); }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3rem; padding: .72rem 1.15rem; border: 2px solid var(--line); border-radius: .75rem; box-shadow: var(--shadow); font-weight: 900; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--line); }
.button:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--line); }
.button:focus-visible, a:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.button-primary { background: var(--yellow); }
.button-secondary { background: var(--paper); }
.microcopy { margin: 1rem 0 0; color: var(--muted); font-size: .82rem; }

.arcade-screen { position: relative; aspect-ratio: .86; min-height: 360px; overflow: hidden; border: 3px solid var(--line); border-radius: 1.2rem; background: linear-gradient(180deg, #4ac8f6 0 68%, #62bf49 68%); box-shadow: 9px 9px 0 var(--line); }
.arcade-screen::before { content: ""; position: absolute; right: 9%; top: 10%; width: 5.5rem; height: 5.5rem; border: 3px solid var(--line); border-radius: 50%; background: #fff2a2; }
.arcade-screen::after { content: ""; position: absolute; inset: 68% 0 0; background: repeating-linear-gradient(90deg, transparent 0 18%, rgb(255 255 255 / .14) 18% 36%); }
.hud { position: absolute; z-index: 1; left: 1rem; right: 1rem; top: 1rem; display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: .8rem; font-weight: 900; letter-spacing: .04em; text-shadow: 1px 2px 0 var(--line); }
.hud-chip { padding: .35rem .55rem; border: 2px solid var(--line); border-radius: .6rem; background: var(--blue); box-shadow: 2px 2px 0 var(--line); }
.ball { position: absolute; z-index: 2; left: 57%; top: 24%; width: clamp(3.8rem, 9vw, 5.9rem); aspect-ratio: 1; border: 3px solid var(--line); border-radius: 50%; background: radial-gradient(circle at 34% 25%, white 0 16%, transparent 17%), conic-gradient(from 35deg, #172b43 0 12%, #fffdf4 12% 26%, #172b43 26% 38%, #fffdf4 38% 54%, #172b43 54% 66%, #fffdf4 66% 83%, #172b43 83% 94%, #fffdf4 94%); transform: rotate(17deg); box-shadow: 4px 6px 0 rgb(21 38 61 / .25); animation: bob 2.9s ease-in-out infinite; }
.player { position: absolute; z-index: 1; bottom: 7%; left: 25%; width: 45%; height: 52%; }
.player .head { position: absolute; left: 43%; top: 0; width: 24%; aspect-ratio: 1; border: 3px solid var(--line); border-radius: 50%; background: #cc8557; }
.player .body { position: absolute; left: 30%; top: 20%; width: 41%; height: 39%; border: 3px solid var(--line); border-radius: 43% 43% 16% 16%; background: var(--coral); transform: skew(-5deg); }
.player .leg { position: absolute; width: 19%; height: 47%; border: 3px solid var(--line); border-radius: 1rem; background: #253650; transform-origin: top; }
.player .leg.left { left: 31%; top: 52%; transform: rotate(18deg); }
.player .leg.right { left: 54%; top: 51%; transform: rotate(-46deg); animation: kick 2.9s ease-in-out infinite; }
.stamina { position: absolute; z-index: 3; right: 1rem; bottom: 1rem; width: 54%; height: 1.25rem; padding: 2px; border: 2px solid var(--line); border-radius: 999px; background: #fffdf4; box-shadow: 2px 2px 0 var(--line); }
.stamina span { display: block; width: 68%; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--grass-dark), var(--yellow)); }
@keyframes bob { 50% { transform: translate(-12px, 20px) rotate(-20deg); } }
@keyframes kick { 50% { transform: rotate(-18deg); } }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head { max-width: 680px; margin-bottom: 2.4rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2 { margin-bottom: .8rem; font-size: clamp(2rem, 4.5vw, 3.7rem); }
.section-intro { color: var(--muted); font-size: 1.05rem; }
.play-grid, .future-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.play-card, .future-card { padding: 1.4rem; border: 2px solid var(--line); border-radius: 1rem; background: var(--paper); box-shadow: var(--shadow); }
.play-card:nth-child(2) { background: #fff4ca; transform: translateY(1rem); }
.play-card:nth-child(3) { background: #e3f8db; }
.number { display: grid; place-items: center; width: 2.5rem; aspect-ratio: 1; margin-bottom: 1.1rem; border: 2px solid var(--line); border-radius: 50%; background: var(--coral); color: #fff; font-family: ui-rounded, sans-serif; font-weight: 1000; box-shadow: 2px 2px 0 var(--line); }
.play-card h3, .future-card h3 { margin-bottom: .55rem; font-size: 1.35rem; }
.play-card p, .future-card p { margin-bottom: 0; color: var(--muted); }
.on-the-pitch { background: var(--ink); color: #fff; overflow: hidden; }
.on-the-pitch .section-intro { color: #c9d6e5; }
.on-the-pitch h2 { color: var(--yellow); }
.feature-strip { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem; align-items: center; }
.feature-list { display: grid; gap: .85rem; }
.feature { padding: 1rem 1rem 1rem 3.5rem; border: 1px solid rgb(255 255 255 / .25); border-radius: .75rem; position: relative; }
.feature::before { content: ">"; position: absolute; left: 1rem; top: 1rem; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 1000; }
.feature h3 { margin-bottom: .2rem; letter-spacing: -.02em; }
.feature p { margin-bottom: 0; color: #c9d6e5; font-size: .93rem; }
.future { background: linear-gradient(145deg, #fff1b9, #ffe29e); border-block: 2px solid var(--line); }
.future-card { background: rgb(255 255 255 / .65); box-shadow: 4px 4px 0 rgb(21 38 61 / .55); }
.future-card .tag { display: inline-block; margin-bottom: .75rem; padding: .22rem .5rem; border-radius: .3rem; background: var(--blue); color: #fff; font-size: .69rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.future-note { max-width: 65ch; margin: 1.6rem auto 0; text-align: center; color: var(--muted); font-size: .91rem; }
.cta-band { padding: clamp(4rem, 8vw, 6rem) 0; text-align: center; background: linear-gradient(180deg, var(--sky-pale), var(--sky)); }
.cta-band h2 { max-width: 14ch; margin: 0 auto 1rem; font-size: clamp(2.3rem, 5vw, 4rem); }
.cta-band p { max-width: 52ch; margin: 0 auto; color: var(--muted); }
.cta-band .button-row { justify-content: center; }

.legal-header { padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem; background: linear-gradient(145deg, var(--sky-pale), var(--cream)); border-bottom: 2px solid rgb(21 38 61 / .15); }
.legal-header h1 { max-width: 14ch; margin: .8rem 0; font-size: clamp(2.5rem, 6vw, 4.5rem); }
.legal-header p { max-width: 65ch; margin-bottom: 0; color: var(--muted); }
.legal-main { max-width: 780px; padding: 3rem 0 5rem; }
.notice { padding: 1rem 1.2rem; margin-bottom: 1.5rem; border-left: 5px solid var(--coral); background: #fff1e9; color: #57372e; font-weight: 650; }
.legal-card { margin-bottom: 1.25rem; padding: 1.35rem; border: 2px solid var(--line); border-radius: .9rem; background: var(--paper); box-shadow: 4px 4px 0 rgb(21 38 61 / .35); }
.legal-card h2 { margin-bottom: .75rem; font-size: 1.45rem; }
.legal-card h3 { margin: 1.15rem 0 .4rem; font-size: 1.05rem; letter-spacing: -.02em; }
.legal-card p:last-child, .legal-card ul:last-child, .legal-card ol:last-child { margin-bottom: 0; }
.legal-card li { margin-bottom: .45rem; }
.legal-card a, .support-contact a { color: var(--blue); font-weight: 750; }
.support-contact { padding: 1.25rem; border: 2px solid var(--line); border-radius: .9rem; background: #e6f9de; box-shadow: var(--shadow); }

.site-footer { padding: 2.4rem 0; background: var(--ink); color: #d8e2ed; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(2, auto); gap: 1.5rem 3rem; align-items: start; }
.footer-brand { color: #fff; font-family: ui-rounded, sans-serif; font-weight: 1000; font-size: 1.1rem; letter-spacing: -.04em; }
.footer-note { max-width: 39ch; margin: .45rem 0 0; font-size: .83rem; }
.footer-links { display: grid; gap: .38rem; font-size: .84rem; }
.footer-links strong { color: var(--yellow); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
/* Studio badge: links back to the company site. The mark is a dark-background
   lockup -- red outlines with black letter interiors and a cyan strapline --
   so it keeps its own background and gets a rounded chip. Cutting the black
   out and putting it on white leaves the letters hollow and the strapline
   almost invisible; light-background variants and that caveat are recorded in
   the lynetech-website repo under site/assets/brand/. */
.studio-badge { display: inline-block; line-height: 0; border: 0; border-radius: 10px; overflow: hidden; opacity: 0.82; transition: opacity 0.2s ease; }
.studio-badge:hover, .studio-badge:focus-visible { opacity: 1; }
.studio-badge img { display: block; width: 190px; height: auto; }

.footer-grid .studio-badge { margin-top: 1rem; }

.copyright { margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / .2); color: #aebdcb; font-size: .75rem; }

@media (max-width: 760px) {
    .site-nav { gap: .25rem .6rem; font-size: .77rem; }
    .hero-grid, .feature-strip { grid-template-columns: 1fr; }
    .arcade-screen { width: min(440px, 100%); margin: 0 auto; }
    .play-grid, .future-grid { grid-template-columns: 1fr; }
    .play-card:nth-child(2) { transform: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .wrap { width: min(100% - 1.4rem, 1120px); }
    .header-row { align-items: flex-start; }
    .site-nav { max-width: 53%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > :first-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
