:root {
    color-scheme: light;
    --ink: #102033;
    --muted: #5c6b7c;
    --paper: #f6f9fc;
    --surface: #ffffff;
    --line: rgba(16, 32, 51, 0.12);
    --teal: #12b8b0;
    --cyan: #19a8ff;
    --blue: #0a4e8f;
    --indigo: #273c8f;
    --coral: #ff6f61;
    --gold: #f4b942;
    --shadow: 0 24px 70px rgba(17, 41, 71, 0.18);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, "Noto Sans Thai", sans-serif;
    color: var(--ink);
    background:
        linear-gradient(90deg, rgba(18, 184, 176, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(39, 60, 143, 0.06) 1px, transparent 1px),
        var(--paper);
    background-size: 52px 52px;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

code,
pre {
    font-family: Consolas, "Cascadia Mono", monospace;
}

p code,
span code {
    padding: 2px 6px;
    border-radius: 6px;
    color: #0a4e8f;
    background: rgba(25, 168, 255, 0.12);
    font-size: 0.92em;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    inset: 16px 0 auto;
    z-index: 50;
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(9, 27, 48, 0.54);
    color: #ffffff;
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    border-color: rgba(16, 32, 51, 0.1);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(18, 184, 176, 0.24);
}

.brand strong,
.brand small {
    display: block;
    line-height: 1.12;
}

.brand strong {
    font-size: 1rem;
}

.brand small {
    color: currentColor;
    opacity: 0.72;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.94rem;
    opacity: 0.88;
}

.nav-links a:hover {
    background: rgba(18, 184, 176, 0.14);
    opacity: 1;
}

.nav-toggle {
    display: none;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    color: currentColor;
    width: 42px;
    height: 42px;
    cursor: pointer;
}

.hero {
    position: relative;
    min-height: 92svh;
    overflow: hidden;
    color: #ffffff;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("../img/school-hero.png");
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    z-index: -4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 17, 33, 0.9), rgba(8, 59, 102, 0.64) 47%, rgba(255, 111, 97, 0.22)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.34));
    z-index: -3;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, transparent, black 12%, black 82%, transparent);
    z-index: -2;
    animation: gridDrift 18s linear infinite;
}

.hero-content {
    min-height: 92svh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
    align-items: center;
    gap: 52px;
    padding: 112px 0 74px;
}

.hero-copy {
    max-width: 760px;
}

.hero-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px 8px 8px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    font-weight: 800;
}

.hero-mark img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
}

.hero h1 {
    margin: 24px 0 18px;
    max-width: 820px;
    font-size: clamp(3rem, 8vw, 6.9rem);
    line-height: 0.93;
    letter-spacing: 0;
    text-wrap: balance;
}

.hero p {
    max-width: 700px;
    margin: 0;
    font-size: clamp(1.08rem, 2vw, 1.36rem);
    color: rgba(255, 255, 255, 0.86);
}

.hero-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-flow span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(4, 17, 33, 0.32);
    backdrop-filter: blur(12px);
    font-size: 0.92rem;
    font-weight: 800;
}

