/* Landing page: glass and glow product showcase.
 *
 * Everything is scoped under .landing-page (set on <body>). The palette is the
 * fixed Hoppy look: hop green (Radix grass) on warm sand paper. Dark mode is
 * the html.dark class, and it is the hero look; light is the same layout in
 * pale green washes. Only the SRM bar keeps beer colors.
 *
 * Screenshot placeholders are <figure class="shot ..."> boxes with a fixed
 * aspect ratio. To drop a real screenshot in, replace the .shot-screen div and
 * the figcaption with an <img alt="..."> inside the same figure. */

/* Palette: light */
.landing-page {
    --font-sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
    --font-serif: var(--font-sans);

    /* Re-point the shared tokens so the header and footer follow. */
    --bg: #f6f5f1;
    --panel: #fdfcf9;
    --fg: #21201c;
    --muted: #63635e;
    --border: rgb(33 32 28 / 0.14);
    --soft: #f1f0ef;
    --soft-hover: #e9e8e6;
    --accent: #2a7e3b;
    --accent-hover: #203c25;
    --accent-contrast: #ffffff;

    --lp-bg: #f6f5f1;
    --lp-bg-wash:
        radial-gradient(60rem 36rem at 15% -8%, rgb(148 206 154 / 0.45), transparent 70%),
        radial-gradient(52rem 34rem at 92% 4%, rgb(210 238 140 / 0.38), transparent 70%),
        radial-gradient(48rem 30rem at 50% 38%, rgb(201 232 202 / 0.5), transparent 70%);
    --lp-ink-1: #21201c;
    --lp-ink-2: #2a7e3b;
    --lp-accent-text: #2a7e3b;
    --lp-line: rgb(33 32 28 / 0.14);
    --lp-tile: rgb(253 252 249 / 0.78);
    --lp-tile-2: rgb(233 246 233 / 0.55);
    --lp-tile-shadow: 0 1px 0 rgb(255 255 255 / 0.9) inset, 0 18px 40px -26px rgb(32 60 37 / 0.4);
    --lp-tile-glow: 0 0 0 1px rgb(70 167 88 / 0.5), 0 24px 56px -22px rgb(70 167 88 / 0.5);
    --lp-hover-line: rgb(61 154 80 / 0.55);
    --lp-shot-bg: linear-gradient(160deg, #fdfcf9, #e9f6e9);
    --lp-skel: rgb(33 32 28 / 0.09);
    --lp-skel-strong: rgb(70 167 88 / 0.38);
    --lp-label-bg: rgb(253 252 249 / 0.92);
    --lp-label-fg: #21201c;
    --lp-header: rgb(246 245 241 / 0.97);
    --lp-header-glass: rgb(246 245 241 / 0.65);
    --lp-btn-bg: #2a7e3b;
    --lp-btn-bg-hover: #203c25;
    --lp-btn-fg: #ffffff;
    --lp-btn-glow: 0 10px 28px -10px rgb(42 126 59 / 0.65);
    --lp-ghost-bg: rgb(253 252 249 / 0.6);
    --lp-orb-grass: rgb(124 190 134 / 0.45);
    --lp-orb-lime: rgb(205 235 130 / 0.42);
    --lp-orb-hop: rgb(148 206 154 / 0.4);
    --lp-cta-bg: linear-gradient(150deg, rgb(253 252 249 / 0.85), rgb(218 241 219 / 0.7));
    --lp-frame: 0 40px 80px -40px rgb(32 60 37 / 0.5), 0 0 0 1px rgb(33 32 28 / 0.12);

    --lp-radius: 1.5rem;
    --lp-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

    background: var(--lp-bg);
    color: var(--fg);
    font-family: var(--font-sans);
}

/* Palette: dark, the hero look */
html.dark .landing-page {
    --bg: #141311;
    --panel: #1c1b18;
    --fg: #eeeeec;
    --muted: #b5b3ad;
    --border: rgb(255 255 255 / 0.12);
    --soft: rgb(255 255 255 / 0.08);
    --soft-hover: rgb(255 255 255 / 0.14);
    --accent: #46a758;
    --accent-hover: #53b365;
    --accent-contrast: #141311;

    --lp-bg: #141311;
    --lp-bg-wash:
        radial-gradient(60rem 36rem at 15% -8%, rgb(70 167 88 / 0.16), transparent 70%),
        radial-gradient(52rem 34rem at 92% 4%, rgb(150 200 70 / 0.1), transparent 70%);
    --lp-ink-1: #ffffff;
    --lp-ink-2: #71d083;
    --lp-accent-text: #71d083;
    --lp-line: rgb(255 255 255 / 0.1);
    --lp-tile: rgb(255 255 255 / 0.06);
    --lp-tile-2: rgb(255 255 255 / 0.02);
    --lp-tile-shadow: 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 24px 48px -28px rgb(0 0 0 / 0.9);
    --lp-tile-glow: 0 0 0 1px rgb(83 179 101 / 0.55), 0 0 44px -8px rgb(70 167 88 / 0.38);
    --lp-hover-line: rgb(83 179 101 / 0.6);
    --lp-shot-bg: linear-gradient(160deg, #1f2620, #121411);
    --lp-skel: rgb(255 255 255 / 0.08);
    --lp-skel-strong: rgb(83 179 101 / 0.42);
    --lp-label-bg: rgb(20 19 17 / 0.82);
    --lp-label-fg: #eeeeec;
    --lp-header: rgb(20 19 17 / 0.97);
    --lp-header-glass: rgb(20 19 17 / 0.6);
    --lp-btn-bg: #2a7e3b;
    --lp-btn-bg-hover: #318640;
    --lp-btn-fg: #ffffff;
    --lp-btn-glow: 0 0 36px -6px rgb(70 167 88 / 0.6);
    --lp-ghost-bg: rgb(255 255 255 / 0.06);
    --lp-orb-grass: rgb(54 103 64 / 0.6);
    --lp-orb-lime: rgb(150 200 70 / 0.2);
    --lp-orb-hop: rgb(70 167 88 / 0.3);
    --lp-cta-bg: linear-gradient(150deg, rgb(255 255 255 / 0.08), rgb(70 167 88 / 0.08));
    --lp-frame: 0 50px 100px -40px rgb(70 167 88 / 0.4), 0 0 0 1px rgb(255 255 255 / 0.1);
}

.landing-page {
    background-image: var(--lp-bg-wash);
    background-repeat: no-repeat;
    background-size: 100% 90rem;
}

.landing-page :focus-visible {
    outline: 2px solid var(--lp-accent-text);
    outline-offset: 3px;
    border-radius: 0.5rem;
}

/* Header and footer: restyled in place */

.landing-page .site-header {
    background: var(--lp-header);
    border-bottom: 1px solid var(--lp-line);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
    .landing-page .site-header {
        background: var(--lp-header-glass);
        -webkit-backdrop-filter: blur(18px) saturate(1.4);
        backdrop-filter: blur(18px) saturate(1.4);
    }
}

.landing-page .brand-name {
    font-weight: 650;
    letter-spacing: -0.03em;
}

.landing-page .nav-link {
    border: 1px solid var(--lp-line);
    border-radius: 999px;
    background: var(--lp-ghost-bg);
    font-weight: 550;
}

.landing-page .nav-link:hover {
    border-color: var(--lp-hover-line);
}

.landing-page .theme-btn {
    border: 1px solid var(--lp-line);
    border-radius: 999px;
    background: var(--lp-ghost-bg);
}

.landing-page .site-footer {
    border-top-color: var(--lp-line);
}

.landing-page .site-main {
    position: relative;
    margin-top: -3.5rem;
    padding: 0;
}

/* Page frame and glow orbs */

.landing-page .lp4 {
    position: relative;
    overflow-x: clip;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.landing-page .lp4-glow {
    position: absolute;
    inset: 0 0 auto 0;
    height: min(78rem, 190vw);
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.landing-page .lp4-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    will-change: transform;
}

.landing-page .lp4-orb-grass {
    width: clamp(20rem, 52vw, 46rem);
    aspect-ratio: 1;
    left: -10%;
    top: 4%;
    background: radial-gradient(circle, var(--lp-orb-grass) 0, transparent 68%);
    animation: lp4-drift-a 22s ease-in-out infinite alternate;
}

.landing-page .lp4-orb-lime {
    width: clamp(18rem, 46vw, 40rem);
    aspect-ratio: 1;
    right: -8%;
    top: 0;
    background: radial-gradient(circle, var(--lp-orb-lime) 0, transparent 68%);
    animation: lp4-drift-b 27s ease-in-out infinite alternate;
}

.landing-page .lp4-orb-hop {
    width: clamp(16rem, 38vw, 34rem);
    aspect-ratio: 1;
    left: 34%;
    top: 36%;
    background: radial-gradient(circle, var(--lp-orb-hop) 0, transparent 68%);
    animation: lp4-drift-c 31s ease-in-out infinite alternate;
}

@keyframes lp4-drift-a {
    to {
        transform: translate(12%, 10%) scale(1.12);
    }
}

@keyframes lp4-drift-b {
    to {
        transform: translate(-14%, 14%) scale(0.92);
    }
}

@keyframes lp4-drift-c {
    to {
        transform: translate(-18%, -8%) scale(1.15);
    }
}

/* Hero */

.landing-page .lp4-hero {
    position: relative;
    z-index: 1;
    max-width: 80rem;
    margin: 0 auto;
    padding: calc(3.5rem + clamp(2.5rem, 7vw, 5.5rem)) 0 clamp(2.5rem, 6vw, 5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.landing-page .lp4-hero > * {
    animation: lp4-rise 0.8s var(--lp-ease) both;
}

.landing-page .lp4-hero > :nth-child(2) {
    animation-delay: 0.08s;
}

.landing-page .lp4-hero > :nth-child(3) {
    animation-delay: 0.16s;
}

.landing-page .lp4-hero > :nth-child(4) {
    animation-delay: 0.24s;
}

.landing-page .lp4-hero > :nth-child(5) {
    animation-delay: 0.34s;
}

@keyframes lp4-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
}

.landing-page .lp4-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1.5rem;
    padding: 0.4rem 0.95rem;
    border: 1px solid var(--lp-line);
    border-radius: 999px;
    background: var(--lp-tile);
    color: var(--lp-accent-text);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.landing-page .lp4-badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--lp-accent-text);
    box-shadow: 0 0 0 0 rgb(70 167 88 / 0.6);
    animation: lp4-pulse 2.4s ease-out infinite;
}

@keyframes lp4-pulse {
    to {
        box-shadow: 0 0 0 0.6rem rgb(70 167 88 / 0);
    }
}

.landing-page .lp4-title {
    margin: 0;
    max-width: 15ch;
    padding-bottom: 0.08em;
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 2rem + 6vw, 5.75rem);
    font-weight: 750;
    line-height: 1.02;
    letter-spacing: -0.045em;
    color: var(--lp-ink-1);
    text-wrap: balance;
}

.landing-page .lp4-line {
    display: block;
}


.landing-page .lp4-lede {
    max-width: 38rem;
    margin: 1.5rem 0 0;
    color: var(--muted);
    font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.3125rem);
    line-height: 1.55;
    text-wrap: pretty;
}

