:root,
html[data-theme="light"] {
    color-scheme: light;
    --page: #fbfaf6;
    --page-soft: #f6f3eb;
    --surface: #ffffff;
    --surface-2: #f5f3ed;
    --surface-3: #ece9df;
    --ink: #17150f;
    --ink-soft: #5d5a51;
    --muted: #8d897e;
    --line: rgba(23, 21, 15, 0.11);
    --line-strong: rgba(23, 21, 15, 0.18);
    --accent: #ffb91c;
    --accent-strong: #e99a00;
    --accent-soft: #fff0b9;
    --accent-ink: #211a06;
    --green: #94bc58;
    --coral: #ff806c;
    --blue: #73a8e8;
    --shadow: 0 34px 100px rgba(64, 49, 8, 0.13), 0 8px 24px rgba(38, 31, 12, 0.08);
    --nav: rgba(255, 255, 252, 0.78);
    --grid: rgba(37, 31, 13, 0.05);
    --window-bar: #1f201f;
    --window-bar-ink: #f5f2e9;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --page: #090906;
    --page-soft: #0f0f0b;
    --surface: #14140f;
    --surface-2: #1b1a14;
    --surface-3: #25231b;
    --ink: #f5f2e9;
    --ink-soft: #b9b5aa;
    --muted: #817e74;
    --line: rgba(255, 248, 225, 0.11);
    --line-strong: rgba(255, 248, 225, 0.19);
    --accent: #ffc329;
    --accent-strong: #f2a900;
    --accent-soft: #3a2b05;
    --accent-ink: #171205;
    --green: #a8cb69;
    --coral: #ff8e77;
    --blue: #82b4ed;
    --shadow: 0 38px 120px rgba(0, 0, 0, 0.5), 0 8px 24px rgba(0, 0, 0, 0.35);
    --nav: rgba(17, 17, 12, 0.8);
    --grid: rgba(255, 244, 205, 0.045);
    --window-bar: #050504;
    --window-bar-ink: #f7f3e9;
}

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

html {
    scroll-behavior: smooth;
    background: var(--page);
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    overflow-x: clip;
    background: var(--page);
    color: var(--ink);
    font-family: "Manrope", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    transition: background-color 260ms ease, color 260ms ease;
}

button,
a {
    font: inherit;
}

button {
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--accent) 68%, transparent);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    z-index: 200;
    top: 12px;
    left: 16px;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--ink);
    color: var(--page);
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

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

html:not([data-session="in"]) .signed-in-only {
    display: none !important;
}

html[data-session="in"] .guest-only {
    display: none !important;
}

.page-noise {
    display: none;
}

.ambient {
    position: fixed;
    z-index: 0;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.12;
}

.ambient-one {
    top: 80px;
    left: -360px;
    background: #ffd65a;
}

.ambient-two {
    top: 330px;
    right: -420px;
    background: #ff9a61;
}

html[data-color-theme="blue"] .ambient-one {
    background: #4aa3c7;
}

html[data-color-theme="blue"] .ambient-two {
    background: #7eb6d4;
}

html[data-theme="dark"] .ambient {
    opacity: 0.08;
}

main,
.site-footer,
.site-header {
    position: relative;
    z-index: 1;
}

