:root {
    color-scheme:light;
    --bg:#f3f5f4;
    --surface:#ffffff;
    --ink:#1d2327;
    --muted:#5a656c;
    --line:#d3dad7;
    --green:#2d6a4f;
    --green-dark:#22533d;
    --green-tint:#e4eee8;
    --yellow:#e1b80d;
    --earth:repeating-linear-gradient(135deg,var(--green) 0 7px,var(--yellow) 7px 14px);
    --sans:'Schibsted Grotesk',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
    --mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Consolas,monospace;
    --wide:1120px;
    --narrow:720px;
    --gutter:24px;
    --header:64px;
}

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

html {
    scroll-behavior:smooth;
    scroll-padding-top:var(--header);
    -webkit-text-size-adjust:100%;
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto;
    }
}

body {
    margin:0;
    background:var(--bg);
    color:var(--ink);
    font-family:var(--sans);
    font-size:17px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4,p,figure,dl,dd,ul,ol,pre {
    margin:0;
}

h1,h2,h3,h4 {
    line-height:1.15;
    text-wrap:balance;
}

p,li {
    text-wrap:pretty;
}

img,video {
    display:block;
    max-width:100%;
    height:auto;
}

a {
    color:var(--green);
    text-decoration:underline;
    text-decoration-thickness:1px;
    text-underline-offset:3px;
}

a:hover {
    color:var(--green-dark);
    text-decoration-thickness:2px;
}

a:focus-visible,button:focus-visible,summary:focus-visible {
    outline:2px solid var(--green);
    outline-offset:3px;
    border-radius:2px;
}

button {
    font:inherit;
    cursor:pointer;
}

summary {
    cursor:pointer;
}

::selection {
    background:var(--green-tint);
}

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

.skip-link {
    position:fixed;
    z-index:30;
    left:16px;
    top:10px;
    padding:8px 14px;
    background:var(--ink);
    color:#fff;
    transform:translateY(-200%);
}

.skip-link:focus {
    transform:none;
}

.wrap {
    width:100%;
    max-width:calc(var(--wide) + 2 * var(--gutter));
    margin:0 auto;
    padding:0 var(--gutter);
}

.wrap.narrow {
    max-width:calc(var(--narrow) + 2 * var(--gutter));
}

.muted {
    color:var(--muted);
}

/* Header */

.site-header {
    position:sticky;
    top:0;
    z-index:20;
    background:rgba(243,245,244,.94);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    border-bottom:1px solid var(--line);
}

.site-header .wrap {
    min-height:var(--header);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.brand {
    display:inline-flex;
    align-items:center;
    gap:10px;
    min-height:44px;
    color:var(--ink);
    text-decoration:none;
    font-weight:700;
    font-size:17px;
    white-space:nowrap;
}

.brand:hover {
    color:var(--ink);
}

.brand-mark {
    width:18px;
    height:18px;
    border-radius:50%;
    background:var(--earth);
    flex:none;
}

.brand small {
    font-weight:400;
    font-size:14px;
    color:var(--muted);
}

.site-nav {
    display:flex;
    align-items:center;
    gap:28px;
    font-size:15px;
}

.site-nav a {
    color:var(--ink);
    text-decoration:none;
    min-height:44px;
    display:inline-flex;
    align-items:center;
}

.site-nav a:hover {
    color:var(--green);
}

.site-nav .nav-aside {
    color:var(--muted);
    padding-left:28px;
    border-left:1px solid var(--line);
    min-height:24px;
}

/* Buttons */

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

.button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:0 22px;
    border-radius:6px;
    border:1px solid var(--green);
    background:var(--green);
    color:#fff;
    font-weight:600;
    font-size:16px;
    text-decoration:none;
}

.button:hover {
    background:var(--green-dark);
    border-color:var(--green-dark);
    color:#fff;
    text-decoration:none;
}

.button.secondary {
    background:transparent;
    color:var(--ink);
    border-color:#aeb9b4;
}

.button.secondary:hover {
    background:var(--surface);
    border-color:var(--ink);
    color:var(--ink);
}

.site-header .button,
.site-header .button:hover {
    color:#fff;
}

.site-header .button {
    min-height:40px;
    padding:0 16px;
    font-size:15px;
}

/* Sections */

.section {
    padding:88px 0;
    border-top:1px solid var(--line);
    scroll-margin-top:-48px;
}

.section-head {
    max-width:640px;
    margin-bottom:44px;
}

.section-head h2,
.section h2 {
    font-size:clamp(28px,3.4vw,36px);
    letter-spacing:-.015em;
    font-weight:700;
}

.section-head p {
    margin-top:14px;
    color:var(--muted);
}

/* Hero */

.hero {
    padding:80px 0 88px;
}

.hero-grid {
    display:grid;
    grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);
    gap:64px;
    align-items:start;
}