.hero-flow i {
    color: #20e3cd;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 900;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #061725;
    background: linear-gradient(135deg, #20e3cd, #19a8ff 52%, #f46ac7);
    box-shadow: 0 18px 38px rgba(25, 168, 255, 0.27);
}

.btn-secondary {
    color: #061725;
    background: linear-gradient(135deg, #ffd166, #20e3cd 54%, #19a8ff);
    box-shadow: 0 18px 38px rgba(32, 227, 205, 0.22);
}

.btn-ghost {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(12px);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-stats span {
    display: inline-flex;
    flex-direction: column;
    min-width: 150px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
    color: rgba(255, 255, 255, 0.78);
}

.hero-stats strong {
    color: #ffffff;
}

.hero-console {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(6, 18, 34, 0.66);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-console::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(32, 227, 205, 0.44);
    pointer-events: none;
}

.console-top,
.terminal-top {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.console-top span,
.terminal-top span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--coral);
}

.console-top span:nth-child(2),
.terminal-top span:nth-child(2) {
    background: var(--gold);
}

.console-top span:nth-child(3),
.terminal-top span:nth-child(3) {
    background: var(--teal);
}

.login-preview {
    margin: 28px;
    padding: 30px 26px;
    border-radius: 8px;
    background: #f7fbff;
    color: #12304f;
    text-align: center;
}

.login-preview img {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    border-radius: 8px;
}

.login-preview small {
    display: block;
    color: var(--blue);
    font-weight: 900;
    letter-spacing: 0.04em;
}

.login-preview h2 {
    margin: 6px 0 18px;
    font-size: 1.72rem;
    line-height: 1.18;
}

.input-preview {
    display: grid;
    place-items: center;
    height: 70px;
    border: 2px solid var(--blue);
    font-size: 2.3rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    background: #eef7ff;
}

.preview-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.preview-buttons span {
    padding: 13px 10px;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 900;
}

.preview-buttons span:first-child {
    background: var(--teal);
}

.preview-buttons span:last-child {
    background: var(--blue);
}

.login-preview p {
    margin-top: 14px;
    color: #58708a;
    font-size: 0.95rem;
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 18px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(-50%);
    animation: bob 1.8s ease-in-out infinite;
}

.section {
    padding: 92px 0;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-heading.left {
    margin-left: 0;
    text-align: left;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--teal);
    font-weight: 1000;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading h2,
.download-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.section-heading p,
.download-copy p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 1.06rem;
}

.download-band {
    position: relative;
    margin-top: -1px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(8, 59, 102, 0.98), rgba(39, 60, 143, 0.94) 54%, rgba(255, 111, 97, 0.88));
}

.download-band::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(90deg, transparent, black 18%, black 82%, transparent);
}

.download-band .container {
    position: relative;
}

.download-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.download-copy {
    max-width: 820px;
}

.download-copy h2 {
    max-width: 860px;
}

.download-copy p {
    color: rgba(255, 255, 255, 0.78);
}

.download-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.download-panel::after {
    content: "";
    position: absolute;
    right: -46px;
    top: -54px;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: rgba(32, 227, 205, 0.13);
    pointer-events: none;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.download-cards .download-panel {
    min-width: 0;
    height: 100%;
    align-content: start;
}

.download-panel > * {
    position: relative;
}

.download-panel strong {
    display: block;
    font-size: 2.6rem;
    line-height: 1;
}

.download-panel .btn,
.download-panel .hash-button {
    width: 100%;
}

.download-panel small,
.version-label {
    color: rgba(255, 255, 255, 0.74);
}

.hash-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.download-panel code {
    display: block;
    overflow-wrap: anywhere;
    padding: 12px;
    border-radius: 8px;
    background: rgba(3, 10, 18, 0.32);
    color: #d8fff9;
    font-size: 0.82rem;
}

.webapp-panel {
    background: rgba(3, 10, 18, 0.18);
}

.webapp-panel strong {
    font-size: 2rem;
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.download-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.84);
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    font-weight: 800;
}

.tutorial-panel {
    background:
        linear-gradient(135deg, rgba(255, 209, 102, 0.18), rgba(25, 168, 255, 0.11)),
        rgba(3, 10, 18, 0.2);
}

.tutorial-panel::after {
    background: rgba(255, 209, 102, 0.16);
}

.tutorial-heading {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    align-items: center;
}

.tutorial-heading > i {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 8px;
    color: #061725;
    background: linear-gradient(135deg, #ffd166, #20e3cd);
    box-shadow: 0 14px 32px rgba(255, 209, 102, 0.18);
}

.tutorial-panel strong {
    font-size: 1.7rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 900;
}

.status-pill.pending {
    margin-top: auto;
    color: #ffe6a8;
    border: 1px solid rgba(255, 209, 102, 0.36);
    background: rgba(255, 209, 102, 0.12);
}

.tutorial-video-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 20%, rgba(80, 234, 255, 0.12), transparent 30rem),
        radial-gradient(circle at 88% 75%, rgba(255, 57, 166, 0.1), transparent 28rem),
        #07101d;
}

.tutorial-video-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.4fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
}

.tutorial-benefits {
    display: grid;
    gap: 10px;
    margin: 22px 0;
}

.tutorial-benefits span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
}

.tutorial-benefits i {
    color: var(--cyan);
}

.tutorial-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgba(80, 234, 255, 0.42);
    border-radius: 24px;
    background: #02060d;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46), 0 0 44px rgba(80, 234, 255, 0.1);
}

.tutorial-video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 16px;
}

