@font-face {
    font-family: Inter;
    src: url("assets/inter-18pt-medium.ttf") format("truetype");
    font-weight: 400 500;
    font-display: swap;
}
@font-face {
    font-family: Inter;
    src: url("assets/inter-18pt-semibold.ttf") format("truetype");
    font-weight: 600 800;
    font-display: swap;
}
:root {
    color-scheme: light;
    --ink: #19352b;
    --muted: #5c6c63;
    --green: #247447;
    --green-soft: #edf4ed;
    --line: #dce5dc;
    --surface: #fff;
    --background: #f7f9f6;
    --radius-small: 8px;
    --radius-card: 14px;
    --radius-panel: 22px;
    --shadow-card: 0 2px 8px #19352b06, 0 0 0 1px #19352b03;
    --shadow-panel: 0 8px 32px #19352b06;
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --motion-feedback: 160ms;
    --motion-gaze: 200ms;
    --motion-entrance: 300ms;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--ink);
    background: var(--background);
    -webkit-text-size-adjust: 100%;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
}
button,
input,
select,
textarea {
    font: inherit;
}
button {
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}
button,
a {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
button {
    user-select: none;
    -webkit-user-select: none;
}
button:disabled {
    cursor: default;
}
a {
    color: var(--green);
    text-underline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 4px;
}
button svg {
    pointer-events: none;
}
svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
img {
    display: block;
    max-width: 100%;
}
p,
h1,
h2,
h3,
h4 {
    margin: 0;
}
[hidden] {
    display: none !important;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 20;
    padding: 12px 16px;
    border-radius: var(--radius-small);
    background: var(--surface);
    transform: translateY(-180%);
}
.skip-link:focus {
    transform: none;
}
main {
    width: min(100%, 1360px);
    margin-inline: auto;
    padding: 0 max(32px, env(safe-area-inset-right)) 0
        max(32px, env(safe-area-inset-left));
}
.site-header {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 96px;
    border-bottom: 1px solid var(--line);
}
.site-brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 26px;
    letter-spacing: -1px;
}
.site-brand img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.site-kicker {
    padding-left: 20px;
    border-left: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}
.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    margin-left: auto;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: var(--surface);
    box-shadow: var(--shadow-card);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
}
.project-link img {
    width: 18px;
    height: 18px;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}
.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}
.nav-link[aria-current="page"] {
    color: var(--green);
}
.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 48px;
    padding: 13px 20px;
    border: 1px solid var(--green);
    border-radius: var(--radius-small);
    background: var(--green);
    color: var(--surface);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform var(--motion-feedback) var(--ease-out);
}
.button-primary:active:not(:focus-visible):not([aria-disabled="true"]) {
    transform: scale(0.97);
}
.button-primary[aria-disabled="true"] {
    border-color: var(--line);
    background: var(--green-soft);
    color: var(--muted);
    cursor: default;
}
.install-invitation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 56px;
    padding: 36px 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background: var(--green-soft);
}
.install-invitation h2 {
    margin-top: 10px;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.045em;
}
.install-invitation div > p:last-child {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}
.install-invitation .button-primary {
    flex-shrink: 0;
}
.intro {
    padding: 48px 0 40px;
    max-width: 850px;
}
.eyebrow {
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.07em;
}
.intro h1 {
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.055em;
    text-wrap: balance;
}
.intro h1 span {
    display: block;
    color: var(--green);
}
.intro > p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--muted);
}
.film-body {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-areas: "network conversation";
    align-items: start;
    gap: 32px 40px;
}
.network-panel {
    grid-area: network;
    min-width: 0;
    position: sticky;
    top: 24px;
}
.network {
    --hub-center-x: 52.272727%;
    position: relative;
    width: 100%;
    height: clamp(480px, 40vw, 560px);
    isolation: isolate;
}
.connections {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: -1;
}
.connection {
    fill: none;
    stroke: #b5cbb8;
    stroke-width: 1.25;
    vector-effect: non-scaling-stroke;
}
.connection.is-active {
    stroke: var(--green);
    stroke-width: 1.5;
}
.return-lines path {
    fill: none;
    stroke: #bdcdbd;
    stroke-width: 1;
    stroke-dasharray: 3 5;
    vector-effect: non-scaling-stroke;
}
.connector-dots {
    fill: #8cb895;
}
.packet-dot {
    fill: var(--green);
}
.packet-halo {
    fill: #24744716;
}
.mobile-connectors {
    display: none;
}
.mobile-connector {
    color: #a2bba6;
    opacity: 0.85;
}
.mobile-connector.is-active {
    color: #6e9c7a;
    opacity: 1;
}
.mobile-fiber-pulse {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 14px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #24744700, #247447 65%, #c6ffd1);
    box-shadow: 0 0 5px #43a75c80;
    pointer-events: none;
    transform-origin: 0 0;
    opacity: 0;
}
.mobile-fiber-sheath,
.mobile-fiber-track {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}
.mobile-fiber-sheath {
    stroke-width: 3;
    opacity: 0.12;
}
.mobile-fiber-track {
    stroke-width: 1.25;
}
.channel {
    position: absolute;
    width: 29%;
    min-height: 80px;
    padding: 16px 14px;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}
