/*
 * pharmaskill.ir — public site.
 *
 * Built from the app's own design system (lib/theme/ui.dart): a warm sand
 * ground, white borderless cards on one 16px radius, a stadium primary button,
 * one vivid green for anything actionable, warm-brown type, and flat two-tone
 * props. The colours below are sampled from the running app, not invented.
 */

@font-face { font-family: 'Vazirmatn'; font-weight: 400; font-display: swap; src: url('fonts/vazirmatn-fd-400.woff2') format('woff2'); }
@font-face { font-family: 'Vazirmatn'; font-weight: 500; font-display: swap; src: url('fonts/vazirmatn-fd-500.woff2') format('woff2'); }
@font-face { font-family: 'Vazirmatn'; font-weight: 700; font-display: swap; src: url('fonts/vazirmatn-fd-700.woff2') format('woff2'); }
@font-face { font-family: 'Vazirmatn'; font-weight: 900; font-display: swap; src: url('fonts/vazirmatn-fd-900.woff2') format('woff2'); }

:root {
    --sand: #f4e7de;
    --sand-deep: #ecdfd6;
    --sand-chip: #e7d8ce;
    --band-green: #e8f0db;
    --band-blue: #d6e8f4;
    --white: #fff;

    --ink: #453631;
    --ink-soft: #796a63;
    --ink-muted: #ae9f98;
    --line: #dbcec5;
    --outline: #b1a099;

    --green: #35b43f;
    --green-deep: #2a9433;
    --green-soft: #bce1bf;
    --red: #ee5a46;
    --red-soft: #ffcfcf;
    --gold: #f7af27;

    --teal: #62b59b;
    --purple: #ae6fc6;
    --amber: #e0a64f;
    --indigo: #6e66be;
    --salmon: #f7867a;
    --plum: #2c2043;

    --radius: 16px;
    --gutter: 20px;
    --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
    margin: 0;
    background: var(--sand);
    color: var(--ink);
    font-family: 'Vazirmatn', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Visually hidden until focused. Not pushed off-screen: in RTL that lands
   on the right and widens the page. */
.skip { position: absolute; top: 8px; inset-inline-start: 8px; z-index: 10; background: var(--white); padding: 8px 14px; border-radius: 10px; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip:focus { clip-path: none; width: auto; height: auto; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* ── Buttons — the app's stadium, with a pressable lip ─────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 30px;
    border: 0;
    border-radius: 999px;
    font-weight: 900;
    font-size: 17px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .08s ease, box-shadow .08s ease, background-color .15s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary { background: var(--green); color: #fff; box-shadow: 0 5px 0 var(--green-deep); }
.btn-primary:hover { background: #3cc046; }
.btn-primary:active { transform: translateY(5px); box-shadow: 0 0 0 var(--green-deep); }

.btn-ghost { background: var(--white); color: var(--ink); box-shadow: 0 5px 0 var(--line); }
.btn-ghost:active { transform: translateY(5px); box-shadow: 0 0 0 var(--line); }

.btn-small { min-height: 44px; padding: 0 20px; font-size: 15px; box-shadow: 0 4px 0 var(--green-deep); }
.btn-small:active { transform: translateY(4px); }

.btn[aria-disabled='true'], .btn:disabled { background: var(--outline); color: #fff; box-shadow: 0 5px 0 #9a8a83; cursor: not-allowed; }

/* ── Header / footer ───────────────────────────────────────────────────── */

.top { position: sticky; top: 0; z-index: 5; background: rgba(244, 231, 222, .92); backdrop-filter: saturate(1.2); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 19px; text-decoration: none; }
.brand img { width: 24px; height: 30px; image-rendering: pixelated; }
.brand-quiet { font-size: 16px; }
.brand-quiet img { width: 18px; height: 23px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--ink-soft); }
.nav a:not(.btn):hover { color: var(--ink); }

.foot { padding: 40px 0 48px; }
.foot-row { display: grid; gap: 8px; justify-items: center; text-align: center; color: var(--ink-soft); font-size: 14px; }
.foot-small { color: var(--ink-muted); font-size: 13px; }

/* ── Type ──────────────────────────────────────────────────────────────── */

.eyebrow { display: inline-block; font-weight: 700; font-size: 14px; color: var(--green-deep); }

.h1 { font-weight: 900; font-size: clamp(36px, 7.4vw, 64px); line-height: 1.22; }
.h2 { font-weight: 900; font-size: clamp(28px, 4.6vw, 42px); line-height: 1.3; }
.h3 { font-weight: 700; font-size: 20px; line-height: 1.5; }
.lead { font-size: clamp(17px, 2.1vw, 20px); line-height: 1.95; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }

/* The word that gets the green: a hand-drawn stroke, not a highlight box. */
.mark { position: relative; white-space: nowrap; color: var(--green); }
.mark::after {
    content: '';
    position: absolute;
    inset-inline: -4px;
    bottom: -.06em;
    height: .22em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9c40-6 80-8 120-5 25 2 50 3 74-1' fill='none' stroke='%23bce1bf' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
    z-index: -1;
}

.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .h2 { margin-top: 6px; }
.section-head .lead { margin-top: 14px; }
.center { text-align: center; margin-inline: auto; }

/* ── Hero ──────────────────────────────────────────────────────────────── */

.hero { padding: clamp(24px, 5vw, 56px) 0 0; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-copy { position: relative; z-index: 3; }
.hero-copy .h1 { margin-top: 14px; }
.hero-copy .lead { margin-top: 20px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.hero-facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts svg { width: 16px; height: 16px; color: var(--green); }

/* The phone stands on the app's own level bands. */
.hero-stage { position: relative; display: grid; place-items: center; padding: 28px 0 0; }
.hero-bands {
    position: absolute;
    inset: 18% -40vw 0;
    background: linear-gradient(var(--band-green) 0 50%, var(--band-blue) 50% 100%);
    border-radius: 48px 48px 0 0;
}
.hero-art { position: absolute; z-index: 1; color: var(--teal); }
.hero-art-heart { width: 120px; top: 6%; inset-inline-end: 4%; transform: rotate(10deg); }
.hero-art-plant { width: 88px; bottom: 6%; inset-inline-start: 0; color: #a8c48a; }
.hero-art-blister { width: 70px; top: 46%; inset-inline-end: -2%; color: #c9a7d6; }

.phone {
    position: relative;
    z-index: 2;
    width: min(290px, 74vw);
    padding: 10px;
    border-radius: 44px;
    background: var(--plum);
    box-shadow: 0 24px 0 -12px rgba(44, 32, 67, .18);
}
.phone img { width: 100%; height: auto; border-radius: 34px; aspect-ratio: 390 / 844; background: var(--sand); }
.phone-small { width: 100%; max-width: 250px; padding: 8px; border-radius: 38px; }
.phone-small img { border-radius: 30px; }

/* ── Numbers ───────────────────────────────────────────────────────────── */

.stats { position: relative; z-index: 3; background: var(--white); border-radius: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 26px 0; }
.stat { text-align: center; padding: 10px 4px; }
.stat b { display: block; font-size: clamp(30px, 5vw, 44px); font-weight: 900; line-height: 1.2; }
.stat span { font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.stat:nth-child(1) b { color: var(--green); }
.stat:nth-child(2) b { color: var(--purple); }
.stat:nth-child(3) b { color: var(--amber); }
.stat:nth-child(4) b { color: var(--teal); }

/* ── Playable round — the app's question screen, on the page ──────────── */

.play { background: var(--sand); }
.play-grid { display: grid; gap: 40px; align-items: start; }
.play-copy .lead { margin-top: 14px; }
.play-side { display: none; }

.game {
    background: var(--sand-deep);
    border-radius: 28px;
    padding: 22px;
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
}
.game-top { display: flex; align-items: center; gap: 14px; }
.game-count { font-weight: 700; font-size: 15px; color: var(--ink-muted); min-width: 2.6em; }
.game-bar { flex: 1; height: 12px; border-radius: 99px; background: var(--white); overflow: hidden; }
.game-bar i { display: block; height: 100%; width: 0; background: var(--green); border-radius: inherit; transition: width .45s cubic-bezier(.3, 1.4, .5, 1); }

.game-kind { margin-top: 22px; font-size: 14px; font-weight: 700; color: var(--ink-soft); text-align: center; }
.game-q { margin-top: 8px; font-size: 21px; font-weight: 700; line-height: 1.75; text-align: center; min-height: 3.5em; }

.game-opts { display: grid; gap: 12px; margin-top: 20px; }
.game-opts.is-tf { grid-template-columns: 1fr 1fr; }

.opt {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 60px;
    padding: 12px 16px;
    text-align: start;
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 4px 0 var(--line);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.6;
    cursor: pointer;
    transition: transform .08s ease, box-shadow .08s ease, border-color .15s ease, background-color .15s ease;
}
.is-tf .opt { justify-content: center; font-weight: 900; font-size: 18px; }
.opt:hover:not(:disabled) { border-color: var(--outline); }
.opt:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 0 0 var(--line); }
.opt-key {
    flex: none;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 2px solid var(--line);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-muted);
}
.opt.is-right { background: #eaf7eb; border-color: var(--green); box-shadow: 0 4px 0 var(--green); color: var(--green-deep); }
.opt.is-right .opt-key { border-color: var(--green); color: var(--green); }
.opt.is-wrong { background: #fff1ee; border-color: var(--red); box-shadow: 0 4px 0 var(--red); color: #c64332; animation: shake .35s; }
.opt.is-wrong .opt-key { border-color: var(--red); color: var(--red); }
.opt:disabled { cursor: default; }

.game-say {
    display: none;
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: var(--radius);
    font-weight: 700;
}
.game-say.is-right { display: block; background: #d9f0da; color: var(--green-deep); }
.game-say.is-wrong { display: block; background: var(--red-soft); color: #b8402f; }
.game-say small { display: block; margin-top: 2px; font-weight: 500; font-size: 15px; }

.game-next { width: 100%; margin-top: 16px; }
.game-next[hidden] { display: none; }

.game-end { display: none; text-align: center; padding: 18px 0 4px; }
.game.is-over .game-body { display: none; }
.game.is-over .game-end { display: block; }
.game-end .heart { width: 96px; margin: 0 auto 10px; animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); }
.game-end .h3 { font-weight: 900; font-size: 24px; }
.game-end p { margin-top: 6px; color: var(--ink-soft); }
.game-end .btn { margin-top: 22px; width: 100%; }

/* ── The path — how a session goes ─────────────────────────────────────── */

.path { position: relative; background: linear-gradient(var(--sand) 0 30%, var(--band-green) 30% 66%, var(--band-blue) 66%); }
.trail { position: relative; display: grid; gap: 30px; max-width: 760px; margin-inline: auto; }
.trail::before {
    content: '';
    position: absolute;
    top: 50px;
    bottom: 50px;
    inset-inline-start: 49px;
    width: 14px;
    border-radius: 7px;
    background: var(--white);
}
.step { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: center; }
.island {
    position: relative;
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: var(--white);
    padding: 9px;
}
.island-core {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--indigo);
    overflow: hidden;
}
.island-core::after { content: ''; position: absolute; inset: 58% 0 0; background: rgba(255, 255, 255, .22); border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
.island-core svg { position: relative; z-index: 1; width: 52%; }
.island.is-now { box-shadow: 0 0 0 8px #b5d6b5; }
.island.is-done .island-core { background: var(--green); }
.island.is-done .island-core svg { width: 44%; color: #fff; }
.island.is-locked .island-core { background: #a6a897; }
.island.is-locked .island-core svg { width: 36%; color: rgba(255, 255, 255, .85); }
.island-badge {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-weight: 900;
    font-size: 15px;
    box-shadow: 0 0 0 4px var(--white);
}
.step-card { background: var(--white); border-radius: 24px; padding: 20px 22px; }
.step-card .h3 { font-weight: 900; }
.step-card p { margin-top: 6px; color: var(--ink-soft); font-size: 15px; }
.step-tag { display: inline-block; margin-bottom: 6px; padding: 2px 12px; border-radius: 99px; background: var(--sand); font-size: 13px; font-weight: 700; color: var(--ink-soft); }

/* ── What is inside — the app's lesson cards ───────────────────────────── */

.cards { display: grid; gap: 16px; }
.card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    padding: 26px 24px 24px;
    border-radius: 28px;
    color: #fff;
    isolation: isolate;
}
.card .h3 { font-weight: 900; font-size: 24px; }
.card p { margin-top: 8px; font-size: 16px; line-height: 1.85; opacity: .95; max-width: 26em; }
.card-art { position: absolute; z-index: -1; width: 150px; inset-inline-end: -14px; bottom: -16px; color: rgba(255, 255, 255, .42); }
.card-teal { background: var(--teal); }
.card-purple { background: var(--purple); }
.card-amber { background: var(--amber); }
.card-indigo { background: var(--indigo); }
.card-meta { display: inline-block; margin-bottom: 10px; font-size: 14px; font-weight: 700; opacity: .9; }

.quote {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .2);
    font-size: 15px;
    line-height: 1.9;
    font-weight: 500;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { padding: 6px 14px; border-radius: 99px; background: rgba(255, 255, 255, .24); font-size: 14px; font-weight: 700; }
.tf-row { display: flex; gap: 8px; margin-top: 12px; }
.tf-row span { flex: 1; text-align: center; padding: 8px; border-radius: 12px; background: var(--white); color: var(--ink); font-weight: 900; font-size: 15px; }

/* ── Screens ───────────────────────────────────────────────────────────── */

.screens { background: var(--white); }
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 24px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shot { scroll-snap-align: center; display: grid; justify-items: center; gap: 16px; text-align: center; }
.shot figcaption b { display: block; font-weight: 900; font-size: 17px; }
.shot figcaption span { font-size: 14px; color: var(--ink-soft); }

/* ── Subjects ──────────────────────────────────────────────────────────── */

.subjects { list-style: none; padding: 0; margin-block: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 820px; margin-inline: auto; }
.subject { padding: 12px 22px; border-radius: 99px; font-weight: 900; font-size: 17px; color: #fff; }
.subject:nth-child(3n + 1) { background: #e0c2a8; }
.subject:nth-child(3n + 2) { background: #b9ce96; }
.subject:nth-child(3n) { background: #9fc8e4; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */

.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--radius); }
.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '';
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23453631' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 18px;
    transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-soft); }

/* ── Closing band ──────────────────────────────────────────────────────── */

.closer { padding: 0 0 clamp(48px, 8vw, 96px); }
.closer-box {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 20px;
    justify-items: start;
    padding: clamp(32px, 6vw, 64px);
    border-radius: 32px;
    background: var(--green);
    color: #fff;
    isolation: isolate;
}
.closer-box .h2 { max-width: 14em; }
.closer-box p { opacity: .92; max-width: 30em; }
.closer-box .btn { background: #fff; color: var(--green-deep); box-shadow: 0 5px 0 var(--green-deep); }
.closer-art { position: absolute; z-index: -1; width: clamp(160px, 26vw, 260px); inset-inline-end: -20px; bottom: -30px; color: rgba(255, 255, 255, .28); }

/* ── Start page ────────────────────────────────────────────────────────── */

.start { padding: clamp(28px, 6vw, 72px) 0 clamp(48px, 8vw, 96px); }
.start-head { text-align: center; max-width: 600px; margin: 0 auto clamp(28px, 5vw, 48px); }
.start-head .mascot { width: 60px; margin: 0 auto 18px; image-rendering: pixelated; animation: bob 1.2s steps(2) infinite; }
.start-head .lead { margin-top: 12px; }

.ways { display: grid; gap: 18px; max-width: 900px; margin-inline: auto; }
.way {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px 26px 26px;
    border-radius: 28px;
    background: var(--white);
    border: 3px solid transparent;
}
.way.is-suggested { border-color: var(--green); }
.way-flag {
    position: absolute;
    top: -14px;
    inset-inline-start: 22px;
    padding: 3px 14px;
    border-radius: 99px;
    background: var(--green);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}
.way-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; }
.way-icon svg { width: 34px; height: 34px; }
.way-android .way-icon { background: #e1f3e2; color: var(--green-deep); }
.way-web .way-icon { background: #e4e2f5; color: var(--indigo); }
.way .h3 { font-weight: 900; font-size: 24px; }
.way > p { color: var(--ink-soft); }
.way-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; }
.way-list li { display: flex; gap: 8px; align-items: center; }
.way-list svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.way .btn { margin-top: auto; width: 100%; }
.way-meta { text-align: center; font-size: 13px; color: var(--ink-muted); margin-top: -4px; }
.way-note { font-size: 14px; color: var(--ink-soft); background: var(--sand); border-radius: 12px; padding: 12px 14px; }
.way-note[hidden] { display: none; }

.how-install { border-top: 2px dashed var(--line); padding-top: 14px; font-size: 15px; }
.how-install summary { cursor: pointer; font-weight: 700; color: var(--ink-soft); }
.how-install ol { margin: 10px 0 0; padding-inline-start: 22px; color: var(--ink-soft); display: grid; gap: 4px; }

.qr { display: none; align-items: center; gap: 16px; padding: 14px; border-radius: 16px; background: var(--sand); }
.qr img { width: 104px; height: 104px; border-radius: 10px; background: #fff; padding: 6px; image-rendering: pixelated; }
.qr p { font-size: 14px; color: var(--ink-soft); }
.qr b { display: block; color: var(--ink); font-size: 15px; }
.is-desktop .qr { display: flex; }

.back { display: block; width: fit-content; margin: 28px auto 0; font-weight: 700; color: var(--ink-soft); text-decoration: none; }
.back:hover { color: var(--ink); }

/* ── Motion ────────────────────────────────────────────────────────────── */

@keyframes bob { 50% { transform: translateY(-4px); } }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ── Wider screens ─────────────────────────────────────────────────────── */

@media (max-width: 719px) {
    .nav a:not(.btn) { display: none; }
    .hero-actions .btn { flex: 1 1 100%; }
    /* Smaller islands so the step text gets the width on a phone. */
    .step { grid-template-columns: 76px 1fr; gap: 14px; }
    .island { width: 76px; height: 76px; padding: 6px; }
    .island.is-now { box-shadow: 0 0 0 5px #b5d6b5; }
    .island-badge { width: 26px; height: 26px; font-size: 13px; }
    .trail::before { inset-inline-start: 31px; width: 12px; }
    .step-card { padding: 16px 18px; border-radius: 20px; }
}

@media (min-width: 720px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .cards { grid-template-columns: 1fr 1fr; }
    .ways { grid-template-columns: 1fr 1fr; }
    .shots { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 8px 0 0; }
    .trail::before { inset-inline-start: 55px; }
}

@media (min-width: 960px) {
    .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
    .hero-stage { padding: 40px 0 0; }
    .hero-bands { inset-block: 22% 0; inset-inline-start: -8%; inset-inline-end: -60vw; }
    .play-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
    .game { margin-top: 36px; }
    .play-side { display: block; margin-top: 28px; }
    .step { grid-template-columns: 124px 1fr; gap: 28px; }
    .island { width: 124px; height: 124px; }
    .trail::before { inset-inline-start: 55px; }
    .step:nth-child(even) { transform: translateX(-60px); }
}
