/* ColoTycoon's public site on the taste-skill kit in this folder: the landing page
   (resources/js/pages/Welcome.vue) and the shared header and footer (resources/views/site/partials),
   which the content pages (resources/views/site, with public/site/site.css) use as well.
   Linked after the kit's stylesheets (layout.css resets --ly-scale); site.partials.styles links them.
   The look is the owner's own direction, not the dealt one: always light, a near-white page carrying
   the in-game square grid (a lighter .game-bg from resources/css/app.css), the game's own art large
   and unframed with soft contact shadows and edges that fade into the ground, and no accent colour:
   buttons are near-black with white text, and the only colour besides the art is the logo's green
   LED. The :root block is `start.mjs brand --page gaming --bg #FAFAF9 --ink #18181B --accent #18181B`
   output, with the button label set to #FFFFFF as the owner asked; type sora (Sora / Figtree), radius
   sharp. */
:root {
    color-scheme: light;
    --p-bg: #fafaf9;
    --p-surface: #ededec;
    --p-ink: #18181b;
    --p-muted: #656567;
    --p-accent: #18181b;
    --p-accent-ink: #ffffff;
    --p-action: #18181b;
    --p-action-ink: #ffffff;
    --p-inv-bg: #18181b;
    --p-inv-surface: #252528;
    --p-inv-ink: #fafaf9;
    --p-inv-muted: #9b9b9c;
    --p-inv-accent: #fafaf9;
    --p-inv-accent-ink: #18181b;
    --p-inv-action: #fafaf9;
    --p-inv-action-ink: #18181b;
    --font-display: 'Sora', system-ui, sans-serif;
    --font-text: 'Figtree', system-ui, sans-serif;
    --font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
    --display-weight: 400;
    --display-tracking: -0.035em;
    --display-tracking-xl: -0.045em;
    --ly-scale: 0.9;
}

/* the ground: the game screens' square grid, lighter and quieter (a texture, not a pattern) */
html[data-type],
html[data-type] body {
    background-color: var(--p-bg);
}
html[data-type] body {
    background-image:
        linear-gradient(to right, rgba(24, 24, 27, 0.028) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(24, 24, 27, 0.028) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* page CSS: only inside the visuals */

/* the art: no frame or box; it stands on the ground with a soft contact shadow and its edges
   fade into the page, so each scene reads as part of the page and not as a picture in a rectangle */
.ct-art {
    position: relative;
    min-height: 0;
}
.ct-art > svg {
    display: block;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 28px 32px rgba(24, 24, 27, 0.12))
        drop-shadow(0 4px 6px rgba(24, 24, 27, 0.08));
    -webkit-mask-image: radial-gradient(
        ellipse 72% 70% at 50% 46%,
        #000 62%,
        transparent 100%
    );
    mask-image: radial-gradient(
        ellipse 72% 70% at 50% 46%,
        #000 62%,
        transparent 100%
    );
}
.ct-art--hero {
    height: min(640px, calc(100svh - var(--nav) - 140px));
    align-self: center;
}
.ct-art--bench {
    height: 480px;
}
.ct-art--machines {
    height: 420px;
}
.ct-art--plot {
    height: 520px;
}
.ct-art--row {
    height: 520px;
}
.ct-art--tall {
    height: 600px;
}
/* the scene spills a little past its column toward the page's edge, as a scene on the floor would */
.ct-art--hero > svg {
    width: calc(100% + var(--gut) / 2);
}

/* a split: the words left on the 6/6 line, the scene right, both top-aligned; a stack: the words, then
   one wide scene under them */
.ct-split {
    align-items: start;
}
.ct-stack {
    align-items: start;
    row-gap: var(--s-7);
}
.ct-copy {
    display: grid;
    gap: var(--s-5);
    align-content: start;
}
.ct-copy h2 {
    margin: 0;
}
.ct-copy > p {
    margin: 0;
    font-size: var(--t-lead);
    line-height: 1.5;
    max-width: 46ch;
}
.ct-copy .btn-row {
    margin-top: var(--s-3);
}
.ct-figures {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gutter);
    margin-top: var(--s-4);
}
.ct-figures .t-stat {
    margin: 0 0 var(--s-1);
}
.ct-figures p {
    margin: 0;
}

@media (max-width: 1023px) {
    .ct-art--hero {
        height: 420px;
    }
    .ct-art--hero > svg {
        width: 100%;
    }
    .ct-art--bench,
    .ct-art--machines,
    .ct-art--plot,
    .ct-art--row,
    .ct-art--tall {
        height: 380px;
        margin-top: var(--s-6);
    }
}
@media (max-width: 639px) {
    .ct-art--hero {
        height: 300px;
    }
    .ct-art--bench,
    .ct-art--machines,
    .ct-art--plot,
    .ct-art--row,
    .ct-art--tall {
        height: 300px;
    }
}

