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

:root {
    --ink: #0d0d0f;
    --ink-soft: #30302d;
    --paper: #f7f4ee;
    --paper-deep: #eee8dc;
    --white: #ffffff;
    --accent: #c8453a;
    --gold: #b89a5a;
    --blue-dim: #1a2b4a;
    --muted: #8a8880;
    --line: #d8d4cc;
    --surface-0: #0d0d0f;
    --surface-1: #111113;
    --surface-2: #1a1a1c;
    --surface-3: #222226;
    --border-dark: #2a2a2e;
    --syn-keyword: #c8453a;
    --syn-string: #b89a5a;
    --syn-comment: #444448;
    --syn-variable: #7aabb8;
    --syn-text: #aaaaaa;
    --chat-ai-bg: #1a2a1a;
    --chat-ai-text: #77cc99;
    --chat-ai-border: #3a5a3a;
    --chat-user-bg: #1a1a2a;
    --chat-user-text: #8899aa;
    --chat-user-border: #2a2a4a;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --line-dark: rgba(255, 255, 255, 0.14);
    --shadow: 0 18px 46px rgba(13, 13, 15, 0.16);
    --font-display: "Playfair Display", Georgia, serif;
    --font-mono: "DM Mono", "Courier New", monospace;
    --font-body: "DM Sans", system-ui, sans-serif;
    --clay: var(--accent);
    --moss: var(--blue-dim);
    --ochre: var(--gold);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

img,
video {
    max-width: 100%;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 200;
    padding: 10px 14px;
    background: var(--ink);
    color: var(--white);
    border-radius: var(--radius-md);
    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

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

.site-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    min-height: 72px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid rgba(216, 212, 204, 0.78);
    background: rgba(247, 244, 238, 0.9);
    backdrop-filter: blur(18px);
}

.beta-nav {
    justify-content: center;
}

.beta-nav .nav-logo {
    position: absolute;
    left: 40px;
}

.nav-logo {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.nav-logo em {
    color: var(--accent);
    font-weight: 400;
    font-style: italic;
}

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

.nav-links a,
.site-footer a {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.site-footer a:hover {
    color: var(--ink);
}

.nav-cta,
.btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.nav-cta {
    padding: 12px 18px;
    background: var(--ink);
    color: var(--white);
}

.nav-cta:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(200, 69, 58, 0.22);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
}

.nav-toggle span:not(.sr-only) {
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

.hero {
    min-height: 100vh;
    padding: 132px 6vw 64px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
    gap: 64px;
    align-items: center;
}

.hero-copy {
    max-width: 660px;
}

.eyebrow {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    color: var(--ink);
    text-wrap: balance;
}

h1 {
    margin-top: 20px;
    font-family: var(--font-display);
    font-size: clamp(46px, 6vw, 88px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.94;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.8vw, 68px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.02;
}

h3 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.15;
}

.title-accent {
    color: var(--accent);
    font-style: italic;
}

.hero-sub {
    max-width: 590px;
    margin-top: 26px;
    color: var(--ink-soft);
    font-size: clamp(18px, 1.45vw, 22px);
    line-height: 1.55;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    padding: 15px 22px;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-secondary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.54);
    color: var(--ink);
}

.btn-secondary:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.hero-proof {
    margin-top: 46px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--line);
}

.hero-proof div {
    min-height: 118px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.56);
}

.hero-proof dt {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.hero-proof dd {
    margin-top: 8px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-product {
    position: relative;
    transform: translateY(-24px);
}

.product-shell {
    overflow: hidden;
    border: 1px solid rgba(13, 13, 15, 0.16);
    border-radius: var(--radius-lg);
}

.product-bar {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    border-bottom: 1px solid var(--border-dark);
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.04em;
}

.product-bar span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

.product-bar span:nth-child(1) {
    background: var(--accent);
}

.product-bar span:nth-child(2) {
    background: var(--gold);
}

.product-bar span:nth-child(3) {
    background: var(--blue-dim);
}

.product-bar strong {
    margin-left: auto;
    color: var(--gold);
    font-weight: 500;
}

.workspace-preview {
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 1px;
    background: var(--border-dark);
}

.paper-pane,
.assistant-pane {
    padding: 34px;
    background: var(--paper);
}

.paper-meta {
    margin-bottom: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.paper-meta span,
.assistant-header strong,
.message-label,
.team-role,
.roadmap-grid span {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.paper-meta span {
    padding: 7px 9px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--muted);
}

.paper-pane h2 {
    margin-bottom: 18px;
    font-size: 44px;
}

.paper-pane p {
    color: var(--ink-soft);
    font-family: Georgia, serif;
    font-size: 18px;
    line-height: 1.72;
}

.paper-pane p + p {
    margin-top: 20px;
}

.marked {
    padding: 14px 16px;
    border-left: 3px solid var(--accent);
    background: rgba(200, 69, 58, 0.08);
}

.paper-note {
    width: fit-content;
    max-width: 100%;
    margin-top: 18px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 11px;
}

.assistant-pane {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--surface-3);
    color: rgba(255, 255, 255, 0.84);
}

.assistant-header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-dark);
}