.hero h1 {
    font-size:clamp(36px,4.8vw,56px);
    line-height:1.05;
    letter-spacing:-.028em;
    font-weight:700;
    max-width:17ch;
}

.hero .lede {
    margin-top:28px;
    font-size:19px;
    line-height:1.6;
    max-width:36em;
    color:#353e44;
}

.hero .actions {
    margin-top:36px;
}

.panel {
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:8px;
    overflow:hidden;
}

.panel::before {
    content:'';
    display:block;
    height:6px;
    background:var(--earth);
}

.panel-body {
    padding:26px 28px 28px;
}

.panel h2 {
    font-size:17px;
    font-weight:700;
    letter-spacing:0;
}

.open-to {
    list-style:none;
    padding:0;
    margin-top:12px;
}

.open-to li {
    padding:12px 0;
    border-bottom:1px solid var(--line);
    font-size:18px;
    font-weight:500;
}

.panel-facts {
    margin-top:20px;
    display:grid;
    gap:12px;
    font-size:15px;
}

.panel-facts dt {
    color:var(--muted);
}

.panel-facts dd {
    margin:0;
}

/* Ways to work */

.ways {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:40px;
}

.ways article {
    border-top:2px solid var(--ink);
    padding-top:20px;
}

.ways h3 {
    font-size:21px;
    margin-bottom:10px;
}

.ways p {
    color:#353e44;
}

.focus {
    margin-top:56px;
    display:grid;
    grid-template-columns:200px minmax(0,1fr);
    gap:24px;
    padding:28px 0 0;
    border-top:1px solid var(--line);
}

.focus h3 {
    font-size:17px;
}