/* the footer (resources/views/site/partials/footer.blade.php, on the landing page and every content
   page): one small, calm strip */
.ct-footer {
    padding-bottom: calc(var(--padb) + var(--bar));
}
.ct-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4) var(--s-6);
    padding-top: var(--s-6);
    border-top: 1px solid var(--line);
}
.ct-strip p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-3) var(--s-5);
    margin: 0;
    font-size: var(--t-small);
}
.ct-strip .nav__logo {
    font-size: var(--t-body);
}

/* the name in the h1 never breaks inside a word */
.hero-copy h1 {
    hyphens: manual;
}

/* a phone: the bar keeps the logo, the main button and the menu; Log in waits in the footer strip */
@media (max-width: 639px) {
    header.nav .nav__bar .nav__actions .nav__link {
        display: none;
    }
}

/* the narrowest phones: the hero's own button carries the main action; the bar keeps the logo and the menu */
@media (max-width: 379px) {
    header.nav:not(.is-open) .nav__bar .nav__actions {
        display: none;
    }
    header.nav:not(.is-open) .nav__bar .nav__toggle {
        margin-left: auto;
    }
}

/* the owner's direction: no big gaps between sections. Each section is as tall as its content, with
   comfortable room around it (about 128px between sections at 1440), in place of the kit's one screen */
.ct-landing main > section.section {
    height: auto;
    min-height: 0;
    padding-top: var(--s-8);
    padding-bottom: var(--s-8);
}
.ct-landing main > section.ct-close {
    padding-bottom: var(--s-9);
}

/* the owner's direction: the art changes sides from one section to the next. The words come first in
   the markup (a phone reads them first); from 1024 the flipped split puts the art in the left half */
@media (min-width: 1024px) {
    .ct-split--flip > .ct-copy {
        grid-column: 7 / span 6;
        grid-row: 1;
    }
    .ct-split--flip > .ct-art {
        grid-column: 1 / span 6;
        grid-row: 1;
    }
}
.ct-art--bench {
    height: 540px;
}
.ct-art--machines {
    height: 580px;
}

/* the primary button is the ink itself, so the kit's hover (a step toward the ink) would not show:
   step it lighter instead */
.btn.btn--primary:hover {
    background: #34343a;
}

/* the game's own logo (resources/js/components/game/BrandLogo.vue) on a light page: the wordmark in
   the ink and the one green activity LED, held still, with a soft glow */
.ct-logo {
    display: inline-flex;
    align-items: center;
    font: 700 22px/1 var(--font-text);
    letter-spacing: -0.02em;
    color: var(--ink);
}
.ct-logo__mark {
    height: 1.55em;
    width: auto;
    flex: none;
    overflow: visible;
}
.ct-logo__word {
    margin-left: 0.05em;
}
.ct-logo__accent {
    color: #10b981;
}
/* the activity light: a sharp, busy flicker, like a working server's LED */
.ct-logo__led {
    animation: ct-logo-blink 1.6s steps(1, end) infinite;
}
@keyframes ct-logo-blink {
    0% { opacity: 1; }
    9% { opacity: 0.15; }
    14% { opacity: 1; }
    30% { opacity: 0.15; }
    34% { opacity: 1; }
    41% { opacity: 0.15; }
    45% { opacity: 1; }
    66% { opacity: 0.15; }
    72% { opacity: 1; }
    84% { opacity: 0.15; }
    87% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .ct-logo__led { animation: none; }
}
.ct-logo .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.ct-strip .ct-logo {
    font-size: 17px;
}

/* a phone: the logo a step smaller, so the bar's logo, button and menu end on the page's right line */
@media (max-width: 639px) {
    header.nav .ct-logo {
        font-size: 18px;
    }
}

/* the language menu in the site header */
.ct-lang {
    position: relative;
}
.ct-lang summary {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    list-style: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    border-radius: 6px;
}
.ct-lang summary::-webkit-details-marker {
    display: none;
}
.ct-lang summary:hover {
    background: var(--surface);
}
.ct-lang__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 50;
    min-width: 190px;
    padding: 6px;
    background: var(--bg);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    box-shadow: 0 16px 40px -20px rgb(0 0 0 / 0.4);
}
.ct-lang__menu button {
    display: block;
    width: 100%;
    padding: 7px 10px;
    text-align: left;
    font: inherit;
    font-size: 14px;
    color: var(--ink);
    background: none;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
}
.ct-lang__menu button:hover {
    background: var(--surface);
}
.ct-lang__menu button[aria-current] {
    font-weight: 600;
    color: #059669;
}