.assistant-header span {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
}

.assistant-header strong,
.message-label {
    color: var(--gold);
}

.assistant-message {
    padding: 18px;
    border: 1px solid var(--chat-ai-border);
    border-left-width: 2px;
    border-radius: var(--radius-sm);
    background: var(--chat-ai-bg);
}

.assistant-message p:last-child {
    margin-top: 8px;
    color: var(--chat-ai-text);
}

.assistant-input {
    margin-top: auto;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.04em;
}

section {
    padding: 116px 6vw;
}

.section-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.section-header {
    max-width: 780px;
    margin-bottom: 48px;
}

.section-header h2,
.mission-card h2,
.access-panel h2 {
    margin-top: 16px;
}

.section-header.compact {
    max-width: 900px;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
    gap: 72px;
    align-items: start;
}

.problem-section {
    border-block: 1px solid var(--line);
    background: var(--paper-deep);
}

.story-copy {
    align-self: center;
    color: var(--ink-soft);
    font-size: 20px;
}

.story-copy p + p {
    margin-top: 22px;
}

.claim-section {
    --claim-x: 50%;
    --claim-y: 50%;
    --claim-dx: 0px;
    --claim-dy: 0px;
    --paper-one-x: 0px;
    --paper-one-y: 0px;
    --paper-two-x: 0px;
    --paper-two-y: 0px;
    --paper-three-x: 0px;
    --paper-three-y: 0px;
    --paper-four-x: 0px;
    --paper-four-y: 0px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 132px 6vw 116px;
    display: grid;
    align-items: stretch;
    border-bottom: 0;
    background:
        radial-gradient(
            circle at 16% 24%,
            rgba(200, 69, 58, 0.22),
            transparent 18rem
        ),
        radial-gradient(
            circle at 86% 68%,
            rgba(200, 69, 58, 0.15),
            transparent 22rem
        ),
        radial-gradient(
            circle at 50% 48%,
            rgba(184, 154, 90, 0.12),
            transparent 20rem
        ),
        var(--paper);
    background-attachment: fixed;
    color: var(--ink);
}

.claim-section::before,
.claim-section::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.claim-section::before {
    background:
        radial-gradient(
            circle at var(--claim-x) var(--claim-y),
            rgba(200, 69, 58, 0.22),
            transparent 15rem
        ),
        radial-gradient(
            circle at var(--claim-x) var(--claim-y),
            rgba(255, 255, 255, 0.7),
            transparent 22rem
        );
    opacity: 0;
    transition: opacity 0.25s ease;
}

