/* kek.social splash. Dusk pond palette, built for one screen. */

:root {
    color-scheme: light;

    --pond-900: #04161a;
    --pond-800: #07232a;
    --pond-700: #0c343a;
    --pond-600: #124a49;
    --lime-400: #a8ff5c;
    --lime-500: #86ef3f;
    --lime-600: #45a024;
    --lime-700: #2b6b1a;
    --algae: #2f7d5b;
    --paper: #f3f7ee;
    --paper-tint: #e7efdd;
    --white: #ffffff;
    --ink: #0a1513;
    --muted: #55665c;
    --line: #cfdcc4;
    --line-dark: rgba(168, 255, 92, 0.24);
    --line-dark-soft: rgba(168, 255, 92, 0.12);

    --radius-sm: 6px;
    --radius-md: 14px;
    --radius-pill: 999px;

    --site-max: 82rem;
    --strip-h: 36px;
    --nav-h: 66px;
    --foot-h: 58px;

    --shadow-panel: 0 18px 50px rgba(2, 12, 14, 0.38);

    --font-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
    --font-body: "Figtree", "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", "Courier New", monospace;
}

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

html,
body {
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--pond-900);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
}

.shell {
    width: 100%;
    max-width: var(--site-max);
    margin: 0 auto;
    padding: 0 28px;
}

.icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

a {
    color: inherit;
}

:where(a, button, input, summary):focus-visible {
    outline: 2px solid var(--lime-500);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Utility strip ---------------------------------------------------------- */

.strip {
    background: var(--pond-800);
    color: #c6d8cb;
    border-bottom: 1px solid var(--line-dark-soft);
    font-size: 12px;
}

.strip-in {
    height: var(--strip-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.strip-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}

.strip-dot {
    width: 7px;
    height: 7px;
    border-radius: var(--radius-pill);
    background: var(--lime-400);
}

.strip-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.strip-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    white-space: nowrap;
    text-decoration: none;
    color: #c6d8cb;
    border-block: 0;
    border-inline: 1px solid var(--line-dark-soft);
    transition: color 0.14s ease, border-color 0.14s ease;
}

.strip-link:hover {
    color: var(--lime-400);
    border-inline-color: var(--lime-400);
}

/* Navbar ----------------------------------------------------------------- */

.nav {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.nav-in {
    height: var(--nav-h);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    justify-self: start;
    white-space: nowrap;
}

.brand-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
}

.brand-word {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--pond-900);
}

.brand-word em {
    font-style: normal;
    color: var(--lime-600);
}

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

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    min-height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    color: #26372e;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.14s ease, border-color 0.14s ease, background-color 0.14s ease;
}

.nav-link:hover {
    color: var(--pond-900);
    border-color: var(--lime-600);
    background: #f6fbf0;
}

.nav-link .icon {
    color: var(--algae);
}

.nav-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--lime-600);
    background: var(--lime-500);
    color: #07231a;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.btn:hover {
    background: var(--lime-400);
    border-color: #07231a;
}

.btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: #26372e;
}

.btn-ghost:hover {
    background: #f6fbf0;
    border-color: var(--lime-600);
    color: var(--pond-900);
}

.btn-block {
    width: 100%;
}

/* Screen shell ----------------------------------------------------------- */

.screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero ------------------------------------------------------------------- */

.hero {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    /* The scene is a media frame: it covers the band and is meant to crop. */
    overflow: hidden;
    background-color: var(--pond-900);
    color: #e8f3e5;
    padding: 30px 0;
}

.pond-art {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.hero-in {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    width: 100%;
}

.hero-copy {
    grid-column: 1 / span 7;
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line-dark);
    background: rgba(168, 255, 92, 0.07);
    color: var(--lime-400);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero h1 {
    margin: 20px 0 0;
    font-family: var(--font-display);
    font-size: 56px;
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--white);
}

.hero h1 em {
    font-style: normal;
    color: var(--lime-400);
}

.hero-lead {
    margin: 16px 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: #c2d8c4;
}

.facts {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 15px 7px 7px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line-dark);
    background: rgba(3, 24, 28, 0.72);
    transition: border-color 0.14s ease, background-color 0.14s ease;
}

