:root {
    --black: #080808;
    --coal: #111214;
    --steel: #1a1c20;
    --line: #34363b;
    --paper: #efede6;
    --white: #f6f3eb;
    --muted: #a7a7a3;
    --gold: #e0ad32;
    --gold-light: #ffd36a;
    --green: #62dc8e;
    --red: #ff5958;
    --orange: #ea7427;
    --content: 1296px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--black);
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--white);
    background: var(--black);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
    background-size: 48px 48px;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 12px 16px;
    color: #080808;
    background: var(--gold-light);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 8, 8, .96);
}

.site-header__inner {
    width: min(100%, calc(var(--content) + 144px));
    min-height: 88px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 72px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 17px;
    min-width: 0;
    text-decoration: none;
}

.site-brand img {
    display: block;
    width: 178px;
    height: 60px;
    object-fit: contain;
    object-position: left center;
}

.site-brand span {
    padding-left: 17px;
    border-left: 1px solid var(--line);
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-navigation {
    display: flex;
    align-items: center;
    gap: 27px;
}

.site-navigation a {
    color: #c8c8c5;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .07em;
    text-decoration: none;
    text-transform: uppercase;
}

.site-navigation a:hover,
.site-navigation a:focus-visible,
.site-navigation a.is-active {
    color: var(--gold-light);
}

.site-navigation__store {
    padding: 11px 15px;
    border: 1px solid #575755;
}

.site-menu-button {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    color: var(--white);
    background: var(--coal);
    cursor: pointer;
}

.site-hero {
    position: relative;
    overflow: hidden;
}

.site-hero::after {
    content: "KNUBIAN.APP";
    position: absolute;
    right: -3vw;
    bottom: -2vw;
    z-index: -1;
    color: rgba(255,255,255,.025);
    font-family: "Barlow Condensed", Impact, sans-serif;
    font-size: clamp(100px, 18vw, 260px);
    font-weight: 900;
    letter-spacing: -.06em;
    pointer-events: none;
}

.site-hero__inner {
    width: min(100%, calc(var(--content) + 144px));
    margin: 0 auto;
    padding: clamp(70px, 9vw, 126px) clamp(20px, 5vw, 72px) 80px;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(390px, .72fr);
    align-items: center;
    gap: clamp(44px, 7vw, 105px);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 22px;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 38px;
    height: 3px;
    background: var(--gold);
}

.display-heading {
    margin: 0;
    font-family: "Barlow Condensed", Impact, sans-serif;
    font-size: clamp(64px, 8vw, 116px);
    font-weight: 900;
    line-height: .84;
    letter-spacing: -.045em;
    text-transform: uppercase;
}

.display-heading span {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--gold-light);
}

