/* iPogo — shared site styles */
:root {
    --teal: #3a8581;
    --deep: #245854;
    --ink: #27332f;
    --muted: #58655f;
    --line: #ccd7d0;
    --paper: #edf1ee;
    --surface: #f5f7f3;
    --link: #2c6a65;
    --soft: #e1e9e3;
    --accent: #3a8581;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font:
        16px/1.65 'Segoe UI',
        Arial,
        sans-serif;
}
h1,
h2,
h3,
p,
figure {
    margin-top: 0;
}
h1,
h2,
h3 {
    line-height: 1.16;
    letter-spacing: -0.025em;
    font-weight: 650;
}
h1 {
    font-size: 44px;
    margin-bottom: 16px;
}
h2 {
    font-size: 34px;
    margin-bottom: 20px;
}
h3 {
    font-size: 21px;
    margin-bottom: 12px;
}
p {
    color: var(--muted);
    margin-bottom: 20px;
}
a {
    color: var(--link);
    text-underline-offset: 3px;
}
a:hover {
    color: var(--link-hover, var(--deep));
}
img {
    max-width: 100%;
    height: auto;
}
button,
input,
select {
    font: inherit;
}
button {
    cursor: pointer;
    border: 0;
}
a,
button,
input,
select,
summary {
    outline-offset: 4px;
    -webkit-tap-highlight-color: transparent;
}
:focus-visible {
    outline: 3px solid #218e86;
}
.wrap {
    width: calc(100% - 96px);
    max-width: 1160px;
    margin: 0 auto;
}
.skip {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 100;
    background: var(--surface);
    padding: 12px 20px;
}
.skip:focus {
    top: 8px;
}
header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #3a8581;
    border-bottom: 1px solid transparent;
    transition:
        background-color 0.2s,
        box-shadow 0.2s,
        border-color 0.2s;
}
header.scrolled {
    background: rgba(58, 133, 129, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-bottom-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 5px 22px rgba(23, 65, 62, 0.16);
}
.nav-wrap {
    width: calc(100% - 64px);
    max-width: 1280px;
    height: 80px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.brand {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
}
.brand img {
    width: 138px;
    height: auto;
}
header nav {
    display: flex;
    align-items: center;
    gap: 25px;
    height: 100%;
    margin-left: auto;
    order: 1;
}
header nav > a {
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    padding-top: 3px;
}
header nav > a[aria-current] {
    color: #fff;
    border-bottom-color: #fff;
}
header nav > a.button {
    height: auto;
    padding: 11px 19px;
    border: 0;
}
.menu-toggle {
    order: 3;
    display: none;
    background: transparent;
    color: #fff;
    padding: 10px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 23px;
    border: 1px solid var(--teal);
    border-radius: 4px;
    background: var(--teal);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition:
        background 0.15s,
        border-color 0.15s;
}
.button:hover {
    background: #1a625f;
    border-color: #1a625f;
    color: #fff;
}
.button.secondary {
    background: var(--surface);
    color: var(--teal);
    border-color: #a9babb;
}
.button.secondary:hover {
    background: #edf5f4;
    border-color: var(--teal);
}
.button.light {
    background: var(--surface);
    color: var(--teal);
    border-color: #fff;
}
.button.light:hover {
    background: #e7f2f0;
}
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 18px;
}
.text-link {
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
}
.eyebrow {
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 12px;
    letter-spacing: 0;
}
.eyebrow:empty {
    display: none;
}
.section {
    padding: 70px 0;
}
.section-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 32px;
}
.section-heading > h2,
.section-heading > div {
    flex: 1;
}
.section-heading > p {
    max-width: 370px;
    font-size: 15px;
    margin: 0;
}

/* The homepage uses original gameplay imagery, rather than a decorative mockup. */
.game-hero {
    background: #3a8581;
    color: white;
    overflow: hidden;
}
.game-hero-layout {
    min-height: 590px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 65px;
    align-items: center;
    padding-top: 44px;
    padding-bottom: 44px;
}
.product-label {
    color: #e0f0ed;
    font-size: 15px;
    margin-bottom: 23px;
}
.game-hero h1 {
    font-size: clamp(56px, 5.5vw, 76px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.06;
    margin-bottom: 26px;
}
.game-hero-copy > p:not(.product-label) {
    color: #fff;
    font-size: 20px;
    line-height: 1.5;
    max-width: 480px;
}
.game-hero-copy > p.hero-description {
    color: #e0f0ed;
    font-size: 16px;
    margin-top: 19px;
    max-width: 450px;
}
.game-hero .button {
    background: var(--surface);
    border-color: #fff;
    color: #245854;
    min-width: 175px;
}
.game-hero .button:hover {
    background: #edf5f3;
}
.game-hero .hero-secondary {
    background: transparent;
    border-color: #d1e7e4;
    color: #fff;
}
.game-hero .hero-secondary:hover {
    background: #2e716d;
}
.hero-help {
    font-size: 12px;
    color: #e0f0ed;
}
.hero-help:hover {
    color: white;
}
.release-bar {
    background: var(--soft);
    border-bottom: 1px solid #d3e0e0;
}
.release-bar .wrap {
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: 60px;
    font-size: 13px;
}
.release-bar .wrap > span {
    font-weight: 650;
    color: var(--ink);
}
.release-bar a {
    color: #435f62;
    text-decoration: none;
}
.release-bar a:hover {
    text-decoration: underline;
}
.release-bar a:last-child {
    margin-left: auto;
    color: var(--teal);
}
.release-bar strong {
    font-weight: 600;
}
.release-bar small {
    color: #6b7e82;
    font-size: 11px;
}
.tools-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 110px;
}
.tools-intro {
    align-self: start;
}
.tools-intro h2 {
    font-size: 40px;
}
.tools-intro > p {
    max-width: 340px;
}
.tools-intro > img {
    width: 230px;
    display: block;
    margin: 40px 0 0 24px;
    max-height: 450px;
    object-fit: cover;
    object-position: top;
}
.tool-list article {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.tool-list article:first-child {
    padding-top: 0;
}
.tool-list article:last-child {
    border: 0;
    padding-bottom: 0;
}
.tool-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.tool-heading h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
.feature-tier {
    font-size: 10px;
    font-weight: 650;
    color: #846416;
    background: #f6edcd;
    padding: 1px 6px;
    margin-bottom: 10px;
}
.tool-list article p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}
.world-section {
    background: var(--soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.world-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.world-grid img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    object-position: 50% 45%;
    display: block;
    margin-bottom: 20px;
}
.world-grid h3 {
    font-size: 19px;
}
.world-grid p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 0;
}
.home-plans {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 50px;
}
.home-plans > div:first-child p {
    font-size: 14px;
}
.plan-choice {
    border-top: 3px solid var(--teal);
    padding-top: 22px;
}
.plan-choice h3 {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    font-size: 24px;
    margin-bottom: 24px;
}
.plan-choice strong {
    font-weight: 600;
    font-size: 29px;
    white-space: nowrap;
}
.plan-choice small {
    font-size: 12px;
    font-weight: 400;
}
.plan-choice p {
    font-size: 14px;
    min-height: 90px;
}
.community {
    padding: 38px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    border-top: 2px solid var(--teal);
}