.landing-page .lp4-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

/* Buttons */

.landing-page .lp4-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0 1.6rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition:
        transform 0.2s var(--lp-ease),
        box-shadow 0.2s var(--lp-ease),
        background 0.2s ease,
        border-color 0.2s ease;
}

.landing-page .lp4-btn-primary {
    background: var(--lp-btn-bg);
    color: var(--lp-btn-fg);
    box-shadow: var(--lp-btn-glow), 0 1px 0 rgb(255 255 255 / 0.5) inset;
}

.landing-page .lp4-btn-primary:hover {
    background: var(--lp-btn-bg-hover);
    color: var(--lp-btn-fg);
    transform: translateY(-2px);
}

.landing-page .lp4-btn-ghost {
    border-color: var(--lp-line);
    background: var(--lp-ghost-bg);
    color: var(--fg);
}

.landing-page .lp4-btn-ghost:hover {
    border-color: var(--lp-hover-line);
    color: var(--fg);
    transform: translateY(-2px);
}

.landing-page .lp4-btn:active {
    transform: translateY(0);
}

/* Hero browser window */

.landing-page .lp4-stage {
    width: 100%;
    max-width: 68rem;
    margin-top: clamp(2.5rem, 6vw, 4.5rem);
    perspective: 1800px;
}

