/* Components. Colors, type and spacing come from tokens.css. */
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--solid); }
.blobs { position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.blobs i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.75; animation: drift 22s ease-in-out infinite alternate; }
.blobs i:nth-child(1) { width: 520px; height: 520px; background: var(--b1); left: -140px; top: -120px; }
.blobs i:nth-child(2) { width: 480px; height: 480px; background: var(--b2); right: -120px; top: 20%; animation-duration: 28s; animation-delay: -6s; }
.blobs i:nth-child(3) { width: 560px; height: 560px; background: var(--b3); left: 25%; bottom: -220px; animation-duration: 32s; animation-delay: -12s; }
.blobs i:nth-child(4) { width: 320px; height: 320px; background: var(--b2); left: 8%; top: 52%; animation-duration: 26s; animation-delay: -3s; opacity: 0.55; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.12); } }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: clamp(38px, 7vw, 68px); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 4.4vw, 42px); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }
a { color: var(--accent); }
button, select, input, textarea { font: inherit; color: inherit; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.gt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.band { position: relative; z-index: 1; padding-block: 76px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.band.alt { background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-block: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .band.alt { background: rgba(19, 31, 36, 0.6); } }
:root[data-theme="dark"] .band.alt { background: rgba(19, 31, 36, 0.6); }
.inner { max-width: 1060px; margin: 0 auto; display: flex; flex-direction: column; gap: 34px; }
.eyebrow { display: inline-block; width: fit-content; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 700; background: var(--accent-soft); padding: 5px 12px; border-radius: 999px; }
.sub { color: var(--muted); max-width: 62ch; font-size: 17px; }
.topnav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding-block: 10px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.topnav .inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; color: var(--ink); }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.links { display: flex; gap: 4px; flex-wrap: wrap; }
.links a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; color: var(--muted); }
.links a:hover { background: var(--accent-soft); color: var(--accent); }
.btn { position: relative; overflow: hidden; display: inline-block; background: var(--grad); color: var(--on-accent); border: 0; border-radius: 999px; padding: 14px 26px; font-weight: 700; text-decoration: none; cursor: pointer; width: fit-content; box-shadow: 0 10px 24px rgba(47, 107, 255, 0.35); }
.btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent); transform: skewX(-20deg); }
.btn:hover::after { animation: shine 0.8s ease; }
@keyframes shine { to { left: 130%; } }
.btn.ghost { background: var(--glass); color: var(--accent); border: 2px solid var(--accent); box-shadow: none; }
.btn:active { transform: scale(0.97); }
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center; }
.hero .copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero .lede { font-size: 20px; color: var(--muted); max-width: 50ch; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.stage { position: relative; height: 460px; display: grid; place-items: center; }
.ring { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; border-radius: 50%; border: 3px solid var(--accent-2); opacity: 0; transform: translate(-50%, -50%) scale(0.55); animation: ripple 4.5s ease-out infinite; }
.ring.r2 { animation-delay: 1.5s; } .ring.r3 { animation-delay: 3s; }
@keyframes ripple { 0% { opacity: 0.75; transform: translate(-50%, -50%) scale(0.55); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.45); } }
.floater { animation: bob 5s ease-in-out infinite; position: relative; z-index: 2; }
@keyframes bob { 0%, 100% { transform: translateY(-6px) rotate(-1.5deg); } 50% { transform: translateY(10px) rotate(1.5deg); } }
.plate { width: min(270px, 62vw); padding: 14px; border-radius: 28px; background: linear-gradient(135deg, rgba(255,255,255,0.97), rgba(176,198,235,0.7) 45%, rgba(255,255,255,0.95)); box-shadow: 0 28px 54px rgba(20, 60, 160, 0.38), inset 0 0 0 1px rgba(255,255,255,0.85), inset 0 -6px 14px rgba(60, 90, 160, 0.25); }
.plate .face { position: relative; overflow: hidden; background: #fff; border-radius: 16px; border: 4px solid var(--glow); box-shadow: 0 0 22px var(--glow), inset 0 0 12px rgba(47, 155, 255, 0.2); padding: 12px; display: flex; flex-direction: column; gap: 10px; animation: glowpulse 3s ease-in-out infinite; }
@keyframes glowpulse { 0%, 100% { box-shadow: 0 0 14px var(--glow), inset 0 0 10px rgba(47,155,255,0.18); } 50% { box-shadow: 0 0 34px var(--glow), inset 0 0 16px rgba(47,155,255,0.3); } }
.plate .qr { width: 100%; aspect-ratio: 1; position: relative; }
.plate .qr svg { width: 100%; height: 100%; display: block; }
.beam { position: absolute; left: -4%; right: -4%; height: 14%; top: 0; background: linear-gradient(180deg, transparent, rgba(25, 195, 255, 0.55), transparent); animation: beam 3.2s ease-in-out infinite; }
@keyframes beam { 0% { top: -14%; } 50% { top: 100%; } 100% { top: -14%; } }
.plate .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #12306b; }
.plate .cartno { font-family: var(--font-display); font-size: 25px; font-weight: 800; }
.plate .tap { display: flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.sticker { position: absolute; z-index: 3; right: 6%; top: 8%; background: var(--grad); color: var(--on-accent); font-family: var(--font-display); font-weight: 800; font-size: 14px; padding: 8px 14px; border-radius: 999px; transform: rotate(9deg); box-shadow: 0 10px 22px rgba(47, 107, 255, 0.4); animation: wob 3.6s ease-in-out infinite; }
@keyframes wob { 0%, 100% { transform: rotate(9deg) scale(1); } 50% { transform: rotate(5deg) scale(1.07); } }
.fchip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px 8px 8px; font-size: 14px; font-weight: 700; color: var(--ink); box-shadow: var(--shadow); animation: bob2 6s ease-in-out infinite; }
.fchip i { width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: var(--on-accent); display: grid; place-items: center; }
.fchip.c1 { left: 0; top: 12%; } .fchip.c2 { right: 0; top: 36%; animation-delay: -1.5s; } .fchip.c3 { left: 0; bottom: 20%; animation-delay: -3s; } .fchip.c4 { left: 22%; bottom: 2%; animation-delay: -4.2s; }
@keyframes bob2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.handset { position: absolute; z-index: 4; right: 18%; bottom: 2%; width: 74px; animation: approach 4.5s ease-in-out infinite; filter: drop-shadow(0 12px 18px rgba(20, 50, 140, 0.35)); }
@keyframes approach { 0%, 100% { transform: translate(34px, 40px) rotate(14deg); } 45%, 60% { transform: translate(-8px, -78px) rotate(4deg); } }
.plate-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: -6px; max-width: 34ch; margin-inline: auto; position: relative; z-index: 2; }
.marq { position: relative; z-index: 1; overflow: hidden; padding-block: 14px; background: var(--grad); color: var(--on-accent); transform: rotate(-1deg); margin-block: 6px; }
.marq .track { display: flex; gap: 34px; width: max-content; animation: slide 30s linear infinite; font-family: var(--font-display); font-weight: 700; font-size: 18px; white-space: nowrap; }
.marq .track span::after { content: "✦"; margin-left: 34px; opacity: 0.7; }
@keyframes slide { to { transform: translateX(-50%); } }
.steps3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card { background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 26px; padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; box-shadow: var(--shadow); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover { transform: translateY(-5px); }
.card p { color: var(--muted); font-size: 15.5px; }
.num { font-family: var(--font-display); font-weight: 800; color: var(--accent); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 26px; justify-items: center; }
.mph { width: 232px; display: flex; flex-direction: column; gap: 12px; align-items: center; animation: bob2 7s ease-in-out infinite; }
.mph:nth-child(2) { animation-delay: -2.3s; } .mph:nth-child(3) { animation-delay: -4.6s; } .mph:nth-child(4) { animation-delay: -1.2s; }
.mph .body { width: 100%; background: var(--solid); border: 7px solid var(--plate); border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); min-height: 330px; display: flex; flex-direction: column; }
.mph .mt { background: linear-gradient(160deg, var(--plate), #2a6fe0); color: #fff; text-align: center; padding: 20px 10px 22px; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; font-size: 15px; }
.mph .mb { background: var(--bg); border-radius: 18px 18px 0 0; margin-top: -12px; padding: 12px 10px; display: flex; flex-direction: column; gap: 7px; flex: 1; font-size: 12.5px; }
.mph .mr { background: var(--solid); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.mph .mr i { width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); flex: none; }
.mph .mr.o { color: var(--muted); }
.mph .lab { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--ink); background: var(--glass); border: 1px solid var(--line); padding: 5px 16px; border-radius: 999px; }
/* demo */
.demo { display: grid; grid-template-columns: 350px 1fr; gap: 28px; align-items: start; }
.controls { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea { background: var(--solid); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font-size: 15px; color: var(--fg); }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--accent-soft); padding: 5px; border-radius: 999px; margin-bottom: 14px; }
.tabs button { border: 0; background: transparent; padding: 10px 4px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--accent); cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.15s; }
.tabs button[aria-selected="true"] { background: var(--grad); color: var(--on-accent); box-shadow: 0 6px 14px rgba(47,107,255,0.3); }
.tabs button:active { transform: scale(0.95); }
.phone { background: var(--solid); border: 9px solid var(--plate); border-radius: 38px; min-height: 560px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 50px rgba(20, 60, 160, 0.3); }
.phone-top { background: linear-gradient(160deg, var(--plate), #2a6fe0); color: #fff; padding: 30px 16px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.phone-top .club { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 24px; letter-spacing: 0.2em; text-transform: uppercase; overflow-wrap: anywhere; line-height: 1.15; }
.phone-top .meta { font-size: 12px; opacity: 0.88; letter-spacing: 0.04em; }
.phone-body { padding: 18px 14px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; background: var(--bg); border-radius: 22px 22px 0 0; margin-top: -16px; animation: rise 0.35s ease both; }
@keyframes rise { from { transform: translateY(10px); } to { transform: none; } }
.big { display: flex; align-items: center; gap: 12px; text-align: left; width: 100%; background: var(--solid); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.big .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.big .tx { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.big .tx strong { font-size: 15.5px; color: var(--ink); }
.big .tx span { font-size: 13px; color: var(--muted); }
.big .ar { color: var(--accent); font-size: 18px; font-weight: 700; transition: transform 0.15s; }
.big:hover { border-color: var(--accent); box-shadow: 0 8px 18px rgba(47,107,255,0.18); transform: translateY(-2px); }
.big:hover .ar { transform: translateX(4px); }
.big:active { transform: scale(0.98); }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; width: fit-content; }
.pill.ok { background: var(--accent-soft); color: var(--accent); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.back { background: none; border: 0; color: var(--accent); font-weight: 700; cursor: pointer; width: fit-content; padding: 0; }
.menu-row { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.menu-row.out { color: var(--muted); text-decoration: line-through; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--solid); border-radius: 999px; padding: 6px 13px; font-size: 14px; cursor: pointer; transition: transform 0.12s; }
.chip:active { transform: scale(0.94); }
.chip[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: var(--on-accent); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.smallbtn { background: var(--grad); color: var(--on-accent); border: 0; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; cursor: pointer; }
.smallbtn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.item { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; background: var(--solid); }
.dash { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.tile { background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); }
.tile b { font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--ink); }
.tile span { font-size: 12px; color: var(--muted); }
.panel { background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; box-shadow: var(--shadow); }
.cartgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.cartcell { border: 1px solid var(--line); border-radius: 12px; padding: 8px; font-size: 13px; display: flex; flex-direction: column; gap: 2px; background: var(--solid); }
.cartcell.overdue { border-color: var(--bad); background: var(--bad-soft); }
.cartcell.soon { border-color: var(--warn); background: var(--warn-soft); }
.cartcell b { font-size: 15px; color: var(--ink); }
.tablebox { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 460px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
tr.pop td { animation: flash 1.6s ease; }
@keyframes flash { 0% { background: var(--accent-soft); } 100% { background: transparent; } }
.example { font-size: 12px; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--plate); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; max-width: min(92vw, 420px); text-align: center; z-index: 40; box-shadow: 0 10px 28px rgba(0,0,0,0.3); animation: toastin 0.35s cubic-bezier(.2,1.4,.4,1); }
@keyframes toastin { from { transform: translate(-50%, 24px) scale(0.9); } to { transform: translate(-50%, 0) scale(1); } }
.minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.mini { background: var(--solid); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform 0.25s; }
.mini:hover { transform: translateY(-6px) rotate(-0.6deg); }
.mini .top { background: linear-gradient(135deg, var(--plate), #2a6fe0); color: #fff; padding: 12px 16px; font-size: 13px; }
.mini .top b { display: block; font-family: var(--font-display); font-size: 18px; }
.mini .body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.mini .body .k { color: var(--muted); font-size: 13px; }
.mini .foot { padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.logos { display: flex; flex-wrap: wrap; gap: 8px; }
.logos span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 14px; font-weight: 600; background: var(--glass); }
.calc { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 26px; padding: 22px; box-shadow: var(--shadow); }
.calc input[type="range"] { width: 100%; accent-color: var(--accent); }
.calc .val { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--ink); }
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.pack { background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; box-shadow: var(--shadow); transition: transform 0.25s; }
.pack:hover { transform: translateY(-6px); }
.pack.rec { border: 3px solid transparent; background: linear-gradient(var(--solid), var(--solid)) padding-box, var(--grad) border-box; animation: recglow 3.4s ease-in-out infinite; }
@keyframes recglow { 0%, 100% { box-shadow: 0 18px 40px rgba(47,107,255,0.22); } 50% { box-shadow: 0 22px 54px rgba(25,195,255,0.42); } }
.pack .price { font-family: var(--font-display); font-size: 42px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--ink); }
.pack .price small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pack ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 5px; font-size: 14.5px; }
.pack .row2 { font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; font-variant-numeric: tabular-nums; }
.pack .row2 b { color: var(--ink); }
.compare { font-size: 14.5px; color: var(--muted); }
details { background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; }
summary { cursor: pointer; font-weight: 700; color: var(--ink); }
details p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.tl { border-top: 4px solid; border-image: var(--grad) 1; padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.tl b { font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.tl span { color: var(--muted); font-size: 15px; }
.fine { font-size: 13px; color: var(--muted); max-width: 70ch; }
footer { position: relative; z-index: 1; padding-block: 56px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.route { display: flex; align-items: center; gap: 10px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; box-shadow: var(--shadow); font-weight: 700; color: var(--ink); }
.route .from { background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 5px 12px; font-size: 14px; white-space: nowrap; }
.route .to { margin-left: auto; font-size: 15px; text-align: right; }
.route .arrow { position: relative; flex: 1; min-width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); overflow: hidden; }
.route .arrow::after { content: ""; position: absolute; top: 0; left: -30%; width: 30%; height: 100%; background: #fff; opacity: 0.85; animation: flow 2.4s ease-in-out infinite; }
.route:nth-child(2) .arrow::after { animation-delay: .3s; } .route:nth-child(3) .arrow::after { animation-delay: .6s; } .route:nth-child(4) .arrow::after { animation-delay: .9s; } .route:nth-child(5) .arrow::after { animation-delay: 1.2s; } .route:nth-child(6) .arrow::after { animation-delay: 1.5s; }
@keyframes flow { 0% { left: -30%; } 100% { left: 100%; } }
.js .rev { transform: translateY(22px); transition: transform 0.7s cubic-bezier(.2,.8,.2,1); }
.js .rev.in { transform: none; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .demo { grid-template-columns: 1fr; }
  .phone { max-width: 370px; margin: 0 auto; }
  .links { display: none; }
  .stage { height: 420px; }
}
@media (max-width: 520px) { .fchip { font-size: 12px; padding: 6px 10px 6px 6px; } .fchip i { width: 22px; height: 22px; } .handset { right: 8%; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marq .track { animation: none; }
  .js .rev { transform: none; }
}

/* ===== Fairway theme: Duolingo-style palette, chunky buttons, trees ===== */
body { font-family: var(--font-body); color: var(--fg); background: var(--bg); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 900; color: var(--ink); letter-spacing: -0.01em; }
.gt, .brand b { background: var(--gt); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.eyebrow { background: var(--accent-soft); color: var(--accent); font-weight: 900; border-radius: 12px; }
.links a { font-weight: 800; } .links a:hover { background: var(--accent-soft); color: var(--accent); }
.btn { position: relative; overflow: hidden; display: inline-block; background: var(--fill); color: var(--on-accent); border: 0; border-radius: 16px; padding: 14px 24px; font-weight: 900; font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; cursor: pointer; width: fit-content; box-shadow: 0 5px 0 var(--fill-d); transition: transform 0.08s, box-shadow 0.08s, filter 0.15s; text-align: center; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--fill-d); }
.btn.ghost { background: var(--solid); color: var(--blue-d); border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); }
.btn.ghost:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--line); }
.btn.full { width: 100%; }
.smallbtn { background: var(--fill); color: var(--on-accent); border: 0; border-radius: 12px; padding: 8px 14px; font-weight: 900; font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; box-shadow: 0 3px 0 var(--fill-d); cursor: pointer; transition: transform 0.08s, box-shadow 0.08s; }
.smallbtn.ghost { background: var(--solid); color: var(--blue-d); border: 2px solid var(--line); box-shadow: 0 3px 0 var(--line); }
.smallbtn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--fill-d); }
.tabs { background: var(--b-l); border-radius: 18px; }
.tabs button { border-radius: 14px; font-weight: 900; color: var(--blue-d); }
.tabs button[aria-selected="true"] { background: var(--fill); color: var(--on-accent); box-shadow: 0 3px 0 var(--fill-d); }
.chip { border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 14px; font-weight: 800; background: var(--solid); padding: 6px 13px; }
.chip[aria-pressed="true"] { background: var(--g-l); border-color: var(--fill); color: var(--accent); }
.chip.warnchip[aria-pressed="false"] { background: var(--r-l); border-color: var(--red); color: var(--bad); }
.pill { font-weight: 900; border-radius: 10px; }
.pill.ok { background: var(--g-l); color: var(--accent); }
.pill.warn { background: var(--y-l); color: var(--warn); }
.pill.bad { background: var(--r-l); color: var(--bad); }
.big { border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 18px; background: var(--solid); }
.big .ic { background: var(--b-l); color: var(--blue-d); }
.big:nth-of-type(2n) .ic { background: var(--y-l); color: var(--warn); }
.big:nth-of-type(3n) .ic { background: var(--p-l); color: var(--p-d); }
.big:nth-of-type(4n) .ic { background: var(--g-l); color: var(--accent); }
.big .tx strong { color: var(--ink); font-weight: 900; } .big .ar { color: var(--blue-d); }
.big:hover { border-color: var(--blue); box-shadow: none; transform: translateY(-2px); }
.big:active { transform: translateY(2px); border-bottom-width: 2px; }
.card, .panel, .tile, .calc, .pack, details, .mini, .item, .route { border: 2px solid var(--line); border-radius: 22px; }
.card, .panel, .tile, .calc, .pack, .route { box-shadow: 0 4px 0 var(--line); }
.card:hover { box-shadow: 0 6px 0 var(--line); }
.tile b, .stat b, .dept b { font-weight: 900; }
.field input, .field select, .field textarea { border: 2px solid var(--line); border-radius: 14px; background: var(--solid); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; }
.field input[type="range"], .calc input[type="range"] { accent-color: var(--fill); }
.phone, .screen { border-color: var(--plate); box-shadow: 0 18px 0 -8px rgba(40, 100, 0, 0.2), 0 24px 44px rgba(20, 70, 10, 0.28); }
.phone-top, .screen-top, .mph .mt { background: linear-gradient(160deg, var(--plate), var(--fill-d)); }
.mini .top { background: linear-gradient(135deg, var(--plate), var(--fill-d)); }
.plate { background: linear-gradient(135deg, rgba(255,255,255,0.97), rgba(190,214,176,0.75) 45%, rgba(255,255,255,0.95)); box-shadow: 0 28px 54px rgba(20, 70, 10, 0.35), inset 0 0 0 1px rgba(255,255,255,0.85), inset 0 -6px 14px rgba(60, 100, 40, 0.25); }
.plate .cartno { color: #143300; } .plate .row { color: #143300; }
.hplate { background: linear-gradient(135deg, rgba(255,255,255,0.97), rgba(190,214,176,0.75) 45%, rgba(255,255,255,0.95)); }
.hplate .face { color: #143300; }
.beam { background: linear-gradient(180deg, transparent, rgba(28, 176, 246, 0.5), transparent); }
.ring { border-color: var(--fill); } .hwrap .ring { border-color: var(--fill); }
.sticker { background: var(--yellow); color: #5a3d00; box-shadow: 0 5px 0 var(--yellow-d); }
.fchip i { background: var(--fill); color: var(--on-accent); }
.fchip:nth-of-type(2n) i { background: var(--blue); color: #04334f; }
.fchip:nth-of-type(3n) i { background: var(--yellow); color: #5a3d00; }
.fchip { border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); }
.toast { background: var(--plate); color: #fff; }
.marq { background: repeating-linear-gradient(90deg, var(--fill) 0 70px, #4fc000 70px 140px); color: #143300; border-top: 4px solid var(--fill-d); border-bottom: 4px solid var(--fill-d); transform: none; }
.marq .track { font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; font-size: 17px; }
.marq .track span::after { content: "\2605"; color: #143300; opacity: 0.55; }
.pack.rec { border: 3px solid var(--fill); background: var(--solid); box-shadow: 0 6px 0 var(--fill-d); animation: none; }
.pack .price { font-weight: 900; }
.tl { border-image: none; border-top: 5px solid var(--fill); border-radius: 4px; }
tr.pop td { animation: flash 1.6s ease; }
@keyframes flash { 0% { background: var(--g-l); } 100% { background: transparent; } }
.cartcell { border: 2px solid var(--line); border-radius: 14px; background: var(--solid); }
.cartcell.overdue { border-color: var(--red); background: var(--r-l); }
.cartcell.soon { border-color: var(--orange); background: var(--y-l); }
.badge.rule { background: var(--y-l); color: var(--warn); }
.stat { border: 2px solid var(--line); border-radius: 16px; }
.dept { border: 2px solid var(--line); border-radius: 16px; }
.hcell { border: 2px solid var(--line); border-radius: 14px; }
.route .from { background: var(--b-l); color: var(--blue-d); border-radius: 12px; font-weight: 900; }
.route .arrow { background: linear-gradient(90deg, var(--fill), var(--blue)); }
/* progress bars */
.bar { height: 14px; border-radius: 999px; background: var(--line); overflow: hidden; position: relative; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: var(--fill); width: var(--w, 0%); transition: width 0.9s cubic-bezier(.2,.8,.2,1); position: relative; }
.bar > i::after { content: ""; position: absolute; left: 6px; right: 6px; top: 3px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.45); }
.bar.blue > i { background: var(--blue); } .bar.yellow > i { background: var(--yellow); } .bar.orange > i { background: var(--orange); } .bar.red > i { background: var(--red); } .bar.purple > i { background: var(--purple); }
.js .rev .bar > i { width: 0; } .js .rev.in .bar > i { width: var(--w, 0%); }
.rp { display: inline-block; font-size: 11.5px; font-weight: 900; padding: 2px 9px; border-radius: 9px; letter-spacing: 0.03em; text-transform: uppercase; }
.rp.golfer { background: var(--b-l); color: var(--rp-golfer); } .rp.attendant { background: #ffe9c7; color: var(--rp-attendant); } .rp.maintenance { background: var(--p-l); color: var(--rp-maintenance); }
.rp.mechanic { background: var(--y-l); color: var(--rp-mechanic); } .rp.grounds { background: var(--g-l); color: var(--rp-grounds); } .rp.stock { background: var(--r-l); color: var(--rp-stock); }
/* trees and scenery */
.trees { position: relative; z-index: 1; height: 86px; line-height: 0; pointer-events: none; margin-top: -2px; }
.trees svg { width: 100%; height: 100%; display: block; }
.tree { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 6s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-1.8deg); } to { transform: rotate(1.8deg); } }
.scene { position: absolute; left: 0; right: 0; bottom: 0; height: 280px; z-index: 0; overflow: hidden; pointer-events: none; }
.scene svg { width: 100%; height: 100%; display: block; }
.sun { position: absolute; right: 7%; top: 70px; width: 96px; height: 96px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 14px rgba(255, 200, 0, 0.25), 0 0 60px 20px rgba(255, 200, 0, 0.35); z-index: 0; animation: sunpulse 5s ease-in-out infinite; }
@keyframes sunpulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.cloud { position: absolute; z-index: 0; height: 34px; width: 120px; background: #fff; border-radius: 40px; opacity: 0.9; animation: cloud 60s linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 52px; height: 52px; left: 16px; top: -26px; } .cloud::after { width: 38px; height: 38px; left: 62px; top: -16px; }
.cloud.c1 { top: 110px; left: -160px; } .cloud.c2 { top: 190px; left: -160px; animation-duration: 85s; animation-delay: -30s; transform: scale(0.8); }
@keyframes cloud { to { transform: translateX(calc(100vw + 340px)); } }
.drive { animation: drive 26s linear infinite; }
@keyframes drive { from { transform: translateX(-220px); } to { transform: translateX(1420px); } }
.flagwave { transform-box: fill-box; transform-origin: 0 50%; animation: wave 1.8s ease-in-out infinite alternate; }
@keyframes wave { from { transform: skewY(-6deg) scaleX(1); } to { transform: skewY(6deg) scaleX(0.88); } }
.stripes { background: repeating-linear-gradient(90deg, var(--fill) 0 64px, #4fc000 64px 128px); }
.grass { background: var(--t1); height: 10px; margin-top: -1px; position: relative; z-index: 1; }
.skyhero { background: linear-gradient(180deg, var(--sky1), var(--sky2) 70%); position: relative; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .tree, .cloud, .drive, .flagwave, .sun { animation: none !important; } }
