/* Shared public navigation and the product studio. */
.site,
.site * {
    box-sizing: border-box;
}
.studio {
    margin: 0;
    font-family:
        'Instrument Sans', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',
        sans-serif;
}
.studio h1,
.studio h2,
.studio h3,
.studio p {
    margin: 0;
}
.site .site-wrap {
    max-width: 1160px;
    width: calc(100% - clamp(32px, 8vw, 116px));
}
.site-header {
    position: relative;
    z-index: 4;
}
.site-nav {
    min-height: 68px;
}
.pub-brand {
    display: inline-flex;
    align-items: center;
    font-size: 21px;
    font-weight: 710;
    color: var(--site-ink);
    letter-spacing: -0.062em;
    text-decoration: none;
}
.pub-brand img {
    margin-right: 8px;
}
.pub-brand span {
    color: var(--site-muted);
    font-weight: 460;
}
.pub-actions,
.pub-links,
.pub-footer nav {
    display: flex;
    align-items: center;
    gap: 18px;
}
.pub-links {
    margin-right: auto;
    margin-left: 30px;
}
.pub-links a,
.pub-footer a,
.nav-login,
.lang,
.pub-theme {
    color: var(--site-ink);
    font: 600 0.85rem/1.3 system-ui;
    text-decoration: none;
}
.pub-footer .pub-brand {
    font-size: 20px;
}
.pub-actions {
    gap: 8px;
}
.pub-actions button {
    cursor: pointer;
}
.lang,
.pub-theme,
.nav-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    border: 0;
    background: transparent;
}
.nav-login {
    border: 1px solid var(--site-line);
    border-radius: 7px;
    padding: 8px 12px;
}
.pub-links a:hover,
.pub-footer nav a:hover,
.text-link:hover {
    text-decoration: underline;
}
.pub-footer {
    margin-top: auto;
}
.pub-footer > div {
    min-height: 94px;
}
.launch-area {
    padding: clamp(36px, 6vw, 78px) 0 48px;
    background:
        radial-gradient(
            ellipse at 65% 62%,
            color-mix(in srgb, var(--drawing-base) 65%, transparent),
            transparent 65%
        ),
        radial-gradient(var(--site-line) 0.8px, transparent 0.8px);
    background-size:
        auto,
        16px 16px;
    border-bottom: 1px solid var(--site-line);
}
.hero-text {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 42px;
    margin-bottom: clamp(26px, 4vw, 48px);
}
.studio .kicker,
.auth-caption {
    display: flex;
    align-items: center;
    gap: 9px;
    font:
        600 0.71rem/1.4 ui-monospace,
        monospace;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--site-green);
    margin-bottom: 18px;
}
.kicker i,
.status-dot {
    height: 7px;
    width: 7px;
    border-radius: 50%;
    background: #38916c;
    display: inline-block;
}
.hero-text h1,
.contact-area h1 {
    font-size: clamp(3.1rem, 6.2vw, 6.15rem);
    line-height: 0.98;
    letter-spacing: -0.072em;
    font-weight: 640;
}
.hero-text em,
.contact-area h1 {
    font-family: Georgia, serif;
    color: var(--site-green);
    font-weight: 450;
}
.hero-aside > p,
.contact-area > .site-wrap > p:not(.kicker) {
    max-width: 45ch;
    font-size: 1.08rem;
    line-height: 1.6;
    color: var(--site-muted);
}
.cta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.solid {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 11px 16px;
    background: var(--site-green);
    color: var(--site-panel);
    border-radius: 7px;
    text-decoration: none;
    font-weight: 620;
    font-size: 0.88rem;
}
.text-link {
    font-size: 0.87rem;
    font-weight: 610;
    color: var(--site-green);
    text-decoration: none;
}
.live-board {
    border: 1px solid var(--site-line);
    background: var(--site-panel);
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 30px 65px -40px #17382d88,
        0 0 0 5px color-mix(in srgb, var(--site-panel) 63%, transparent);
}
.live-board > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: #19372d;
    color: #f3fff6;
}
.board-project {
    display: flex;
    align-items: center;
    gap: 9px;
}
.board-view,
.axis-name,
.ticks,
.board-bottom,
.sample-bar {
    font:
        520 0.73rem/1.2 ui-monospace,
        monospace;
}
.board-view {
    color: #c8e2d2;
}
.board-contents {
    display: grid;
    grid-template-columns: clamp(132px, 24%, 252px) 1fr;
}
.tasknames {
    border-right: 1px solid var(--site-line);
}
.axis-name,
.ticks {
    height: 33px;
    align-content: center;
    color: var(--site-muted);
    background: var(--site-bg);
}
.axis-name,
.taskline {
    padding-left: 17px;
}
.taskline,
.lane {
    height: 34px;
    border-top: 1px solid var(--site-line);
}
.taskline {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 510;
    overflow: hidden;
    white-space: nowrap;
}
.taskline span {
    overflow: hidden;
    text-overflow: ellipsis;
}
.taskline:not(.phase) {
    padding-left: 29px;
}
.taskline i {
    width: 6px;
    height: 6px;
    flex: none;
    border-radius: 50%;
    background: #79a18f;
}
.taskline.mile i {
    transform: rotate(45deg);
    border-radius: 0;
    background: #aa6a36;
}
.taskline.phase {
    font-weight: 700;
    background: var(--site-bg);
}
.taskline.phase i {
    background: transparent;
    border: solid var(--site-muted);
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg) translateY(-2px);
}
.ticks,
.lane {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
}
.ticks span {
    text-align: center;
}
.lanes {
    position: relative;
    background-image: linear-gradient(
        to right,
        transparent calc(100% - 1px),
        var(--site-line) 1px
    );
    background-size: 8.33333% 100%;
}
.dep-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: #608773;
}
.dep-lines path {
    vector-effect: non-scaling-stroke;
    stroke-width: 1.6;
}
.sample-bar {
    position: relative;
    grid-column: calc(var(--start) + 1) / span var(--span);
    height: 21px;
    line-height: 21px;
    margin: 0 2px;
    border-radius: 4px;
    padding: 0 6px;
    overflow: hidden;
    color: white;
    background: linear-gradient(
        90deg,
        #216348 var(--progress),
        #387b5e var(--progress)
    );
    white-space: nowrap;
    text-align: center;
}
.sample-bar.phase {
    background: #304e42;
    border-radius: 2px;
    height: 14px;
    line-height: 14px;
    font-size: 10px;
}
.sample-bar.late {
    background: linear-gradient(
        90deg,
        #9b452e var(--progress),
        #b75739 var(--progress)
    );
}
.sample-bar.next {
    background: #4d6d7c;
}
.sample-bar.mile {
    background: transparent;
    color: #a06525;
    padding: 0;
    font-size: 20px;
}
.today-marker {
    position: absolute;
    left: 52%;
    height: 100%;
    width: 1px;
    background: #528c6c;
    z-index: 1;
    pointer-events: none;
}
.today-marker b {
    position: absolute;
    top: -17px;
    left: 0;
    transform: translateX(-50%);
    font: 600 9px/1.4 system-ui;
    background: #22583d;
    color: #fff;
    padding: 0 4px;
    border-radius: 3px;
}
.board-bottom {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-top: 1px solid var(--site-line);
    color: var(--site-muted);
}
.qs {
    padding-block: clamp(42px, 6vw, 78px);
}
.studio h2 {
    font-size: clamp(1.9rem, 3.7vw, 3.4rem);
    line-height: 1.04;
    letter-spacing: -0.054em;
    font-weight: 610;
    text-wrap: balance;
}
.template-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}
.studio h3 {
    font-size: 1.25rem;
    letter-spacing: -0.035em;
    margin: 16px 0 6px;
}
.template-band p,
.qs p,
.contact-card p {
    color: var(--site-muted);
    font-size: 0.94rem;
    line-height: 1.6;
}
.template-band {
    background: #132b22;
    color: #ecf7ee;
    padding-block: 56px;
}
.template-band p {
    color: #bdd5c5;
    max-width: 64ch;
    margin-top: 10px;
}
.template-list {
    margin: 25px 0;
}
.template-list > div {
    border-top: 1px solid #47705c;
}
.template-band .solid {
    background: #b6e5c5;
    color: #143324;
}
.qs {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 35px;
}
.qs details {
    padding: 13px 0;
    border-bottom: 1px solid var(--site-line);
}
.qs summary {
    font-weight: 610;
    cursor: pointer;
}
.qs p {
    margin-top: 8px;
}
.contact-area {
    min-height: 65vh;
}
.contact-area h1 {
    margin: 12px 0 22px;
}
.contact-card {
    margin-top: 32px;
    border-left: 3px solid var(--site-green);
    background: var(--site-panel);
    padding: 22px;
    max-width: 560px;
}
.contact-card span,
.contact-card a {
    display: block;
}
.contact-card a {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--site-green);
    margin: 8px 0;
    font-weight: 600;
}
.contact-area {
    flex: 1;
}
@media (prefers-reduced-motion: no-preference) {
    .live-board {
        animation: board-arrive 0.75s ease-out both;
        transform-origin: center bottom;
    }
    .sample-bar {
        animation: bar-arrive 0.8s ease backwards;
        transform-origin: left center;
    }
    .sample-bar.work,
    .sample-bar.next {
        animation-delay: 0.18s;
    }
    .dep-lines path {
        animation: route-arrive 1.15s ease-out both;
    }
    @keyframes board-arrive {
        from {
            transform: perspective(1000px) rotateX(4deg) translateY(14px);
            opacity: 0.65;
        }
    }
    @keyframes route-arrive {
        from {
            stroke-dasharray: 340;
            stroke-dashoffset: 340;
        }
        to {
            stroke-dasharray: 340;
            stroke-dashoffset: 0;
        }
    }
    @keyframes bar-arrive {
        from {
            transform: scaleX(0.64);
            opacity: 0.2;
        }
    }
}
@media (max-width: 720px) {
    .hero-text,
    .qs {
        grid-template-columns: 1fr;
        gap: 18px;
    }
        .template-list {
        grid-template-columns: 1fr;
    }
    .pub-links {
        gap: 10px;
        margin-left: auto;
    }
    .pub-actions {
        gap: 3px;
    }
    .site-nav {
        gap: 8px;
    }
    .pub-brand {
        font-size: 17px;
    }
    .pub-brand img {
        width: 24px;
        height: 24px;
        margin-right: 4px;
    }
    .pub-footer > div {
        flex-wrap: wrap;
        padding: 16px 0;
    }
    .pub-footer nav {
        gap: 12px;
    }
    .axis-name,
    .taskline {
        padding-left: 8px;
    }
    .taskline:not(.phase) {
        padding-left: 14px;
    }
    .board-contents {
        grid-template-columns: minmax(99px, 32%) 1fr;
    }
    .board-project {
        font-size: 0.82rem;
    }
    .taskline {
        font-size: 0.73rem;
    }
    .sample-bar {
        font-size: 0.63rem;
        padding: 0;
    }
    .board-view {
        display: none;
    }
    .board-bottom {
        font-size: 0.65rem;
    }
    .ticks {
        font-size: 0.61rem;
    }
    .qs {
        gap: 16px;
    }
}
@media (max-width: 460px) {
    .site .site-nav {
        flex-wrap: wrap;
        padding-block: 9px;
        row-gap: 8px;
    }
    .pub-links {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        border-top: 1px solid var(--site-line);
        padding-top: 7px;
        gap: 20px;
    }
    .pub-actions {
        margin-left: auto;
    }
    .pub-footer nav {
        font-size: 0.78rem;
    }
    .hero-text h1 {
        font-size: clamp(2.8rem, 10vw, 4rem);
    }
}
.access-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    max-width: 1000px;
    width: calc(100% - 48px);
    margin: clamp(32px, 6vw, 84px) auto;
    border: 1px solid var(--site-line);
    border-radius: 17px;
    overflow: hidden;
    background: var(--site-panel);
}
.access-aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(26px, 4vw, 60px);
    background:
        radial-gradient(#52816a 0.65px, transparent 0.65px),
        linear-gradient(145deg, #112a1f, #214939);
    background-size:
        15px 15px,
        auto;
    color: #ebf8ec;
}
.access-project p {
    margin: 28px 0 8px;
    font:
        550 0.7rem/1.3 ui-monospace,
        monospace;
    letter-spacing: 0.065em;
    color: #badfc8;
}
.access-project h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.055em;
    font-weight: 560;
}
.access-plan {
    margin: 32px 0;
    background: #10291ff2;
    border: 1px solid #527462;
    border-radius: 9px;
    padding: 7px 14px;
}
.access-plan > div {
    padding: 11px 0;
}
.access-plan > div + div {
    border-top: 1px solid #425e50;
}
.access-plan div > div {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
}
.access-plan b {
    margin-left: auto;
    color: #b6d7c0;
    font-family: monospace;
}
.access-plan i {
    display: block;
    height: 5px;
    margin-top: 8px;
    background: #88c6a0;
    border-radius: 3px;
}
.access-plan > div:nth-child(2) i {
    background: #d3aa73;
}
.access-aside > a {
    font-size: 0.83rem;
    color: #d3e8d9;
    text-decoration: underline;
}
.access-form {
    padding: clamp(25px, 4.5vw, 64px);
}
.access-form h1 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 620;
    line-height: 1.08;
    letter-spacing: -0.06em;
}
.access-form > p:not(.auth-caption) {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--site-muted);
    margin: 10px 0 20px;
}
.access-form form {
    display: grid;
    gap: 15px;
}
.access-field {
    display: grid;
    gap: 7px;
}
.access-field small,
.access-form small[role='alert'] {
    color: var(--destructive);
}
.access-field input {
    height: 41px;
}
.access-options,
.access-options > div {
    display: flex;
    align-items: center;
    gap: 7px;
}
.access-options {
    justify-content: space-between;
    flex-wrap: wrap;
}
.access-options a,
.access-alt a,
.access-form .access-alt {
    font-size: 0.82rem;
}
.access-alt a,
.access-options a {
    text-decoration: underline;
    color: var(--site-green);
}
.access-form .access-submit {
    height: 42px;
    background: var(--site-green);
    color: var(--site-panel);
    justify-content: space-between;
}
.access-passkey {
    margin-top: 12px;
}
.access-notice {
    border-left: 3px solid var(--site-green);
    padding: 8px;
}
.site-account .site-auth-card h1 {
    margin: 14px 0;
}
@media (max-width: 720px) {
    .access-grid {
        display: block;
        width: calc(100% - 28px);
        max-width: 480px;
        margin: 28px auto;
    }
    .access-aside {
        display: none;
    }
}
.field-guide {
    padding-block: clamp(36px, 5vw, 76px);
    max-width: 840px !important;
}
.field-guide h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 620;
    line-height: 1.02;
    letter-spacing: -0.06em;
}
.field-guide .guide-lead {
    font-size: 1.18rem;
    color: var(--site-muted);
    max-width: 65ch;
    margin: 20px 0 30px;
}
.field-guide ol {
    padding-left: 24px;
}
.field-guide li {
    padding: 20px 0 20px 8px;
    border-top: 1px solid var(--site-line);
}
.field-guide li h2 {
    font-size: 1.4rem;
    letter-spacing: -0.03em;
}
.field-guide li p {
    font-size: 1rem;
    line-height: 1.65;
    margin-top: 7px;
    color: var(--site-muted);
}
.demo-intro {
    display:flex; align-items:center; gap:15px; height:40px; padding:0 16px;
    color:#e8f6ed; background:#153326; font:500 .78rem/1.25 system-ui;
}
.demo-intro h1 {font-weight:650; white-space:nowrap;}
.demo-intro p {color:#c4dfcd;}
.demo-intro a {margin-left:auto; color:#e3f8e9; white-space:nowrap; text-decoration:underline;}
body.full-demo .ec-shell, body.full-demo .ec-editor {min-height:0; height:calc(100dvh - 40px);}
@media(max-width:680px){.demo-intro p{display:none;}}

.plan-study {
    display:grid; grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);
    align-items:center; gap:clamp(28px,5vw,72px); padding-block:clamp(48px,7vw,100px);
}
.study-copy h2 {max-width:16ch;}
.study-copy p {max-width:42ch; margin-top:16px; color:var(--site-muted); line-height:1.6;}
.study-facts {display:flex; gap:clamp(16px,3vw,38px); margin:26px 0 0; border-top:1px solid var(--site-line); padding-top:16px;}
.study-facts dt {color:var(--site-muted); font-size:.8rem;}
.study-facts dd {margin:5px 0 0; font:600 1.15rem/1.4 ui-monospace,monospace;letter-spacing:-.04em;}
.study-facts dd span {color:var(--site-muted);font-weight:400;}
.study-figure {margin:0;overflow:hidden;border-radius:14px;border:1px solid #40634e;color:#eff7ee;background:radial-gradient(ellipse at 60% 32%,#315743,transparent 70%),radial-gradient(#557662 .65px,transparent .8px),#132d22;background-size:auto,15px 15px,auto;}
.study-figure figcaption {display:flex;min-height:48px;align-items:center;justify-content:space-between;gap:10px;padding:10px 15px;border-bottom:1px solid #45664f;font-weight:600;}
.study-switch {display:flex; gap:3px; padding:3px; border:1px solid #52735e; border-radius:7px;}
.study-switch[hidden] {display:none;}
.study-switch button {border:0;background:transparent;color:#daeadb;cursor:pointer;border-radius:4px;padding:6px 8px;font:600 .72rem/1.2 system-ui;}
.study-switch button[aria-pressed=true] {background:#d2ebd4;color:#163925;}
.study-switch button:focus-visible {outline:2px solid #f0ca8c;outline-offset:1px;}
.study-figure svg {display:block;width:100%;height:auto;}
.study-extension {transform-origin:255px 0;}
[data-state=original] .study-extension {transform:scaleX(0);}
[data-state=revised] .study-tip {transform:translateX(60px);}
[data-state=original] .study-dimension {opacity:0;}
@media(prefers-reduced-motion:no-preference){
    .study-tip,.study-extension {transition:transform .85s cubic-bezier(.2,.65,.25,1);}
    .study-dimension {transition:opacity .35s ease .25s;}
}
@media(max-width:760px){.plan-study {grid-template-columns:1fr;gap:22px;}.study-copy h2 {max-width:21ch;}.study-facts {margin-top:16px;}.study-figure figcaption {padding:8px 10px;}}