.community h2 {
    font-size: 31px;
}
.community p {
    max-width: 600px;
    font-size: 15px;
    margin-bottom: 0;
}

/* Documentation and support pages. */
.page-intro {
    padding-top: 35px;
    padding-bottom: 26px;
}
.breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 24px;
}
.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}
.breadcrumb a:hover {
    color: var(--teal);
}
.breadcrumb span {
    color: #acb5ba;
}
.page-intro h1 {
    max-width: 860px;
    font-size: 42px;
}
.lead {
    max-width: 760px;
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 0;
}
.page-intro + .section,
.page-intro + .wrap > .section:first-child {
    padding-top: 25px;
}
.support-links {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    padding-top: 17px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 32px;
}
.support-links a {
    color: #4a646a;
    font-size: 13px;
    text-decoration: none;
}
.support-links a:hover {
    text-decoration: underline;
    color: var(--teal);
}
.faq-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 65px;
    margin-top: 0;
    margin-bottom: 70px;
}
.faq-layout aside {
    position: sticky;
    top: 110px;
    align-self: start;
    background: var(--soft);
    padding: 22px;
    border-top: 3px solid var(--teal);
}
.faq-layout aside label {
    display: block;
    font-size: 13px;
    color: var(--ink);
}
.faq-layout input {
    width: 100%;
    padding: 11px 10px;
    border: 1px solid #b3c1c6;
    background: var(--surface);
    color: var(--ink);
    border-radius: 3px;
    font-size: 13px;
    margin: 4px 0 0;
}
.faq-layout aside h3 {
    font-size: 17px;
    margin: 30px 0 10px;
}
.faq-layout aside p {
    font-size: 13px;
    line-height: 1.6;
}
.faq-layout aside .text-link {
    display: block;
    font-size: 13px;
    font-weight: 400;
    margin-top: 10px;
}
#search-status {
    font-size: 11px;
    margin: 8px 0 0;
}
details {
    border-bottom: 1px solid var(--line);
}
details:first-child {
    border-top: 1px solid var(--line);
}
summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    cursor: pointer;
    padding: 19px 0;
    gap: 24px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}
summary::-webkit-details-marker {
    display: none;
}
summary > span:last-child {
    flex-shrink: 0;
    font-size: 0;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #5d777c;
    border-bottom: 1.5px solid #5d777c;
    transform: rotate(45deg);
    margin-right: 5px;
    transition: transform 0.15s;
}
details[open] > summary {
    color: var(--teal);
}
details[open] > summary > span:last-child {
    transform: rotate(225deg);
}
.prose {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}
.prose p {
    margin-bottom: 17px;
}
.prose h4,
.prose h5,
.prose h6 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--ink);
    margin: 22px 0 10px;
}
.prose a {
    overflow-wrap: anywhere;
}
.prose img {
    display: block;
    width: auto;
    max-height: 420px;
    object-fit: contain;
    margin: 20px 0;
}
.prose ul {
    padding-left: 22px;
}
.prose table {
    width: 100%;
    border-collapse: collapse;
}
.prose td,
.prose th {
    border: 1px solid var(--line);
    padding: 8px;
}
.prose .btn {
    display: inline-block;
    background: var(--soft);
    padding: 7px 12px;
    margin: 5px 7px 5px 0;
    font-size: 12px;
    text-decoration: none;
    border-radius: 3px;
}
.faq-list details > .prose {
    padding: 0 24px 24px 0;
}
.feature-directory {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 60px;
}
.feature-directory details {
    align-self: start;
    border-top: 1px solid var(--line);
    margin-bottom: -1px;
}
.feature-directory details > .prose {
    padding-bottom: 25px;
}
.guide-heading {
    grid-column: 1/-1;
    font-size: 29px;
    padding-top: 45px;
    margin-bottom: 25px;
}
.jump-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    margin-bottom: 25px;
}
.jump-nav a {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}
.notice {
    padding: 17px 20px;
    background: var(--soft);
    border-left: 3px solid var(--teal);
    font-size: 13px;
}
.install-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 45px;
}
.install-card {
    border-top: 1px solid #bccbce;
    padding: 24px 0 30px;
    display: flex;
    flex-direction: column;
    align-items: start;
}
.install-card h3 {
    margin-top: 20px;
    font-size: 26px;
}
.install-card p {
    font-size: 14px;
}
.install-card .prose {
    flex: 1;
}
.install-card .button {
    margin-top: 10px;
}
.card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}
.feature-icon {
    display: none;
}
.tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.015em;
    color: #557378;
    background: var(--soft);
    padding: 3px 7px;
}
.download-list {
    border-top: 1px solid var(--line);
    margin: 30px 0;
}
.download-list > div {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}
.download-list > div > span {
    flex: 1;
}
.download-list small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}
.download-list a:last-child {
    font-size: 12px;
}
.plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    padding-top: 20px;
}
.plan {
    border-top: 4px solid #b6c8cc;
    padding-top: 25px;
}
.plan.vip {
    border-top-color: var(--teal);
}
.plan h2 {
    font-size: 28px;
    margin-bottom: 17px;
}
.plan-header .eyebrow {
    display: none;
}
.plan-header {
    position: relative;
}
.plan-header > p:not(.price) {
    font-size: 14px;
}
.price {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.035em;
    color: var(--ink);
    margin-bottom: 18px;
}
.price small {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--muted);
}
.plan-header .button {
    min-width: 180px;
}
.list-caption {
    margin: 25px 0 0;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.feature-list li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}