/* the landing page's language line: every language the game speaks, the current one marked */
.ct-langs {
    margin-top: 28px;
    display: grid;
    gap: 10px;
    max-width: 520px;
}
.ct-langs__title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}
.ct-langs ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ct-langs li {
    padding: 4px 10px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 13px;
    color: var(--ink);
    background: var(--bg);
}
.ct-langs li.is-current {
    border-color: #10b981;
    color: #047857;
    background: color-mix(in oklab, #10b981 10%, var(--bg));
    font-weight: 600;
}
.ct-langs__note {
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}

/* ---- the richer landing page: the real game framed, the numbers, the systems, the screens ---- */

/* a browser window around a real screenshot */
.ct-frame {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid color-mix(in oklab, var(--ink) 14%, transparent);
    background: #0b0d10;
    box-shadow:
        0 40px 80px -40px rgb(0 0 0 / 0.55),
        0 0 0 1px rgb(255 255 255 / 0.04) inset;
}
.ct-frame__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    padding: 0 14px;
    background: #15181d;
    border-bottom: 1px solid rgb(255 255 255 / 0.06);
}
.ct-frame__bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3a3f47;
}
.ct-frame__bar span:first-child {
    background: #ef4444;
}
.ct-frame__bar span:nth-child(2) {
    background: #f59e0b;
}
.ct-frame__bar span:nth-child(3) {
    background: #10b981;
}
.ct-frame__bar p {
    margin: 0 auto;
    padding: 3px 14px;
    border-radius: 6px;
    background: rgb(255 255 255 / 0.06);
    font: 12px/1.2 var(--font-mono, ui-monospace, monospace);
    color: rgb(255 255 255 / 0.55);
}
.ct-frame img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}
a.ct-frame:hover img {
    transform: scale(1.025);
}
a.ct-frame {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
a.ct-frame:hover {
    transform: translateY(-2px);
}

/* the dark band with the Overview screen */
.ct-landing main > section.ct-inside {
    padding-top: var(--s-9);
    padding-bottom: var(--s-9);
    background:
        radial-gradient(60% 50% at 50% 0%, rgb(16 185 129 / 0.16), transparent 70%),
        var(--bg);
}
.ct-copy--centre {
    max-width: 760px;
    margin: 0 auto var(--s-7);
    text-align: center;
}
.ct-copy--centre > p {
    margin-left: auto;
    margin-right: auto;
}
.ct-inside .ct-frame {
    max-width: 1120px;
    margin: 0 auto;
}
.ct-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-6);
    max-width: 1120px;
    margin: var(--s-7) auto 0;
    padding: 0;
    list-style: none;
}
.ct-points li {
    padding-top: var(--s-4);
    border-top: 1px solid var(--line-strong);
}
.ct-points li p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
}
.ct-points .ct-points__title {
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 17px;
    color: var(--ink);
}
.ct-points li:nth-child(1) .ct-points__title::before,
.ct-points li:nth-child(2) .ct-points__title::before,
.ct-points li:nth-child(3) .ct-points__title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border-radius: 50%;
    vertical-align: middle;
    background: #10b981;
    box-shadow: 0 0 10px 2px rgb(16 185 129 / 0.6);
}
.ct-points li:nth-child(3) .ct-points__title::before {
    background: #f59e0b;
    box-shadow: 0 0 10px 2px rgb(245 158 11 / 0.6);
}

/* the numbers band */
.ct-landing main > section.ct-numbers {
    padding-top: var(--s-7);
    padding-bottom: var(--s-7);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.ct-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--s-5);
    margin: 0;
}
.ct-stats div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
}
.ct-stats dd {
    order: -1;
}
.ct-stats dd {
    margin: 0;
    font: var(--display-weight, 500) clamp(40px, 4.4vw, 64px) / 1 var(--font-display);
    letter-spacing: -0.03em;
    color: var(--ink);
}
.ct-stats dt {
    font-size: 14px;
    line-height: 1.4;
    color: var(--muted);
}

/* the systems grid */
.ct-systems .ct-copy {
    margin-bottom: var(--s-7);
}
.ct-system-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-5);
}
.ct-system {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: var(--s-5);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface, #fff);
    color: var(--ink);
    text-decoration: none;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}
