/* Foam & Fenders: Garage Tycoon — sunny cartoon garage: sky, brick, foam, road. */
:root {
  --sky: #8fd8ff;
  --sky-2: #c9efff;
  --brick: #c8462f;
  --brick-dark: #7a2618;
  --sun: #ffcf3a;
  --sun-dark: #c99511;
  --asphalt: #3b3f4a;
  --ink: #2b1d16;
  --ink-2: #5b4337;
  --paper: #fff8ec;
  --foam: #ffffff;
  --teal: #2fb5c8;
  --display: "Baloo 2", "Rubik", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Baloo 2", "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 18px/1.55 var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brick); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--sun); color: var(--ink); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* cartoon title: white, thick red outline, hard shadow */
.clay {
  font: 800 1em/1 var(--display); margin: 0; color: #fff; letter-spacing: -.01em;
  -webkit-text-stroke: .09em var(--brick); paint-order: stroke fill;
  text-shadow: 0 .08em 0 var(--brick-dark), 0 .16em .18em rgba(43, 29, 22, .25);
}

/* ---------- studio strip ---------- */
.studio-strip { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 10px var(--pad); padding-top: max(10px, env(safe-area-inset-top)); }
.chip { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer; font: 800 14px/1 var(--body); color: var(--ink); background: #fff; border: 3px solid var(--ink); padding: 8px 14px; border-radius: 999px; box-shadow: 0 3px 0 var(--ink); min-height: 40px; }
.chip:hover { background: var(--sun); }
.studio-strip .right { margin-left: auto; display: flex; gap: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; cursor: pointer; font: 800 20px/1 var(--display); padding: 16px 26px 14px; min-height: 58px; border-radius: 18px; border: 3px solid var(--ink); color: var(--ink); transition: transform .15s; }
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn:active { transform: translateY(3px); }
.btn-green, .btn-sun { background: var(--sun); box-shadow: 0 6px 0 var(--ink); }
.btn-red { background: var(--brick); color: #fff; box-shadow: 0 6px 0 var(--ink); }
.btn-white { background: #fff; box-shadow: 0 6px 0 var(--ink); }
.gp-badge { display: inline-flex; align-items: center; gap: 10px; background: #111; color: #fff; text-decoration: none; padding: 9px 18px 9px 14px; border-radius: 16px; min-height: 58px; border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink); }
.gp-badge svg { width: 30px; height: 30px; }
.gp-badge small { display: block; font: 700 10px/1.1 var(--body); letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.gp-badge b { display: block; font: 800 19px/1.1 var(--body); }

/* ---------- hero: sky, sun, garage, road ---------- */
.hero { position: relative; min-height: min(100svh, 920px); overflow: hidden; isolation: isolate; background: linear-gradient(var(--sky) 0%, var(--sky-2) 70%); display: flex; flex-direction: column; }
.sun { position: absolute; right: 8%; top: 70px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, #fff6b0, var(--sun) 60%); box-shadow: 0 0 0 18px rgba(255, 207, 58, .25), 0 0 0 40px rgba(255, 207, 58, .12); z-index: -1; animation: pulse 6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 26px rgba(255, 207, 58, .22), 0 0 0 56px rgba(255, 207, 58, .08); } }
.cloud { position: absolute; z-index: -1; width: 180px; height: 56px; background: #fff; border-radius: 40px; opacity: .9; animation: drift linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 80px; height: 80px; left: 26px; top: -40px; }
.cloud::after { width: 60px; height: 60px; left: 90px; top: -26px; }
@keyframes drift { from { transform: translateX(-260px); } to { transform: translateX(calc(100vw + 260px)); } }
.hero-copy { position: relative; z-index: 3; text-align: center; padding: 110px var(--pad) 0; }
.hero-copy .emblem { width: 120px; margin: 0 auto 6px; filter: drop-shadow(0 8px 0 rgba(43, 29, 22, .2)); animation: wobble 4s ease-in-out infinite; }
@keyframes wobble { 50% { transform: rotate(6deg) scale(1.04); } }
.hero h1 { font-size: clamp(50px, 9vw, 118px); }
.hero h1 small { display: block; font-size: .36em; margin-top: .1em; -webkit-text-stroke-width: .16em; }
.hero .lead { font-weight: 700; font-size: clamp(19px, 2vw, 23px); max-width: 620px; margin: 14px auto 24px; }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin: 14px 0 0; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.street { position: relative; margin-top: auto; z-index: 1; }
.street .garage { width: max(100%, 860px); max-width: none; position: relative; left: 50%; transform: translateX(-50%); max-height: min(560px, 46svh); object-fit: cover; object-position: center bottom; }
.road { position: relative; height: 92px; background: var(--asphalt); border-top: 6px solid #a5a9b4; margin-top: -4px; overflow: hidden; }
.road::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; background: repeating-linear-gradient(90deg, #ffe48a 0 46px, transparent 46px 92px); }
.road .car { position: absolute; bottom: 12px; height: 74px; width: auto; max-width: none; animation: drive linear infinite; }
@keyframes drive { from { transform: translateX(-320px); } to { transform: translateX(calc(100vw + 40px)); } }
.bubbles { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.bubbles span { position: absolute; bottom: -40px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .95); background: radial-gradient(circle at 30% 30%, #fff 0 18%, rgba(255, 255, 255, .25) 40%, rgba(160, 225, 255, .25)); animation: rise linear infinite; }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate(var(--dx, 30px), -110vh); opacity: .2; } }
@media (max-width: 700px) { .sun { width: 100px; height: 100px; top: 64px; right: -20px; } .street .garage { width: 170%; } .road { height: 72px; } .road .car { height: 56px; } }

/* ---------- sections ---------- */
.sec { padding: clamp(70px, 10vw, 120px) 0 0; }
.head { text-align: center; margin-bottom: 40px; }
.head .clay { font-size: clamp(38px, 5.6vw, 64px); }
.head p { margin: 12px auto 0; max-width: 580px; font-weight: 700; color: var(--ink-2); }

/* how it works — comic panels */
.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.panel { background: #fff; border: 4px solid var(--ink); border-radius: 24px; box-shadow: 8px 8px 0 var(--ink); overflow: hidden; transition: transform .25s; }
.panel:hover { transform: rotate(-1deg) translateY(-4px); }
.panel:nth-child(2):hover { transform: rotate(1deg) translateY(-4px); }
.panel .art { height: 190px; position: relative; background: var(--sky-2); border-bottom: 4px solid var(--ink); overflow: hidden; }
.panel .art img { position: absolute; }
.panel .body { padding: 18px 20px 22px; }
.panel .step { display: inline-block; font: 800 14px/1 var(--display); background: var(--sun); border: 3px solid var(--ink); border-radius: 999px; padding: 6px 12px 4px; }
.panel h3 { font: 800 26px/1.1 var(--display); margin: 10px 0 6px; }
.panel p { margin: 0; color: var(--ink-2); font-weight: 600; }
@media (max-width: 880px) { .panels { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* VIP work order */
.vip { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.order { background: #fffdf6; border: 4px solid var(--ink); border-radius: 20px; padding: 26px 26px 20px; box-shadow: 8px 8px 0 var(--brick); transform: rotate(-1.5deg); position: relative; }
.order::before { content: ""; position: absolute; top: -18px; left: 50%; width: 90px; height: 30px; margin-left: -45px; background: #c9c3b6; border: 4px solid var(--ink); border-radius: 8px; }
.order h3 { font: 800 28px/1 var(--display); margin: 6px 0 14px; display: flex; justify-content: space-between; align-items: baseline; }
.order h3 span { font-size: 15px; color: var(--brick); }
.order ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
.order li { break-inside: avoid; display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 2px dashed #e5dccb; font-weight: 700; }
.order li i { width: 24px; height: 24px; flex: 0 0 auto; border: 3px solid var(--ink); border-radius: 7px; background: #fff; position: relative; }
.order li.done i { background: var(--sun); }
.order li.done i::after { content: "✓"; position: absolute; inset: -6px 0 0 3px; font: 800 20px/1 var(--display); }
.order .stars { margin-top: 14px; font-size: 30px; letter-spacing: 4px; color: var(--sun); -webkit-text-stroke: 1.5px var(--ink); }
.vip .car-big { width: 100%; filter: drop-shadow(0 14px 0 rgba(43, 29, 22, .15)); }
.vip h2 { font-size: clamp(36px, 4.8vw, 56px); text-align: left; }
.vip p { font-weight: 600; }
@media (max-width: 880px) { .vip { grid-template-columns: 1fr; } .order ul { columns: 1; } }

/* regulars */
.regulars { display: flex; gap: 18px; overflow-x: auto; padding: 30px var(--pad) 34px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--brick) transparent; }
.guy { flex: 0 0 200px; scroll-snap-align: center; text-align: center; position: relative; }
.guy .want { position: absolute; top: -18px; right: 6px; width: 72px; z-index: 2; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.guy .pic { height: 250px; display: flex; align-items: flex-end; justify-content: center; background: linear-gradient(transparent 40%, #ffe7b8 40%); border-radius: 22px; border: 4px solid var(--ink); overflow: hidden; }
.guy .pic img { height: 235px; width: auto; transition: transform .3s; }
.guy:hover .pic img { transform: translateY(-6px) scale(1.04); }
.guy b { display: block; margin-top: 10px; font: 800 20px/1.1 var(--display); }
.guy span { font-size: 15px; color: var(--ink-2); font-weight: 600; }

/* districts */
.districts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.district { border: 4px solid var(--ink); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 6px 6px 0 var(--ink); }
.district img { width: 100%; aspect-ratio: 1080/640; object-fit: cover; border-bottom: 4px solid var(--ink); }
.district div { padding: 14px 18px 18px; }
.district b { font: 800 22px/1.1 var(--display); }
.district p { margin: 4px 0 0; color: var(--ink-2); font-weight: 600; font-size: 16px; }
@media (max-width: 880px) { .districts { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* testers */
.testers { margin-top: clamp(70px, 10vw, 120px); background: var(--brick); color: #fff; border: 4px solid var(--ink); border-radius: 32px; box-shadow: 10px 10px 0 var(--ink); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.testers .clay { font-size: clamp(36px, 4.8vw, 56px); -webkit-text-stroke-color: var(--ink); text-shadow: 0 .08em 0 var(--ink); }
.testers p, .testers li { font-weight: 700; }
.testers ol { padding-left: 22px; }
.testers a:not(.btn) { color: #fff; }
.testers .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.testers img { max-width: 260px; justify-self: center; }
@media (max-width: 860px) { .testers { grid-template-columns: 1fr; } .testers img { max-width: 160px; order: -1; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 3px solid var(--ink); border-radius: 18px; padding: 2px 20px; box-shadow: 4px 4px 0 var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 32px 12px 0; font: 800 19px/1.3 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 8px; font: 800 30px/1 var(--display); color: var(--brick); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--ink-2); font-weight: 600; }

/* footer */
.foot { margin-top: clamp(80px, 10vw, 130px); background: var(--brick); color: #ffe1d6; border-top: 4px solid var(--ink); padding: 40px 0 calc(34px + env(safe-area-inset-bottom)); background-image: linear-gradient(rgba(0,0,0,.08) 2px, transparent 2px), linear-gradient(90deg, rgba(0,0,0,.08) 2px, transparent 2px); background-size: 64px 28px, 64px 56px; }
.foot .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; }
.foot .brand { display: flex; align-items: center; gap: 12px; font: 800 24px/1.1 var(--display); color: #fff; }
.foot .brand img { width: 56px; height: 56px; border-radius: 14px; border: 3px solid var(--ink); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; }
.foot a { color: #fff; text-decoration: none; font-weight: 700; }
.foot a:hover { text-decoration: underline; }
.foot small { display: block; margin-top: 16px; color: #ffd0c2; font-size: 14px; }
.foot .studio { text-align: right; font-size: 14px; }
.foot .studio a { display: inline-block; margin-top: 8px; background: var(--ink); padding: 10px 14px; border-radius: 999px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 720px) { .foot .wrap { grid-template-columns: 1fr; } .foot .studio { text-align: left; } }

/* legal */
.doc-hero { padding: 100px var(--pad) 28px; text-align: center; background: linear-gradient(var(--sky), var(--paper)); }
.doc-hero img { width: 92px; height: 92px; border-radius: 22px; margin: 0 auto 14px; border: 4px solid var(--ink); }
.doc-hero .clay { font-size: clamp(36px, 6vw, 60px); }
.doc-hero p { margin: 10px 0 0; font-weight: 700; color: var(--ink-2); }
.doc { max-width: 800px; margin: 0 auto; padding: 8px var(--pad) 0; }
.doc .card { background: #fff; border: 4px solid var(--ink); border-radius: 24px; box-shadow: 8px 8px 0 var(--ink); padding: clamp(22px, 4vw, 44px); }
.doc h2 { font: 800 26px/1.15 var(--display); margin: 34px 0 6px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { font-size: 17px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 12px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px; border-bottom: 2px dashed #e5dccb; }
.doc th { font: 800 14px/1.2 var(--display); text-transform: uppercase; color: var(--brick); }
.doc .meta { color: var(--ink-2); font-size: 15px; font-weight: 700; }
.doc .box { background: #e9f8ff; border: 3px solid var(--ink); border-radius: 16px; padding: 14px 18px; margin: 16px 0; }
.doc .steps { counter-reset: s; list-style: none; padding: 0; }
.doc .steps li { counter-increment: s; position: relative; padding: 6px 0 6px 50px; margin: 8px 0; }
.doc .steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 36px; height: 36px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); display: grid; place-items: center; font: 800 18px/1 var(--display); }
.doc-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.doc-nav a { text-decoration: none; font-weight: 800; font-size: 15px; color: var(--ink); background: #fff; border: 3px solid var(--ink); padding: 6px 14px; border-radius: 999px; }
.doc-nav a[aria-current] { background: var(--sun); }
.doc .btn-green { font-size: 18px; }

.rv { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s cubic-bezier(.2, .9, .2, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