.section-shell {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

.site-header {
    position: fixed;
    z-index: 80;
    top: 18px;
    right: 0;
    left: 0;
    padding-inline: 24px;
}

.nav-shell {
    display: flex;
    width: min(1120px, 100%);
    min-height: 64px;
    margin-inline: auto;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px 8px 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--nav);
    box-shadow: 0 10px 38px rgba(23, 20, 10, 0.07);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.site-header.is-scrolled .nav-shell {
    border-color: var(--line-strong);
    box-shadow: 0 14px 46px rgba(23, 20, 10, 0.12);
    transform: translateY(-4px);
}

html[data-theme="dark"] .nav-shell {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.brand-mark {
    display: inline-grid;
    width: 40px;
    height: 40px;
    overflow: hidden;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-name {
    font-size: 15px;
}

.nav-panel {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(24px, 4vw, 58px);
}

.nav-links,
.nav-actions {
    display: flex;
    align-items: center;
}

.nav-links {
    gap: 32px;
}

.nav-links a {
    position: relative;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 600;
    transition: color 160ms ease;
}

.nav-links a::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--accent);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

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

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-actions {
    gap: 9px;
}

.nav-login {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    padding: 0 17px;
    border-radius: 12px;
    background: var(--ink);
    color: var(--page);
    font-size: 13px;
    font-weight: 700;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav-login:hover {
    box-shadow: 0 9px 20px color-mix(in srgb, var(--ink) 17%, transparent);
    transform: translateY(-1px);
}

.color-theme-picker {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 2px;
    pointer-events: auto;
}

.color-theme-label {
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.color-theme-swatch {
    width: 22px;
    height: 22px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(23, 21, 15, 0.14);
    cursor: pointer;
}

.color-theme-swatch.is-warm {
    background: #ffb91c;
}

.color-theme-swatch.is-blue {
    background: #4aa3c7;
}

.color-theme-swatch.is-selected,
.color-theme-swatch[aria-checked="true"] {
    box-shadow: 0 0 0 2px var(--page), 0 0 0 4px var(--ink);
}

.color-theme-swatch:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent);
    outline-offset: 2px;
}

html[data-color-theme="blue"][data-theme="light"] {
    --page: #e8f1f6;
    --page-soft: #dce8f1;
    --surface: #ffffff;
    --surface-2: #eef5f9;
    --surface-3: #d9e6ef;
    --ink: #163042;
    --ink-soft: #4d6778;
    --muted: #6b8494;
    --line: rgba(22, 48, 66, 0.12);
    --line-strong: rgba(22, 48, 66, 0.2);
    --accent: #4aa3c7;
    --accent-strong: #2e86ab;
    --accent-soft: #cfe8f3;
    --accent-ink: #102736;
    --green: #2d8a78;
    --nav: rgba(248, 252, 255, 0.82);
    --grid: rgba(22, 48, 66, 0.05);
    --shadow: 0 34px 100px rgba(22, 48, 66, 0.12), 0 8px 24px rgba(22, 48, 66, 0.08);
}

.theme-toggle {
    display: grid;
    width: 50px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    place-items: center;
}

.theme-toggle-track {
    position: relative;
    display: block;
    width: 38px;
    height: 22px;
    border: 1px solid var(--line-strong);
    border-radius: 99px;
    background: var(--surface-2);
}

.theme-toggle-thumb {
    position: absolute;
    z-index: 2;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 2px 6px rgba(44, 29, 0, 0.2);
    transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), background 180ms ease;
}

html[data-theme="dark"] .theme-toggle-thumb {
    transform: translateX(16px);
}

.theme-icon {
    position: absolute;
    z-index: 1;
    top: 5px;
    width: 10px;
    height: 10px;
    stroke: var(--muted);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.theme-icon-sun {
    right: 5px;
}

.theme-icon-moon {
    left: 5px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    margin: 5px auto;
    border-radius: 99px;
    background: var(--ink);
    transition: transform 180ms ease;
}

.hero {
    padding-top: 172px;
}

.hero::before {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 50%;
    width: min(1380px, 100vw);
    height: 900px;
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-position: center;
    background-size: 64px 64px;
    content: "";
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 64%, transparent 94%);
    transform: translateX(-50%);
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 970px;
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 8px;
    padding: 5px 7px 5px 11px;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 24px rgba(38, 30, 8, 0.05);
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 19%, transparent);
}

.eyebrow-new {
    padding: 2px 7px;
    border-radius: 99px;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 9px;
    letter-spacing: 0.08em;
}

.hero h1 {
    max-width: 960px;
    margin: 30px auto 24px;
    font-family: "Manrope", "Noto Sans SC", sans-serif;
    font-size: clamp(3.45rem, 7vw, 6.4rem);
    font-weight: 900;
    letter-spacing: -0.075em;
    line-height: 1.03;
}

.hero h1 span {
    position: relative;
    display: inline-block;
    color: var(--ink);
}

.hero h1 span::after {
    position: absolute;
    z-index: -1;
    right: 1%;
    bottom: 0.02em;
    left: 2%;
    height: 0.18em;
    border-radius: 99px;
    background: var(--accent);
    content: "";
    opacity: 0.9;
    transform: rotate(-1.1deg);
}

.hero-lead {
    margin: 0 auto;
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.4vw, 1.16rem);
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.hero-access {
    max-width: 36rem;
    margin: 18px auto 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.7;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 750;
    transition: transform 180ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--accent);
    box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 28%, transparent);
    color: var(--accent-ink);
}

.button-primary:hover {
    background: color-mix(in srgb, var(--accent) 88%, white);
    box-shadow: 0 16px 38px color-mix(in srgb, var(--accent) 34%, transparent);
}

.button-primary svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.button-secondary {
    border-color: var(--line-strong);
    background: color-mix(in srgb, var(--surface) 78%, transparent);
    color: var(--ink);
}

.button-secondary:hover {
    border-color: color-mix(in srgb, var(--ink) 28%, transparent);
    background: var(--surface);
}

.play-dot {
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-3);
    color: var(--ink-soft);
    font-size: 8px;
}

.hero-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 26px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-proof i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
}

.product-stage {
    position: relative;
    max-width: 1180px;
    margin: 78px auto 0;
    padding: 0 18px 78px;
}

.stage-glow {
    position: absolute;
    z-index: -1;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    filter: blur(78px);
    opacity: 0.24;
}

