/* Paaket Games homepage (paaket.com), after the owner's Claude Design canvas (D-105). Light only, like the Sweet Trail
   site (D-087). The host forbids inline styles and scripts, so every style lives here. */

/* Rubik (OFL, fonts/Rubik-OFL.txt): Google Fonts' variable files, as the design bundled them. */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/fonts/rubik-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/fonts/rubik-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* The design's palette. Its oklch tints are written out in sRGB hex. Small text and buttons use deeper shades than
   the design's bright coral and game accents, so they read at 4.5:1 or better (WCAG AA). */
:root {
  color-scheme: light;
  --page: #FFF9F3;
  --ink: #1A1411;
  --ink-2: #3A2E28;
  --muted: #5A4B43;
  --coral: #FF4B2B;          /* bands, large type, decoration */
  --coral-button: #D93A1C;   /* white text on it: 4.6:1 */
  --coral-button-hover: #C9321A;
  --coral-button-edge: #A2260F;
  --coral-text: #C9321A;     /* small coral text on the page: 5.1:1 */
  --soft: #FFE9DF;
  --line: #E8D6CB;
  --dot: #A08B7E;            /* the carousel's inactive dots: 3.1:1 */
  --night: #1A1411;
  --night-card: #2A211C;
  --on-night: #D9CCC3;
  --on-night-accent: #FF8A6E;
  --sweet-tint: #FFCCE5;     /* oklch(0.9 0.07 350) */
  --sweet-accent: #CA358B;   /* oklch(0.58 0.2 350): white text on it 4.8:1 */
  --sweet-text: #A4126C;     /* small labels on the tint: 5.2:1 */
  --echoes-tint: #B3EDD3;    /* oklch(0.9 0.07 165) */
  --echoes-accent: #007950;  /* oklch(0.5 0.13 165) */
  --echoes-text: #005F3E;    /* small labels on the tint: 5.9:1 */
  --echoes-deep: #003F28;
  --studio-tint: #FFDFA8;    /* oklch(0.92 0.08 80) */
  --font: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--coral-text); text-decoration: none; }
a:hover { color: var(--coral-button-hover); }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------------------------------------------------------------- shared pieces */

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px; border-radius: 999px;
  background: var(--coral-button); color: #fff;
  font-weight: 700; font-size: 18px; line-height: 1.1;
  box-shadow: 0 5px 0 var(--coral-button-edge);
  transition: transform .15s ease, background-color .15s ease;
}
.pill:hover { color: #fff; background: var(--coral-button-hover); transform: translateY(-3px); }
.pill-sweet { background: var(--sweet-accent); box-shadow: 0 5px 0 rgba(0, 0, 0, .18); }
.pill-sweet:hover { background: var(--sweet-text); }

.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-text); }

.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  display: flex; flex-direction: column; padding: 8px 18px; border-radius: 14px;
  background: var(--ink); color: #fff; line-height: 1.15; white-space: nowrap;
}
a.store { transition: transform .15s ease; }
a.store:hover { color: #fff; transform: translateY(-3px); }
.store-cap { font-size: 11px; opacity: .85; }
.store-name { font-size: 17px; font-weight: 700; }
.store-soon { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.stores-large .store { padding: 12px 26px; border-radius: 18px; }
.stores-large .store-cap { font-size: 12px; }
.stores-large .store-name { font-size: 22px; }

/* Treats from Sweet Trail, scattered over art panels. */
.treat { position: absolute; height: auto; filter: drop-shadow(0 10px 14px rgba(26, 20, 17, .18)); }

/* ---------------------------------------------------------------- header */

.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 249, 243, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 20, 17, .06);
}
.site-head-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
}
.head-logo { display: flex; align-items: center; border-radius: 10px; }
.head-logo img { width: 132px; height: 44px; }
.head-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.head-nav a { padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 16px; color: var(--ink); transition: background-color .2s ease; }
.head-nav a:hover { background: var(--soft); color: var(--ink); }
.head-cta { padding: 12px 22px; font-size: 16px; box-shadow: 0 4px 0 var(--coral-button-edge); }
.head-cta:hover { transform: translateY(-2px); }

/* ---------------------------------------------------------------- hero carousel */