.focus ul {
    padding:0;
    list-style:none;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.focus li {
    padding:6px 12px;
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:4px;
    font-size:15px;
}

.signpost {
    margin-top:40px;
    padding:20px 24px;
    background:var(--green-tint);
    border-radius:6px;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:12px 24px;
}

.signpost p {
    font-size:16px;
}

.signpost a {
    font-weight:600;
}

/* Projects */

.project {
    padding:56px 0;
    border-top:1px solid var(--line);
    scroll-margin-top:-24px;
}

.project:first-of-type {
    border-top:0;
    padding-top:0;
}

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

.project-title {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px 14px;
}

.project h3 {
    font-size:30px;
    letter-spacing:-.015em;
}

.status {
    font-size:13px;
    font-weight:600;
    padding:3px 9px;
    border-radius:20px;
    background:var(--green-tint);
    color:var(--green-dark);
    white-space:nowrap;
}

.status.neutral {
    background:#e7eaec;
    color:#3f484e;
}

.deck {
    margin-top:12px;
    font-size:20px;
    font-weight:500;
    line-height:1.4;
}

.project-copy > p:not(.deck) {
    margin-top:16px;
    color:#353e44;
}

.points {
    margin-top:20px;
    padding-left:20px;
    color:#353e44;
}

.points li + li {
    margin-top:8px;
}

.points li::marker {
    color:var(--green);
}

.links {
    margin-top:24px;
    display:flex;
    flex-wrap:wrap;
    gap:8px 24px;
    font-size:16px;
    font-weight:500;
}

.links a {
    min-height:32px;
    display:inline-flex;
    align-items:center;
}

/* Demo media */

.demo {
    min-width:0;
}

.video-frame {
    position:relative;
    border-radius:6px;
    overflow:hidden;
    background:#151b1f;
    border:1px solid var(--line);
}

.video-frame video {
    width:100%;
    aspect-ratio:16 / 9;
    object-fit:contain;
    background:#151b1f;
}

.demo-play {
    position:absolute;
    inset:0;
    padding:0;
    border:0;
    background:#151b1f;
    display:block;
    width:100%;
}

.demo-play img {
    width:100%;
    height:100%;
    object-fit:cover;
}

.demo-play[hidden] {
    display:none;
}

.play-label {
    position:absolute;
    left:16px;
    bottom:16px;
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:9px 16px 9px 14px;
    border-radius:6px;
    background:var(--surface);
    color:var(--ink);
    font-weight:600;
    font-size:15px;
    box-shadow:0 1px 2px rgba(29,35,39,.25);
}

.play-label::before {
    content:'';
    width:0;
    height:0;
    border-left:10px solid var(--green);
    border-top:6px solid transparent;
    border-bottom:6px solid transparent;
}

.demo-play:hover .play-label {
    background:var(--green);
    color:#fff;
}

.demo-play:hover .play-label::before {
    border-left-color:#fff;
}

.demo figcaption {
    margin-top:10px;
    display:flex;
    justify-content:space-between;
    gap:12px;
    font-size:14px;
    color:var(--muted);
}

/* Engineering notes */

.notes {
    margin-top:32px;
    border:1px solid var(--line);
    border-radius:6px;
    background:var(--surface);
}

.notes summary {
    list-style:none;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    min-height:52px;
    padding:0 20px;
    font-weight:600;
    font-size:16px;
}

.notes summary::-webkit-details-marker,
.archive summary::-webkit-details-marker {
    display:none;
}

.toggle {
    width:12px;
    height:12px;
    position:relative;
    flex:none;
}

.toggle::before,
.toggle::after {
    content:'';
    position:absolute;
    left:0;
    top:5px;
    width:12px;
    height:2px;
    background:var(--ink);
}

.toggle::after {
    transform:rotate(90deg);
}

details[open] > summary .toggle::after {
    display:none;
}

.notes-body {
    padding:4px 20px 24px;
    border-top:1px solid var(--line);
}

.notes-body > p {
    margin-top:16px;
    max-width:44em;
    color:#353e44;
}

.tech {
    margin-top:22px;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px;
}

.tech dt {
    font-size:14px;
    color:var(--muted);
}

.tech dd {
    margin:4px 0 0;
    font-size:15px;
    font-weight:500;
}

.wide-figure {
    margin-top:24px;
}

.wide-figure img {
    border:1px solid var(--line);
    border-radius:4px;
}

.wide-figure figcaption {
    margin-top:8px;
    font-size:14px;
    color:var(--muted);
}

/* Code example */

.code-example {
    background:#1f2629;
    color:#e8ecea;
    border-radius:6px;
    padding:22px 22px 20px;
    min-width:0;
}

.code-head {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-bottom:14px;
    font-size:14px;
    color:#aab4b0;
}

.copy-command {
    background:transparent;
    color:#e8ecea;
    border:1px solid #4a5559;
    border-radius:4px;
    padding:4px 10px;
    font-size:13px;
    min-height:32px;
}

.copy-command:hover {
    border-color:#e8ecea;
}

.code-label {
    font-size:14px;
    color:#aab4b0;
    margin-top:14px;
}

.code-example pre {
    margin-top:6px;
    padding:12px 14px;
    background:#151b1d;
    border-radius:4px;
    white-space:pre-wrap;
    overflow-wrap:anywhere;
    font:14px/1.5 var(--mono);
}

.code-flow {
    margin-top:20px;
    display:grid;
    gap:4px;
    font-size:14px;
    color:#cfd6d3;
}

.code-flow .arrow {
    color:var(--yellow);
    padding-left:4px;
}

/* Archive */

.archive {
    margin-top:24px;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
}

.archive summary {
    list-style:none;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    padding:22px 0;
}

.archive-title {
    font-weight:700;
    font-size:20px;
}

.archive-desc {
    display:block;
    color:var(--muted);
    font-size:16px;
}

.archive-meta {
    display:inline-flex;
    align-items:center;
    gap:14px;
    font-size:14px;
    color:var(--muted);
}

.archive-body {
    padding:0 0 40px;
}

/* Background */

.background-grid {
    display:grid;
    grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
    gap:64px;
}

.prose h2 + p {
    margin-top:24px;
}

.prose p + p {
    margin-top:18px;
}

.prose p {
    max-width:36em;
    color:#353e44;
}

.record {
    border-top:2px solid var(--ink);
}

.record div {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);
    gap:16px;
    padding:14px 0;
    border-bottom:1px solid var(--line);
    font-size:16px;
}