.landing-page .shot-hero {
    aspect-ratio: 16 / 10;
    border-radius: 1.25rem;
    box-shadow: var(--lp-frame);
    transform: rotateX(9deg) scale(0.97);
    transform-origin: 50% 0;
    transition: transform 0.9s var(--lp-ease);
}

.landing-page .lp4-stage:hover .shot-hero {
    transform: none;
}

/* Screenshot placeholders */

.landing-page .shot {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--lp-line);
    border-radius: 1rem;
    background: var(--lp-shot-bg);
    text-align: left;
}

.landing-page .shot > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-page .shot-wide {
    aspect-ratio: 16 / 9;
}

.landing-page .shot-sheet {
    aspect-ratio: 4 / 3;
    max-width: 22rem;
    justify-self: center;
}

.landing-page .shot-phone {
    aspect-ratio: 9 / 18.5;
    width: min(100%, 15rem);
    margin: auto auto 0;
    border: 0.5rem solid var(--lp-ink-1);
    border-radius: 2.25rem;
    box-shadow: var(--lp-frame);
}

html.dark .landing-page .shot-phone {
    border-color: #2b2a26;
}

.landing-page .shot-phone::before {
    content: "";
    position: absolute;
    top: 0.45rem;
    left: 50%;
    z-index: 1;
    width: 32%;
    height: 0.9rem;
    border-radius: 999px;
    background: var(--lp-ink-1);
    transform: translateX(-50%);
}