.stage-glow-left {
    bottom: 20px;
    left: -230px;
    background: #ffce35;
}

.stage-glow-right {
    top: 80px;
    right: -240px;
    background: #ff936c;
}

html[data-theme="dark"] .stage-glow {
    opacity: 0.13;
}

.product-window {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.product-window::after {
    position: absolute;
    z-index: 8;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

html[data-theme="dark"] .product-window::after {
    border-color: rgba(255, 255, 255, 0.06);
}

.window-bar {
    display: grid;
    height: 52px;
    grid-template-columns: 120px 1fr auto 1fr;
    align-items: center;
    padding: 0 17px;
    background: var(--window-bar);
    color: var(--window-bar-ink);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff675f;
}

.window-dots i:nth-child(2) {
    background: #ffbd38;
}

.window-dots i:nth-child(3) {
    background: #63c858;
}

.window-brand {
    display: flex;
    justify-self: start;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
}

.window-brand img {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    object-fit: cover;
}

.window-context {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    justify-self: center;
    color: rgba(255, 255, 255, 0.58);
    font-size: 10px;
}

.window-context span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #70cb63;
    box-shadow: 0 0 0 3px rgba(112, 203, 99, 0.12);
}

.window-tools {
    display: flex;
    justify-self: end;
    align-items: center;
    gap: 8px;
}

.window-tools i {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 7px;
}

.window-tools b {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 9px;
}

.product-shot-wrap {
    background: var(--surface-2);
}

.product-shot {
    display: block;
    width: 100%;
    height: auto;
}

.workspace {
    display: grid;
    height: 560px;
    grid-template-columns: 58px 248px minmax(360px, 1fr) 232px;
    background: var(--surface-2);
}

.workspace-rail {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 22px;
    padding: 14px 9px;
    border-right: 1px solid var(--line);
    background: var(--surface);
}

.rail-logo {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 9px;
    background: var(--ink);
    color: var(--page);
    font-size: 9px;
    font-weight: 800;
}

.rail-group {
    display: grid;
    gap: 7px;
}

.rail-item {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 10px;
    color: var(--muted);
}

.rail-item.active {
    background: var(--accent-soft);
    color: color-mix(in srgb, var(--accent-strong) 72%, var(--ink));
}

.rail-item svg {
    width: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.rail-bottom {
    margin-top: auto;
}

.mail-column {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    border-right: 1px solid var(--line);
    background: var(--surface);
}

.mail-column-head {
    display: flex;
    height: 74px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.section-kicker {
    display: block;
    color: var(--muted);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.mail-column-head h2 {
    margin: 2px 0 0;
    font-size: 16px;
    line-height: 1.25;
}

.mail-column-head button {
    display: grid;
    width: 28px;
    height: 28px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 16px;
    cursor: pointer;
}

.mail-filter {
    display: flex;
    height: 32px;
    align-items: flex-end;
    gap: 18px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
}

.mail-filter span {
    position: relative;
    height: 28px;
}

.mail-filter span.active {
    color: var(--ink);
}

.mail-filter span.active::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--accent);
    content: "";
}

.mail-filter b {
    display: inline-grid;
    min-width: 15px;
    height: 15px;
    margin-left: 3px;
    place-items: center;
    border-radius: 99px;
    background: var(--accent-soft);
    font-size: 7px;
}

.conversation-list {
    display: grid;
    gap: 6px;
    padding: 9px;
}

.conversation {
    display: grid;
    min-width: 0;
    min-height: 94px;
    grid-template-columns: 35px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 13px 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.conversation:hover {
    background: var(--surface-2);
}

.conversation.active {
    border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
    background: color-mix(in srgb, var(--accent-soft) 56%, var(--surface));
    transform: translateX(2px);
}

.avatar {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
    color: #1b1711;
    font-style: normal;
    font-weight: 800;
}

.conversation .avatar {
    width: 35px;
    height: 35px;
    font-size: 9px;
}

.avatar-coral {
    background: #ffb4a6;
}

.avatar-blue {
    background: #a9ccf5;
}

.avatar-green {
    background: #c3d99b;
}

.conversation-copy {
    display: block;
    min-width: 0;
}

.conversation-copy b,
.conversation-copy small,
.conversation-copy em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-copy b {
    font-size: 10px;
}

.conversation-copy small {
    margin-top: 2px;
    color: var(--ink-soft);
    font-size: 9px;
    font-weight: 650;
}

.conversation-copy em {
    margin-top: 6px;
    color: var(--muted);
    font-size: 8px;
    font-style: normal;
}

.conversation-meta {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    justify-content: space-between;
    color: var(--muted);
    font-size: 7px;
}

.conversation-meta i {
    display: grid;
    width: 15px;
    height: 15px;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 7px;
    font-style: normal;
    font-weight: 800;
}

.mail-list-foot {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: auto 12px 12px;
    padding: 9px 11px;
    border-radius: 9px;
    background: var(--surface-2);
    color: var(--muted);
    font-size: 8px;
}

.mail-list-foot span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent);
}

.message-pane {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 18px;
    background: var(--surface-2);
}

.message-head {
    display: flex;
    min-height: 62px;
    align-items: flex-start;
    justify-content: space-between;
}

.intent-pill {
    display: inline-flex;
    padding: 3px 8px;
    border: 1px solid color-mix(in srgb, var(--green) 48%, var(--line));
    border-radius: 99px;
    background: color-mix(in srgb, var(--green) 15%, var(--surface));
    color: color-mix(in srgb, var(--green) 55%, var(--ink));
    font-size: 7px;
    font-weight: 800;
}

.message-head h2 {
    margin: 6px 0 0;
    font-size: 15px;
    line-height: 1.3;
}

.message-head-actions {
    display: flex;
    gap: 5px;
}

.message-head-actions button {
    width: 27px;
    height: 27px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--muted);
    font-size: 10px;
}