.feature-card,
.flow-card,
.terminal-card,
.code-block,
.privacy-list,
.docker-notes,
.guide-card,
.steps {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 44px rgba(16, 32, 51, 0.08);
}

.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    grid-column: span 4;
    min-width: 0;
    min-height: 246px;
    overflow: hidden;
    padding: 28px;
    isolation: isolate;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(18, 184, 176, 0.28);
    box-shadow: 0 22px 56px rgba(16, 32, 51, 0.12);
}

.feature-card::after {
    content: "";
    position: absolute;
    right: -54px;
    bottom: -74px;
    z-index: -1;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(32, 227, 205, 0.1);
    filter: blur(2px);
}

.feature-icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    color: #052232;
    background: linear-gradient(135deg, rgba(32, 227, 205, 0.95), rgba(244, 185, 66, 0.95));
}

.feature-icon i {
    font-size: 1.15rem;
}

.feature-kicker {
    margin-top: 22px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 1000;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-card-primary {
    grid-column: span 7;
    grid-row: span 2;
    min-height: 508px;
    color: #ffffff;
    background:
        radial-gradient(circle at 88% 12%, rgba(32, 227, 205, 0.28), transparent 31%),
        linear-gradient(145deg, #082f57, #263c91 66%, #65529d);
}

.feature-card-primary::after {
    width: 260px;
    height: 260px;
    background: rgba(255, 111, 97, 0.2);
}

.feature-card-primary .feature-kicker,
.feature-card-primary p {
    color: rgba(255, 255, 255, 0.78);
}

.feature-card-primary h3 {
    max-width: 650px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.06;
}

.feature-card-primary p {
    max-width: 680px;
    font-size: 1.08rem;
}

.feature-card-admin,
.feature-card-offline {
    grid-column: span 5;
}

.feature-card-admin {
    background: linear-gradient(145deg, rgba(232, 246, 255, 0.96), rgba(224, 255, 248, 0.86));
}

.feature-card-offline {
    background: linear-gradient(145deg, rgba(255, 248, 225, 0.96), rgba(255, 236, 225, 0.9));
}

.feature-card-control {
    grid-column: span 4;
    background: linear-gradient(145deg, rgba(239, 244, 255, 0.96), rgba(229, 235, 255, 0.9));
}

.feature-card-website {
    grid-column: span 4;
    background: linear-gradient(145deg, rgba(230, 255, 249, 0.96), rgba(222, 246, 255, 0.9));
}

.feature-card-update {
    grid-column: span 4;
    background: linear-gradient(145deg, rgba(255, 244, 239, 0.96), rgba(255, 234, 244, 0.9));
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: auto;
    padding-top: 28px;
}

.feature-tags span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.11);
    font-size: 0.88rem;
    font-weight: 800;
}

.feature-stat {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
}

.feature-stat strong {
    color: #0b477e;
    font-size: 1.35rem;
}

.feature-stat span {
    color: var(--muted);
    font-size: 0.88rem;
    text-align: right;
}

.feature-mini-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
}

.feature-mini-list span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(16, 32, 51, 0.1);
    border-radius: 8px;
    color: #18324e;
    background: rgba(255, 255, 255, 0.66);
    font-size: 0.84rem;
    font-weight: 900;
}

.feature-card h3,
.flow-card h3,
.guide-card h3,
.step h3 {
    margin: 16px 0 8px;
    font-size: 1.22rem;
}

.feature-card p,
.flow-card p,
.guide-card p,
.step p {
    margin: 0;
    color: var(--muted);
}

.split-section {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(228, 247, 244, 0.64)),
        var(--paper);
}

.split-layout,
.docker-layout,
.privacy-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1fr);
    gap: 36px;
    align-items: start;
}

.steps {
    padding: 20px;
}

.step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.step:first-child {
    padding-top: 0;
}

.step:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.step span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: #ffffff;
    background: var(--blue);
    font-weight: 1000;
}

.update-section {
    background: #ffffff;
}

.update-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 14px;
    align-items: stretch;
}

.flow-card {
    padding: 22px;
}

.flow-card i {
    color: var(--coral);
    font-size: 1.7rem;
}

.flow-arrow {
    display: grid;
    place-items: center;
    color: var(--teal);
}

.code-block {
    margin-top: 18px;
    overflow: hidden;
}

.code-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    font-weight: 900;
}