html.dark .landing-page .shot-phone::before {
    background: #2b2a26;
}

.landing-page .shot-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: none;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--lp-line);
    background: var(--lp-tile);
}

.landing-page .shot-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--lp-skel-strong);
}

/* The skeleton hints at an app screen: a sidebar, a heading and rows. */
.landing-page .shot-screen {
    flex: 1;
    min-height: 0;
    background:
        linear-gradient(var(--lp-skel-strong) 0 0) 6% 12% / 22% 0.55rem no-repeat,
        linear-gradient(var(--lp-skel) 0 0) 6% 24% / 14% 0.4rem no-repeat,
        linear-gradient(var(--lp-skel) 0 0) 6% 34% / 18% 0.4rem no-repeat,
        linear-gradient(var(--lp-skel) 0 0) 6% 44% / 12% 0.4rem no-repeat,
        linear-gradient(var(--lp-skel) 0 0) 34% 12% / 56% 0.7rem no-repeat,
        linear-gradient(var(--lp-skel) 0 0) 34% 30% / 60% 22% no-repeat,
        linear-gradient(var(--lp-skel) 0 0) 34% 62% / 28% 20% no-repeat,
        linear-gradient(var(--lp-skel-strong) 0 0) 66% 62% / 28% 20% no-repeat,
        linear-gradient(var(--lp-skel) 0 0) 34% 88% / 60% 0.4rem no-repeat;
}

.landing-page .shot-phone .shot-screen {
    background:
        linear-gradient(var(--lp-skel-strong) 0 0) 12% 14% / 40% 0.55rem no-repeat,
        linear-gradient(var(--lp-skel) 0 0) 12% 24% / 76% 14% no-repeat,
        linear-gradient(var(--lp-skel) 0 0) 12% 42% / 76% 10% no-repeat,
        linear-gradient(var(--lp-skel) 0 0) 12% 56% / 76% 10% no-repeat,
        linear-gradient(var(--lp-skel-strong) 0 0) 12% 72% / 76% 8% no-repeat;
}

.landing-page .shot-sheet .shot-screen {
    background:
        linear-gradient(var(--lp-skel-strong) 0 0) 10% 10% / 44% 0.6rem no-repeat,
        linear-gradient(var(--lp-skel) 0 0) 10% 22% / 80% 0.4rem no-repeat,
        linear-gradient(var(--lp-skel) 0 0) 10% 30% / 80% 0.4rem no-repeat,
        linear-gradient(var(--lp-skel) 0 0) 10% 38% / 62% 0.4rem no-repeat,
        linear-gradient(var(--lp-skel) 0 0) 10% 52% / 80% 22% no-repeat,
        linear-gradient(var(--lp-skel) 0 0) 10% 82% / 80% 0.4rem no-repeat;
}