.feature-list li > span:first-child {
    color: var(--teal);
    font-size: 12px;
}
.feature-list li > span:last-child {
    display: none;
}
.feature-list a {
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
}
.feature-list a:hover {
    text-decoration: underline;
}
.account-panel {
    padding: 28px;
    margin-top: 20px;
    background: var(--soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.account-panel h3 {
    font-size: 25px;
}
.account-panel p {
    max-width: 650px;
    font-size: 14px;
    margin-bottom: 0;
}
.account-panel .button {
    flex-shrink: 0;
}
.appeal-content {
    padding-top: 0;
    max-width: 900px;
}
.steps {
    list-style: none;
    padding: 0;
}
.steps li {
    display: flex;
    gap: 25px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.steps li > span {
    font-size: 12px;
    color: var(--teal);
    padding-top: 3px;
}
.steps h3 {
    font-size: 22px;
}
.steps p {
    font-size: 14px;
    margin: 0;
}
.appeal-content > .notice {
    margin-bottom: 35px;
}

/* Shared footer and native detail dialog. */
footer {
    border-top: 1px solid var(--line);
    padding-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 45px;
}
footer .brand {
    margin-bottom: 16px;
}
footer .brand img {
    width: 112px;
}
footer p {
    font-size: 12px;
    max-width: 280px;
    margin-bottom: 12px;
}
footer h3 {
    font-size: 13px;
    letter-spacing: 0;
    margin: 6px 0 18px;
}
footer a:not(.brand) {
    display: block;
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
    margin-bottom: 8px;
}
footer a:hover {
    color: var(--teal);
    text-decoration: underline;
}
footer label {
    display: block;
    font-size: 12px;
    margin-top: 20px;
}
footer select {
    width: 100%;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid #bccbd0;
    border-radius: 2px;
    padding: 7px;
    font-size: 11px;
}
footer small {
    display: block;
    color: var(--muted);
    font-size: 9px;
    margin-top: 5px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    padding: 20px 0;
    margin-top: 30px;
    font-size: 11px;
    color: var(--muted);
}
.footer-bottom a {
    font-size: 11px !important;
    margin: 0 !important;
}
dialog {
    width: min(680px, calc(100% - 32px));
    max-height: 85dvh;
    border: 0;
    border-top: 4px solid var(--teal);
    border-radius: 4px;
    padding: 28px 36px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 15px 70px #071f3560;
}
dialog::backdrop {
    background: #071f35b3;
}
.dialog-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dialog-top .eyebrow {
    margin: 0;
}
.dialog-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: var(--soft);
    color: var(--ink);
    line-height: 1;
    border-radius: 3px;
}
.dialog-close svg {
    display: block;
    pointer-events: none;
}
dialog h2 {
    font-size: 28px;
    margin-top: 18px;
}
body:has(dialog[open]) {
    overflow: hidden;
}
[hidden] {
    display: none !important;
}

@media (max-width: 1100px) {
    .wrap {
        width: calc(100% - 64px);
    }
    header nav {
        gap: 20px;
    }
    header nav > a {
        font-size: 13px;
    }
    .game-hero-layout {
        gap: 40px;
    }
    .game-hero h1 {
        font-size: 62px;
    }
    .tools-section {
        gap: 65px;
    }
    .home-plans {
        gap: 30px;
    }
    .footer-grid {
        gap: 28px;
    }
}
@media (max-width: 850px) {
    .nav-wrap {
        height: 70px;
        width: calc(100% - 40px);
    }
    .menu-toggle {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
    }
    header nav {
        display: none;
        position: absolute;
        height: auto;
        top: 70px;
        left: 0;
        right: 0;
        padding: 16px 28px 24px;
        background: #3a8581;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 8px 15px #12383d12;
    }
    header nav.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    header nav > a {
        height: auto;
        padding: 12px 0;
        border: 0;
    }
    header nav > a.button {
        margin-top: 10px;
    }
    .game-hero-layout {
        gap: 28px;
        grid-template-columns: 1.1fr 1fr;
        padding-top: 40px;
        padding-bottom: 40px;
        min-height: 500px;
    }
    .game-hero h1 {
        font-size: 52px;
    }
    .game-hero-copy > p:not(.product-label) {
        font-size: 17px;
    }
    .game-hero-copy > p.hero-description {
        font-size: 14px;
    }
    .game-hero .actions {
        flex-direction: column;
        align-items: start;
        margin-top: 22px;
    }
    .game-hero .button {
        min-width: 190px;
    }
    .release-bar .wrap {
        gap: 20px;
        font-size: 11px;
    }
    .release-bar a:last-child {
        font-size: 11px;
    }
    .section {
        padding: 55px 0;
    }
    .tools-section {
        gap: 50px;
    }
    .tools-intro h2 {
        font-size: 34px;
    }
    .tools-intro > img {
        margin-left: 0;
    }
    .world-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .world-grid img {
        height: 270px;
    }
    .home-plans {
        grid-template-columns: 1fr 1fr;
    }
    .home-plans > div:first-child {
        grid-column: 1/-1;
        max-width: 580px;
    }
    .plan-choice p {
        min-height: 60px;
    }
    .community {
        gap: 25px;
    }
    .community h2 {
        font-size: 28px;
    }
    .section-heading {
        gap: 25px;
    }
    .section-heading > p {
        max-width: 280px;
    }
    .faq-layout {
        grid-template-columns: 210px 1fr;
        gap: 30px;
    }
    .faq-layout aside {
        padding: 18px;
    }
    .install-grid {
        gap: 0 30px;
    }
    .plan-grid {
        gap: 30px;
    }
    .account-panel {
        gap: 20px;
    }
    .footer-grid {
        grid-template-columns: 1.4fr 1fr;
        gap: 30px;
    }
}
@media (max-width: 600px) {
    .wrap {
        width: calc(100% - 40px);
    }
    .brand img {
        width: 119px;
    }
    .game-hero-layout {
        grid-template-columns: 1fr;
        padding-top: 35px;
        padding-bottom: 30px;
        gap: 30px;
    }
    .product-label {
        font-size: 13px;
        margin-bottom: 18px;
    }
    .game-hero h1 {
        font-size: 52px;
    }
    .game-hero-copy > p:not(.product-label) {
        max-width: 360px;
        font-size: 18px;
    }
    .game-hero-copy > p.hero-description {
        font-size: 14px;
    }
    .game-hero .actions {
        flex-direction: row;
        align-items: stretch;
        gap: 10px;
    }
    .game-hero .button {
        min-width: 0;
        flex: 1;
        padding: 12px 9px;
        font-size: 13px;
    }
    .hero-help {
        font-size: 11px;
    }
    .release-bar .wrap {
        flex-wrap: wrap;
        gap: 8px 18px;
        padding: 15px 0;
    }
    .release-bar .wrap > span {
        flex-basis: 100%;
    }
    .release-bar a:last-child {
        margin: 4px 0 0;
        flex-basis: 100%;
    }
    h2 {
        font-size: 29px;
    }
    .section {
        padding: 42px 0;
    }
    .tools-section {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .tools-intro h2 {
        font-size: 32px;
    }
    .tools-intro > img {
        display: none;
    }
    .tools-intro > p {
        max-width: none;
        font-size: 14px;
    }
    .tool-list article:first-child {
        padding-top: 22px;
        border-top: 1px solid var(--line);
    }
    .tool-heading h3 {
        font-size: 19px;
    }
    .tool-list article p {
        font-size: 13px;
    }
    .section-heading {
        display: block;
        margin-bottom: 25px;
    }
    .section-heading > p {
        max-width: none;
        font-size: 14px;
    }
    .world-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px 18px;
    }
    .world-grid img {
        height: 190px;
        margin-bottom: 14px;
    }
    .world-grid h3 {
        font-size: 17px;
    }
    .world-grid p {
        font-size: 12px;
    }
    .home-plans {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .home-plans > div:first-child {
        grid-column: auto;
    }
    .plan-choice h3 {
        font-size: 23px;
        margin-bottom: 15px;
    }
    .plan-choice p {
        min-height: 0;
    }
    .community {
        flex-direction: column;
        align-items: start;
        gap: 20px;
        padding-top: 30px;
        padding-bottom: 35px;
    }

    .community h2 {
        font-size: 28px;
    }
    .community p {
        font-size: 14px;
    }
    .page-intro {
        padding-top: 23px;
        padding-bottom: 20px;
    }
    .breadcrumb {
        font-size: 11px;
        margin-bottom: 19px;
    }
    .page-intro h1 {
        font-size: 35px;
    }
    .lead {
        font-size: 14px;
    }
    .support-links {
        gap: 10px 25px;
        padding-top: 0;
        padding-bottom: 20px;
        margin-bottom: 23px;
    }
    .support-links a {
        font-size: 12px;
    }
    .faq-layout {
        display: block;
        margin-bottom: 45px;
    }
    .faq-layout aside {
        position: static;
        margin-bottom: 10px;
        padding: 15px;
    }
    .faq-layout aside label {
        margin-bottom: 7px;
    }
    .faq-layout aside h3,
    .faq-layout aside > p:not(#search-status),
    .faq-layout aside .text-link {
        display: none;
    }
    .faq-layout input {
        font-size: 14px;
        padding: 11px;
    }
    summary {
        font-size: 15px;
        gap: 15px;
        padding: 17px 0;
    }
    .prose {
        font-size: 13px;
    }
    .feature-directory {
        grid-template-columns: 1fr;
    }
    .guide-heading {
        font-size: 26px;
        padding-top: 30px;
    }
    .jump-nav {
        gap: 20px;
        padding: 13px 0;
        margin-bottom: 20px;
    }
    .jump-nav a {
        font-size: 12px;
    }
    .notice {
        font-size: 12px;
        padding: 15px;
    }
    .install-grid,
    .plan-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .install-card {
        padding: 20px 0 25px;
    }
    .install-card h3 {
        font-size: 24px;
        margin-top: 18px;
    }
    .install-card p {
        font-size: 13px;
    }
    .download-list > div {
        flex-wrap: wrap;
        gap: 12px;
    }
    .download-list > div > span {
        flex-basis: 100%;
    }
    .download-list .button {
        font-size: 12px;
        padding: 10px 16px;
    }
    .plan-grid {
        padding-top: 0;
        gap: 40px;
    }
    .plan {
        padding-top: 20px;
    }
    .plan-header h2 {
        font-size: 27px;
    }
    .price {
        font-size: 44px;
    }
    .account-panel {
        display: block;
        padding: 22px;
    }
    .account-panel .button {
        margin-top: 22px;
    }
    .account-panel h3 {
        font-size: 23px;
    }
    .steps h3 {
        font-size: 20px;
    }
    .steps p {
        font-size: 13px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px 20px;
    }
    .footer-grid > div:first-child {
        grid-column: 1/-1;
    }
    .footer-grid > div:last-child {
        grid-column: 1/-1;
        max-width: 260px;
    }
    footer {
        padding-top: 30px;
    }
    .footer-bottom {
        font-size: 10px;
    }
    dialog {
        padding: 22px;
    }
    dialog h2 {
        font-size: 25px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *:before,
    *:after {
        transition: none !important;
        animation: none !important;
    }
}
.faq-topics {
    border-top: 1px solid #d7e1e3;
    margin-top: 20px;
    padding-top: 13px;
}
.faq-topics a {
    display: block;
    font-size: 12px;
    color: var(--muted);
    text-decoration: none;
    padding: 5px 0;
}
.faq-topics a:hover {
    text-decoration: underline;
}
.faq-group {
    margin-bottom: 38px;
}
.faq-group h2 {
    font-size: 20px;
    margin-bottom: 14px;
    letter-spacing: -0.015em;
}
.faq-group details:first-of-type {
    border-top: 1px solid var(--line);
}
@media (max-width: 600px) {
    .faq-topics {
        display: none;
    }
    .faq-group {
        margin-top: 27px;
        margin-bottom: 30px;
    }
    .faq-group h2 {
        font-size: 19px;
    }
}

.header-discord {
    order: 2;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border: 1px solid #5865c9;
    border-radius: 4px;
    color: #404eb2;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.header-discord:hover {
    color: #fff;
    background: #4752b6;
    border-color: #4752b6;
}
.discord-button {
    background: #4752b6;
    border-color: #4752b6;
    flex-shrink: 0;
}
.discord-button:hover {
    background: #364092;
    border-color: #364092;
}
.hero-discord {
    display: block;
    width: fit-content;
    margin-top: 13px;
    color: #fff;
    font-size: 13px;
}
.hero-discord:hover {
    color: white;
}
@media (min-width: 851px) and (max-width: 1000px) {
    .nav-wrap {
        height: 70px;
        width: calc(100% - 40px);
    }
    .menu-toggle {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
    }
    header nav {
        display: none;
        position: absolute;
        height: auto;
        top: 70px;
        left: 0;
        right: 0;
        padding: 16px 28px 24px;
        background: #3a8581;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 8px 15px #12383d12;
    }
    header nav.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    header nav > a {
        height: auto;
        padding: 12px 0;
        border: 0;
    }
    header nav > a.button {
        margin-top: 10px;
    }
}
@media (max-width: 1000px) {
    .header-discord {
        margin-left: auto;
    }
}
@media (max-width: 600px) {
    .nav-wrap {
        gap: 12px;
    }
    .header-discord {
        font-size: 12px;
        padding: 7px 11px;
    }
    .menu-toggle {
        padding: 8px 0 8px 5px;
        font-size: 13px;
    }
}
/* A single, unaltered app view keeps the hero focused on the product. */
.app-preview {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 3px 0;
}
.app-preview img {
    height: 490px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 16px 20px #041d2540);
}
.app-preview figcaption {
    font-size: 11px;
    color: #e0f0ed;
    margin-top: 10px;
}
@media (max-width: 850px) {
    .app-preview img {
        height: 400px;
    }
}
@media (max-width: 600px) {
    .app-preview {
        margin-top: 4px;
    }
    .app-preview img {
        height: 360px;
    }
}

/* Header uses the original site's brand green and translucent scroll treatment. */
header nav > a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.08);
}
header nav > a.button {
    background: #245854;
    color: #fff;
}
header nav > a.button:hover {
    background: #1d4a47;
}
.header-discord {
    background: #4752b6;
    border-color: #4752b6;
    color: #fff;
}
.header-discord:hover {
    background: #364092;
    border-color: #364092;
}
header.scrolled nav > a:not(.button),
header.scrolled .menu-toggle {
    text-shadow: 0 1px 2px rgba(15, 51, 48, 0.45);
}
/* Instructional emphasis is content: retain the source's warning hierarchy. */
.prose b,
.prose strong {
    font-weight: 750;
}
.prose em,
.prose i {
    font-style: italic;
}
.prose u {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.prose .text-danger,
.install-card .text-danger {
    color: #c62828;
    font-weight: 700;
}
.prose .text-success,
.install-card .text-success {
    color: #247239;
    font-weight: 650;
}
.prose .text-info {
    color: #086e91;
    font-weight: 650;
}
.prose .text-warning {
    color: #8c5c00;
    font-weight: 650;
}
.prose .text-primary,
.prose .text-ipogo,
.prose .link-green {
    color: var(--teal);
}
.prose .link-bold {
    font-weight: 700;
}
.prose h4.text-danger,
.prose h5.text-danger {
    padding-left: 12px;
    border-left: 3px solid #c62828;
}
.prose p.text-danger {
    padding: 12px 15px;
    background: #fff2f1;
    border-left: 3px solid #c62828;
}
.prose .text-danger :is(b, strong, em, i) {
    color: inherit;
}
.prose .btn {
    border: 1px solid #b7cdca;
    cursor: pointer;
}
.prose .btn-danger,
.prose .btn-red {
    color: #fff;
    background: #b72525;
    border-color: #b72525;
}
.prose .btn-danger:hover,
.prose .btn-red:hover {
    background: #941e1e;
}
.prose .text-center {
    text-align: center;
}
/* Make the VIP purchase path the primary action before installation. */
.header-purchase {
    order: 2;
    flex-shrink: 0;
    background: var(--surface);
    border-color: #fff;
    color: #245854;
    padding: 10px 17px;
}
.header-purchase:hover {
    background: #edf5f3;
    border-color: #edf5f3;
    color: #245854;
}
.header-discord {
    order: 3;
}
.menu-toggle {
    order: 4;
}
.game-hero-copy > p.hero-purchase-note {
    font-size: 13px;
    color: #e1f0ee;
    line-height: 1.6;
    margin-bottom: 16px;
}
.hero-purchase-note strong {
    font-weight: 700;
}
.vip-start {
    padding-top: 26px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}
.vip-start h2 {
    font-size: 16px;
    margin-bottom: 18px;
    letter-spacing: 0;
}
.vip-start ol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.vip-start li {
    display: flex;
    align-items: start;
    gap: 12px;
}
.vip-start li > span {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border: 1px solid #a9c8c4;
    border-radius: 50%;
    color: #245854;
    font-size: 12px;
    font-weight: 600;
}
.vip-start li a {
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}
.vip-start li a:hover {
    text-decoration: underline;
}
.vip-start small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    line-height: 1.65;
    margin-top: 3px;
}
.plan-more {
    margin: 12px 0 0;
    min-height: 0 !important;
    font-size: 12px !important;
}
.free-choice {
    border-top-color: #b6c8cc;
}
.codehub-purchase {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
    gap: 70px;
    border-top: 4px solid var(--teal);
    background: var(--soft);
    padding: 32px;
    margin-top: 8px;
}
.codehub-purchase h2 {
    font-size: 31px;
    margin-bottom: 16px;
}
.codehub-purchase p {
    font-size: 14px;
}
.codehub-purchase .purchase-price {
    font-size: 43px;
    font-weight: 650;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 20px;
}
.purchase-price small {
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
}
.codehub-purchase .actions {
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}
.codehub-purchase .actions .text-link {
    font-size: 12px;
    font-weight: 400;
}
.purchase-existing {
    margin-bottom: 0;
}
.purchase-existing .text-link {
    font-size: 12px;
    font-weight: 400;
}
.purchase-instructions {
    margin: 0;
    padding: 0;
    list-style: none;
}
.purchase-instructions li {
    padding: 0 0 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #d2e2df;
}
.purchase-instructions li:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border: 0;
}
.purchase-instructions strong {
    font-size: 15px;
    font-weight: 650;
}
.purchase-instructions p {
    font-size: 13px;
    line-height: 1.7;
    margin: 7px 0 0;
}
.comparison-title {
    padding-top: 55px;
}
.comparison-title h2 {
    font-size: 28px;
    margin-bottom: 10px;
}
.comparison-title p {
    font-size: 14px;
    margin-bottom: 12px;
}
@media (max-width: 1100px) {
    .nav-wrap {
        gap: 22px;
    }
    .codehub-purchase {
        gap: 35px;
    }
}
@media (max-width: 1000px) {
    .header-purchase {
        margin-left: auto;
    }
    .header-discord {
        margin-left: 0;
    }
}
@media (max-width: 850px) {
    .vip-start ol {
        gap: 20px;
    }
    .codehub-purchase {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
@media (max-width: 600px) {
    .nav-wrap {
        gap: 8px;
    }
    .brand img {
        width: 108px;
    }
    .header-purchase {
        padding: 8px 10px;
        font-size: 12px;
    }
    .menu-label {
        display: none;
    }
    .menu-toggle {
        padding-left: 3px;
    }
    .vip-start {
        padding-top: 23px;
        padding-bottom: 23px;
    }
    .vip-start ol {
        grid-template-columns: 1fr;
        gap: 17px;
    }
    .codehub-purchase {
        padding: 23px;
    }
    .codehub-purchase h2 {
        font-size: 27px;
    }
    .codehub-purchase .purchase-price {
        font-size: 39px;
    }
    .codehub-purchase .actions {
        align-items: start;
        flex-direction: column;
        gap: 15px;
    }
    .codehub-purchase .button {
        width: 100%;
        font-size: 13px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .comparison-title {
        padding-top: 37px;
    }
}
/* Softer light surfaces and an optional, persistent dark appearance. */
:root {
    color-scheme: light;
}
:root[data-theme='dark'] {
    color-scheme: dark;
    --paper: #191b1e;
    --surface: #24272b;
    --soft: #2a2e33;
    --ink: #e7e9eb;
    --muted: #b7bdc4;
    --line: #41464d;
    --link: #8ccdc6;
    --link-hover: #bce6e1;
}
.theme-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
    color: #fff;
    background: transparent;
    border: 1px solid #ffffff60;
    border-radius: 4px;
    width: 35px;
    height: 35px;
    padding: 7px;
}
.theme-toggle:hover {
    background: #ffffff1c;
}
.theme-label {
    display: none;
}
.theme-sun {
    display: none;
}
[data-theme='dark'] .theme-sun {
    display: block;
}
[data-theme='dark'] .theme-moon {
    display: none;
}
@media (max-width: 1000px) {
    .theme-toggle {
        justify-content: start;
        width: fit-content;
        height: auto;
        padding: 9px 12px;
        margin-top: 12px;
    }
    .theme-label {
        display: inline;
        font-size: 13px;
    }
}
[data-theme='dark'] .button.secondary,
[data-theme='dark'] .button.light {
    color: var(--link);
    border-color: #66717c;
}
[data-theme='dark'] .button.secondary:hover,
[data-theme='dark'] .button.light:hover {
    background: #30343a;
}
[data-theme='dark'] .game-hero .button,
[data-theme='dark'] .header-purchase {
    background: #e5e8ea;
    color: #245854;
    border-color: #e5e8ea;
}
[data-theme='dark'] .game-hero .hero-secondary {
    background: transparent;
    color: #fff;
    border-color: #c4ded8;
}
[data-theme='dark'] .game-hero .hero-secondary:hover {
    background: #2e716d;
}
[data-theme='dark'] .release-bar {
    border-color: var(--line);
}
[data-theme='dark'] .release-bar a,
[data-theme='dark'] .release-bar small {
    color: var(--muted);
}
[data-theme='dark'] .release-bar a:last-child {
    color: var(--link);
}
[data-theme='dark'] .breadcrumb span {
    color: #778f80;
}
[data-theme='dark'] .tag {
    color: #c6cbd1;
}
[data-theme='dark'] .feature-tier {
    background: #4b3e22;
    color: #f0d48a;
}
[data-theme='dark'] .install-card,
[data-theme='dark'] .feature-list li,
[data-theme='dark'] .list-caption,
[data-theme='dark'] .plan,
[data-theme='dark'] .faq-topics,
[data-theme='dark'] .free-choice,
[data-theme='dark'] .purchase-instructions li {
    border-color: var(--line);
}
[data-theme='dark'] .plan.vip,
[data-theme='dark'] .codehub-purchase {
    border-top-color: var(--teal);
}
[data-theme='dark'] .vip-start li > span {
    color: var(--link);
    border-color: #66717c;
}
[data-theme='dark'] .faq-layout input,
[data-theme='dark'] footer select {
    border-color: #66717c;
}
[data-theme='dark'] .prose .btn {
    color: var(--link);
    border-color: #66717c;
}
[data-theme='dark'] .prose .btn-danger,
[data-theme='dark'] .prose .btn-red {
    color: #fff;
    background: #a93236;
    border-color: #a93236;
}
[data-theme='dark'] .prose .text-danger,
[data-theme='dark'] .install-card .text-danger {
    color: #ff9696;
}
[data-theme='dark'] .prose .text-success,
[data-theme='dark'] .install-card .text-success {
    color: #9bd7a5;
}
[data-theme='dark'] .prose .text-info {
    color: #89cfe8;
}
[data-theme='dark'] .prose .text-warning {
    color: #e2c576;
}
[data-theme='dark'] .prose .text-primary,
[data-theme='dark'] .prose .text-ipogo,
[data-theme='dark'] .prose .link-green {
    color: var(--link);
}
[data-theme='dark'] .prose p.text-danger {
    background: #3d2628;
    border-left-color: #ff9696;
}
[data-theme='dark'] .prose h4.text-danger,
[data-theme='dark'] .prose h5.text-danger {
    border-left-color: #ff9696;
}
[data-theme='dark'] .prose [style*='color: red'] {
    color: #ff9696 !important;
}
[data-theme='dark'] .support-links a {
    color: var(--link);
}
[data-theme='dark'] summary > span:last-child {
    border-color: #a1b9a9;
}
[data-theme='dark'] details[open] > summary {
    color: var(--link);
}
[data-theme='dark'] dialog::backdrop {
    background: #07120dd6;
}
[data-theme='dark'] .eyebrow {
    color: var(--link);
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.payment-option {
    border-top: 2px solid var(--line);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    align-items: start;
}
.payment-option h3 {
    font-size: 25px;
    margin-bottom: 9px;
}
.payment-option > p {
    font-size: 14px;
}
.payment-option .payment-type {
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}
.payment-detail {
    flex: 1;
}
.payment-detail .text-danger {
    color: #c62828;
}
.payment-option .button {
    margin-top: 4px;
}
.payment-help {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 16px;
}
.payment-help .text-link {
    font-size: 12px;
    font-weight: 400;
}
.free-plan-note {
    font-size: 13px;
    margin: 22px 0 0;
}
[data-theme='dark'] .payment-detail .text-danger {
    color: #ff9696;
}
@media (max-width: 600px) {
    .payment-options {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}
@media (min-width: 601px) {
    .plan-header > p:not(.price) {
        min-height: 48px;
    }
}
/* Four installation paths, with release information kept immediately above them. */
.hero-versions {
    margin: 22px 0 18px;
}
.hero-versions p {
    font-size: 13px;
    color: #e1f0ee;
    margin: 3px 0;
    line-height: 1.7;
}
.hero-versions strong {
    color: #fff;
    font-weight: 700;
}
.download-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    max-width: 500px;
}
.download-choices .guide-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-height: 74px;
    padding: 13px 16px;
    border: 1px solid #c5ded8;
    border-radius: 5px;
    background: #ffffff0b;
    color: #fff;
    text-decoration: none;
}
.download-choices .guide-link:hover {
    background: #ffffff1c;
    border-color: #fff;
}
.download-choices strong {
    font-size: 14px;
    font-weight: 650;
}
.download-choices small {
    font-size: 11px;
    line-height: 1.5;
    opacity: 0.9;
}
.hero-discord {
    margin-top: 19px;
}
@media (max-width: 850px) {
    .download-choices .guide-link {
        padding: 11px 12px;
    }
    .download-choices strong {
        font-size: 12px;
    }
    .download-choices small {
        font-size: 10px;
    }
}
@media (max-width: 600px) {
    .hero-versions {
        margin-top: 20px;
    }
    .hero-versions p {
        font-size: 12px;
    }
    .download-choices {
        gap: 10px;
    }
    .download-choices .guide-link {
        min-height: 78px;
    }
    .download-choices strong {
        font-size: 12px;
    }
}
.game-hero-layout {
    min-height: 555px;
    padding-top: 32px;
    padding-bottom: 32px;
}
.game-hero h1 {
    font-size: 64px;
    margin-bottom: 20px;
}
.game-hero-copy > p:not(.product-label) {
    font-size: 17px;
}
.app-preview img {
    height: 460px;
}
.hero-versions {
    margin-top: 18px;
    margin-bottom: 16px;
}
@media (max-width: 850px) {
    .game-hero h1 {
        font-size: 50px;
    }
    .app-preview img {
        height: 400px;
    }
}
@media (max-width: 600px) {
    .game-hero h1 {
        font-size: 44px;
    }
    .app-preview img {
        height: 340px;
    }
    .game-hero-layout {
        gap: 24px;
    }
}
/* Keep the purchase action visible without a loud accent. */
.header-purchase,
[data-theme='dark'] .header-purchase {
    background: #d7e5df;
    border-color: #bdcfc6;
    color: #244c43;
    border-radius: 5px;
    box-shadow: none;
}
.header-purchase:hover,
[data-theme='dark'] .header-purchase:hover {
    background: #e3ece7;
    border-color: #d0ded6;
    color: #1e4038;
    box-shadow: none;
}
.header-purchase:focus-visible {
    outline-color: #fff;
}
@media (max-width: 600px) {
    .header-purchase {
        padding: 8px 10px;
    }
    .brand img {
        width: 100px;
    }
}
/* A soft seafoam edge complements the brand green. */
.header-purchase,
[data-theme='dark'] .header-purchase {
    border-color: #a1c5b9;
    box-shadow:
        0 2px 5px rgba(20, 49, 44, 0.18),
        0 0 0 1px rgba(161, 197, 185, 0.12);
}
.header-purchase:hover,
[data-theme='dark'] .header-purchase:hover {
    border-color: #b6d5cb;
    box-shadow:
        0 3px 8px rgba(20, 49, 44, 0.23),
        0 0 0 1px rgba(161, 197, 185, 0.2);
}
.payment-option .payment-status {
    font-size: 13px;
    font-weight: 700;
    margin-top: -5px;
    margin-bottom: 20px;
}
.payment-status.text-success {
    color: var(--teal);
}
.payment-status.text-danger {
    color: #c62828;
}
[data-theme='dark'] .payment-status.text-success {
    color: #9bd7a5;
}
[data-theme='dark'] .payment-status.text-danger {
    color: #ff9696;
}
/* Compact mobile navigation with a purchase action and a small theme utility. */
.nav-utilities {
    display: flex;
    align-items: center;
}
.mobile-purchase {
    display: none;
}
@media (max-width: 1000px) {
    header #navigation {
        left: auto;
        right: 20px;
        top: 78px;
        width: min(360px, calc(100% - 40px));
        max-height: calc(100dvh - 94px);
        overflow-y: auto;
        padding: 10px;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: 0 10px 28px #10282130;
    }
    header #navigation > a {
        height: auto;
        min-height: 42px;
        padding: 9px 12px;
        border: 0;
        border-radius: 4px;
        color: var(--ink);
        font-size: 14px;
        font-weight: 500;
        text-shadow: none;
    }
    header #navigation > a:hover {
        background: var(--soft);
        color: var(--ink);
    }
    header #navigation > a[aria-current] {
        color: var(--link);
        background: var(--soft);
        font-weight: 650;
    }
    .nav-utilities {
        gap: 12px;
        border-top: 1px solid var(--line);
        padding: 12px 2px 2px;
        margin: 8px 8px 0;
    }
    .mobile-purchase {
        display: inline-flex;
        flex: 1;
        padding: 10px 16px;
        font-size: 14px;
    }
    #navigation .theme-toggle {
        flex-shrink: 0;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin: 0;
        padding: 9px;
        color: var(--ink);
        border-color: var(--line);
    }
    #navigation .theme-toggle:hover {
        background: var(--soft);
    }
    #navigation .theme-label {
        display: none;
    }
    .menu-toggle[aria-expanded='true'] > span[aria-hidden] {
        font-size: 0;
    }
    .menu-toggle[aria-expanded='true'] > span[aria-hidden]::after {
        content: '×';
        font-size: 24px;
        line-height: 1;
    }
}
@media (max-width: 600px) {
    header #navigation {
        left: 12px;
        right: 12px;
        width: auto;
    }
}