.code-title button,
.terminal-card button {
    border: 0;
    border-radius: 8px;
    padding: 9px 12px;
    color: #ffffff;
    background: var(--blue);
    cursor: pointer;
    font-weight: 800;
}

pre {
    margin: 0;
    overflow-x: auto;
    padding: 18px;
    background: #071527;
    color: #d6fffb;
    line-height: 1.55;
}

.docker-section {
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(4, 17, 33, 0.96), rgba(11, 62, 91, 0.96)),
        radial-gradient(circle at 20% 20%, rgba(32, 227, 205, 0.22), transparent 36%);
}

.docker-section .section-heading p {
    color: rgba(255, 255, 255, 0.74);
}

.docker-guide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.guide-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.guide-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 2px solid rgba(32, 227, 205, 0.55);
    pointer-events: none;
}

.guide-card > i {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    color: #06111f;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    box-shadow: 0 14px 32px rgba(25, 168, 255, 0.24);
}

.guide-card h3 {
    color: #ffffff;
}

.guide-card a {
    color: #8ff7ff;
    font-weight: 900;
}

.guide-steps {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.76);
}

.guide-steps li::marker {
    color: var(--teal);
    font-weight: 1000;
}

.guide-card .btn {
    margin-top: 18px;
    color: #06111f;
}

.terminal-card {
    overflow: hidden;
    background: #06111f;
    border-color: rgba(255, 255, 255, 0.14);
}

.terminal-top {
    color: rgba(255, 255, 255, 0.8);
}

.terminal-top strong {
    margin-left: auto;
    font-size: 0.86rem;
}

.terminal-card button {
    margin: 14px;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    color: #06111f;
}

.compact-terminal {
    margin-top: 16px;
    background: rgba(3, 10, 18, 0.72);
}

.compact-terminal pre {
    font-size: 0.88rem;
}

.docker-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.docker-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 54px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: #06111f;
    background: linear-gradient(135deg, #20e3cd, #19a8ff);
    text-align: center;
}

.docker-notes {
    display: grid;
    gap: 12px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.docker-notes div {
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.docker-notes span {
    color: rgba(255, 255, 255, 0.72);
}

.warning-note {
    margin-top: 16px !important;
    padding: 12px;
    border: 1px solid rgba(255, 209, 102, 0.34);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8) !important;
    background: rgba(255, 209, 102, 0.1);
}

.host-section {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(232, 249, 255, 0.76) 56%, rgba(255, 246, 238, 0.9)),
        var(--paper);
}

.host-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.host-checklist,
.host-warning,
.host-step {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 44px rgba(16, 32, 51, 0.08);
}

.host-checklist {
    position: sticky;
    top: 94px;
    display: grid;
    gap: 12px;
    padding: 22px;
}

.host-checklist h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 6px;
    font-size: 1.28rem;
}

.host-checklist h3 i {
    color: var(--teal);
}

.host-checklist span {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px;
    border-radius: 8px;
    color: var(--muted);
    background: rgba(18, 184, 176, 0.08);
    font-weight: 800;
}

.host-checklist span i {
    margin-top: 5px;
    color: var(--teal);
}

.host-steps {
    display: grid;
    gap: 12px;
}

.host-step {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    padding: 18px;
}

.host-step > span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    color: #061725;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    font-weight: 1000;
}

.host-step h3 {
    margin: 0 0 6px;
    font-size: 1.17rem;
}

.host-step p {
    margin: 0;
    color: var(--muted);
}

.host-env-block {
    margin-top: 14px;
    box-shadow: none;
}

.host-warning {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    margin-top: 22px;
    padding: 20px;
    border-color: rgba(255, 111, 97, 0.26);
    background: rgba(255, 255, 255, 0.92);
}

.host-warning > i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    color: #ffffff;
    background: var(--coral);
}

.host-warning strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.host-warning p {
    margin: 0;
    color: var(--muted);
}

.privacy-section {
    background: linear-gradient(135deg, #fff, #eef9f6 56%, #fff6ee);
}

.privacy-list {
    display: grid;
    gap: 12px;
    padding: 22px;
}

.privacy-list span {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(18, 184, 176, 0.08);
    font-weight: 800;
}

.privacy-list i {
    color: var(--teal);
}

.site-footer {
    padding: 34px 0;
    color: #ffffff;
    background: #071527;
}

.footer-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-brand img {
    width: 40px;
    height: 40px;
}

.site-footer p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.66);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-links a {
    padding: 8px 10px;
    color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover {
    color: #ffffff;
}

.google-api-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(66, 133, 244, 0.16), transparent 30%),
        radial-gradient(circle at 92% 86%, rgba(52, 168, 83, 0.15), transparent 34%),
        linear-gradient(180deg, #f7fbff 0%, #eef8f2 100%);
}