.hero { padding-top: 28px; }
.slides { display: grid; border-radius: 40px; }
.slide {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 32px; align-items: center;
  min-height: 560px; padding: 56px; border-radius: 40px; overflow: hidden;
}
.slide[hidden] { display: none; }
.slide-sweet { background: var(--sweet-tint); --accent: var(--sweet-accent); --accent-text: var(--sweet-accent); }
.slide-echoes { background: var(--echoes-tint); --accent-text: var(--echoes-accent); }
.slide-studio { background: var(--studio-tint); --accent-text: var(--coral-text); }
.slide-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.kicker {
  display: inline-flex; padding: 8px 14px; border-radius: 999px; background: #fff;
  color: var(--accent-text); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
}
.slide-title { font-size: clamp(44px, 6.4vw, 92px); line-height: .95; font-weight: 900; letter-spacing: -.03em; text-wrap: balance; }
.slide-text { font-size: 20px; line-height: 1.5; max-width: 460px; color: var(--ink-2); text-wrap: pretty; }
.slide-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.slide-art {
  position: relative; height: 440px; border-radius: 32px; overflow: hidden; transform: rotate(2deg);
  box-shadow: 0 30px 60px -20px rgba(26, 20, 17, .35);
}
.slide-art > img:only-child { width: 100%; height: 100%; object-fit: cover; }

/* Echoes has no art yet: its name on deep green, with rings for the echoes. */
.echoes-art {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 32px;
  color: #fff; overflow: hidden;
  background:
    repeating-radial-gradient(circle at 78% 28%, rgba(179, 237, 211, .16) 0 2px, transparent 2px 34px),
    radial-gradient(circle at 78% 28%, rgba(179, 237, 211, .35), transparent 55%),
    linear-gradient(160deg, var(--echoes-accent), var(--echoes-deep) 70%);
}
.echoes-word { font-size: clamp(48px, 6vw, 84px); font-weight: 900; letter-spacing: -.03em; line-height: .9; }
.echoes-sub { font-size: 20px; font-weight: 600; letter-spacing: .02em; opacity: .92; }