.download-choice {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.download-choice .guide-link {
    flex: 1;
}
.download-choice .direct-link {
    flex-shrink: 0;
}
.download-choices .direct-link {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 2px;
    color: #e4f2ee;
    font-size: 12px;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.download-choices .direct-link:hover {
    color: #fff;
}
.download-requirement {
    display: block;
    color: #e4f2ee;
    font-size: 10px;
    line-height: 1.6;
    padding: 0 2px;
}
.download-requirement strong {
    font-size: inherit;
    font-weight: 700;
}
@media (max-width: 600px) {
    .download-choices .direct-link {
        font-size: 11px;
    }
}
.download-choices .guide-link small strong {
    font-size: inherit;
    font-weight: 700;
}

/* Distinguish help-page navigation from expandable FAQ topics. */
.support-links {
    gap: 10px;
}
.support-links-label {
    flex-basis: 100%;
    margin: 0 0 4px;
    font-size: 14px;
    color: var(--ink);
}
.support-links-label span {
    color: var(--muted);
}
.support-links a {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--ink);
}
.support-links a span {
    color: var(--muted);
}
.support-links a:hover {
    border-color: var(--teal);
}
@media (max-width: 600px) {
    .support-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .support-links-label {
        grid-column: 1 / -1;
        line-height: 1.5;
        margin-bottom: 6px;
    }
    .support-links-label span {
        display: block;
    }
    .support-links a {
        min-width: 0;
        min-height: 52px;
        justify-content: space-between;
        gap: 8px;
        padding: 10px;
        line-height: 1.4;
    }
    .support-links a span {
        flex-shrink: 0;
    }
}
@media (max-width: 359px) {
    .support-links {
        grid-template-columns: minmax(0, 1fr);
    }
}

.release-bar .wrap {
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-top: 16px;
    padding-bottom: 16px;
}
.release-bar a strong {
    display: block;
    font-size: 11px;
}

.release-bar a small {
    display: block;
}

/* Consistent direct downloads, separate from the installation choices above. */
.download-section {
    background: var(--soft);
    padding: 28px 0 32px;
    border-block: 1px solid var(--line);
}
.download-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 20px;
}
.download-heading h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.3;
}
.download-heading > a {
    color: var(--link, var(--teal));
    font-size: 13px;
    text-underline-offset: 3px;
}
.download-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}
.download-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 4px 22px;
    border-left: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    min-width: 0;
}
.download-item:first-child {
    padding-left: 0;
    border-left: 0;
}
.download-item:last-child {
    padding-right: 0;
}
.download-item-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.5;
}
.download-item-title > span {
    color: var(--link, var(--teal));
}
.download-item-version {
    color: var(--ink);
    font-size: 13px;
    line-height: 1.5;
}
.download-item-note {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}
.download-item-note strong {
    font-weight: 650;
    font-size: inherit;
}
.download-item:hover .download-item-title {
    color: var(--link, var(--teal));
    text-decoration: underline;
    text-underline-offset: 3px;
}
@media (max-width: 900px) and (min-width: 601px) {
    .download-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 0;
    }
    .download-item:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }
}
@media (max-width: 600px) {
    .download-section {
        padding: 24px 0;
    }
    .download-heading {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 8px;
    }
    .download-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .download-item,
    .download-item:first-child,
    .download-item:last-child {
        padding: 16px 0;
        border-left: 0;
        border-bottom: 1px solid var(--line);
        gap: 4px;
    }
    .download-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }
    .download-item-title {
        font-size: 15px;
    }
}