.google-api-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(10, 78, 143, 0.1) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.google-api-section .container {
    position: relative;
}

.gas-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    gap: 54px;
    align-items: center;
    overflow: hidden;
    padding: clamp(30px, 5vw, 66px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    color: #ffffff;
    background:
        radial-gradient(circle at 85% 10%, rgba(66, 133, 244, 0.32), transparent 32%),
        linear-gradient(135deg, #07192c 0%, #0b3e68 52%, #0b684e 100%);
    box-shadow: 0 34px 90px rgba(7, 40, 65, 0.26);
}

.gas-hero::after {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    right: -130px;
    bottom: -180px;
    border-radius: 50%;
    border: 54px solid rgba(251, 188, 4, 0.14);
}

.gas-copy,
.gas-visual {
    position: relative;
    z-index: 1;
}

.gas-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #dfffe9;
    background: rgba(52, 168, 83, 0.18);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gas-copy .eyebrow {
    color: #8fd9ff;
}

.gas-copy h2 {
    max-width: 650px;
    margin: 4px 0 16px;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.14;
    letter-spacing: -0.035em;
}

.gas-lead {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.05rem;
}

.gas-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 24px 0;
}

.gas-pills span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border-radius: 999px;
    color: #effff3;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.88rem;
    font-weight: 700;
}

.gas-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.gas-download-button {
    color: #082116;
    background: linear-gradient(135deg, #72e394, #34a853);
    box-shadow: 0 14px 32px rgba(52, 168, 83, 0.28);
}

.gas-download-button:hover {
    color: #06170f;
    background: linear-gradient(135deg, #8eefaa, #46be67);
    transform: translateY(-2px);
}

.gas-guide-button {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
}

.gas-guide-button:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.gas-video-button {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(234, 67, 53, 0.22);
}

.gas-video-button:hover {
    color: #ffffff;
    background: rgba(234, 67, 53, 0.36);
}

.gas-file-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.82rem;
}

.gas-window {
    position: relative;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 70px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
}

.gas-window-top {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: -2px 0 18px;
}

.gas-window-top span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ea4335;
}

.gas-window-top span:nth-child(2) { background: #fbbc04; }
.gas-window-top span:nth-child(3) { background: #34a853; }

.gas-window-top small {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.52);
    font-family: Consolas, monospace;
}

.gas-flow-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(3, 20, 35, 0.45);
}

.gas-flow-card > i {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: #4285f4;
}

.gas-flow-card strong,
.gas-flow-card small {
    display: block;
}

.gas-flow-card small {
    color: rgba(255, 255, 255, 0.55);
}

.gas-client-card {
    width: 72%;
    margin: 0 auto;
}

.gas-flow-line {
    position: relative;
    display: grid;
    height: 62px;
    place-items: center;
}

.gas-flow-line::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(#4285f4, #34a853);
}

.gas-flow-line span {
    position: relative;
    z-index: 1;
    padding: 3px 8px;
    border-radius: 999px;
    color: #b8dcff;
    background: #0b3154;
    font: 700 0.7rem Consolas, monospace;
}