.landing-page .shot-label {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: calc(100% - 1.5rem);
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--lp-line);
    border-radius: 999px;
    background: var(--lp-label-bg);
    color: var(--lp-label-fg);
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}

.landing-page .shot-browser .shot-label {
    top: 55%;
}

/* Sections */

.landing-page .lp4-section {
    position: relative;
    z-index: 1;
    max-width: 80rem;
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 5rem) 0 0;
}

.landing-page .lp4-head {
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    text-align: center;
}

.landing-page .lp4-eyebrow {
    margin: 0 0 0.6rem;
    color: var(--lp-accent-text);
    font-size: 0.8125rem;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-page .lp4-head h2 {
    margin: 0;
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

/* Bento grid */

.landing-page .bento {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(0.75rem, 1.6vw, 1.25rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.landing-page .tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
    margin: 0;
    padding: clamp(1.15rem, 2.4vw, 1.75rem);
    overflow: hidden;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    background: linear-gradient(150deg, var(--lp-tile), var(--lp-tile-2));
    box-shadow: var(--lp-tile-shadow);
    transition:
        transform 0.35s var(--lp-ease),
        box-shadow 0.35s var(--lp-ease),
        border-color 0.35s ease;
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
    .landing-page .tile {
        -webkit-backdrop-filter: blur(14px) saturate(1.3);
        backdrop-filter: blur(14px) saturate(1.3);
    }
}

/* A soft green spotlight that follows the top edge, brighter on hover. */
.landing-page .tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(28rem 14rem at 20% -10%, rgb(70 167 88 / 0.14), transparent 70%);
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.landing-page .tile > * {
    position: relative;
    z-index: 1;
}

.landing-page .tile:hover {
    transform: translateY(-4px);
    border-color: var(--lp-hover-line);
    box-shadow: var(--lp-tile-glow);
}

.landing-page .tile:hover::before {
    opacity: 1;
}

.landing-page .tile h3 {
    margin: 0;
    color: var(--fg);
    font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.landing-page .tile p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.55;
    text-wrap: pretty;
}

.landing-page .tile .shot {
    margin-top: auto;
}

.landing-page .tile > p + .shot,
.landing-page .tile > .chain + .shot,
.landing-page .tile > .srm + .shot {
    margin-top: 0.75rem;
}

.landing-page .tile-step {
    color: var(--lp-accent-text);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

/* Stat chips */

.landing-page .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.25rem 0 0;
    padding: 0;
    list-style: none;
}

.landing-page .chip {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--lp-line);
    border-radius: 999px;
    background: var(--lp-tile);
}

.landing-page .chip-k {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.08em;
}

.landing-page .chip-v {
    color: var(--fg);
    font-size: 1.0625rem;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

/* SRM color scale, pale straw through to black */
.landing-page .srm {
    height: 0.6rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #f8f4a0, #f5c042, #e08a1e, #b4570f, #7a2f0b, #3d1708, #130804);
    box-shadow: 0 0 0 1px var(--lp-line);
}

/* Version chain: v1 to v2 to v3 */
.landing-page .chain {
    display: flex;
    align-items: center;
    margin: 0.25rem 0 0;
    padding: 0;
    list-style: none;
}

.landing-page .chain-node {
    position: relative;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--lp-line);
    border-radius: 50%;
    background: var(--lp-tile);
    color: var(--fg);
    font-size: 0.875rem;
    font-weight: 700;
}

.landing-page .chain-node + .chain-node {
    margin-left: clamp(2rem, 8vw, 3.5rem);
}

.landing-page .chain-node + .chain-node::before {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    width: clamp(2rem, 8vw, 3.5rem);
    height: 2px;
    background: linear-gradient(90deg, var(--lp-skel-strong), var(--lp-hover-line));
    transform: translateY(-50%);
}

.landing-page .chain-node-now {
    border-color: transparent;
    background: var(--lp-btn-bg);
    color: var(--lp-btn-fg);
    box-shadow: var(--lp-btn-glow);
}

/* Share and fork: a recipe and its copy */
.landing-page .fork {
    position: relative;
    height: 4.5rem;
    margin-top: auto;
}

.landing-page .fork::before {
    content: "";
    position: absolute;
    left: 1.1rem;
    top: 0.6rem;
    width: 3.2rem;
    height: 2.6rem;
    border-left: 2px solid var(--lp-skel-strong);
    border-bottom: 2px solid var(--lp-skel-strong);
    border-bottom-left-radius: 1rem;
}

.landing-page .fork-node {
    position: absolute;
    left: 0.35rem;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid var(--lp-accent-text);
    border-radius: 50%;
    background: var(--lp-tile);
}

.landing-page .fork-node-copy {
    left: 4rem;
    top: 2.1rem;
    border-style: dashed;
}

/* Format tags */
.landing-page .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: auto 0 0;
    padding: 0;
    list-style: none;
}

.landing-page .tags li {
    padding: 0.35rem 0.8rem;
    border: 1px solid var(--lp-line);
    border-radius: 0.6rem;
    background: var(--lp-tile);
    color: var(--lp-accent-text);
    font-size: 0.875rem;
    font-weight: 650;
}

/* Closing panel */

.landing-page .lp4-cta {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: clamp(2.5rem, 7vw, 5rem) 1.25rem;
    overflow: hidden;
    border: 1px solid var(--lp-line);
    border-radius: 2rem;
    background: var(--lp-cta-bg);
    box-shadow: var(--lp-tile-shadow);
    text-align: center;
}

.landing-page .lp4-cta-glow {
    position: absolute;
    left: 50%;
    top: 100%;
    width: min(60rem, 140%);
    aspect-ratio: 2 / 1;
    border-radius: 50%;
    background: radial-gradient(closest-side, var(--lp-orb-grass), transparent);
    transform: translate(-50%, -55%);
    pointer-events: none;
    animation: lp4-breathe 7s ease-in-out infinite alternate;
}

@keyframes lp4-breathe {
    to {
        opacity: 0.55;
        transform: translate(-50%, -55%) scale(1.12);
    }
}

.landing-page .lp4-cta > :not(.lp4-cta-glow) {
    position: relative;
    z-index: 1;
    margin: 0;
}

.landing-page .lp4-cta h2 {
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: clamp(2rem, 1.3rem + 3.4vw, 3.75rem);
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.landing-page .lp4-cta p {
    color: var(--muted);
    font-size: 1.125rem;
}

.landing-page .lp4-cta .lp4-btn {
    margin-top: 0.5rem;
}

/* Wider screens: the bento comes together on a 12 column grid. */
@media (min-width: 48em) {
    .landing-page .bento {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .landing-page .span-4 {
        grid-column: span 4;
    }

    .landing-page .span-5 {
        grid-column: span 5;
    }

    .landing-page .span-7 {
        grid-column: span 7;
    }

    .landing-page .span-8 {
        grid-column: span 8;
    }

    .landing-page .span-12 {
        grid-column: span 12;
    }

    .landing-page .tile-tall {
        grid-row: span 2;
    }

    .landing-page .tile-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }

    .landing-page .tile-row .tile-copy {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        max-width: 28rem;
    }

    .landing-page .tile-row .shot {
        margin: 0;
    }
}

/* Small screens: the hero window sits flat and the page stays one column. */
@media (max-width: 47.99em) {
    .landing-page .shot-hero {
        transform: none;
        aspect-ratio: 4 / 3;
    }

    .landing-page .shot-bar {
        padding: 0.6rem 0.75rem;
    }

    .landing-page .tile-row .shot {
        margin-top: 0.75rem;
    }

    .landing-page .lp4-actions {
        width: 100%;
        flex-direction: column;
    }

    .landing-page .lp4-actions .lp4-btn {
        width: 100%;
    }
}

@media (max-width: 30em) {
    .landing-page .site-main {
        padding: 0;
    }

    .landing-page .lp4-title {
        font-size: clamp(2.25rem, 11vw, 2.75rem);
    }

    .landing-page .lp4-lede {
        font-size: 1.0625rem;
        line-height: 1.55;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-page .lp4-orb,
    .landing-page .lp4-badge-dot,
    .landing-page .lp4-cta-glow,
    .landing-page .lp4-hero > * {
        animation: none;
    }

    .landing-page .shot-hero {
        transform: none;
    }

    .landing-page .shot-hero,
    .landing-page .tile,
    .landing-page .lp4-btn {
        transition: none;
    }

    .landing-page .tile:hover,
    .landing-page .lp4-btn:hover {
        transform: none;
    }
}