.claim-section::after {
    background:
        linear-gradient(rgba(13, 13, 15, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 13, 15, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(
        to bottom,
        transparent,
        black 18%,
        black 82%,
        transparent
    );
    opacity: 0.8;
}

.claim-section:hover::before {
    opacity: 1;
}

.claim-section:hover::after {
    opacity: 1;
}

.claim-manuscripts {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    mask-image: linear-gradient(
        90deg,
        black 0,
        black 22%,
        transparent 34%,
        transparent 66%,
        black 78%,
        black 100%
    );
}

.claim-paper {
    position: absolute;
    width: clamp(112px, 13vw, 176px);
    min-height: clamp(136px, 15vw, 210px);
    padding: 18px;
    border: 1px solid rgba(216, 212, 204, 0.9);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 20px 48px rgba(36, 28, 21, 0.1);
    backdrop-filter: blur(8px);
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.claim-paper::before {
    content: "";
    display: block;
    width: 42%;
    height: 8px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(200, 69, 58, 0.72);
}

.claim-paper span {
    display: block;
    height: 7px;
    margin-top: 12px;
    border-radius: 999px;
    background: rgba(13, 13, 15, 0.1);
}

.claim-paper span:nth-child(2) {
    width: 82%;
}

.claim-paper span:nth-child(3) {
    width: 58%;
}

.claim-paper-one {
    left: 4%;
    top: 24%;
    transform: translate(var(--paper-one-x), var(--paper-one-y)) rotate(-7deg);
}

.claim-paper-two {
    right: 4%;
    top: 18%;
    transform: translate(var(--paper-two-x), var(--paper-two-y)) rotate(6deg);
}

.claim-paper-three {
    left: 9%;
    bottom: 10%;
    transform: translate(var(--paper-three-x), var(--paper-three-y))
        rotate(4deg);
}

.claim-paper-four {
    right: 8%;
    bottom: 8%;
    transform: translate(var(--paper-four-x), var(--paper-four-y)) rotate(-5deg);
}

.claim-section:hover .claim-paper {
    box-shadow: 0 26px 58px rgba(200, 69, 58, 0.16);
}

.claim-band {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: auto auto;
    gap: 22px;
    align-content: center;
    align-items: start;
    justify-items: center;
    text-align: center;
    width: min(820px, 100%);
    min-height: calc(100vh - 248px);
    margin: 0 auto;
}

.claim-logo {
    position: relative;
    z-index: 1;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(74px, 10.5vw, 176px);
    font-weight: 900;
    line-height: 0.95;
    transform-origin: center center;
    animation: claim-logo-sequence 2.2s 0.35s cubic-bezier(0.2, 0.8, 0.2, 1)
        both;
}

.claim-logo em {
    color: var(--accent);
    font-weight: 400;
    font-style: italic;
    display: inline-block;
    transition:
        transform 0.28s ease,
        text-shadow 0.28s ease;
}

.claim-band h2 {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    max-width: 680px;
    color: var(--ink);
    font-size: clamp(30px, 4.6vw, 64px);
    line-height: 1.12;
    padding-bottom: 0.08em;
    min-height: 2.4em;
}

.claim-prefix {
    color: var(--ink);
}

.claim-emphasis {
    position: relative;
    display: inline-block;
    padding-bottom: 0.04em;
    color: var(--accent);
    font-style: italic;
    transition:
        color 0.28s ease,
        transform 0.28s ease,
        text-shadow 0.28s ease;
}

.claim-section:hover .claim-emphasis {
    color: var(--accent);
    text-shadow: 0 8px 24px rgba(200, 69, 58, 0.14);
    transform: translate(
        var(--claim-emphasis-x, 0px),
        var(--claim-emphasis-y, 0px)
    );
}

.claim-section:hover .claim-logo em {
    text-shadow: 0 8px 24px rgba(200, 69, 58, 0.14);
    transform: translate(
        var(--claim-emphasis-x, 0px),
        var(--claim-emphasis-y, 0px)
    );
}

.claim-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translate(-50%, 8px);
    z-index: 1;
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
    opacity: 0;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.claim-scroll-cue-ready:not(.has-scrolled) .claim-scroll-cue {
    opacity: 1;
    transform: translate(-50%, 0);
}

.has-scrolled .claim-scroll-cue {
    opacity: 0;
    transform: translate(-50%, 8px);
}

.product-section {
    background: var(--paper);
}

.use-case-grid,
.team-grid,
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.team-grid {
    align-items: stretch;
    grid-template-rows: minmax(700px, auto);
    grid-auto-rows: minmax(700px, auto);
}

.use-case,
.team-card,
.roadmap-grid article {
    min-height: 320px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.62);
}

.step-number {
    display: inline-flex;
    margin-bottom: 46px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 12px;
}

.use-case h3,
.team-card h3,
.roadmap-grid h3 {
    margin-bottom: 14px;
}

.team-card h3 {
    margin-bottom: 6px;
}

.use-case p,
.team-card p,
.roadmap-grid p,
.demo-copy p,
.mission-card p,
.access-panel p {
    color: var(--muted);
}

.workflow-section {
    padding-block: 144px;
    background: var(--surface-0);
    color: var(--white);
}

.workflow-section h2,
.workflow-section h3 {
    color: var(--white);
}

.workflow-section b,
.demo-section b {
    color: var(--accent);
}

.workflow-list {
    min-height: 380px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    background: var(--border-dark);
}

.workflow-list article {
    min-height: 360px;
    padding: 28px;
    background: var(--surface-2);
}

.workflow-list span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    margin-bottom: 46px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 12px;
}

.workflow-list p {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.66);
}