.incoming-message,
.reply-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.incoming-message {
    padding: 14px;
}

.sender-row {
    display: flex;
    align-items: center;
    gap: 9px;
}

.sender-row .avatar {
    width: 32px;
    height: 32px;
    font-size: 8px;
}

.sender-row span:nth-child(2) {
    display: grid;
    line-height: 1.35;
}

.sender-row b {
    font-size: 9px;
}

.sender-row small {
    color: var(--muted);
    font-size: 7px;
}

.sender-row time {
    margin-left: auto;
    color: var(--muted);
    font-size: 7px;
}

.incoming-message p {
    margin: 12px 0 0;
    color: var(--ink-soft);
    font-size: 9px;
    line-height: 1.75;
}

.reply-card {
    position: relative;
    margin-top: 13px;
    padding: 14px;
    border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
    box-shadow: inset 3px 0 0 var(--accent);
}

.reply-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-spark {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 13px;
}

.reply-card-head > span:nth-child(2) {
    display: grid;
    line-height: 1.3;
}

.reply-card-head b {
    font-size: 9px;
}

.reply-card-head small {
    color: var(--muted);
    font-size: 7px;
}

.ready-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    color: var(--muted);
    font-size: 7px;
}

.ready-pill i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
}

.reply-card > p {
    min-height: 76px;
    margin: 13px 0 0;
    color: var(--ink-soft);
    font-size: 9px;
    line-height: 1.75;
}

.reply-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 13px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.reply-toolbar > div {
    display: flex;
    gap: 4px;
}

.reply-toolbar button {
    min-height: 24px;
    padding: 0 7px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface-2);
    color: var(--ink-soft);
    font-size: 7px;
    cursor: pointer;
}

.reply-toolbar .send-demo {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 800;
}

.assistant-column {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 15px 13px;
    border-left: 1px solid var(--line);
    background: var(--surface);
}

.assistant-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--line);
}

.assistant-head > span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 8px;
    background: var(--ink);
    color: var(--accent);
    font-size: 12px;
}

.assistant-head div {
    display: grid;
    line-height: 1.25;
}

.assistant-head b {
    font-size: 9px;
}

.assistant-head small {
    color: var(--muted);
    font-size: 7px;
}

.assistant-head > i {
    width: 6px;
    height: 6px;
    margin-left: auto;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent);
}

.confidence-card {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 11px;
    border-radius: 12px;
    background: var(--surface-2);
}

.confidence-ring {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    border-radius: 50%;
    background:
        radial-gradient(circle, var(--surface-2) 54%, transparent 56%),
        conic-gradient(var(--accent) 0 var(--score, 96%), var(--surface-3) var(--score, 96%) 100%);
    text-align: center;
}

.confidence-ring b {
    font-size: 11px;
    line-height: 1;
}

.confidence-ring span {
    color: var(--muted);
    font-size: 6px;
    line-height: 1;
}

.confidence-card > div:last-child {
    display: grid;
    line-height: 1.4;
}

.confidence-card small,
.analysis-label {
    color: var(--muted);
    font-size: 7px;
}

.confidence-card > div:last-child b {
    font-size: 8px;
}

.analysis-block {
    padding: 14px 2px;
    border-bottom: 1px solid var(--line);
}

.analysis-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.analysis-block p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 8px;
    line-height: 1.7;
}

.analysis-block dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.analysis-block dl div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.analysis-block dt {
    color: var(--muted);
    font-size: 7px;
}

.analysis-block dd {
    margin: 0;
    padding: 2px 6px;
    border-radius: 5px;
    background: var(--surface-2);
    font-size: 7px;
    font-weight: 750;
}