.channel[aria-pressed="true"] {
    border-color: var(--green);
    background: var(--green-soft);
    box-shadow: inset 0 0 0 1px var(--green);
}
.channel-slack {
    left: 1.5%;
    top: 0;
}
.channel-teams {
    right: 0.7%;
    top: 0;
}
.channel-github {
    left: 1.5%;
    top: 40.3%;
}
.channel-email {
    right: 0.7%;
    top: 40.3%;
}
.channel-discord {
    left: var(--hub-center-x);
    top: 77%;
    translate: -50% 0;
}
.card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}
.card-top > img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}
.card-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}
.card-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.card-description {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
}
.connection-port {
    position: absolute;
    right: -5px;
    top: 50%;
    width: 9px;
    height: 9px;
    margin-top: -4.5px;
    border-radius: 50%;
    background: #8cb895;
}
.channel-teams .connection-port,
.channel-email .connection-port {
    right: auto;
    left: -5px;
}
.channel-discord .connection-port {
    top: -1px;
    left: 50%;
    right: auto;
    margin-top: 0;
    transform: translate(-50%, -50%);
}
.goblin-hub {
    position: absolute;
    left: var(--hub-center-x);
    top: 27.2%;
    display: flex;
    align-items: center;
    flex-direction: column;
    transform: translateX(-50%) scale(var(--hub-scale, 1));
    transform-origin: top center;
}
.hub-core {
    position: relative;
}
.hub-core::before {
    content: "";
    position: absolute;
    inset: -40px;
    border-radius: 50%;
    background: radial-gradient(circle, #e1ecdf 0%, #e1ecdf00 70%);
    z-index: -1;
}
.goblin-mark {
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.goblin-mark img {
    width: 100%;
    height: auto;
}
.hub-core .goblin-mark {
    width: 100px;
    height: 96px;
}
.hub-character {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}
#hub-block-left {
    transform-origin: 160.52px 602.03px;
    animation: hub-enter var(--motion-entrance) var(--ease-out) backwards;
}
#hub-block-right {
    transform-origin: 487.68px 602.03px;
    animation: hub-enter var(--motion-entrance) var(--ease-out) 50ms backwards;
}
#hub-head {
    transform-origin: 325px 274.84px;
    animation: hub-enter var(--motion-entrance) var(--ease-out) 100ms backwards;
}
.has-entered #hub-block-left,
.has-entered #hub-block-right,
.has-entered #hub-head {
    animation: none;
}
.hub-name {
    margin-top: 12px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
}
.hub-status {
    margin-top: 8px;
    color: var(--muted);
    font-size: 11px;
    white-space: nowrap;
}
.travel-label {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 4;
    transform: translate(-50%, -140%);
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: var(--surface);
    padding: 5px 8px;
    font-size: 11px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
}
.network-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}
.caption-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
}
.conversation-panel {
    grid-area: conversation;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background: var(--surface);
    box-shadow: var(--shadow-panel);
    display: flex;
    flex-direction: column;
    min-height: 790px;
}
.example-notice {
    padding: 14px 24px 16px;
    border-bottom: 1px solid var(--line);
}
.example-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.example-controls strong {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
}
.integration-note {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}
.playback-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 88px;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: var(--background);
    font-size: 12px;
    font-weight: 500;
    flex-shrink: 0;
}
.playback-toggle svg {
    width: 13px;
    height: 13px;
}
.playback-toggle:disabled {
    color: var(--muted);
}
.panel-tabs {
    display: flex;
    gap: 4px;
    padding: 8px 16px 0;
    border-bottom: 1px solid var(--line);
}
.panel-tabs button {
    position: relative;
    flex: 1;
    min-width: 0;
    min-height: 48px;
    padding: 10px 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}