.demo-section {
    background: var(--paper-deep);
}

.demo-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.demo-copy p:last-child {
    margin-top: 22px;
    font-size: 19px;
}

.video-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-1);
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

.video-card iframe,
.video-card video {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    object-fit: cover;
}

.mission-section {
    background: var(--paper);
}

.mission-card {
    max-width: 980px;
    padding: 52px;
    border-left: 4px solid var(--accent);
    background: var(--white);
    box-shadow: 0 16px 48px rgba(36, 28, 21, 0.08);
}

.mission-card p:last-child {
    margin-top: 24px;
    font-size: 20px;
}

.team-section {
    background: var(--paper-deep);
}

.team-grid > .team-card,
.use-case,
.roadmap-grid article {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transform: translateZ(0);
    transform-style: preserve-3d;
    box-shadow: 0 14px 34px rgba(36, 28, 21, 0.06);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.team-grid > .team-card {
    min-height: 700px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-card:hover,
.team-card:focus-within,
.use-case:hover,
.use-case:focus-within,
.roadmap-grid article:hover,
.roadmap-grid article:focus-within {
    border-color: rgba(200, 69, 58, 0.44);
    box-shadow:
        0 24px 70px rgba(36, 28, 21, 0.18),
        0 0 0 1px rgba(200, 69, 58, 0.08);
    transform: translateY(-10px) rotateX(var(--card-tilt-y, 0deg))
        rotateY(var(--card-tilt-x, 0deg));
}

.team-card > *,
.use-case > *,
.roadmap-grid article > * {
    position: relative;
    z-index: 2;
}

.avatar {
    width: 100%;
    height: 220px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 800;
}

.avatar-photo {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.94) contrast(1);
    transition:
        filter 0.28s ease,
        transform 0.35s ease;
}

.team-card:hover .avatar-photo,
.team-card:focus-within .avatar-photo {
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.035);
}

.team-role {
    margin-bottom: 10px;
    color: var(--accent);
}

.team-location {
    margin-bottom: 16px;
    color: var(--ink-soft);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.team-card b {
    color: var(--accent);
}

.team-link {
    width: fit-content;
    margin-top: auto;
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.linkedin-link {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-mono);
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.team-card:hover .linkedin-link,
.team-card:focus-within .linkedin-link {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.js .motion-reveal {
    opacity: 0;
}

.linkedin-link:hover {
    background: var(--accent);
}

.work-with-us-section {
    padding-top: 48px;
    background: var(--paper-deep);
}

.work-with-us-panel {
    padding: 40px 42px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 16px 42px rgba(13, 13, 15, 0.08);
}

.work-with-us-eyebrow {
    margin-bottom: 18px;
}

.work-with-us-copy {
    width: min(900px, 100%);
    min-height: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.work-with-us-header {
    display: flex;
    justify-content: center;
    width: 100%;
}

.work-with-us-copy h2 {
    margin-top: 0;
    width: 100%;
    font-size: clamp(34px, 4vw, 54px);
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.08;
    margin-inline: auto;
    text-wrap: nowrap;
}

.work-with-us-description {
    max-width: 620px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 17px;
}

.work-with-us-copy .btn {
    margin-top: 32px;
    align-self: center;
}

.tally-embed {
    min-height: 620px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 18px 46px rgba(13, 13, 15, 0.1);
}

.tally-embed iframe {
    display: block;
    width: 100%;
    min-height: 620px;
}

.roadmap-section {
    background: var(--paper);
}

.roadmap-grid article {
    min-height: 280px;
}

.roadmap-grid span {
    display: block;
    margin-bottom: 42px;
    color: var(--blue-dim);
}

.access-section {
    padding-top: 48px;
    background: var(--paper);
}

.access-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
    padding: 48px;
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: var(--white);
}

.access-panel h2 {
    color: var(--white);
}

.access-panel p {
    max-width: 640px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 18px;
}

.site-footer {
    padding: 42px 6vw;
    display: flex;
    justify-content: space-between;
    gap: 32px;
    border-top: 1px solid var(--line);
    background: var(--paper-deep);
}

.site-footer > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
    text-align: right;
}

.site-footer p {
    flex-basis: 100%;
    color: var(--muted);
    font-size: 13px;
}

.blog-hero {
    min-height: 78vh;
    padding-top: 132px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.blog-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 56px;
    align-items: end;
}

.blog-hero h1 {
    max-width: 860px;
    font-size: clamp(52px, 6.4vw, 96px);
}

.blog-intro {
    max-width: 650px;
    margin-top: 26px;
    color: var(--ink-soft);
    font-size: 21px;
}

.blog-collab {
    margin-top: 18px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.5;
}

.blog-collab a {
    color: var(--accent);
    text-decoration-color: rgba(200, 69, 58, 0.42);
}

.substack-card {
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 18px 44px rgba(36, 28, 21, 0.08);
}

.substack-card h2 {
    margin-top: 12px;
    font-size: 44px;
}

.substack-card h2 em {
    color: var(--accent);
    font-weight: 400;
    font-style: italic;
}

.substack-card p:not(.eyebrow) {
    margin-top: 14px;
    color: var(--muted);
}

.substack-actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-feed-section {
    background: var(--paper-deep);
}

.beta-page {
    min-height: 100vh;
    padding-top: 132px;
    background: var(--paper);
}

.beta-page-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 1fr);
    gap: 54px;
    align-items: start;
}