.assistant-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    color: var(--muted);
    font-size: 7px;
}

.assistant-foot span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.assistant-foot i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
}

.assistant-foot button {
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink-soft);
    font-size: 7px;
}

.float-note {
    position: absolute;
    z-index: 5;
    display: flex;
    min-height: 60px;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    box-shadow: 0 16px 36px rgba(37, 29, 8, 0.12);
    backdrop-filter: blur(12px);
}

html[data-theme="dark"] .float-note {
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35);
}

.float-note-left {
    top: 42%;
    left: -45px;
    transform: rotate(-2deg);
}

.float-note-right {
    right: -52px;
    bottom: 25%;
    transform: rotate(1.5deg);
}

.float-note-icon {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border-radius: 10px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 900;
}

.float-note > span:last-child {
    display: grid;
    line-height: 1.35;
}

.float-note b {
    font-size: 10px;
}

.float-note small {
    color: var(--muted);
    font-size: 7px;
}

.avatar-stack {
    display: flex;
    padding-left: 7px;
}

.avatar-stack i {
    display: grid;
    width: 27px;
    height: 27px;
    margin-left: -7px;
    place-items: center;
    border: 2px solid var(--surface);
    border-radius: 50%;
    background: #ffb4a6;
    color: #1b1711;
    font-size: 6px;
    font-style: normal;
    font-weight: 800;
}

.avatar-stack i:nth-child(2) {
    background: #a9ccf5;
}

.avatar-stack i:nth-child(3) {
    background: #c3d99b;
}

.capability-strip {
    display: grid;
    margin-top: 6px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    grid-template-columns: repeat(3, 1fr);
}

.capability-strip div {
    display: flex;
    min-height: 62px;
    align-items: center;
    gap: 15px;
    justify-content: center;
    padding: 0 24px;
}

.capability-strip div + div {
    border-left: 1px solid var(--line);
}

.capability-strip strong {
    color: var(--accent-strong);
    font-size: 23px;
    letter-spacing: -0.05em;
}

.capability-strip span {
    max-width: 150px;
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.55;
}

.features,
.workflow,
.team-section,
.closing {
    padding-top: 150px;
}

.section-heading {
    display: grid;
    max-width: 760px;
    grid-template-columns: 1fr;
}

.section-index {
    color: var(--accent-strong);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading h2,
.workflow-intro h2,
.team-copy h2,
.closing h2 {
    margin: 16px 0 0;
    font-size: clamp(2.55rem, 5vw, 4.65rem);
    font-weight: 850;
    letter-spacing: -0.065em;
    line-height: 1.08;
}

.section-heading p {
    max-width: 610px;
    margin: 22px 0 0;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.8;
}

.feature-grid {
    display: grid;
    margin-top: 58px;
    grid-template-columns: minmax(0, 1.32fr) minmax(330px, 0.68fr);
    gap: 18px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--surface);
}

.feature-card::before {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: var(--accent);
    content: "";
    filter: blur(80px);
    opacity: 0.1;
}

.feature-understand {
    display: grid;
    min-height: 540px;
    grid-row: span 2;
    grid-template-rows: auto 1fr;
    padding: 46px;
}

.feature-understand::before {
    right: -90px;
    bottom: -100px;
}

.feature-card-copy {
    position: relative;
    z-index: 2;
    max-width: 520px;
}

.feature-number {
    display: block;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.feature-card h3 {
    margin: 14px 0 0;
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.15;
}

.feature-card p {
    max-width: 520px;
    margin: 16px 0 0;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.8;
}

.feature-card-copy > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 750;
}

.feature-card-copy > a span {
    color: var(--accent-strong);
}

.signal-board {
    align-self: end;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface-2);
    transform: rotate(-1deg) translateY(14px);
}

.signal-line {
    display: grid;
    min-height: 58px;
    align-items: center;
    grid-template-columns: 96px 1fr 32px;
    gap: 12px;
    color: var(--muted);
    font-size: 10px;
}

.signal-line + .signal-line {
    border-top: 1px solid var(--line);
}

.signal-line i {
    position: relative;
    height: 5px;
    overflow: hidden;
    border-radius: 99px;
    background: var(--surface-3);
}

.signal-line i::after {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--value);
    border-radius: inherit;
    background: var(--ink-soft);
    content: "";
}

.signal-line.active {
    color: var(--ink);
    font-weight: 750;
}

.signal-line.active i::after {
    background: var(--accent);
}

.signal-line b {
    justify-self: end;
    font-size: 11px;
}

.signal-caption {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 9px;
    padding-top: 15px;
    border-top: 1px dashed var(--line-strong);
    color: var(--muted);
    font-size: 9px;
}

.signal-caption i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
}

.feature-voice,
.feature-team {
    min-height: 260px;
    padding: 34px;
}