/* The studio slide: the Paaket mark among Sweet Trail's treats. */
.studio-art { background: radial-gradient(circle at 50% 50%, #fff6e4 0, #ffe7b9 45%, #ffd486 100%); }
.studio-mark { position: absolute; left: 50%; top: 50%; width: 200px; height: auto; transform: translate(-50%, -50%) rotate(-6deg); filter: drop-shadow(0 18px 24px rgba(201, 50, 26, .3)); }
.treat-cupcake { width: 120px; left: 9%; top: 9%; transform: rotate(-10deg); }
.treat-macaron { width: 104px; right: 10%; top: 12%; transform: rotate(12deg); }
.treat-bonbon { width: 98px; left: 13%; bottom: 12%; transform: rotate(8deg); }
.treat-tart { width: 116px; right: 9%; bottom: 14%; transform: rotate(-8deg); }
.treat-chest { width: 92px; left: 42%; top: 4%; transform: rotate(4deg); }
.treat-ribbon { width: 70px; left: 46%; bottom: 5%; transform: rotate(-6deg); }

/* With the script: slides cross-fade in place, and the controls appear. Without it, the first slide stands alone. */
.carousel.is-ready .slide { transition: opacity .6s ease, visibility .6s; }
.carousel.is-ready .slide:not(.is-current) { opacity: 0; visibility: hidden; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.carousel-controls[hidden] { display: none; }
.round {
  width: 48px; height: 48px; border-radius: 50%; padding: 0; cursor: pointer;
  display: grid; place-items: center; background: #fff; border: 2px solid var(--ink); color: var(--ink);
  transition: background-color .2s ease;
}
.round:hover { background: var(--soft); }
.round svg { width: 22px; height: 22px; }
.round-pause .icon-play, .round-pause[aria-pressed="true"] .icon-pause { display: none; }
.round-pause[aria-pressed="true"] .icon-play { display: block; }
.dots { display: flex; align-items: center; }
.dot { width: 28px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; transition: width .3s ease; }
.dot::before { content: ""; width: 12px; height: 12px; border-radius: 999px; background: var(--dot); transition: width .3s ease, background-color .3s ease; }
.dot[aria-current="true"] { width: 56px; }
.dot[aria-current="true"]::before { width: 40px; background: var(--coral); }

/* ---------------------------------------------------------------- our games */

.games { padding-top: 110px; padding-bottom: 40px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head h2, .support h2 { font-size: clamp(40px, 5vw, 64px); font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.section-head p { font-size: 18px; color: var(--muted); max-width: 380px; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px; }
.game {
  display: flex; flex-direction: column; gap: 18px; height: 100%; padding: 16px; border-radius: 32px; color: var(--ink);
  transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), box-shadow .3s ease;
}
a.game:hover { color: var(--ink); transform: translateY(-10px) rotate(-1.2deg); box-shadow: 0 26px 40px -18px rgba(26, 20, 17, .35); }
.game-sweet { background: var(--sweet-tint); --label: var(--sweet-text); --accent: var(--sweet-accent); }
.game-echoes { background: var(--echoes-tint); --label: var(--echoes-text); }
.game-art { position: relative; display: block; height: 300px; border-radius: 22px; overflow: hidden; }
.game-cover { width: 100%; height: 100%; object-fit: cover; }
.game-logo { position: absolute; left: 50%; bottom: 14px; width: 62%; height: auto; transform: translateX(-50%); filter: drop-shadow(0 10px 14px rgba(58, 23, 38, .35)); }
.game-art.echoes-art { display: flex; padding: 26px; }
.game-art .echoes-word { font-size: 64px; }
.game-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 10px 12px; }
.game-text { display: flex; flex-direction: column; gap: 6px; }
.game-genre { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--label); }
.game-name { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.game-go { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.game-go svg { width: 24px; height: 24px; }
.game-tag { flex: none; padding: 8px 12px; border-radius: 999px; background: #fff; color: var(--echoes-text); font-size: 13px; font-weight: 700; white-space: nowrap; }
.game-soon {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px;
  min-height: 420px; padding: 32px; border: 3px dashed var(--line); border-radius: 32px;
}
.soon-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-text); }
.soon-title { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
.soon-text { font-size: 17px; color: var(--muted); line-height: 1.5; }

/* ---------------------------------------------------------------- about */

.about {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 56px; align-items: center;
  padding-top: 90px; padding-bottom: 90px;
}
.about-art {
  position: relative; height: 460px; border-radius: 36px; overflow: hidden; transform: rotate(-2deg);
  background: radial-gradient(circle at 50% 100%, #ffd9c7 0, var(--soft) 60%);
}
.about-chef { position: absolute; left: 50%; bottom: -8px; width: 250px; height: auto; transform: translateX(-50%); }
.about-cupcake { width: 110px; left: 8%; top: 12%; transform: rotate(-10deg); }
.about-macaron { width: 96px; right: 9%; bottom: 16%; transform: rotate(10deg); }
.about-mark { position: absolute; right: 9%; top: 10%; width: 74px; height: auto; transform: rotate(8deg); }
.about-copy { display: flex; flex-direction: column; gap: 22px; }
.about-copy h2 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 900; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }
.about-copy p:not(.eyebrow) { font-size: 19px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }

/* ---------------------------------------------------------------- help & FAQ */

.support { background: var(--night); color: var(--page); border-radius: 48px 48px 0 0; }
.support-inner { max-width: 880px; margin: 0 auto; padding: 100px var(--gutter) 110px; }
.support h2 { margin-bottom: 32px; }
.support :focus-visible { outline-color: var(--on-night-accent); }
.support a { color: var(--on-night-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.support a:hover { color: #ffb3a1; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--night-card); border-radius: 22px; overflow: hidden; }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 20px; font-weight: 600; border-radius: 22px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--coral); transition: transform .25s ease; }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; border-radius: 2px; background: #fff; transform: translate(-50%, -50%); }
.faq .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus { transform: rotate(45deg); }
.answer { display: flex; flex-direction: column; gap: 12px; padding: 0 26px 24px; font-size: 17px; line-height: 1.6; color: var(--on-night); }
.answer strong { color: var(--page); font-weight: 600; }
.still { margin-top: 28px; font-size: 17px; color: var(--on-night); }

/* ---------------------------------------------------------------- download band and footer */

.download { background: var(--coral); color: #fff; }
.download-inner { padding-top: 90px; padding-bottom: 90px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.download h2 { font-size: clamp(40px, 5vw, 68px); font-weight: 900; letter-spacing: -.03em; line-height: 1; max-width: 640px; text-wrap: balance; }
.download .store-soon { background: rgba(26, 20, 17, .82); color: #fff; box-shadow: none; }
.download :focus-visible { outline-color: #fff; }

.site-foot-inner { padding-top: 48px; padding-bottom: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-logo { width: 120px; height: 40px; }
.foot-nav { display: flex; gap: 8px 24px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.foot-nav a { color: var(--muted); }
.foot-nav a:hover { color: var(--ink); text-decoration: underline; }

/* ---------------------------------------------------------------- 404 */

.notfound { padding-top: 90px; padding-bottom: 110px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.notfound h1 { font-size: clamp(44px, 6vw, 84px); font-weight: 900; letter-spacing: -.03em; line-height: .95; }
.notfound p { font-size: 20px; color: var(--ink-2); max-width: 560px; }
.notfound .slide-actions a:not(.pill) { font-weight: 600; }

/* ---------------------------------------------------------------- privacy policy (privacy.txt, site/legal-text.mjs) */

.legal-page { padding-top: 48px; padding-bottom: 96px; }
.legal {
  max-width: 820px; margin: 0 auto; padding: 48px 56px 56px; border-radius: 32px;
  background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -32px rgba(26, 20, 17, .3);
}
.legal .eyebrow { margin-bottom: 10px; }
.legal h1 { font-size: clamp(40px, 5.4vw, 64px); font-weight: 900; letter-spacing: -.03em; line-height: 1; text-wrap: balance; }
.legal .meta { margin: 14px 0 28px; font-size: 15px; color: var(--muted); }
.legal h2 { margin: 44px 0 12px; font-size: 26px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; text-wrap: balance; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.65; text-wrap: pretty; }
.legal p { margin-bottom: 14px; }
.legal ul { margin-bottom: 16px; padding-left: 24px; list-style: disc; }
.legal li { margin-bottom: 8px; padding-left: 2px; }
.legal li::marker { color: var(--coral); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.legal .toc { margin: 8px 0; padding: 18px 24px; border-radius: 22px; background: var(--soft); }
.legal .toc summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.legal .toc ul { margin: 12px 0 2px; padding: 0; list-style: none; columns: 2 15rem; column-gap: 28px; }
.legal .toc li { margin-bottom: 6px; padding: 0; break-inside: avoid; }
.legal .toc a { text-decoration: none; font-weight: 500; }
.legal .toc a:hover { text-decoration: underline; }
.legal .note { margin: 0 0 16px; padding: 14px 18px; border-left: 4px solid var(--coral); border-radius: 0 14px 14px 0; background: var(--soft); }
.legal .note p { margin: 0; }
.legal mark.todo { padding: 0 3px; border-radius: 4px; background: var(--studio-tint); color: var(--ink); }

/* ---------------------------------------------------------------- smaller screens */

@media (max-width: 900px) {
  .slide { padding: 40px; min-height: 0; }
  .slide-art { height: 360px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  html { scroll-padding-top: 16px; }
  /* The header scrolls away on phones, where a wrapped two-row bar would cover too much of the screen. */
  .site-head { position: static; }
  .site-head-inner { padding-top: 12px; padding-bottom: 10px; }
  .head-nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; }
  .head-nav a { padding: 8px 12px; font-size: 15px; }
  .head-cta { padding: 10px 18px; font-size: 15px; }
  .hero { padding-top: 16px; }
  .slides, .slide { border-radius: 28px; }
  .slide { padding: 28px 22px 32px; gap: 28px; }
  .slide-copy { gap: 16px; }
  .slide-text { font-size: 18px; }
  .slide-art { height: 260px; border-radius: 24px; }
  .echoes-art { padding: 24px; }
  .studio-mark { width: 140px; }
  .treat-cupcake { width: 84px; } .treat-macaron { width: 74px; } .treat-bonbon { width: 70px; }
  .treat-tart { width: 84px; } .treat-chest { width: 66px; } .treat-ribbon { width: 50px; }
  .pill { padding: 14px 22px; font-size: 17px; }
  .games { padding-top: 72px; }
  .game-art { height: 240px; }
  .game-name { font-size: 24px; }
  .game-soon { min-height: 0; }
  .about { gap: 40px; padding-top: 64px; padding-bottom: 72px; }
  .about-art { height: 360px; }
  .about-chef { width: 200px; }
  .support { border-radius: 32px 32px 0 0; }
  .support-inner { padding-top: 72px; padding-bottom: 80px; }
  .faq summary { padding: 18px 18px 18px 20px; font-size: 18px; }
  .answer { padding: 0 20px 20px; font-size: 16px; }
  .download-inner { padding-top: 64px; padding-bottom: 64px; }
  .legal-page { padding-top: 16px; padding-bottom: 56px; }
  .legal { padding: 28px 20px 32px; border-radius: 24px; }
  .legal h2 { margin-top: 36px; font-size: 22px; }
  .legal .toc { padding: 16px 18px; }
}

@media print {
  .site-head, .site-foot, .skip, .legal .toc { display: none; }
  .legal-page { padding: 0; }
  .legal { max-width: none; padding: 0; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
  .pill:hover, a.store:hover, .head-cta:hover, a.game:hover { transform: none; }
}