.beta-page-copy {
    position: sticky;
    top: 104px;
}

.beta-page-copy h1 {
    max-width: 680px;
    font-size: clamp(52px, 6vw, 88px);
}

.beta-page-copy > p:not(.eyebrow) {
    max-width: 560px;
    margin-top: 26px;
    color: var(--ink-soft);
    font-size: 20px;
    line-height: 1.65;
}

.beta-proof {
    margin-top: 38px;
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--line);
}

.beta-proof div {
    padding: 20px;
    background: rgba(255, 255, 255, 0.62);
}

.beta-proof dt {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.beta-proof dd {
    margin-top: 8px;
    color: var(--muted);
}

.beta-form-panel {
    min-height: 720px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 18px 46px rgba(13, 13, 15, 0.1);
}

.beta-form-panel iframe {
    display: block;
    width: 100%;
    min-height: 720px;
}

.legal-page {
    padding: 132px 20px 72px;
    background: linear-gradient(
        to bottom,
        var(--paper) 0,
        var(--paper-deep) 100%
    );
}

.legal-shell {
    width: min(920px, 100%);
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 30px;
}

.legal-header h1 {
    margin-top: 14px;
    margin-bottom: 10px;
    font-size: clamp(44px, 5.6vw, 72px);
}

.legal-meta {
    max-width: 70ch;
    color: var(--ink-soft);
    font-size: 18px;
}

.legal-card {
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 18px 44px rgba(36, 28, 21, 0.08);
}

.legal-card h3 {
    margin-top: 34px;
    margin-bottom: 12px;
    font-size: 28px;
}

.legal-card h3:first-of-type {
    margin-top: 0;
}

.legal-card p,
.legal-card li {
    color: var(--ink-soft);
    font-size: 18px;
}

.legal-card p + p,
.legal-card ul + p,
.legal-card p + ul,
.legal-card ul + ul {
    margin-top: 18px;
}

.legal-card ul {
    padding-left: 20px;
}

.legal-card li + li {
    margin-top: 10px;
}

.legal-card a:not(.btn) {
    color: var(--ink);
    text-decoration-color: var(--line);
}

.legal-backlink {
    margin-top: 32px;
}

.blog-feed-header {
    margin-bottom: 34px;
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: end;
}

.blog-feed-header h2 {
    margin-top: 14px;
    font-size: clamp(34px, 4vw, 58px);
}

.post-date,
.post-link {
    color: var(--blue-dim);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.blog-post {
    min-height: 520px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
}

.blog-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--paper);
}

.blog-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post:hover .blog-image img {
    transform: scale(1.025);
}

.blog-post-body {
    flex: 1;
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.blog-post h3 {
    margin-top: 18px;
    margin-bottom: 14px;
    font-size: 31px;
}

.blog-post h3 a {
    text-decoration: none;
}

.blog-post-body > p:not(.post-date) {
    color: var(--muted);
}

.post-link {
    width: fit-content;
    margin-top: auto;
    padding-top: 28px;
    color: var(--ink);
    text-decoration-color: var(--line);
}

.blog-skeleton {
    min-height: 520px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.42),
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0.42)
        ),
        var(--paper);
    background-size:
        240px 100%,
        100% 100%;
    animation: blog-loading 1.2s linear infinite;
}

@keyframes blog-loading {
    from {
        background-position:
            -240px 0,
            0 0;
    }

    to {
        background-position:
            calc(100% + 240px) 0,
            0 0;
    }
}