.gas-google-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.gas-script-card > i { background: #fbbc04; color: #3b2a00; }
.gas-sheet-card > i { background: #34a853; }

.gas-owner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 15px;
    padding: 10px;
    border-radius: 12px;
    color: #d8ffe4;
    background: rgba(52, 168, 83, 0.13);
    font-size: 0.82rem;
    font-weight: 700;
}

.gas-choice-heading {
    max-width: 720px;
    margin: 72px auto 26px;
    text-align: center;
}

.gas-choice-heading h3,
.gas-setup-heading h3,
.gas-template-copy h3 {
    margin: 3px 0 8px;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.22;
}

.gas-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.gas-mode-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(16, 32, 51, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 48px rgba(20, 57, 91, 0.1);
}

.gas-mode-card.independent {
    border-color: rgba(52, 168, 83, 0.28);
    background: linear-gradient(145deg, #ffffff, #f1fff5);
}

.gas-mode-recommended {
    position: absolute;
    top: 16px;
    right: -42px;
    width: 190px;
    padding: 6px 8px;
    transform: rotate(35deg);
    color: #ffffff;
    background: #34a853;
    text-align: center;
    font-size: 0.67rem;
    font-weight: 800;
}

.gas-mode-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 16px;
    color: #0a4e8f;
    background: rgba(25, 168, 255, 0.13);
    font-size: 1.35rem;
}

.independent .gas-mode-icon {
    color: #187c39;
    background: rgba(52, 168, 83, 0.14);
}

.gas-mode-title span,
.gas-mode-title strong {
    display: block;
}

.gas-mode-title span {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gas-mode-title strong {
    margin-top: 3px;
    font-size: 1.45rem;
}

.gas-mode-card p {
    color: var(--muted);
}

.gas-mode-card ul {
    display: grid;
    gap: 9px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.gas-mode-card li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.gas-mode-card li i {
    margin-top: 5px;
    color: #34a853;
}

.gas-mode-card li.gas-tradeoff i {
    color: #e49a11;
}

.gas-mode-card > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 800;
}

.gas-mode-card.independent > a {
    color: #187c39;
}

.gas-setup {
    margin-top: 28px;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(10, 78, 143, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.74);
}

.gas-setup-heading {
    max-width: 710px;
    margin-bottom: 26px;
}

.gas-setup-heading p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.gas-step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.gas-step-grid li {
    position: relative;
    min-width: 0;
    padding: 20px;
    border: 1px solid rgba(16, 32, 51, 0.09);
    border-radius: 16px;
    background: #ffffff;
}

.gas-step-grid li > span {
    position: absolute;
    top: 15px;
    right: 16px;
    color: rgba(10, 78, 143, 0.13);
    font-size: 1.8rem;
    font-weight: 900;
}

.gas-step-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    margin-bottom: 15px;
    border-radius: 13px;
    color: #ffffff;
    background: #4285f4;
}

.gas-step-icon.yellow { color: #3b2a00; background: #fbbc04; }
.gas-step-icon.green { background: #34a853; }
.gas-step-icon.coral { background: #ea4335; }

.gas-step-grid h4 {
    margin: 0 0 7px;
    font-size: 1.02rem;
}

.gas-step-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.gas-video-guide {
    display: grid;
    grid-template-columns: minmax(270px, 0.82fr) minmax(0, 1.38fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    margin-top: 28px;
    padding: clamp(26px, 4vw, 46px);
    overflow: hidden;
    border: 1px solid rgba(66, 133, 244, 0.24);
    border-radius: 20px;
    color: #ffffff;
    background:
        radial-gradient(circle at 92% 12%, rgba(234, 67, 53, 0.24), transparent 30rem),
        radial-gradient(circle at 8% 88%, rgba(52, 168, 83, 0.18), transparent 24rem),
        linear-gradient(135deg, #07192c, #0b3154 58%, #163e35);
    box-shadow: 0 24px 70px rgba(7, 40, 65, 0.2);
}

.gas-video-copy .eyebrow {
    color: #8fd9ff;
}

.gas-video-copy h3 {
    margin: 3px 0 12px;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.15;
}

.gas-video-copy > p:not(.eyebrow) {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
}

.gas-video-points {
    display: grid;
    gap: 8px;
    margin: 20px 0;
}

.gas-video-points span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
}

.gas-video-points i {
    color: #72e394;
}

.gas-youtube-button {
    color: #ffffff;
    background: #ea4335;
    box-shadow: 0 14px 34px rgba(234, 67, 53, 0.26);
}

.gas-youtube-button:hover {
    color: #ffffff;
    background: #ff5446;
}

.gas-video-frame {
    border-color: rgba(255, 255, 255, 0.24);
    border-radius: 18px;
}

.gas-template-box {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-top: 28px;
    padding: 28px;
    border: 1px solid rgba(16, 32, 51, 0.1);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(20, 57, 91, 0.1);
}

.gas-template-icon {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border-radius: 19px;
    color: #ffffff;
    background: linear-gradient(135deg, #4285f4, #34a853);
    box-shadow: 0 14px 30px rgba(66, 133, 244, 0.22);
    font-size: 1.65rem;
}

.gas-template-files {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.gas-template-files span {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: 7px;
    padding: 8px 11px;
    border-radius: 10px;
    background: #f3f7fb;
}

.gas-template-files span i {
    grid-row: 1 / 3;
    color: #4285f4;
}

.gas-template-files strong,
.gas-template-files small {
    line-height: 1.25;
}

.gas-template-files small {
    color: var(--muted);
}

.gas-template-cta {
    display: grid;
    gap: 8px;
    justify-items: center;
}

.gas-template-cta small {
    color: var(--muted);
}

.gas-template-hash {
    max-width: 100%;
    overflow: hidden;
    color: #446071;
    font-size: 0.68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gas-responsibility {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 20px;
    padding: 18px 20px;
    border: 1px solid rgba(228, 154, 17, 0.25);
    border-radius: 15px;
    color: #674609;
    background: rgba(255, 244, 211, 0.74);
}

.gas-responsibility > i {
    margin-top: 3px;
    color: #d58a00;
    font-size: 1.25rem;
}

.gas-responsibility strong {
    display: block;
    margin-bottom: 3px;
}

.gas-responsibility p {
    margin: 0;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 80;
    transform: translate(-50%, 20px);
    opacity: 0;
    pointer-events: none;
    padding: 11px 15px;
    border-radius: 8px;
    color: #ffffff;
    background: #071527;
    box-shadow: var(--shadow);
    transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes gridDrift {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 46px 46px;
    }
}

@keyframes bob {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 6px);
    }
}

@media (max-width: 980px) {
    .hero-content,
    .download-layout,
    .split-layout,
    .docker-layout,
    .privacy-layout,
    .tutorial-video-layout {
        grid-template-columns: 1fr;
    }

    .gas-hero {
        grid-template-columns: 1fr;
    }

    .gas-video-guide {
        grid-template-columns: 1fr;
    }

    .gas-visual {
        max-width: 620px;
    }

    .gas-step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gas-template-box {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .gas-template-cta {
        grid-column: 1 / -1;
        justify-items: stretch;
    }

    .hero-content {
        gap: 28px;
        padding-top: 106px;
    }

    .hero-console {
        max-width: 520px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-card,
    .feature-card-admin,
    .feature-card-offline {
        grid-column: span 1;
    }

    .feature-card-primary {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 360px;
    }

    .download-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .docker-guide {
        grid-template-columns: 1fr;
    }

    .host-layout {
        grid-template-columns: 1fr;
    }

    .host-checklist {
        position: static;
    }

    .update-flow {
        grid-template-columns: 1fr;
    }

    .flow-arrow {
        transform: rotate(90deg);
        min-height: 18px;
    }

    .docker-notes {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .site-header {
        top: 10px;
        width: calc(100% - 20px);
    }

    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-links {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 8px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 8px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.96);
        color: var(--ink);
        box-shadow: var(--shadow);
    }

    .nav-links.open {
        display: flex;
    }

    .hero h1 {
        font-size: clamp(2.74rem, 16vw, 4.4rem);
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-console {
        display: none;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .feature-card-primary,
    .feature-card-admin,
    .feature-card-offline {
        grid-column: 1;
        min-height: auto;
    }

    .download-cards {
        grid-template-columns: 1fr;
    }

    .gas-hero {
        gap: 30px;
        padding: 26px 20px;
        border-radius: 18px;
    }

    .gas-copy h2 {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .gas-actions,
    .gas-actions .btn {
        width: 100%;
    }

    .gas-google-row,
    .gas-mode-grid,
    .gas-step-grid {
        grid-template-columns: 1fr;
    }

    .gas-client-card {
        width: 100%;
    }

    .gas-choice-heading {
        margin-top: 52px;
    }

    .gas-mode-card,
    .gas-setup,
    .gas-video-guide,
    .gas-template-box {
        padding: 20px;
        border-radius: 16px;
    }

    .gas-template-box {
        grid-template-columns: 1fr;
    }

    .gas-template-icon {
        width: 56px;
        height: 56px;
    }

    .gas-template-cta {
        grid-column: auto;
    }

    .gas-template-files {
        display: grid;
    }

    .docker-links {
        grid-template-columns: 1fr;
    }

    .host-step,
    .host-warning {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 70px 0;
    }

    .container {
        width: min(100% - 28px, 1160px);
    }

    .footer-layout {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}