.feature-voice::before {
    top: -120px;
    right: -90px;
}

.feature-icon {
    position: absolute;
    top: 28px;
    right: 28px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 19px;
    transform: rotate(7deg);
}

.feature-voice h3,
.feature-team h3 {
    max-width: 310px;
    font-size: 27px;
}

.voice-sample {
    display: grid;
    gap: 7px;
    margin-top: 24px;
}

.voice-sample span {
    height: 6px;
    border-radius: 99px;
    background: var(--surface-3);
}

.voice-sample span:nth-child(1) {
    width: 88%;
}

.voice-sample span:nth-child(2) {
    width: 74%;
}

.voice-sample span:nth-child(3) {
    width: 57%;
}

.voice-sample b {
    margin-top: 5px;
    color: var(--accent-strong);
    font-size: 8px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.feature-team {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 0.8fr) minmax(180px, 1fr);
    gap: 24px;
}

.feature-team::before {
    right: -130px;
    bottom: -120px;
}

.feature-team p {
    font-size: 12px;
}

.team-board {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 7px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-2);
    transform: rotate(1.5deg);
}

.team-task {
    display: grid;
    min-height: 54px;
    align-items: center;
    grid-template-columns: 30px 1fr 25px;
    gap: 8px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
}

.team-task .avatar {
    width: 30px;
    height: 30px;
    font-size: 7px;
}

.team-task > span {
    display: grid;
    line-height: 1.35;
}

.team-task b {
    font-size: 8px;
}

.team-task small {
    color: var(--muted);
    font-size: 7px;
}

.team-task > em {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: var(--page);
    font-size: 7px;
    font-style: normal;
}

.team-task.muted {
    opacity: 0.6;
}

.workflow {
    display: grid;
    grid-template-columns: minmax(300px, 0.76fr) minmax(520px, 1.24fr);
    gap: clamp(55px, 9vw, 125px);
}

.workflow-intro {
    align-self: start;
    position: sticky;
    top: 128px;
}

.workflow-intro h2 {
    font-size: clamp(2.7rem, 4.8vw, 4.3rem);
}

.workflow-intro p {
    max-width: 470px;
    margin: 23px 0 0;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.85;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--line-strong);
    font-size: 12px;
    font-weight: 750;
}

.text-link span {
    color: var(--accent-strong);
}

.workflow-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.workflow-list li {
    display: grid;
    min-height: 178px;
    align-items: center;
    grid-template-columns: 34px 54px minmax(0, 1fr) auto;
    gap: 20px;
    border-top: 1px solid var(--line);
}

.workflow-list li:last-child {
    border-bottom: 1px solid var(--line);
}

.workflow-step {
    align-self: start;
    margin-top: 39px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
}

.workflow-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface);
    color: var(--ink);
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.workflow-list li:hover .workflow-icon {
    background: var(--accent);
    color: var(--accent-ink);
    transform: rotate(-4deg) scale(1.05);
}

.workflow-icon svg {
    width: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.workflow-list h3 {
    margin: 0;
    font-size: 19px;
    letter-spacing: -0.035em;
}

.workflow-list p {
    max-width: 420px;
    margin: 7px 0 0;
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.7;
}

.workflow-tag {
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 99px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 750;
}

.team-shell {
    position: relative;
    display: grid;
    min-height: 650px;
    overflow: hidden;
    grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1.08fr);
    gap: 70px;
    align-items: center;
    padding: 72px;
    border-radius: 34px;
    background: #111008;
    box-shadow: 0 30px 90px rgba(26, 20, 4, 0.18);
    color: #f7f3e7;
}

html[data-theme="dark"] .team-shell {
    border: 1px solid var(--line);
    background: #15130b;
}

.team-grid {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at 78% 52%, black 0, transparent 72%);
}

.team-shell::before {
    position: absolute;
    top: -150px;
    right: -80px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: var(--accent);
    content: "";
    filter: blur(110px);
    opacity: 0.13;
}

.team-copy,
.team-visual {
    position: relative;
    z-index: 2;
}

.team-copy .section-index {
    color: var(--accent);
}

.team-copy h2 {
    font-size: clamp(2.5rem, 4.2vw, 4rem);
}

.team-copy p {
    max-width: 490px;
    margin: 24px 0 0;
    color: rgba(247, 243, 231, 0.65);
    font-size: 14px;
    line-height: 1.85;
}

.button-on-dark {
    margin-top: 30px;
    background: var(--accent);
    color: var(--accent-ink);
}

.team-visual {
    min-height: 440px;
}

.collab-card {
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.075);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(14px);
}

.collab-main {
    position: absolute;
    top: 20px;
    right: 0;
    left: 0;
    padding: 24px;
    transform: rotate(1.5deg);
}