.hero-copy {
    max-width: 630px;
    margin: 30px 0 0;
    color: #b8b8b4;
    font-size: 17px;
    line-height: 1.75;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.action-link {
    min-height: 54px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border: 1px solid #56575b;
    color: var(--white);
    background: var(--coal);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.action-link--primary {
    border-color: var(--gold);
    color: #080808;
    background: var(--gold);
}

.action-link:hover,
.action-link:focus-visible {
    border-color: var(--gold-light);
    transform: translateY(-1px);
}

.promise-row {
    display: flex;
    flex-wrap: wrap;
    gap: 19px;
    margin-top: 29px;
    color: #8e8f91;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.promise-row span::before {
    content: "●";
    margin-right: 8px;
    color: var(--green);
}

.featured-app {
    padding: 18px;
    border: 1px solid #3a3b40;
    background: #151619;
    box-shadow: 18px 18px 0 rgba(224,173,50,.12);
}

.featured-app__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    color: #929398;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.featured-app__identity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.featured-app__identity img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.featured-app__status {
    color: var(--green);
}

.clock-preview {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 18px;
    padding: 28px 22px 24px;
    border: 1px solid #34363c;
    background: #030303;
}

.clock-preview small {
    display: block;
    margin-bottom: 9px;
    color: #8f9095;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.clock-preview strong {
    display: block;
    font-family: "Barlow Condensed", Impact, sans-serif;
    font-size: clamp(60px, 7vw, 88px);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.04em;
    line-height: 1;
}

.clock-preview__shot {
    color: var(--red);
}

.clock-preview__controls {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.clock-preview__controls span {
    padding: 11px 6px;
    color: #dedede;
    background: #26282d;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.clock-preview__controls span:nth-child(2) {
    color: #080808;
    background: #c99a31;
}

.clock-preview__controls span:nth-child(3) {
    color: #080808;
    background: var(--orange);
}

.featured-app__copy {
    padding: 22px 4px 5px;
}

.featured-app__copy h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -.03em;
}

.featured-app__copy p {
    margin: 10px 0 0;
    color: #aaabae;
    font-size: 14px;
    line-height: 1.65;
}

.platform-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.platform-list span {
    padding: 8px 10px;
    border: 1px solid #414348;
    color: #b8b9bc;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.directory-section {
    padding: 78px clamp(20px, 5vw, 72px) 88px;
    color: #111214;
    background: var(--paper);
}

.directory-section__inner,
.content-page__inner {
    width: min(100%, var(--content));
    margin: 0 auto;
}

.content-page__inner--wide {
    max-width: 1296px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 23px;
    border-bottom: 3px solid #151515;
}

.section-heading p {
    margin: 0 0 9px;
    color: #7b641f;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.section-heading h2,
.content-page h1 {
    margin: 0;
    font-family: "Barlow Condensed", Impact, sans-serif;
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 900;
    line-height: .9;
    letter-spacing: -.035em;
    text-transform: uppercase;
}

.section-heading a {
    font-size: 12px;
    font-weight: 800;
    text-underline-offset: 5px;
    white-space: nowrap;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 34px;
    border-left: 1px solid #b9b7b0;
}

.app-tile {
    min-height: 312px;
    padding: 27px;
    border-right: 1px solid #b9b7b0;
    border-bottom: 1px solid #b9b7b0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #f5f3ed;
}

.app-tile--featured {
    color: var(--white);
    background: #17181b;
}

.app-tile__icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    color: #101010;
    background: var(--gold);
    font-family: "Barlow Condensed", Impact, sans-serif;
    font-size: 28px;
    font-weight: 900;
    transform: rotate(-2deg);
}

.app-tile__status {
    float: right;
    margin-top: -46px;
    color: #74746f;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.app-tile--featured .app-tile__status {
    color: var(--green);
}

.app-tile h3 {
    margin: 43px 0 9px;
    font-size: 22px;
    letter-spacing: -.025em;
}

.app-tile p {
    margin: 0;
    color: #656560;
    font-size: 14px;
    line-height: 1.6;
}

.app-tile--featured p {
    color: #adafb2;
}

.app-tile__link {
    margin-top: 28px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-decoration: none;
    text-transform: uppercase;
}

.app-tile__link::after {
    content: " →";
    color: #bc8b1e;
}

.manifesto-strip {
    padding: 22px clamp(20px, 5vw, 72px);
    color: #090909;
    background: var(--gold);
}

.manifesto-strip__inner {
    width: min(100%, var(--content));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.manifesto-strip small {
    font-size: 10px;
    letter-spacing: .13em;
}

.content-page {
    min-height: 65vh;
    padding: 86px clamp(20px, 5vw, 72px) 100px;
    color: #171717;
    background: var(--paper);
}

.content-page__inner {
    max-width: 900px;
}

.content-page .eyebrow {
    color: #7b641f;
}

.content-page h1 {
    margin-bottom: 34px;
}

.content-page h2 {
    margin: 38px 0 12px;
    font-size: 22px;
}

.content-page p,
.content-page li {
    color: #4f504d;
    line-height: 1.75;
}

.content-page a {
    color: #6d5312;
    font-weight: 700;
}

.site-footer {
    padding: 58px clamp(20px, 5vw, 72px) 27px;
    border-top: 1px solid #292a2e;
    background: #0b0b0c;
}

.site-footer__grid {
    width: min(100%, var(--content));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 42px;
}

.site-footer__logo {
    width: 170px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
}

.site-footer h2 {
    margin: 0 0 16px;
    color: #d7aa42;
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.site-footer p {
    max-width: 340px;
    margin: 13px 0 0;
    color: #858689;
    font-size: 13px;
    line-height: 1.7;
}

.site-footer a {
    display: block;
    margin-bottom: 11px;
    color: #b8b9bb;
    font-size: 13px;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--gold-light);
}

.site-footer__base {
    width: min(100%, var(--content));
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #292a2e;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #696a6c;
    font-size: 10px;
}

@media (max-width: 920px) {
    .site-hero__inner {
        grid-template-columns: 1fr;
    }

    .featured-app {
        max-width: 650px;
    }

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

    .site-footer__grid {
        grid-template-columns: 1.3fr 1fr;
    }
}

@media (max-width: 820px) {
    .site-menu-button {
        display: block;
    }

    .site-navigation {
        position: absolute;
        top: calc(100% + 1px);
        right: 20px;
        left: 20px;
        display: none;
        padding: 12px;
        border: 1px solid var(--line);
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        background: #111214;
        box-shadow: 0 20px 50px rgba(0,0,0,.6);
    }

    .site-navigation.is-open {
        display: flex;
    }

    .site-navigation a,
    .site-navigation__store {
        padding: 14px 12px;
        border: 0;
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 560px) {
    .site-header__inner {
        min-height: 76px;
    }

    .site-brand img {
        width: 145px;
        height: 49px;
    }

    .site-brand span {
        display: none;
    }

    .display-heading {
        font-size: clamp(59px, 20vw, 82px);
    }

    .clock-preview {
        gap: 12px;
        padding: 21px 14px;
    }

    .clock-preview strong {
        font-size: 58px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px 22px;
    }

    .site-footer__grid > section:first-child {
        grid-column: 1 / -1;
    }

    .site-footer__base,
    .manifesto-strip__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

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