@keyframes claim-logo-sequence {
    0% {
        opacity: 0;
        transform: translateY(-22px) scale(1.1);
    }

    24% {
        opacity: 1;
        transform: translateY(0) scale(1.1);
    }

    58% {
        opacity: 1;
        transform: translateY(0) scale(1.1);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(0.9);
    }
}

@keyframes claim-copy-enter {
    from {
        opacity: 0;
        clip-path: inset(0 0 100% 0);
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
    }
}

@media (max-width: 1120px) {
    .claim-manuscripts {
        mask-image: linear-gradient(
            90deg,
            black 0,
            black 14%,
            transparent 26%,
            transparent 74%,
            black 86%,
            black 100%
        );
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 116px;
    }

    .hero-copy {
        max-width: 780px;
    }

    .workspace-preview {
        min-height: auto;
    }

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

@media (max-width: 900px) {
    .site-nav {
        padding: 0 18px;
    }

    .beta-nav .nav-logo {
        left: 18px;
    }

    .nav-toggle {
        display: inline-flex;
        order: 3;
    }

    .nav-cta {
        margin-left: auto;
    }

    .nav-links {
        position: absolute;
        left: 18px;
        right: 18px;
        top: calc(100% + 10px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--white);
        box-shadow: 0 20px 40px rgba(21, 21, 21, 0.12);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        padding: 16px 18px;
        border-bottom: 1px solid var(--line);
    }

    .nav-links a:last-child {
        border-bottom: 0;
    }

    .split,
    .blog-hero-inner,
    .demo-grid,
    .work-with-us-panel,
    .beta-page-grid,
    .access-panel {
        grid-template-columns: 1fr;
    }

    .beta-page-copy {
        position: static;
    }

    .use-case-grid,
    .team-grid,
    .roadmap-grid {
        grid-template-columns: 1fr;
    }

    .claim-band {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .claim-manuscripts {
        mask-image: none;
    }

    .claim-paper-one,
    .claim-paper-four {
        display: none;
    }

    .work-with-us-header {
        align-items: start;
        flex-direction: column;
    }

    .access-panel {
        padding: 34px;
    }

    .access-panel .btn {
        width: 100%;
    }

    .blog-feed-header {
        display: block;
    }

    .blog-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .site-nav {
        min-height: 66px;
    }

    .nav-logo {
        font-size: 23px;
    }

    .nav-cta {
        display: none;
    }

    .hero,
    section {
        padding-inline: 20px;
    }

    .hero {
        min-height: auto;
        padding-top: 106px;
        gap: 38px;
    }

    .claim-section {
        padding-top: 106px;
        padding-bottom: 86px;
    }

    .claim-paper {
        opacity: 0.56;
    }

    h1 {
        font-size: 54px;
    }

    h2 {
        font-size: 38px;
    }

    .hero-proof,
    .workspace-preview,
    .workflow-list {
        grid-template-columns: 1fr;
    }

    .hero-proof div {
        min-height: auto;
    }

    .paper-pane,
    .assistant-pane {
        padding: 24px;
    }

    .paper-pane h2 {
        font-size: 34px;
    }

    .paper-pane p {
        font-size: 16px;
    }

    .use-case,
    .team-card,
    .roadmap-grid article,
    .workflow-list article {
        min-height: auto;
        padding: 24px;
    }

    .team-card {
        min-height: 700px;
    }

    .avatar,
    .avatar-photo {
        height: 260px;
    }

    .mission-card {
        padding: 30px;
    }

    .work-with-us-panel {
        padding: 28px 24px;
    }

    .work-with-us-copy h2 {
        width: 100%;
        font-size: clamp(30px, 7vw, 42px);
        text-wrap: balance;
    }

    .site-footer {
        flex-direction: column;
    }

    .site-footer > div {
        justify-content: flex-start;
        text-align: left;
    }

    .blog-hero {
        min-height: auto;
        padding-top: 106px;
    }

    .legal-page {
        padding-top: 106px;
        padding-bottom: 48px;
    }

    .legal-card {
        padding: 28px;
    }

    .beta-page {
        padding-top: 106px;
    }

    .beta-form-panel,
    .tally-embed,
    .tally-embed iframe,
    .beta-form-panel iframe {
        min-height: 680px;
    }

    .substack-card,
    .blog-post-body {
        padding: 24px;
    }

    .blog-post,
    .blog-skeleton {
        min-height: auto;
    }

    .substack-actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