.record dt {
    font-weight:600;
}

.record dd {
    margin:0;
    color:#353e44;
}

/* Contact */

.contact-grid {
    display:grid;
    grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
    gap:64px;
    align-items:end;
}

.contact p {
    margin-top:16px;
    max-width:34em;
    color:#353e44;
}

.contact-email {
    display:inline-block;
    margin-top:28px;
    font-size:clamp(20px,3vw,28px);
    font-weight:600;
    overflow-wrap:anywhere;
}

.elsewhere {
    list-style:none;
    padding:0;
    border-top:1px solid var(--line);
}

.elsewhere li {
    border-bottom:1px solid var(--line);
}

.elsewhere a {
    display:flex;
    justify-content:space-between;
    gap:16px;
    min-height:52px;
    align-items:center;
    color:var(--ink);
    text-decoration:none;
    font-weight:500;
}

.elsewhere a span {
    color:var(--muted);
    font-weight:400;
    font-size:15px;
}

.elsewhere a:hover {
    color:var(--green);
}

/* Footer */

.site-footer {
    border-top:1px solid var(--line);
    padding:28px 0 40px;
    font-size:14px;
    color:var(--muted);
}

.site-footer .wrap {
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:8px 24px;
}

.site-footer a {
    color:var(--muted);
}

/* Business page */

.cards {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
}

.card {
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:8px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
}

.card img {
    width:100%;
    aspect-ratio:1200 / 630;
    object-fit:cover;
    border-bottom:1px solid var(--line);
}