.panel-tabs button[aria-selected="true"] {
    color: var(--green);
}
.panel-tabs button[aria-selected="true"]::after {
    content: "";
    position: absolute;
    inset: auto 8px -1px;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
}
.conversation-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 24px;
    min-height: 80px;
    border-bottom: 1px solid var(--line);
}
.conversation-heading > img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.conversation-context {
    flex: 1;
    min-width: 0;
}
.conversation-context h3 {
    font-size: 14px;
    font-weight: 600;
}
.conversation-context p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.icon-button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-small);
    flex-shrink: 0;
}
.icon-button svg {
    width: 18px;
    height: 18px;
}
.panel-view {
    min-width: 0;
    flex: 1;
}
.thread {
    padding: 24px;
    display: grid;
    grid-template-areas: "request" "reply";
    gap: 24px;
}
.incoming-message {
    grid-area: request;
}
.reply-message,
.typing-row {
    grid-area: reply;
}
#reply-message[hidden] {
    display: flex !important;
    visibility: hidden;
}
#artifact-message[hidden] {
    display: block !important;
    visibility: hidden;
}
.message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
}
.message:last-child {
    margin-bottom: 0;
}
.avatar {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
}
.channel-avatar img {
    width: 23px;
    height: 23px;
    object-fit: contain;
}
.goblin-avatar .goblin-mark {
    width: 26px;
    height: 26px;
}
.message-content {
    flex: 1;
    min-width: 0;
}
.message-meta {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}
.message-meta strong {
    font-weight: 600;
    font-size: 13px;
    line-height: 1.5;
}
.message-time {
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
}
.message-content > p {
    font-size: 14px;
    line-height: 1.6;
    color: #485e51;
    overflow-wrap: anywhere;
}
.message-content > .steps-label {
    margin: 16px 0 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
}
.task-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 16px;
    list-style: none;
    border: 1px solid #e0e9df;
    border-radius: var(--radius-card);
    background: #f4f7f2;
}
.task-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    line-height: 1.5;
}
.check-dot {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 1px solid #c9dac9;
    border-radius: 50%;
    color: var(--green);
    font-size: 9px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
.artifact-card {
    margin-top: 10px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
}
.artifact-message {
    margin-top: 20px;
}
.review-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.review-heading strong {
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
}
.review-heading span {
    color: var(--muted);
    font-size: 10px;
}
.deliverable {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    padding: 16px 0;
    text-align: left;
    border-radius: var(--radius-small);
}
.deliverable > img {
    width: 24px;
    height: 24px;
    margin-top: 2px;
}
.deliverable > span:last-child {
    flex: 1;
    min-width: 0;
}
.deliverable strong {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
    color: var(--green);
    overflow-wrap: anywhere;
}
.deliverable strong svg {
    width: 13px;
    height: 13px;
}
.artifact-description,
.artifact-detail {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.deliverable .artifact-detail {
    display: none;
}
.document-deliverable {
    border-top: 1px solid var(--line);
    border-radius: 0;
}
.file-icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 26px;
    flex-shrink: 0;
    color: var(--green);
}
.file-icon svg {
    width: 23px;
    height: 23px;
}
.simulation-note {
    padding: 14px 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
    background: #fafcf9;
    margin-top: auto;
}
.typing-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    margin-bottom: 24px;
    align-self: start;
}
.thinking-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: thinking-pulse 1.4s linear infinite;
    flex-shrink: 0;
}
.thinking-label {
    color: var(--muted);
    font-size: 13px;
}
.detail-view {
    padding: 24px;
}
.detail-view h3 {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.025em;
}
.detail-view > p {
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}
.activity-item {
    position: relative;
    padding: 0 0 24px 22px;
    margin-left: 5px;
    border-left: 1px solid var(--line);
}
.activity-item:last-child {
    padding-bottom: 0;
    border-color: transparent;
}
.activity-item::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 5px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
}
.activity-item strong {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}
.activity-item p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.work-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: #f4f7f2;
}
.work-card h4 {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.02em;
}
.work-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}
.review-badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 5px 8px;
    border-radius: 5px;
    background: #e0ebdf;
    color: var(--green);
    font-size: 11px;
    font-weight: 500;
}
.work-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}
.work-card li {
    padding: 12px 0;
    border-top: 1px solid var(--line);
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.work-card li:last-child {
    padding-bottom: 0;
}
.benefits-section {
    margin-top: 72px;
    padding: 48px 0 56px;
    border-top: 1px solid var(--line);
}
.benefits-section h2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.045em;
}
.benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    margin-top: 36px;
}
.benefits > div > span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
    color: var(--green);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
}
.benefits svg {
    width: 18px;
    height: 18px;
}
.benefits strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}
.benefits p > span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}
.site-footer {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 0 max(32px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
}
.site-footer > span {
    color: var(--ink);
    font-weight: 500;
}
.site-footer > span > span {
    padding-inline: 8px;
    color: var(--muted);
}
.site-footer a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-left: auto;
    color: var(--ink);
    text-decoration: none;
}
dialog {
    width: min(620px, calc(100% - 32px));
    max-height: calc(100dvh - 48px);
    overflow: auto;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 24px 80px #19352b24;
}
dialog::backdrop {
    background: #19352b66;
}
dialog .goblin-mark {
    width: 40px;
    height: 40px;
}
dialog h2 {
    margin-top: 16px;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.04em;
}
dialog p,
dialog li {
    margin-top: 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}