.error-page {
    min-height: 52vh;
    padding-top: 70px;
    padding-bottom: 70px;
}
.error-page h1 {
    max-width: 680px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.15;
    margin: 16px 0 20px;
}
.error-page > p {
    max-width: 620px;
    color: var(--muted);
}
.error-page .actions {
    margin: 28px 0;
    flex-wrap: wrap;
}

.purchase-reassurance {
    margin: 22px 0 30px;
    padding: 0;
}
.purchase-reassurance h3 {
    margin: 0 0 5px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 650;
}
.purchase-reassurance p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}
.purchase-reassurance a {
    text-underline-offset: 3px;
}

/* Payment choices share a consistent reading order and aligned actions. */
.purchase-heading {
    margin-bottom: 24px;
}
.purchase-heading h2 {
    margin-bottom: 10px;
}
.purchase-heading p {
    margin: 0;
    font-size: 15px;
}
#purchase-options .payment-options {
    gap: 12px 24px;
    grid-template-rows: repeat(6, auto);
}
#purchase-options .payment-option {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 6;
    align-items: start;
    justify-items: start;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
}
#purchase-options .payment-option h3 {
    margin: 0;
    font-size: 23px;
}
#purchase-options .payment-option > p {
    margin: 0;
    line-height: 1.65;
}
#purchase-options .payment-option .payment-status {
    margin: 0;
}
#purchase-options .payment-option .button {
    margin-top: 8px;
}
#purchase-options .payment-help {
    margin: 0;
    gap: 8px 18px;
}
#purchase-options .purchase-reassurance {
    margin: 20px 0 36px;
}
#purchase-options .purchase-account {
    background: transparent;
    border-top: 1px solid var(--line);
    padding: 28px 0 0;
    margin-top: 0;
}
#purchase-options .purchase-account .eyebrow {
    margin-bottom: 8px;
}
#purchase-options .purchase-account h3 {
    font-size: 22px;
    margin-bottom: 10px;
}
@media (max-width: 600px) {
    #purchase-options .payment-options {
        grid-template-rows: none;
        gap: 18px;
    }
    #purchase-options .payment-option {
        grid-row: auto;
        grid-template-rows: none;
        gap: 14px;
        padding: 20px;
    }
    #purchase-options .payment-option .button {
        width: 100%;
    }
    #purchase-options .purchase-account {
        padding-top: 24px;
    }
}