.card-body {
    padding:22px 22px 24px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.card h3 {
    font-size:22px;
}

.card p {
    margin-top:8px;
    color:#353e44;
    flex:1;
}

.card a {
    margin-top:18px;
    font-weight:600;
}

.more-list {
    margin-top:56px;
    display:grid;
    grid-template-columns:200px minmax(0,1fr);
    gap:24px;
    padding-top:28px;
    border-top:1px solid var(--line);
}

.more-list h3 {
    font-size:17px;
}

.more-list ul {
    padding-left:20px;
    columns:2;
    column-gap:40px;
    color:#353e44;
}

.more-list li {
    break-inside:avoid;
    margin-bottom:8px;
}

.more-list li::marker {
    color:var(--green);
}

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

.steps li {
    counter-increment:step;
    border-top:2px solid var(--ink);
    padding-top:18px;
}

.steps li::before {
    content:counter(step);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:30px;
    height:30px;
    border-radius:50%;
    background:var(--ink);
    color:#fff;
    font-weight:700;
    font-size:15px;
    margin-bottom:14px;
}

.steps h3 {
    font-size:19px;
    margin-bottom:8px;
}

.steps p {
    color:#353e44;
    font-size:16px;
}

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

.panel-body > * + p {
    margin-top:12px;
}

.panel-body > .byline {
    margin-top:16px;
    font-size:15px;
    color:var(--muted);
}

.retainer ul {
    margin-top:16px;
    padding-left:20px;
}

.retainer li + li {
    margin-top:6px;
}

.retainer li::marker {
    color:var(--green);
}

.contact-box {
    background:var(--ink);
    color:#fff;
    border-radius:8px;
    padding:48px;
    display:grid;
    grid-template-columns:minmax(0,1.2fr) auto;
    gap:32px;
    align-items:center;
}

.contact-box h2 {
    color:#fff;
}

.contact-box p {
    margin-top:12px;
    color:#c9d1cd;
}

.contact-box .actions {
    justify-content:flex-end;
}

.contact-box .button {
    background:#fff;
    border-color:#fff;
    color:var(--ink);
}

.contact-box .button:hover {
    background:var(--green-tint);
    border-color:var(--green-tint);
}

.contact-box .button.secondary {
    background:transparent;
    color:#fff;
    border-color:#6c777c;
}

.contact-box .button.secondary:hover {
    border-color:#fff;
}

.contact-box .fine {
    margin-top:16px;
    font-size:15px;
}

.contact-box .fine a {
    color:#fff;
}

/* Product pages */

.product-hero {
    padding:56px 0 8px;
}

.crumb {
    font-size:15px;
    color:var(--muted);
}

.crumb a {
    color:var(--muted);
}

.product-hero h1 {
    margin-top:18px;
    font-size:clamp(34px,6vw,52px);
    line-height:1.06;
    letter-spacing:-.025em;
}

.product-hero .for {
    margin-top:16px;
    font-size:19px;
    font-weight:500;
    color:var(--green-dark);
}

.product-hero .lede {
    margin-top:16px;
    font-size:18px;
    color:#353e44;
}

.media {
    margin:36px 0 0;
}

.product-section {
    margin-top:56px;
}

.product-section h2 {
    font-size:24px;
    margin-bottom:16px;
}

.check-list {
    list-style:none;
    padding:0;
    border-top:1px solid var(--line);
}

.check-list li {
    position:relative;
    padding:14px 0 14px 32px;
    border-bottom:1px solid var(--line);
}

.check-list li::before {
    content:'';
    position:absolute;
    left:4px;
    top:21px;
    width:12px;
    height:7px;
    border-left:2px solid var(--green);
    border-bottom:2px solid var(--green);
    transform:rotate(-45deg);
}

.note {
    margin-top:40px;
    padding:22px 24px;
    background:var(--surface);
    border:1px solid var(--line);
    border-left:4px solid var(--green);
    border-radius:4px;
    color:#353e44;
}

.product-cta {
    margin:56px 0 72px;
}

.product-cta.contact-box {
    grid-template-columns:1fr;
    padding:36px;
}

.product-cta.contact-box .actions {
    justify-content:flex-start;
}

/* Writing page */

.empty-state {
    padding:72px 0 120px;
}

.empty-state h1 {
    font-size:clamp(34px,6vw,52px);
    letter-spacing:-.025em;
}

.empty-state p {
    margin-top:16px;
    color:#353e44;
    max-width:36em;
}

/* Responsive */

@media (max-width:960px) {
    .hero-grid,
    .background-grid,
    .contact-grid,
    .retainer {
        grid-template-columns:1fr;
        gap:44px;
    }


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

    .project-layout {
        grid-template-columns:1fr;
        gap:32px;
    }

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

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

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

    .contact-box .actions {
        justify-content:flex-start;
    }

    .site-nav .nav-hide-md {
        display:none;
    }
}

@media (max-width:760px) {
    :root {
        --gutter:16px;
        --header:58px;
    }

    body {
        font-size:16px;
    }

    .section {
        padding:64px 0;
        scroll-margin-top:-40px;
    }

    .hero {
        padding:48px 0 64px;
    }

    .hero .lede {
        font-size:17px;
    }

    .ways,
    .cards {
        grid-template-columns:1fr;
        gap:32px;
    }

    .focus,
    .more-list {
        grid-template-columns:1fr;
        gap:14px;
    }

    .more-list ul {
        columns:1;
    }

    .brand small,
    .site-nav .nav-hide-sm {
        display:none;
    }

    .site-nav {
        gap:16px;
    }

    .project h3 {
        font-size:26px;
    }

    .deck {
        font-size:18px;
    }

    .record div {
        grid-template-columns:1fr;
        gap:2px;
    }

    .contact-box {
        padding:32px 22px;
    }

    .product-cta.contact-box {
        padding:28px 22px;
    }

    .actions .button {
        flex:1 1 auto;
    }
}

@media (max-width:520px) {
    .tech,
    .steps {
        grid-template-columns:1fr;
    }

    .panel-body {
        padding:22px 20px 24px;
    }

    .archive-meta .archive-label {
        display:none;
    }
}

/* Diagrams */

.diagram-figure {
    margin-top:24px;
}

.diagram {
    display:block;
    width:100%;
    max-width:440px;
    height:auto;
    overflow:visible;
}

.media-side {
    margin-top:0;
    justify-self:center;
    width:100%;
    max-width:440px;
}

.dg-label {
    font:600 15px var(--sans);
    fill:var(--ink);
}

.dg-sub,
.dg-edge,
.dg-group {
    font:400 12.5px var(--sans);
    fill:var(--muted);
}

.dg-edge {
    font-weight:500;
}

.dg-code {
    font:500 14px var(--mono);
    fill:var(--ink);
}

.dg-note {
    font:500 19px 'Caveat',cursive;
    fill:var(--green);
}

/* Commit trail */

.trail {
    list-style:none;
    padding:0;
    margin-top:22px;
    position:relative;
}

.trail::before {
    content:'';
    position:absolute;
    left:13px;
    top:14px;
    bottom:14px;
    width:2px;
    background:var(--line);
}

.trail li {
    position:relative;
    display:grid;
    grid-template-columns:28px minmax(0,1fr);
    gap:14px;
    align-items:baseline;
    padding:6px 0;
    font-size:15px;
    line-height:1.45;
    color:#353e44;
}

.trail span {
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:28px;
    height:28px;
    border-radius:50%;
    background:var(--surface);
    border:1.5px solid var(--ink);
    font-size:12px;
    font-weight:700;
    color:var(--ink);
    transform:translateY(-1px);
}

.trail .prune {
    color:var(--ink);
    font-weight:600;
}

.trail .prune span {
    background:var(--green);
    border-color:var(--green);
    color:#fff;
}

.panel .check-list.compact {
    margin-top:10px;
    border-top:0;
}

.panel .check-list.compact li:last-child {
    border-bottom:0;
    padding-bottom:0;
}

.bio {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);
    gap:64px;
}

.prose .byline {
    margin-top:16px;
    font-size:15px;
    color:var(--muted);
}

@media (max-width:760px) {
    .bio {
        grid-template-columns:1fr;
        gap:20px;
    }
}

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

/* Before / during / after */

.phases {
    list-style:none;
    padding:0;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:40px;
}

.phases li {
    position:relative;
    border-top:2px solid var(--ink);
    padding-top:18px;
}

.phases li:nth-child(2) {
    border-top-color:var(--green);
}

.phases li + li::before {
    content:'';
    position:absolute;
    left:-28px;
    top:-7px;
    width:0;
    height:0;
    border-left:10px solid var(--green);
    border-top:6px solid transparent;
    border-bottom:6px solid transparent;
}

.phases h3 {
    font-size:21px;
    margin-bottom:8px;
}

.phases p {
    color:#353e44;
}

@media (max-width:760px) {
    .phases {
        grid-template-columns:1fr;
        gap:28px;
    }

    .phases li + li::before {
        display:none;
    }
}

@media (min-width:961px) {
    .project-layout > .demo,
    .project-layout > .code-example,
    .project-layout > .media-side {
        position:sticky;
        top:calc(var(--header) + 24px);
    }
}
