@font-face {
    font-family: Jersey;
    src: url(jersey-25.woff2) format("woff2");
    font-display: swap;
}

@font-face {
    font-family: Inter;
    src: url(inter.woff2) format("woff2");
    font-weight: 400 800;
    font-display: swap;
}

:root {
    --ink: #281032;
    --paper: #fbf1e8;
    --plum: #281537;
    --violet: #7837a4;
    --rule: #ac84c1;
    --lavender: #ead8ef;
    --tint: #f6e9ef;
    --lime: #c5fc37;
    --display: Jersey, "Arial Black", sans-serif;
    --body: Inter, Arial, sans-serif;
    --content: 1120px;
    --gutter: clamp(18px, 4vw, 72px);
}

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

html { color: var(--ink); background: var(--paper); }
body { margin: 0; font: 500 clamp(15px, 1.15vw, 17px)/1.42 var(--body); }
img { display: block; max-width: 100%; }
p, figure { margin: 0; }
p + p { margin-top: .95em; }
a { color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid #8c4cd4; outline-offset: 4px; }
section[id] { scroll-margin-top: 22px; }

.wrap { width: min(var(--content), calc(100% - 2 * var(--gutter))); margin-inline: auto; }

.skip-link {
    position: absolute;
    z-index: 10;
    top: 8px;
    left: 8px;
    padding: 10px 15px;
    transform: translateY(-150%);
    border-radius: 6px;
    background: var(--lime);
}
.skip-link:focus { transform: translateY(0); }

h1, h2, h3, .brand {
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: -.015em;
    margin: 0;
    line-height: .98;
    -webkit-text-stroke: .015em currentColor;
}
h2 { font-size: clamp(28px, 2.7vw, 40px); }
h3 { font-size: clamp(23px, 2.1vw, 30px); }

.site-header, .site-footer {
    color: #fff5e9;
    background: linear-gradient(108deg, #291638, #22122d 80%, #2b1638);
}
.header-inner, .footer-inner { display: flex; align-items: center; }
.header-inner { min-height: clamp(58px, 4.5vw, 68px); justify-content: space-between; gap: 24px; }
.brand {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: .47em;
    font-size: clamp(27px, 2.5vw, 36px);
    white-space: nowrap;
    text-decoration: none;
}
.brand-icon { width: clamp(32px, 3vw, 44px); height: auto; }
.site-header nav { display: flex; gap: clamp(16px, 4vw, 65px); align-items: center; }
.site-header nav a { font-weight: 700; text-decoration: none; }
.site-header nav a:hover { color: #dfb4f6; }

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff5e9;
    background: radial-gradient(ellipse at 60% 10%, #60328d 0%, #452269 30%, #2b173e 68%, #311c49 100%);
}
.hero-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-art img { position: absolute; }
.hero-sky, .hero-terrain { width: 100%; height: auto; }
.hero-sky {
    top: 0;
    left: 0;
    mask-image: linear-gradient(#000 57%, transparent);
}
.hero-terrain {
    bottom: 0;
    left: 0;
    mask-image: linear-gradient(transparent, #000 54%);
}
.hero-flower { bottom: 0; width: 5%; height: auto; }
.hero-flower--left { left: 0; mask-image: linear-gradient(to right,#000 40%, transparent); }
.hero-flower--right { right: 0; mask-image: linear-gradient(to left,#000 40%, transparent); }

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0,.91fr) minmax(0,1.04fr);
    gap: clamp(18px, 2.1vw, 36px);
    align-items: center;
    padding-block: clamp(40px, 4vw, 64px) clamp(48px, 5vw, 76px);
}
.hero-copy { min-width: 0; }
.eyebrow {
    display: flex;
    align-items: center;
    gap: 1.35em;
    color: #edc7f9;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(13px, 1.05vw, 16px);
    margin-bottom: 17px;
}
.eyebrow::after { content: ""; flex: 1; min-width: 12px; height: 1px; background: #e5b6f6; }
.hero h1 { font-size: clamp(36px, 3.35vw, 52px); line-height: .98; -webkit-text-stroke: .022em currentColor; }
.hero h1 span { display: block; }
.hero-copy > p:not(.hero-note) { margin-top: 15px; max-width: 39ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.38; font-weight: 600; }
.hero-actions { display: flex; gap: clamp(8px, 1.2vw, 20px); margin-top: clamp(19px, 2.7vw, 42px); }
.button {
    display: inline-grid;
    place-items: center;
    border: 1px solid #efffa4;
    padding: .58em 1.15em;
    min-height: 44px;
    border-radius: 11px;
    color: #25132c;
    background: var(--lime);
    font-weight: 800;
    line-height: 1.12;
    text-align: center;
    text-decoration: none;
}
.button:hover { filter: brightness(1.07); }
.button--lilac { background: #e9bff5; border-color: #f8d9ff; }
.hero-actions .button { flex: 1; font-size: clamp(13px, 1.05vw, 16px); min-height: clamp(48px, 4vw, 60px); }
.hero-note { margin-top: 14px; margin-left: 1em; font-weight: 600; font-size: clamp(13px, 1.24vw, 19px); }
.hero-media img, .inventory-frame img { width: 100%; height: auto; }
.hero-media img { border: 2px solid #160e20; }
figcaption { margin-top: 10px; text-align: center; font-size: clamp(14px, 1.15vw, 17px); font-style: italic; font-weight: 700; }

.section { padding-block: clamp(20px, 2vw, 30px); }
.section-heading { position: relative; margin-bottom: clamp(16px, 1.5vw, 24px); text-align: center; }
.heading-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.5vw, 24px);
}
.heading-rule::before, .heading-rule::after {
    content: "";
    flex: 1 1 100px;
    height: 2px;
    background: var(--violet);
    max-width: 100%;
}
.heading-rule h2 { text-wrap: balance; flex: 0 1 auto; }
.section-intro { margin-top: .55em; font-weight: 600; }
.section-heading--art { display: flex; align-items: center; gap: 15px; }
.section-heading--art .section-heading-copy { flex: 1; min-width: 0; }
.heading-art { flex: 0 0 auto; width: clamp(44px, 6vw, 90px); height: clamp(46px, 6vw, 88px); object-fit: contain; }

.edition-grid, .about-grid, .requirements-grid, .install-grid, .safety-grid { display: grid; gap: clamp(14px, 1.45vw, 25px); }
.edition-grid, .about-grid, .install-grid--java { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.edition-grid { margin-bottom: clamp(16px, 2.1vw, 34px); }
.edition-card {
    display: grid;
    grid-template-columns: minmax(76px, .36fr) minmax(0, 1fr);
    align-items: center;
    padding: clamp(12px, 1.15vw, 20px) clamp(12px, 2.5vw, 41px);
    gap: clamp(12px, 1.55vw, 25px);
    border: 2px solid var(--rule);
    border-radius: 15px;
    background: linear-gradient(125deg, #f3e5ed, #fdf3eb 75%);
}
.edition-art { width: 100%; height: clamp(80px, 8.5vw, 132px); object-fit: contain; }
.edition-copy { padding-left: clamp(11px, 2.05vw, 36px); border-left: 1px solid var(--rule); min-width: 0; }
.edition-copy p { margin-top: 7px; }
.edition-copy .button { margin-top: 14px; width: 100%; font-size: clamp(15px, 1.2vw, 18px); }

.table-frame { border: 1px solid var(--rule); border-radius: 11px; overflow: hidden; }
table { width: 100%; border-collapse: collapse; text-align: left; table-layout: fixed; }
th, td { padding: .40em clamp(10px, 1.65vw, 27px); vertical-align: middle; overflow-wrap: anywhere; }
thead { background: linear-gradient(110deg, #e5d2e7, #ddc9e0); }
thead th { font-size: 1.08em; font-weight: 800; padding-block: .58em; }
tbody th { font-weight: 750; }
tbody tr { border-top: 1px solid var(--rule); }
th + th, th + td, td + td { border-left: 1px solid var(--rule); }
.table-label { display: flex; align-items: center; gap: clamp(5px, 1.1vw, 18px); }
.table-icon { width: clamp(28px, 4.3vw, 72px); height: clamp(31px, 4.2vw, 65px); object-fit: contain; }
.table--facts th:first-child { width: 35%; }
.table--roster th:first-child { width: 32%; }
.table--roster th, .table--roster td, .table--compare th, .table--compare td { padding-block: .64em; }
.table--compare th:first-child { width: 25%; }
.table--compare tbody th, .table--support tbody th { background: #f0dff1; }
.table--support th:first-child { width: 38%; }
.table--support th, .table--support td { padding-block: .85em; }

.about-intro, .about-panel-body { display: grid; grid-template-columns: minmax(0,.29fr) minmax(0,1fr); align-items: center; gap: clamp(12px, 1.4vw, 24px); }
.about-intro { padding: 10px clamp(10px, 1.8vw, 30px) 10px 0; border-right: 1px solid var(--rule); font-weight: 650; }
.about-panel { border: 1px solid var(--rule); border-radius: 14px; background: linear-gradient(110deg, #f3e3ef, #f9ecf1); padding: clamp(16px, 1.65vw, 29px); }
.about-panel-body { grid-template-columns: minmax(0,1fr) minmax(0,.29fr); margin-top: 12px; }
.about-flower, .about-chat { width: 100%; height: auto; }

.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.37fr) minmax(0, 1fr);
    gap: clamp(10px, 1.05vw, 18px);
}
.feature-card {
    display: grid;
    grid-template-columns: minmax(55px,.26fr) minmax(0,1fr);
    gap: clamp(8px, 1.1vw, 17px);
    align-items: center;
    border: 1px solid var(--rule);
    border-radius: 14px;
    background: linear-gradient(130deg, #fbede8, #fbf2e9);
    padding: clamp(11px, 1.45vw, 26px);
}
.feature-card > div { border-left: 1px solid var(--rule); padding-left: clamp(10px, 1.35vw, 23px); }
.feature-card h3 { font-size: clamp(22px, 1.85vw, 28px); }
.feature-card p { margin-top: 6px; font-size: .93em; }
.feature-art { width: 100%; height: clamp(52px, 5vw, 77px); object-fit: contain; }

.roster-grid { display: grid; grid-template-columns: minmax(65px, .14fr) minmax(0, 1fr); gap: clamp(15px, 2vw, 33px); align-items: center; }
.roster-art { display: grid; place-items: center; gap: clamp(7px, 1.1vw, 19px); }
.roster-art img { width: min(100%, 140px); max-height: 135px; object-fit: contain; }

.callout {
    border: 1px solid var(--rule);
    background: linear-gradient(115deg, #efdeef, #ead5ee);
    padding: .6em .75em;
    margin-top: clamp(13px, 1.45vw, 24px);
    border-radius: 10px;
    text-align: center;
    font-weight: 800;
}

#java-install h2 { font-size: clamp(27px, 2.5vw, 36px); }
#bedrock-install h2 { max-width: 32ch; font-size: clamp(27px, 2.6vw, 38px); }
.install-grid { align-items: start; }
.install-grid--bedrock { grid-template-columns: minmax(0, 1.86fr) minmax(0, 1fr); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps > li {
    position: relative;
    display: grid;
    align-items: center;
    padding: clamp(12px, 1.3vw, 22px);
    gap: clamp(10px, 1.3vw, 22px);
    border: 1px solid var(--rule);
    border-radius: 12px;
    background: #fcf1e9;
}
.steps--java { position: relative; margin-left: 17px; }
.steps--java::before {
    content: "";
    position: absolute;
    top: 44px;
    bottom: 44px;
    left: 0;
    width: 2px;
    background: #6b388c;
}
.steps--java > li { grid-template-columns: minmax(42px, .24fr) minmax(0, 1fr); padding-left: clamp(22px, 2.8vw, 48px); }
.steps--bedrock > li { grid-template-columns: minmax(45px,.18fr) minmax(0,1fr); }
.step-copy { border-left: 1px solid var(--rule); padding-left: clamp(9px, 1.4vw, 22px); min-width: 0; }
.step-copy h3 { font-size: clamp(22px, 1.85vw, 28px); }
.step-copy p { margin-top: 6px; font-size: .91em; }
.step-number { position: absolute; z-index: 1; top: 50%; left: 0; width: clamp(28px, 3.2vw, 50px); transform: translate(-46%, -50%); }
.step-art, .bedrock-number { width: 100%; height: clamp(46px, 6vw, 90px); object-fit: contain; }
.inventory-frame { border: 1px solid var(--rule); padding: 4px; background: #fff2f2; }
.inventory-frame img { box-sizing: content-box; padding-block: clamp(12px, 1.9vw, 29px); background: #20152a; }
.install-media .callout { margin-top: clamp(18px, 2.4vw, 38px); }
.folder-paths { margin-top: 5px; font-size: .74em; }
.folder-paths summary, .release-link { color: #652b87; cursor: pointer; }
.folder-paths ul { padding-left: 17px; margin: 6px 0 0; }
.folder-paths code { overflow-wrap: anywhere; }
.release-link { display: inline-block; margin-top: 4px; font-size: .85em; }
.file-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(14px, 1.6vw, 25px);
    padding: clamp(15px, 1.5vw, 28px);
    border: 1px solid var(--rule);
    border-radius: 13px;
    text-align: center;
    background: linear-gradient(145deg, #efdeef, #f3e3f2);
}
.file-types { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.file-types code { border-radius: 9px; padding: .4em .65em; font: 800 1em var(--body); background: var(--lime); }
.bedrock-packs { width: min(100%, 340px); height: auto; }

.requirements-grid { grid-template-columns: minmax(0,1.49fr) minmax(0,1fr); }
.requirements-card { padding: clamp(13px, 1.45vw, 25px); border: 1px solid var(--rule); border-radius: 14px; }
.requirements-card h3 { margin-bottom: .45em; }
.table--requirements { font-size: .84em; }
.table--requirements th:first-child { width: 39%; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li {
    display: flex;
    align-items: center;
    gap: clamp(9px, 1.25vw, 22px);
    padding: clamp(10px, 1.05vw, 18px) 0;
}
.check-list li + li { border-top: 1px solid var(--rule); }
.check-list img { width: clamp(23px, 3.1vw, 53px); height: auto; flex: none; }

.support .section-heading { justify-content: center; }
.support .heading-art { height: clamp(56px, 10vw, 155px); }
.support h2 { max-width: 26ch; }

.safety-grid { grid-template-columns: minmax(0, .43fr) minmax(0,1fr); }
.safety-art { border-right: 1px solid var(--rule); padding-right: clamp(8px, 1.35vw, 22px); display: flex; flex-direction: column; justify-content: center; align-items: center; }
.safety-art img { width: min(92%, 390px); height: auto; }
.safety-art .callout { font-size: .81em; width: 100%; }
.check-list--safety { display: grid; gap: clamp(8px, 1.05vw, 19px); }
.check-list--safety li { border: 1px solid var(--rule); border-radius: 12px; padding: clamp(11px, 1.35vw, 23px); font-size: clamp(16px, 1.3vw, 20px); font-weight: 800; }
.check-list--safety img { width: clamp(29px, 4.1vw, 71px); }

.faq { max-width: 1120px; padding-bottom: clamp(31px, 3.5vw, 60px); }
.faq-list { display: grid; gap: 9px; }
.faq-list details { border: 1px solid var(--violet); border-radius: 10px; overflow: clip; }
.faq-list summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: .52em clamp(12px, 2vw, 33px);
    background: linear-gradient(95deg, #edddf0, #ead5eb);
    list-style: none;
    font-weight: 800;
    cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible { outline-offset: -4px; }
.faq-list details > p { padding: .7em clamp(12px, 2vw, 33px); }
.faq-arrow { width: 19px; height: 13px; object-fit: contain; flex: none; }
.faq-list details[open] .faq-arrow { transform: rotate(180deg); }

.footer-inner { justify-content: center; gap: clamp(12px, 2.2vw, 36px); padding-block: 19px; }
.site-footer .brand { font-size: clamp(24px, 2.1vw, 32px); }
.site-footer .brand-icon { width: clamp(30px, 3vw, 51px); }
.site-footer p { padding-left: clamp(11px, 2.2vw, 37px); border-left: 1px solid #d6bde4; font-size: clamp(13px, 1.24vw, 19px); }

@media (max-width: 850px) {
    .hero-inner { grid-template-columns: 1fr; padding-block: 46px 66px; gap: 28px; }
    .hero h1 { max-width: 23ch; }
    .hero h1 span { display: inline; }
    .hero-actions { width: min(100%, 550px); }
    .hero-media { max-width: 650px; }
    .hero-sky { height: 165px; object-fit: cover; object-position: 70% top; }
    .hero-terrain { height: 105px; object-fit: cover; }
    .hero-flower { width: 8%; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps--java { margin-left: 10px; }
}

@media (max-width: 620px) {
    .header-inner { flex-wrap: wrap; gap: 5px; padding-block: 10px; }
    .site-header nav { gap: 17px; font-size: 13px; }
    .brand-icon { width: 31px; }
    .brand { font-size: 30px; }
    .eyebrow { margin-bottom: 12px; }
    .hero h1 { font-size: clamp(43px, 10.5vw, 63px); }
    .hero-inner { padding-block: 39px 57px; }
    .hero-note { margin-left: 0; }
    .hero-actions .button { padding-inline: .45em; }
    .hero-flower { width: 12%; }
    .heading-rule::before, .heading-rule::after { flex: 0 0 14px; }
    .section-heading--art { gap: 5px; }
    .section-heading--art .heading-rule::before, .section-heading--art .heading-rule::after { display: none; }
    .heading-art { width: 44px; height: 52px; }
    .edition-grid, .about-grid, .feature-grid, .install-grid, .requirements-grid { grid-template-columns: 1fr; }
    .edition-card { padding: 11px 14px; grid-template-columns: 82px minmax(0,1fr); }
    .edition-art { height: 106px; }
    .edition-copy .button { width: auto; }
    .about-intro { border-right: 0; }
    .feature-card { grid-template-columns: 56px minmax(0,1fr); }
    .roster-grid { grid-template-columns: 42px minmax(0, 1fr); gap: 8px; }
    th, td { padding-inline: 8px; }
    .table--compare { font-size: 12px; }
    .table--support { font-size: 13px; }
    .table-label { flex-wrap: wrap; gap: 3px; }
    .table-icon { width: 25px; height: 25px; }
    .safety-grid { grid-template-columns: 1fr; }
    .safety-art { border-right: 0; padding-right: 0; }
    .safety-art img { width: 135px; }
    .file-card { height: auto; }
    .bedrock-packs { width: min(48%, 190px); }
    .faq-arrow { width: 15px; }
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

.use-grid, .gameplay-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 1.45vw, 24px);
}

.use-grid {
    margin: 0;
    padding: 0;
    list-style: none;
}

.use-card {
    align-items: start;
    grid-template-columns: minmax(42px, .19fr) minmax(0, 1fr);
}

.use-card .feature-art {
    height: clamp(44px, 5.5vw, 87px);
}

.use-card h3 {
    font-size: clamp(22px, 1.85vw, 28px);
}

.section-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5em 1.5em;
    margin-top: 16px;
    font-size: .86em;
    font-weight: 700;
    color: #652b87;
}

.gameplay-card {
    overflow: hidden;
    border: 1px solid var(--rule);
    border-radius: 14px;
    background: linear-gradient(130deg, var(--tint), var(--paper));
}

.gameplay-image {
    display: block;
    padding: clamp(10px, 1.8vw, 27px);
    background-color: var(--plum);
    background-image: url(gallery-art-inventory.webp);
    background-size: cover;
    background-position: center;
}

.gameplay-card:nth-child(2) .gameplay-image { background-image: url(gallery-art-spawn.webp); }
.gameplay-card:nth-child(3) .gameplay-image { background-image: url(gallery-art-world.webp); }
.gameplay-card:nth-child(4) .gameplay-image { background-image: url(gallery-art-menu.webp); }

.gameplay-image img {
    width: 100%;
    height: auto;
    border: 1px solid #d7a4f2;
}

.gameplay-image:focus-visible { outline-offset: -5px; }

.gameplay-card figcaption {
    margin: 0;
    padding: 14px clamp(14px, 1.7vw, 27px) 17px;
    text-align: left;
    font-size: .9em;
    font-weight: 500;
    font-style: normal;
}

.gameplay-card h3 { font-size: clamp(23px, 2vw, 30px); }
.gameplay-card figcaption p { margin-block: 5px 8px; }
.gameplay-card figcaption a { color: #652b87; font-size: .83em; font-weight: 700; }
.table--vanilla th:first-child { width: 22%; }

@media (max-width: 620px) {
    .site-header nav { flex-wrap: wrap; gap: 5px 14px; }
    .use-grid, .gameplay-grid { grid-template-columns: 1fr; }
    .table--vanilla th:first-child { width: 25%; }
}

/* Blog pages share the homepage's local type, artwork, colors, and rules. */
.blog-banner {
    color: #fff5e9;
    padding-block: clamp(27px, 3vw, 44px);
    background: url(hero-sky.webp) center top / 100% auto no-repeat, linear-gradient(115deg, #38214f, #522b76);
}
.blog-banner h1 { font-size: clamp(38px, 4vw, 56px); margin-block: 16px 12px; }
.blog-banner > .wrap > p:last-child { font-weight: 600; }
.breadcrumb { font-size: .85em; margin-bottom: 18px; font-weight: 650; }
.breadcrumb a { color: #672c91; text-underline-offset: 3px; }
.blog-banner .breadcrumb a { color: inherit; }
.blog-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.blog-card { overflow: hidden; border: 1px solid var(--rule); border-radius: 14px; padding: 15px; background: #fcf3eb; display: flex; flex-direction: column; }
.blog-card-image { display: block; background: #281537; }
.blog-card-image img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; }
.blog-card-copy { padding: 14px 5px 4px; display: flex; flex-direction: column; flex: 1; }
.category-tag { align-self: start; display: inline-block; padding: .35em .75em; background: #e7c4f0; border-radius: 9px; font-size: .72em; font-weight: 800; text-transform: uppercase; }
.blog-card h2 { font-size: clamp(26px,2.3vw,34px); margin-block: 12px 9px; }
.blog-card h2 a { text-decoration: none; }
.blog-card-copy > p { margin-bottom: 17px; }
.blog-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--rule); }
.blog-card-bottom a { color: #692991; font-weight: 800; }
.blog-card-bottom time { font-size: .77em; color: #74418c; }
.blog-start { display: flex; align-items: center; gap: 22px; border-radius: 16px; padding: 20px 25px; background: #ecdaec; margin-block: 8px 35px; }
.blog-start img { width: 65px; height: 78px; object-fit: contain; }
.blog-start h2 { font-size: clamp(25px,2.2vw,32px); }
.blog-start .button { margin-left: auto; }
.post-sky { height: clamp(50px,5.5vw,84px); background: #472660 url(hero-sky.webp) center 30% / cover no-repeat; }
.post-page { padding-top: 23px; padding-bottom: 45px; }
.post-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(225px,.39fr); gap: clamp(20px,3vw,48px); align-items: start; }
.post-header h1 { font-size: clamp(34px,3.2vw,46px); }
.post-header .eyebrow { font-size: .74em; color: #672b91; margin-bottom: 13px; }
.post-header .eyebrow::after { background: #8948ac; }
.post-intro { margin-top: 14px; line-height: 1.5; }
.post-dates { display: flex; flex-wrap: wrap; gap: 9px 24px; font-size: .73em; margin-block: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--violet); font-weight: 650; }
.post-dates span + span { border-left: 1px solid var(--rule); padding-left: 24px; }
.post-body { min-width: 0; }
.post-figure { margin-block: 20px 24px; }
.post-figure > a { display: block; background: #281537; }
.post-figure img { width: 100%; height: auto; }
.post-figure figcaption { font-size: .71em; line-height: 1.5; font-weight: 500; }
.post-figure figcaption a { display: inline-block; margin-left: 8px; color: #6b2f91; font-style: normal; }
.article-copy { font-size: 1em; line-height: 1.65; }
.article-copy h2 { display: block; font-size: clamp(27px,2.3vw,34px); line-height: 1.06; margin: 30px 0 13px; padding-top: 10px; border-top: 1px solid var(--rule); text-wrap: balance; }
.article-copy h3 { font-size: clamp(23px,1.9vw,29px); margin: 24px 0 10px; line-height: 1.1; }
.article-copy p { margin-bottom: 15px; }
.article-copy p + p { margin-top: 0; }
.article-copy li + li { margin-top: 10px; }
.article-copy ol, .article-copy ul { padding-left: 25px; margin-block: 15px 23px; }
.article-copy a { color: #68268e; text-underline-offset: 3px; }
.article-copy .table-frame { margin-block: 20px; font-size: .88em; }
.article-copy caption { text-align: left; padding: 10px 15px; background: #f0e0ee; font-weight: 700; }
.article-copy th, .article-copy td { padding: 10px 13px; }
.article-copy code { overflow-wrap: anywhere; font-size: .9em; }
.article-copy details { border: 1px solid var(--rule); border-radius: 8px; margin-block: 8px; }
.article-copy details summary { background: #ead7ec; padding: 10px 14px; cursor: pointer; font-weight: 700; }
.article-copy details p { padding: 12px 14px; margin: 0; }
.post-sidebar { border-left: 1px solid var(--rule); padding-left: clamp(15px,1.75vw,28px); }
.sidebar-panel { border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; margin-bottom: 23px; }
.sidebar-panel h2 { background: linear-gradient(100deg,#e2cfe7,#f0e1ef); font-size: clamp(24px,2vw,29px); padding: 12px 14px; }
.sidebar-panel nav { padding: 8px 12px 12px; }
.sidebar-panel a { display: block; padding: 8px 5px; font-size: .86em; font-weight: 700; color: #66298c; text-decoration: none; line-height: 1.4; }
.sidebar-panel a + a { border-top: 1px solid #c6a5cf; }
.sidebar-panel a[aria-current] { background: #e9d4ef; border-radius: 6px; }
.sidebar-panel a:hover { text-decoration: underline; }
.sidebar-art { margin: 28px auto; max-width: 85%; max-height: 220px; object-fit: contain; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: .76em; }
.site-footer nav a { text-decoration: none; }
.site-footer .footer-inner { flex-wrap: wrap; }
.legal-page { max-width: 820px; line-height: 1.6; }
.legal-page h1, .error-page h1 { font-size: clamp(36px,3.6vw,52px); margin-bottom: 22px; }
.legal-page h2 { font-size: clamp(27px,2.4vw,34px); margin-block: 28px 10px; }
.legal-page > p { margin-bottom: 15px; }
.contact-form { display: grid; gap: 9px; margin-top: 22px; }
.contact-form label { font-weight: 700; margin-top: 8px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px; background: #fffaf5; color: var(--ink); border: 1px solid var(--rule); border-radius: 7px; font: inherit; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--violet); outline-offset: 2px; }
.contact-form .button { justify-self: start; margin-top: 15px; cursor: pointer; font: 800 1em var(--body); }
.field-error, .form-errors { color: #8c244f; font-size: .85em; }
.contact-form [aria-invalid] { border-color: #a82559; }
.form-note { color: #713e85; font-size: .85em; }
.error-page { max-width: 850px; padding-block: 75px; }
@media (max-width: 850px) {
    .post-layout { grid-template-columns: minmax(0,1fr) minmax(180px,.38fr); gap: 18px; }
    .post-sidebar { padding-left: 13px; }
    .sidebar-panel h2 { font-size: 27px; }
    .post-header h1 { font-size: 42px; }
}
@media (max-width: 620px) {
    .blog-cards, .post-layout { grid-template-columns: 1fr; }
    .blog-card { padding: 10px; }
    .blog-card h2 { font-size: 33px; }
    .blog-start { flex-wrap: wrap; gap: 13px; padding: 17px; }
    .blog-start .button { margin-left: 0; width: 100%; }
    .blog-start img:last-child { display: none; }
    .blog-start img { width: 48px; height: 55px; }
    .post-header h1 { font-size: 42px; }
    .post-sidebar { border-left: 0; padding-left: 0; }
    .sidebar-art { max-height: 120px; }
    .post-dates { font-size: 12px; gap: 8px; }
    .post-dates span + span { padding-left: 10px; }
    .article-copy th, .article-copy td { padding: 9px; }
    .site-footer p { width: 100%; border-left: 0; padding: 0; text-align: center; }
}

.gameplay-carousel { max-width: 1010px; margin-inline: auto; }
.carousel-stage { position: relative; padding-inline: 49px; max-width: 820px; margin-inline: auto; }
.carousel-track {
    position: relative;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    border: 1px solid var(--rule);
    border-radius: 13px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    border: 0;
    border-radius: 0;
}
.carousel-slide .gameplay-image { padding: 14px; }
.carousel-slide figcaption { padding: 18px; }
.carousel-slide h3 { font-size: clamp(23px, 2.1vw, 31px); margin-block: 8px; }
.carousel-slide figcaption p { font-size: 14px; line-height: 1.6; margin: 0; }
.carousel-eyebrow { font-size: 10px; text-transform: uppercase; color: #7a438f; letter-spacing: .08em; font-weight: 800; }
.carousel-arrow {
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    width: 39px;
    height: 47px;
    border: 1px solid #9e71b4;
    border-radius: 10px;
    background: #f3e5f3;
    color: #602782;
    cursor: pointer;
    display: grid;
    place-items: center;
}
.carousel-arrow img { width: 100%; height: 100%; object-fit: fill; }
.carousel-arrow { padding: 0; border: 0; background: transparent; }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-arrow:hover { background: #e3c7ef; }
.carousel-arrow:focus-visible, .carousel-thumb:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.carousel-thumbnails { display: flex; justify-content: center; gap: 10px; padding-top: 16px; }
.carousel-thumb { width: 100px; min-height: 44px; padding: 3px; background: #f7ebf3; border: 2px solid transparent; border-radius: 7px; cursor: pointer; }
.carousel-thumb img { width: 100%; height: auto; border-radius: 3px; aspect-ratio: 16/9; object-fit: contain; background: #281537; }
.carousel-thumb[aria-current] { border-color: #8b4bad; background: #d6b7e4; box-shadow: 0 0 0 2px #e6d5ed; }
.carousel-status { text-align: center; margin-top: 10px; color: #754a86; font-size: 12px; font-weight: 700; }
@media (max-width: 620px) {
    .carousel-stage { padding-inline: 0; padding-bottom: 52px; }
    .carousel-slide { grid-template-columns: 1fr; align-content: start; }
    .carousel-slide .gameplay-image { padding: 9px; }
    .carousel-slide figcaption { padding: 13px 15px; }
    .carousel-arrow { top: auto; bottom: 0; transform: none; width: 44px; height: 39px; }
    .carousel-prev { left: calc(50% - 50px); }
    .carousel-next { right: calc(50% - 50px); }
    .carousel-thumbnails { gap: 6px; }
    .carousel-thumb { width: min(23%, 88px); }
}

.section-copy {
    max-width: 88ch;
    margin: 0 auto 22px;
    font-size: 1em;
    line-height: 1.65;
}

/* A separate, compact iOS introduction; all preview imagery is local. */
.ios-hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 32px;
    margin: 20px 0 28px;
    padding: clamp(22px, 3vw, 38px);
    border: 1px solid #327b88;
    border-radius: 20px;
    background: radial-gradient(ellipse at 95% 0%, #276f80 0%, transparent 58%), linear-gradient(125deg, #102f40, #124c56);
    color: #f1fbf9;
    box-shadow: 0 9px 0 #cfe1dc;
}
.ios-kicker { font-size: 11px; font-weight: 800; letter-spacing: .13em; color: #a7ebd9; margin-bottom: 15px; }
.ios-hero h1 { font-size: clamp(38px, 4vw, 54px); line-height: 1; }
.ios-hero h1 span { color: #a4f3d4; }
.ios-hero-intro { font-size: 14px; line-height: 1.65; margin-top: 17px; max-width: 54ch; color: #d7e9eb; }
.ios-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 23px; }
.ios-store-button { background: #b8f3dc; color: #123c43; border-color: #d0ffed; font-size: 13px; display: inline-flex; gap: 15px; }
.ios-guide-link { color: #e1fbf4; font-size: 12px; font-weight: 700; text-underline-offset: 4px; }
.ios-store-note { color: #b5d5d8; font-size: 10px; line-height: 1.5; margin-top: 13px; }
.ios-hero-visual { min-width: 0; overflow: hidden; border: 1px solid #6b9caa; border-radius: 12px; background: #102e3b; box-shadow: 0 16px 30px #07263366; transform: rotate(-1deg); }
.ios-preview-top { display: flex; gap: 7px; align-items: center; padding: 11px 12px; font-size: 10px; font-weight: 700; color: #d6f3ed; }
.ios-preview-top > span:last-child { margin-left: auto; color: #93b9c2; font-size: 9px; }
.ios-preview-dot { width: 6px; height: 6px; border-radius: 50%; background: #a4f3d4; }
.ios-hero-visual .post-figure { margin: 0; border: 0; border-radius: 0; background: transparent; padding: 0; }
.ios-hero-visual img { width: 100%; height: auto; border-radius: 0; }
@media (max-width: 760px) {
    .ios-hero { grid-template-columns: 1fr; gap: 24px; }
    .ios-hero h1 { font-size: 42px; }
    .ios-hero-visual { transform: none; }
}