.fact:hover {
    border-color: var(--lime-400);
    background: rgba(12, 52, 58, 0.82);
}

.fact-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
}

.medallion {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line-dark);
    background: rgba(168, 255, 92, 0.1);
    color: var(--lime-400);
}

.hero-terms {
    margin: 22px 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8fab95;
    white-space: nowrap;
}

/* Footer ----------------------------------------------------------------- */

.foot {
    background: var(--paper-tint);
    color: var(--muted);
}

.foot-cta {
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.foot-cta-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 28px;
}

.foot-cta-text {
    margin: 0;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
    min-width: 0;
}

.foot-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 22px;
    padding-bottom: 20px;
}

.foot-head {
    margin: 0 0 8px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

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

.foot-list li {
    display: flex;
}

.foot-facts li {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    font-size: 13px;
    color: var(--muted);
    white-space: nowrap;
}

.foot-facts .icon {
    color: var(--algae);
}

.foot-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
    transition: color 0.14s ease;
}

.foot-link:hover {
    color: var(--lime-700);
}

.foot-legal {
    border-top: 1px solid var(--line);
}

.foot-legal-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 28px;
}

.foot-word {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--ink);
    white-space: nowrap;
}

.foot-legal-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.foot-note {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--muted);
    white-space: nowrap;
}

/* Pond motion ------------------------------------------------------------ */

.ripple {
    transform-origin: center;
    animation: swell 5.5s ease-in-out infinite;
}

.ripple-2 {
    animation-delay: 1.6s;
}

@keyframes swell {
    0%,
    100% {
        opacity: 0.5;
        transform: scale(0.94);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.04);
    }
}

.eye-glow {
    transform-origin: center;
    animation: blink 6.5s ease-in-out infinite;
}

.eye-glow-2 {
    animation-delay: 0.12s;
}

@keyframes blink {
    0%, 92%, 100% {
        opacity: 1;
    }
    95% {
        opacity: 0.25;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ripple,
    .eye-glow {
        animation: none;
    }
}

/* Narrow ----------------------------------------------------------------- */

@media (max-width: 1023px) {
    .hero h1 {
        font-size: 34px;
    }

    .hero-copy {
        grid-column: 1 / -1;
    }

    /* The nav drops to its own row rather than hiding: every item stays
       reachable, nothing wraps, nothing scrolls sideways. */
    .nav-in {
        height: auto;
        grid-template-columns: 1fr auto;
        row-gap: 10px;
        padding: 12px 0 14px;
    }

    .nav-links {
        grid-column: 1 / -1;
        justify-self: stretch;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .nav-link {
        justify-content: center;
        padding: 9px 4px;
        gap: 6px;
        font-size: 13px;
        border-color: var(--line);
    }
}

@media (max-width: 760px) {
    .shell {
        padding: 0 18px;
    }

    .strip-note {
        display: none;
    }

    /* A phone needs a 44px target, so the strip grows rather than the links
       staying a 28px sliver. */
    .strip-in {
        height: auto;
        justify-content: center;
        padding: 4px 0;
    }

    .strip-link {
        min-height: 44px;
    }

    .hero {
        padding: 24px 0;
    }

    .foot-cta-in,
    .foot-legal-in {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 18px;
    }

    .foot-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 18px;
    }

    .foot-link,
    .foot-facts li,
    .foot-word {
        min-height: 44px;
    }

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

    /* A phone is too narrow to crop a wide scene into, so the pond becomes a
       band along the bottom with the frog centered in it, and the copy sits
       above rather than on top of it. */
    .hero {
        align-items: flex-start;
        padding: 26px 0 300px;
    }

    .pond-art {
        top: auto;
        bottom: 0;
        left: -509px;
        width: 1000px;
        height: 290px;
    }

    /* 12px is the floor on a phone, so the mono meta steps up rather than
       staying at its desktop 11px. */
    .hero-terms {
        white-space: normal;
    }

    .eyebrow,
    .hero-terms,
    .count,
    .foot-note,
    .foot-head {
        font-size: 12px;
    }
}