.collab-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.collab-head span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
    letter-spacing: 0.08em;
}

.collab-head b {
    color: var(--accent);
    font-size: 12px;
}

.progress-row {
    display: grid;
    min-height: 68px;
    align-items: center;
    grid-template-columns: 140px 1fr;
    gap: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-row > span {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 10px;
    font-weight: 650;
}

.progress-row .avatar {
    width: 29px;
    height: 29px;
    font-size: 7px;
}

.progress-row > b {
    position: relative;
    height: 6px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.1);
}

.progress-row > b::after {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--progress);
    border-radius: inherit;
    background: var(--accent);
    content: "";
}

.collab-note {
    position: absolute;
    right: -22px;
    bottom: 50px;
    display: grid;
    width: 275px;
    min-height: 76px;
    align-items: center;
    grid-template-columns: 38px 1fr 24px;
    gap: 11px;
    padding: 13px;
    transform: rotate(-2deg);
}

.collab-note > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 10px;
    font-weight: 800;
}

.collab-note p {
    display: grid;
    gap: 2px;
    margin: 0;
    line-height: 1.35;
}

.collab-note b {
    font-size: 10px;
}

.collab-note small {
    color: rgba(255, 255, 255, 0.52);
    font-size: 8px;
}

.collab-note > i {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    background: #9dcc69;
    color: #111008;
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
}

.collab-status {
    position: absolute;
    bottom: 34px;
    left: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 9px;
}

.collab-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9dcc69;
    box-shadow: 0 0 0 5px rgba(157, 204, 105, 0.1);
}

.closing {
    display: flex;
    min-height: 760px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 140px;
    text-align: center;
}

.closing-logo {
    display: grid;
    width: 78px;
    height: 78px;
    overflow: hidden;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 23px;
    background: var(--surface);
    box-shadow: 0 17px 40px rgba(40, 30, 4, 0.11);
    transform: rotate(-4deg);
}

.closing-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.closing-kicker {
    margin-top: 28px;
    color: var(--accent-strong);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.2em;
}

.closing h2 {
    font-size: clamp(3.2rem, 7.5vw, 6.8rem);
    line-height: 1.02;
}

.closing > p {
    max-width: 540px;
    margin: 25px auto 0;
    color: var(--ink-soft);
    font-size: 15px;
}

.site-footer {
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: grid;
    min-height: 120px;
    align-items: center;
    grid-template-columns: auto 1fr auto auto;
    gap: 28px;
}

.footer-brand .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
}

.footer-inner > p,
.footer-inner > small {
    color: var(--muted);
    font-size: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--ink-soft);
    font-size: 10px;
    font-weight: 650;
}

html.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

html.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-copy [data-reveal]:nth-child(2) {
    transition-delay: 70ms;
}

.hero-copy [data-reveal]:nth-child(3) {
    transition-delay: 130ms;
}

.hero-copy [data-reveal]:nth-child(4) {
    transition-delay: 190ms;
}

.hero-copy [data-reveal]:nth-child(5) {
    transition-delay: 240ms;
}

.send-demo.is-sent {
    background: var(--green);
    border-color: var(--green);
}

@media (max-width: 1140px) {
    .workspace {
        grid-template-columns: 54px 230px minmax(340px, 1fr);
    }

    .assistant-column {
        display: none;
    }

    .float-note-left {
        left: -12px;
    }

    .float-note-right {
        right: -15px;
    }

    .team-shell {
        gap: 42px;
        padding: 58px;
    }
}