@media (min-width: 1001px) {
    header nav > a[aria-current] {
        border-bottom-color: transparent;
        text-decoration-line: underline;
        text-decoration-color: currentColor;
        text-decoration-thickness: 2px;
        text-underline-offset: 8px;
    }
}

@media (max-width: 1000px) {
    header .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 48px;
        min-width: 48px;
        height: 48px;
        padding: 0;
        line-height: 1;
        touch-action: manipulation;
    }
    header .menu-toggle .menu-label { display: none; }
    header .menu-toggle:not([aria-expanded='true']) > span[aria-hidden] {
        font-size: 26px;
        line-height: 1;
    }
    header .menu-toggle[aria-expanded='true'] > span[aria-hidden]::after {
        font-size: 30px;
    }
}

.menu-icon-close { display: none; }
.menu-toggle[aria-expanded='true'] .menu-icon-lines { display: none; }
.menu-toggle[aria-expanded='true'] .menu-icon-close { display: block; }
@media (max-width: 1000px) {
    header .menu-toggle { position: relative; }
    header .menu-toggle::before {
        content: '';
        position: absolute;
        width: 36px;
        height: 36px;
        border: 1px solid rgba(231, 243, 237, .38);
        border-radius: 5px;
        background: rgba(255, 255, 255, .04);
    }
    header .menu-toggle:hover::before { background: rgba(255, 255, 255, .1); }
    header .menu-toggle .menu-icon { position: relative; display: block; }
}