.ct-system:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    box-shadow: 0 20px 40px -28px rgb(0 0 0 / 0.35);
}
.ct-system__art {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 170px;
    margin-bottom: var(--s-3);
    padding: 18px;
    border-radius: 10px;
    background:
        radial-gradient(70% 70% at 50% 60%, rgb(16 185 129 / 0.12), transparent 70%),
        #14171c;
    overflow: hidden;
}
.ct-system__art--stack {
    flex-direction: column;
    gap: 0;
}
.ct-system__art--stack img {
    display: block;
    width: 240px;
    height: auto;
    transition: transform 0.4s ease;
}
.ct-system__art--parts {
    gap: 14px;
}
.ct-system__art--parts img {
    height: 92px;
    width: auto;
    max-width: 30%;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.ct-system:hover .ct-system__art img {
    transform: scale(1.04);
}
.ct-system__title {
    font-weight: 600;
    font-size: 18px;
}
.ct-system__body {
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted);
}

/* the screenshots strip */
.ct-landing main > section.ct-running {
    padding-top: var(--s-9);
    padding-bottom: var(--s-9);
}
.ct-running__head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: var(--s-5);
    margin-bottom: var(--s-7);
}
.ct-running__head .ct-copy {
    max-width: 640px;
}
.ct-running__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-5);
    align-items: start;
}
.ct-frame--small {
    border-radius: 10px;
}

@media (max-width: 1023px) {
    .ct-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: var(--s-6);
    }
    .ct-system-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ct-running__grid {
        grid-template-columns: 1fr 1fr;
    }
    .ct-running__grid > :first-child {
        grid-column: 1 / -1;
    }
}
@media (max-width: 680px) {
    .ct-points,
    .ct-system-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .ct-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ct-running__grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .ct-frame__bar p {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ct-frame img,
    a.ct-frame,
    .ct-system,
    .ct-system__art img {
        transition: none;
    }
}

/* the Build section: the game's own checklist */
.ct-checklist {
    display: grid;
    gap: 10px;
    margin: var(--s-6) 0 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}
.ct-checklist li {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg);
    font-size: 15px;
    line-height: 1.45;
    color: var(--muted);
}
.ct-checklist strong {
    color: var(--ink);
    font-weight: 600;
    margin-right: 6px;
}
.ct-checklist__tick {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: color-mix(in oklab, #10b981 16%, transparent);
    color: #059669;
    font-size: 12px;
    font-weight: 700;
}
.ct-checklist__tick::before {
    counter-increment: step;
    content: counter(step);
}

/* the Sell section: three product lines and where customers come from */
.ct-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: var(--s-6);
}
.ct-product {
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg);
}
.ct-product p {
    margin: 0;
}
.ct-product__type {
    /* no text-transform: a product name kept in English would get a dotted İ in Turkish */
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #059669;
}
.ct-product__plan {
    font-size: 15px;
    color: var(--ink);
}
.ct-product__price {
    margin-top: 6px !important;
    font: 600 20px/1.2 var(--font-mono, ui-monospace, monospace);
    color: var(--ink);
}
.ct-product__price.is-text {
    font: 600 15px/1.35 var(--font-text, inherit);
}
.ct-channels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: var(--s-5);
    font-size: 14px;
    color: var(--muted);
}
.ct-chip {
    padding: 4px 11px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 13px;
    color: var(--ink);
    background: var(--bg);
}

/* the Survive section: hazards set like the game's alerts */
.ct-hazards {
    display: grid;
    gap: 8px;
    margin: var(--s-6) 0 0;
    padding: 0;
    list-style: none;
}
.ct-hazards li {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 10px;
    background: #14171c;
    border-left: 3px solid #f59e0b;
}
.ct-hazards li.is-critical {
    border-left-color: #ef4444;
}
.ct-hazards__what {
    display: flex;
    align-items: center;
    gap: 9px;
    font: 600 13px/1.2 var(--font-mono, ui-monospace, monospace);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fbbf24;
}
.ct-hazards li.is-critical .ct-hazards__what {
    color: #f87171;
}
.ct-hazards__what::before {
    content: '';
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px 1px currentColor;
}
.ct-hazards__fix {
    font-size: 14px;
    line-height: 1.45;
    color: rgb(255 255 255 / 0.78);
}
@media (max-width: 680px) {
    .ct-products {
        grid-template-columns: minmax(0, 1fr);
    }
    .ct-hazards li {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }
}

/* the game's social accounts in the footer strip: plain words with a small outward mark */
.ct-strip .ct-social::after {
    content: ' \2197';
    font-size: 0.85em;
}