@media (max-width: 960px) {
    .nav-links {
        gap: 19px;
    }

    .hero h1 {
        font-size: clamp(3.25rem, 9vw, 5.3rem);
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-understand {
        min-height: 520px;
        grid-row: auto;
    }

    .feature-voice,
    .feature-team {
        min-height: 300px;
    }

    .workflow {
        grid-template-columns: 1fr;
    }

    .workflow-intro {
        position: static;
        max-width: 680px;
    }

    .team-shell {
        grid-template-columns: 1fr;
        padding: 62px;
    }

    .team-copy {
        max-width: 680px;
    }

    .team-visual {
        min-height: 390px;
    }
}

@media (max-width: 780px) {
    .section-shell {
        width: min(100% - 30px, 620px);
    }

    .site-header {
        top: 10px;
        padding-inline: 10px;
    }

    .nav-shell {
        min-height: 58px;
        padding: 7px 8px 7px 11px;
        border-radius: 16px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .brand-name {
        font-size: 14px;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(3.25px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-3.25px) rotate(-45deg);
    }

    .nav-panel {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        display: grid;
        visibility: hidden;
        gap: 15px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: var(--nav);
        box-shadow: 0 18px 45px rgba(23, 20, 10, 0.12);
        opacity: 0;
        backdrop-filter: blur(18px) saturate(150%);
        transform: translateY(-8px) scale(0.98);
        transform-origin: top;
        transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    }

    .nav-panel.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .nav-links {
        display: grid;
        gap: 2px;
    }

    .nav-links a {
        padding: 10px 8px;
        border-radius: 9px;
    }

    .nav-links a:hover {
        background: var(--surface-2);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-actions {
        justify-content: space-between;
        padding-top: 10px;
        border-top: 1px solid var(--line);
    }

    .color-theme-picker {
        margin-right: auto;
    }

    .nav-login {
        flex: 1;
        justify-content: center;
    }

    .hero {
        padding-top: 136px;
    }

    .hero::before {
        background-size: 44px 44px;
    }

    .hero h1 {
        margin-top: 24px;
        font-size: clamp(2.85rem, 13vw, 4.5rem);
        letter-spacing: -0.065em;
    }

    .hero-lead {
        font-size: 14px;
        line-height: 1.8;
    }

    .desktop-break {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: min(100%, 340px);
    }

    .hero-access {
        max-width: 340px;
        font-size: 12px;
    }

    .hero-proof {
        flex-wrap: wrap;
        gap: 8px 16px;
    }

    .product-stage {
        margin-top: 52px;
        padding: 0 0 46px;
    }

    .float-note {
        display: none;
    }

    .product-window {
        border-radius: 17px;
    }

    .window-bar {
        height: 46px;
        grid-template-columns: 65px 1fr auto;
        padding: 0 11px;
    }

    .window-brand {
        justify-self: center;
    }

    .window-context,
    .window-tools i {
        display: none;
    }

    .window-tools {
        display: flex;
    }

    .workspace {
        height: 540px;
        grid-template-columns: 1fr;
    }

    .workspace-rail,
    .mail-column,
    .assistant-column {
        display: none;
    }

    .message-pane {
        padding: 17px 13px;
    }

    .message-head h2 {
        font-size: 17px;
    }

    .incoming-message {
        padding: 17px;
    }

    .incoming-message p,
    .reply-card > p {
        font-size: 11px;
    }

    .reply-card {
        margin-top: 12px;
        padding: 17px;
    }

    .reply-card > p {
        min-height: 130px;
        line-height: 1.85;
    }

    .reply-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .reply-toolbar > div {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .reply-toolbar button {
        min-height: 32px;
    }

    .capability-strip {
        grid-template-columns: 1fr;
    }

    .capability-strip div {
        min-height: 82px;
        justify-content: flex-start;
    }

    .capability-strip div + div {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .features,
    .workflow,
    .team-section,
    .closing {
        padding-top: 105px;
    }

    .section-heading h2,
    .workflow-intro h2,
    .team-copy h2 {
        font-size: clamp(2.3rem, 11vw, 3.5rem);
    }

    .feature-grid {
        margin-top: 38px;
    }

    .feature-understand,
    .feature-voice,
    .feature-team {
        min-height: auto;
        padding: 29px;
    }

    .feature-understand {
        gap: 36px;
    }

    .feature-team {
        grid-template-columns: 1fr;
    }

    .signal-board {
        padding: 18px;
        transform: none;
    }

    .signal-line {
        grid-template-columns: 75px 1fr 28px;
    }

    .workflow {
        gap: 45px;
    }

    .workflow-list li {
        min-height: 180px;
        grid-template-columns: 30px 48px 1fr;
        gap: 13px;
    }

    .workflow-icon {
        width: 46px;
        height: 46px;
    }

    .workflow-tag {
        display: none;
    }

    .team-shell {
        min-height: auto;
        gap: 40px;
        padding: 38px 24px;
        border-radius: 25px;
    }

    .team-visual {
        min-height: 350px;
    }

    .collab-main {
        padding: 17px;
    }

    .progress-row {
        grid-template-columns: 125px 1fr;
    }

    .collab-note {
        right: -7px;
        bottom: 25px;
        width: 245px;
    }

    .collab-status {
        bottom: 5px;
    }

    .closing {
        min-height: 680px;
        padding-bottom: 100px;
    }

    .closing h2 {
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .footer-inner {
        grid-template-columns: 1fr auto;
        gap: 12px 18px;
        padding: 28px 0;
    }

    .footer-inner > p {
        display: none;
    }

    .footer-links {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .footer-inner > small {
        grid-column: 2;
        grid-row: 1;
    }
}

@media (max-width: 420px) {
    .hero h1 {
        font-size: 2.75rem;
    }

    .eyebrow {
        font-size: 10px;
    }

    .feature-card h3 {
        font-size: 25px;
    }

    .team-shell {
        padding-inline: 20px;
    }

    .progress-row {
        grid-template-columns: 116px 1fr;
        gap: 9px;
    }

    .collab-note {
        width: 225px;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    html.reveal-ready [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