dialog .eyebrow {
    margin-top: 24px;
    font-size: 11px;
    color: var(--green);
}
dialog ul {
    padding-left: 20px;
}
.dialog-close {
    position: absolute;
    right: 12px;
    top: 12px;
    font-size: 26px;
}
.preview-done {
    margin-top: 28px;
    padding: 12px 16px;
    min-height: 44px;
    border-radius: var(--radius-small);
    background: var(--green);
    color: white;
    font-size: 13px;
    font-weight: 500;
}
.is-paused * {
    animation-play-state: paused !important;
}
@keyframes thinking-pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.55;
    }
}
@keyframes hub-enter {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
/* Fast feedback for pointer presses; keyboard state changes remain immediate. */
button:not(.channel):not([role="tab"]) {
    transition: transform var(--motion-feedback) var(--ease-out);
}
button:not(.channel):not([role="tab"]):active:not(:focus-visible):enabled {
    transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
    .nav-link:hover {
        text-decoration: underline;
    }
    .button-primary:hover:not([aria-disabled="true"]) {
        background: #1d623a;
    }
    .project-link:hover {
        border-color: #9bb6a0;
        background: #fafcf9;
    }
    .channel:hover {
        border-color: #9bb6a0;
    }
    .channel[aria-pressed="true"]:hover {
        border-color: var(--green);
    }
    .panel-tabs button:hover {
        color: var(--ink);
    }
    button.icon-button:hover,
    .playback-toggle:enabled:hover {
        background: var(--green-soft);
    }
    .deliverable:hover strong,
    .site-footer a:hover {
        text-decoration: underline;
    }
    .preview-done:hover {
        background: #1d623a;
    }
}
@media (max-width: 1050px) {
    .film-body {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "network" "conversation";
        gap: 32px;
    }
    .network {
        max-width: 600px;
        margin-inline: auto;
        height: 420px;
    }
    .network-panel {
        position: static;
    }
    .conversation-panel {
        min-height: 0;
    }
}
@media (min-width: 1051px) and (max-height: 650px) {
    .network-panel {
        position: static;
    }
}
@media (max-width: 780px) {
    main {
        padding-right: max(24px, env(safe-area-inset-right));
        padding-left: max(24px, env(safe-area-inset-left));
    }
    .site-header {
        min-height: 80px;
    }
    .intro {
        padding: 40px 0 32px;
    }
    .intro h1 {
        font-size: clamp(36px, 6.5vw, 50px);
    }
    .network-panel {
        padding-top: 8px;
    }
    .thread {
        padding: 24px;
    }
    .message-content > p {
        font-size: 15px;
    }
    .task-checklist li {
        font-size: 13px;
    }
    .benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 32px;
    }
    .site-footer {
        flex-wrap: wrap;
        gap: 12px 24px;
    }
}
@media (max-width: 600px) {
    main {
        padding-right: max(20px, env(safe-area-inset-right));
        padding-left: max(20px, env(safe-area-inset-left));
    }
    .site-header {
        gap: 12px;
        min-height: 76px;
    }
    .site-brand {
        gap: 8px;
        font-size: 24px;
    }
    .site-brand img {
        width: 27px;
        height: 27px;
    }
    .site-kicker {
        display: none;
    }
    .site-nav {
        gap: 4px;
    }
    .nav-link {
        padding-inline: 8px;
    }
    .project-link span {
        display: none;
    }
    .install-invitation {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 40px;
        padding: 28px 24px;
    }
    .install-invitation h2 {
        font-size: 26px;
    }
    .project-link {
        min-height: 44px;
        padding: 9px 12px;
        font-size: 12px;
        gap: 7px;
    }
    .intro {
        padding: 32px 0 28px;
    }
    .intro h1 {
        font-size: clamp(34px, 8.8vw, 50px);
        line-height: 1.12;
    }
    .intro > p {
        font-size: 15px;
    }
    .network {
        --hub-center-x: 50%;
        max-width: 480px;
        height: 310px;
    }
    .channel {
        width: 32%;
        min-height: 68px;
        padding: 10px;
    }
    .channel-slack {
        left: 0;
        top: 18%;
    }
    .channel-teams {
        right: 0;
        top: 18%;
    }
    .channel-github {
        left: 0;
        top: 70%;
    }
    .channel-email {
        right: 0;
        top: 70%;
    }
    .channel-discord {
        top: 0;
    }
    .card-top {
        gap: 7px;
    }
    .card-top > img {
        width: 22px;
        height: 22px;
    }
    .card-name {
        font-size: 11px;
    }
    .card-description {
        display: none;
    }
    .goblin-hub {
        top: 36%;
    }
    .hub-core .goblin-mark {
        width: 68px;
        height: 66px;
    }
    .hub-name {
        margin-top: 8px;
        font-size: 23px;
    }
    .hub-status {
        font-size: 10px;
    }
    .network-caption {
        margin-top: 0;
        font-size: 11px;
    }
    .mobile-connectors {
        display: inline;
    }
    .mobile-fiber-pulse {
        display: block;
    }
    .connection,
    .return-lines,
    .connector-dots,
    .packet,
    .connection-port,
    .travel-label {
        display: none;
    }
    .example-notice {
        padding-inline: 16px;
    }
    .panel-tabs {
        padding-inline: 8px;
        gap: 0;
    }
    .panel-tabs button {
        flex: 1 1 auto;
        font-size: 12px;
        padding-inline: 5px;
    }
    .conversation-heading {
        margin-inline: 16px;
        min-height: 76px;
    }
    .thread,
    .detail-view {
        padding: 20px 16px;
    }
    .message {
        gap: 10px;
    }
    .message-content > p {
        font-size: 14px;
    }
    .task-checklist {
        padding: 14px 12px;
    }
    .task-checklist li {
        font-size: 12px;
        gap: 8px;
    }
    .artifact-card {
        padding-inline: 12px;
    }
    .deliverable {
        gap: 9px;
    }
    .deliverable strong {
        font-size: 12px;
    }
    .simulation-note {
        padding-inline: 16px;
    }
    .benefits-section {
        margin-top: 48px;
        padding: 32px 0 40px;
    }
    .benefits-section h2 {
        font-size: 26px;
    }
    .benefits {
        column-gap: 20px;
        margin-top: 28px;
    }
    .benefits strong {
        font-size: 13px;
    }
    .benefits p > span {
        font-size: 12px;
    }
    .site-footer {
        font-size: 11px;
    }
    .site-footer p {
        flex-basis: 100%;
        order: 3;
    }
    dialog {
        padding: 28px 24px;
    }
    dialog h2 {
        font-size: 25px;
    }
}
@media (max-width: 360px) {
    main {
        padding-right: max(16px, env(safe-area-inset-right));
        padding-left: max(16px, env(safe-area-inset-left));
    }
    .card-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .channel {
        padding: 8px 10px;
    }
    .card-name {
        font-size: 10px;
    }
    .hub-core .goblin-mark {
        width: 60px;
        height: 58px;
    }
    .hub-status {
        font-size: 9px;
    }
    .integration-note {
        font-size: 10px;
    }
    .message .avatar {
        width: 24px;
        height: 24px;
    }
    .message-content > p {
        font-size: 13px;
    }
    .benefits {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (prefers-reduced-motion: reduce) {
    .button-primary {
        transition: none;
    }
    .button-primary:active:not(:focus-visible) {
        transform: none;
    }
    #hub-block-left,
    #hub-block-right,
    #hub-head,
    .thinking-dot {
        animation: none;
    }
    button:not(.channel):not([role="tab"]) {
        transition: none;
    }
    button:not(.channel):not([role="tab"]):active:not(:focus-visible):enabled {
        transform: none;
    }
    .travel-label,
    .mobile-fiber-pulse {
        display: none;
    }
}
