:root {
    --ink: #17171b;
    --muted: #66656d;
    --paper: #fffdfb;
    --soft: #f6f2f3;
    --soft-blue: #edf2f5;
    --line: rgba(23, 23, 27, 0.11);
    --wine: #72051f;
    --wine-dark: #4c0013;
    --wine-light: #f4e6ea;
    --pink: #dca8bc;
    --green: #147a56;
    --shadow: 0 28px 80px rgba(39, 20, 27, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    letter-spacing: -0.035em;
    line-height: 1.08;
}

h1 {
    max-width: 790px;
    margin-bottom: 24px;
    font-size: clamp(2.65rem, 4.2vw, 4.45rem);
}

.intent-page h1 {
    font-size: clamp(2.55rem, 3.4vw, 3.75rem);
}

h2 {
    margin-bottom: 22px;
    font-size: clamp(2.1rem, 4vw, 3.7rem);
}

h3 {
    margin-bottom: 13px;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
}

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

.shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.section {
    padding: 112px 0;
}

.section-soft {
    background: var(--soft);
}

.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;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    transform: translateY(-160%);
}

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

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid transparent;
    background: rgba(255, 253, 251, 0.9);
    backdrop-filter: blur(16px);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
    border-color: var(--line);
    box-shadow: 0 10px 35px rgba(23, 23, 27, 0.06);
}

.header-inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    width: 185px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    font-weight: 700;
}

.main-nav > a:not(.nav-cta) {
    position: relative;
}

.main-nav > a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    background: var(--wine);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.main-nav > a:not(.nav-cta):hover::after,
.main-nav > a:not(.nav-cta):focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta {
    padding: 11px 17px;
    border-radius: 10px;
    background: var(--wine);
    color: #fff;
    box-shadow: 0 10px 25px rgba(114, 5, 31, 0.17);
}

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

.menu-toggle > span:not(.sr-only) {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--wine);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
}

.eyebrow-light {
    color: #f7cbd7;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 12px;
}

.breadcrumbs a {
    color: var(--wine);
    font-weight: 750;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 74px;
    background:
        radial-gradient(circle at 85% 10%, rgba(220, 168, 188, 0.23), transparent 33%),
        radial-gradient(circle at 5% 10%, rgba(195, 211, 220, 0.38), transparent 28%),
        linear-gradient(180deg, #fffdfb 0%, #f9f5f5 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(520px, 1.06fr);
    align-items: center;
    gap: 64px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-lead {
    max-width: 660px;
    margin-bottom: 32px;
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 800;
    line-height: 1.2;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.button-primary {
    background: var(--wine);
    color: #fff;
    box-shadow: 0 14px 30px rgba(114, 5, 31, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--wine-dark);
    box-shadow: 0 18px 34px rgba(76, 0, 19, 0.24);
}

.button-secondary {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.66);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: rgba(114, 5, 31, 0.3);
    background: #fff;
}

.button-light {
    background: #fff;
    color: var(--wine-dark);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.16);
}

.button-block {
    width: 100%;
}

.hero-assurances {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 0;
    margin: 0;
    list-style: none;
    color: var(--muted);
    font-size: 13px;
}

.hero-assurances span {
    color: var(--green);
    font-weight: 900;
}

.product-stage {
    position: relative;
    min-width: 0;
    padding: 44px 0;
}

.product-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
}

.product-glow-one {
    top: 5%;
    right: -8%;
    width: 220px;
    height: 220px;
    background: rgba(210, 160, 181, 0.29);
}

.product-glow-two {
    bottom: 0;
    left: -4%;
    width: 180px;
    height: 180px;
    background: rgba(183, 209, 222, 0.35);
}

.app-window {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 38px 90px rgba(34, 18, 24, 0.2);
    transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.app-bar {
    height: 37px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    border-bottom: 1px solid #e8eaed;
    background: #f5f5f7;
}

.app-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d4d4d8;
}

.app-label {
    margin-left: 7px;
    color: #8a8990;
    font-size: 8px;
}

.app-layout {
    min-height: 410px;
    display: grid;
    grid-template-columns: 58px 1fr;
}

.app-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 17px;
    padding: 17px 11px;
    background: #242429;
}

.mini-brand {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    margin-bottom: 6px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.side-line {
    width: 27px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
}

.side-line.short {
    width: 18px;
}

.side-line.active {
    height: 25px;
    border-radius: 7px;
    background: var(--wine);
}

.app-content {
    min-width: 0;
    padding: 23px 20px 21px;
    background: #f5f6f8;
}

.app-heading,
.card-title,
.student-head,
.report-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.app-heading {
    margin-bottom: 18px;
}

.app-heading strong {
    display: block;
    font-size: 17px;
}

.micro-label {
    display: block;
    color: #898991;
    font-size: 8px;
    text-transform: uppercase;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: #e2f3eb;
    color: #17664a;
    font-size: 8px;
    font-weight: 800;
    white-space: nowrap;
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.metric-card,
.schedule-card,
.funnel-card {
    border: 1px solid #e4e5e8;
    border-radius: 12px;
    background: #fff;
}

.metric-card {
    padding: 13px;
}

.metric-card.accent {
    border-color: rgba(114, 5, 31, 0.16);
    background: #fff7f9;
}

.metric-card > span {
    display: block;
    color: #7c7b83;
    font-size: 8px;
}

.metric-card strong {
    display: block;
    margin: 3px 0;
    font-size: 20px;
}

.metric-card small {
    display: block;
    color: #8c8b92;
    font-size: 6px;
    line-height: 1.3;
}

.workspace-row {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(145px, 0.55fr);
    gap: 10px;
}

.schedule-card,
.funnel-card {
    padding: 13px;
}

.card-title {
    margin-bottom: 12px;
    font-size: 8px;
}

.card-title > span {
    color: var(--wine);
}

.lesson-line {
    display: grid;
    grid-template-columns: 29px 4px minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    padding: 9px 0;
    border-top: 1px solid #eeeeef;
    font-size: 7px;
}

.lesson-line time {
    color: #77767d;
}

.lesson-line strong,
.lesson-line small {
    display: block;
}

.lesson-line small {
    color: #8c8b92;
    font-size: 6px;
}

.lesson-color {
    width: 4px;
    height: 27px;
    border-radius: 999px;
}

.color-a { background: #72051f; }
.color-b { background: #668fa7; }
.color-c { background: #c4809d; }

.lesson-state {
    padding: 4px 6px;
    border-radius: 999px;
    background: #f2e7ea;
    color: var(--wine);
    font-size: 6px;
    font-weight: 800;
}

.lesson-state.neutral {
    background: #eef1f4;
    color: #5a626a;
}

.lesson-state.done {
    background: #e2f3eb;
    color: #17664a;
}

.funnel-bars > div {
    display: grid;
    grid-template-columns: 34px 1fr 14px;
    align-items: center;
    gap: 5px;
    margin: 13px 0;
    color: #7b7a82;
    font-size: 7px;
}

.funnel-bars i {
    position: relative;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: #ececef;
}

.funnel-bars i::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--bar);
    border-radius: inherit;
    background: var(--wine);
}

.funnel-bars b {
    color: var(--ink);
}

.floating-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 40px rgba(41, 22, 29, 0.17);
    backdrop-filter: blur(8px);
}

.floating-card-top {
    top: 12px;
    right: -24px;
}

.floating-card-bottom {
    bottom: 12px;
    left: -28px;
}

.floating-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--wine-light);
    color: var(--wine);
    font-size: 12px;
    font-weight: 900;
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    font-size: 9px;
}

.floating-card small {
    color: #898890;
    font-size: 7px;
}

.proof-strip {
    padding: 27px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.proof-grid > div {
    padding-right: 22px;
    border-right: 1px solid var(--line);
}

.proof-grid > div:last-child {
    border: 0;
}

.proof-grid strong,
.proof-grid span {
    display: block;
}

.proof-grid strong {
    margin-bottom: 2px;
    font-size: 13px;
}

.proof-grid span {
    color: var(--muted);
    font-size: 12px;
}

.split-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.65fr);
    align-items: end;
    gap: 70px;
    margin-bottom: 54px;
}

.split-heading h2,
.split-heading p {
    margin-bottom: 0;
}

.split-heading > p {
    padding-bottom: 6px;
    font-size: 18px;
}

.problem-grid,
.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.problem-grid article,
.value-card {
    min-height: 220px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.problem-grid article:hover,
.value-card:hover {
    border-color: rgba(114, 5, 31, 0.25);
    box-shadow: 0 18px 45px rgba(40, 20, 28, 0.09);
    transform: translateY(-4px);
}

.problem-mark,
.value-index {
    display: block;
    margin-bottom: 44px;
    color: var(--wine);
    font-size: 11px;
    font-weight: 900;
}

.problem-grid p,
.value-card p {
    margin-bottom: 0;
    font-size: 14px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 54px;
}

.section-heading.centered {
    margin-inline: auto;
    text-align: center;
}

.section-heading.centered .eyebrow {
    justify-content: center;
}

.section-heading > p:last-child {
    max-width: 650px;
    margin-bottom: 0;
    font-size: 18px;
}

.section-heading.centered > p:last-child {
    margin-inline: auto;
}

.journey {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 13px;
}

.journey article {
    min-height: 190px;
    padding: 23px;
    border: 1px solid rgba(114, 5, 31, 0.1);
    border-radius: 18px;
    background: #fff;
}

.journey-icon,
.workflow-card > span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    margin-bottom: 34px;
    border-radius: 10px;
    background: var(--wine-light);
    color: var(--wine);
    font-size: 10px;
    font-weight: 900;
}

.journey article p {
    margin-bottom: 0;
    font-size: 13px;
}

.journey-arrow {
    color: var(--wine);
    font-size: 22px;
}

.feature-stack {
    display: grid;
    gap: 110px;
}

.feature-row {
    display: grid;
    grid-template-columns: minmax(310px, 0.78fr) minmax(0, 1.22fr);
    align-items: center;
    gap: 80px;
}

.feature-row.reverse .feature-copy {
    order: 2;
}

.feature-row.reverse .ui-scene {
    order: 1;
}

.feature-number {
    display: block;
    margin-bottom: 36px;
    color: rgba(114, 5, 31, 0.22);
    font-size: 56px;
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
}

.feature-kicker {
    margin-bottom: 10px;
    color: var(--wine);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.feature-copy > p:not(.feature-kicker) {
    font-size: 17px;
}

.check-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
    font-size: 14px;
    font-weight: 700;
}

.check-list li {
    display: flex;
    gap: 10px;
}

.check-list li::before {
    content: "✓";
    flex: 0 0 20px;
    color: var(--green);
    font-weight: 900;
}

.ui-scene {
    overflow: hidden;
    min-height: 390px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.98)),
        var(--soft-blue);
    box-shadow: var(--shadow);
}

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

.scene-toolbar strong {
    font-size: 18px;
}

.scene-toolbar span,
.report-head > span {
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    color: var(--muted);
    font-size: 11px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: 43px repeat(5, 1fr);
    grid-auto-rows: 70px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.calendar-grid > i,
.calendar-time {
    position: relative;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-style: normal;
}

.calendar-time {
    padding: 6px;
    color: #898890;
    font-size: 9px;
}

.calendar-grid .event {
    z-index: 2;
    margin: 5px;
    padding: 8px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 8px 18px rgba(35, 20, 25, 0.14);
}

.calendar-grid .event-a { background: var(--wine); }
.calendar-grid .event-b { background: #5f8194; }
.calendar-grid .event-c { background: #b06a88; }

.calendar-grid .event b,
.calendar-grid .event small {
    display: block;
}

.calendar-grid .event b {
    font-size: 9px;
}

.calendar-grid .event small {
    opacity: 0.82;
    font-size: 7px;
}

.student-scene {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f4f5f7;
}

.student-head {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.student-head .avatar {
    width: 48px;
    height: 48px;
    display: grid;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 14px;
    background: var(--wine);
    color: #fff;
    font-weight: 900;
}

.student-head > div {
    flex: 1;
}

.student-head strong,
.student-head small {
    display: block;
}

.student-head small {
    color: var(--muted);
}

.student-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
    margin: 22px 0 18px;
}

.student-metrics > div {
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
}

.student-metrics span,
.student-metrics small {
    display: block;
    color: var(--muted);
    font-size: 9px;
}

.student-metrics strong {
    display: block;
    margin: 5px 0;
    font-size: 22px;
}

.progress {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e1e2e5;
}

.progress span {
    display: block;
    width: var(--progress);
    height: 100%;
    border-radius: inherit;
    background: var(--wine);
}

.student-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 10px;
}

.student-actions span {
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.student-actions .primary-chip {
    border-color: var(--wine);
    background: var(--wine);
    color: #fff;
}

.kanban-scene {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: #f0f1f3;
}

.kanban-column {
    min-width: 0;
    padding: 13px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.74);
}

.kanban-column > strong {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 11px;
}

.kanban-column > strong b {
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--wine-light);
    color: var(--wine);
    font-size: 8px;
}

.kanban-column > span {
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr);
    margin-bottom: 9px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    font-size: 8px;
    font-weight: 800;
    box-shadow: 0 6px 15px rgba(20, 20, 25, 0.05);
}

.kanban-column > span i {
    grid-row: 1 / 3;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: var(--soft-blue);
    color: var(--wine);
    font-size: 6px;
    font-style: normal;
}

.kanban-column > span small {
    color: var(--muted);
    font-size: 6px;
    font-weight: 500;
}

.kanban-column > span.won {
    border-color: rgba(20, 122, 86, 0.24);
}

.report-scene {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f4f5f7;
}

.report-head {
    margin-bottom: 20px;
}

.report-head small,
.report-head strong {
    display: block;
}

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

.report-head strong {
    font-size: 24px;
}

.chart {
    height: 220px;
    display: flex;
    align-items: flex-end;
    gap: 17px;
    padding: 24px 18px 0;
    border-bottom: 1px solid var(--line);
    background-image: linear-gradient(to bottom, transparent 49%, var(--line) 50%, transparent 51%);
    background-size: 100% 70px;
}

.chart i {
    width: 100%;
    height: var(--height);
    border-radius: 8px 8px 0 0;
    background: #d7c8ce;
}

.chart i.current {
    background: var(--wine);
}

.chart-labels {
    display: flex;
    justify-content: space-around;
    padding: 8px 15px;
    color: var(--muted);
    font-size: 9px;
}

.integrations-section,
.pricing-section,
.final-cta {
    background:
        radial-gradient(circle at 90% 10%, rgba(220, 168, 188, 0.18), transparent 35%),
        var(--wine-dark);
    color: #fff;
}

.integrations-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    align-items: center;
    gap: 80px;
}

.integrations-layout .section-heading {
    margin-bottom: 0;
}

.integrations-layout .section-heading p,
.pricing-copy > p,
.final-cta p {
    color: rgba(255, 255, 255, 0.69);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--wine);
    font-weight: 850;
}

.light-link {
    color: #fff;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.integration-grid article {
    display: flex;
    gap: 15px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
}

.integration-grid h3 {
    margin-bottom: 6px;
    font-size: 16px;
}

.integration-grid p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

.integration-mark {
    width: 40px;
    height: 40px;
    display: grid;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 11px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.integration-mark.google { background: #4285f4; }
.integration-mark.meet { background: #0f9d58; }
.integration-mark.zoom { background: #2d8cff; }
.integration-mark.telegram { background: #26a5e4; }

.comparison-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    text-align: left;
}

.comparison-table th,
.comparison-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
}

.comparison-table thead th {
    background: #f5f1f2;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.comparison-table tbody th {
    font-size: 14px;
}

.comparison-table tbody td {
    color: var(--muted);
    font-size: 14px;
}

.comparison-table tbody td:last-child {
    color: var(--ink);
    font-weight: 750;
}

.comparison-table tbody td:last-child span {
    color: var(--green);
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
    border-bottom: 0;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.audience-grid a {
    min-height: 265px;
    display: flex;
    flex-direction: column;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.audience-grid a:hover,
.audience-grid a:focus-visible {
    border-color: rgba(114, 5, 31, 0.25);
    box-shadow: 0 18px 45px rgba(40, 20, 28, 0.08);
    transform: translateY(-4px);
}

.audience-grid a > span {
    margin-bottom: 50px;
    color: var(--wine);
    font-size: 11px;
    font-weight: 900;
}

.audience-grid p {
    font-size: 14px;
}

.audience-grid b {
    margin-top: auto;
    color: var(--wine);
    font-size: 12px;
}

.launch-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    align-items: start;
    gap: 90px;
}

.launch-layout .section-heading {
    position: sticky;
    top: 120px;
    margin-bottom: 0;
}

.launch-steps {
    padding: 0;
    margin: 0;
    list-style: none;
}

.launch-steps li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 19px;
    padding: 25px 0;
    border-top: 1px solid var(--line);
}

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

.launch-steps li > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--wine-light);
    color: var(--wine);
    font-size: 12px;
    font-weight: 900;
}

.launch-steps h3 {
    margin-bottom: 7px;
    font-size: 20px;
}

.launch-steps p {
    margin-bottom: 0;
}

.pricing-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: center;
    gap: 95px;
}

.pricing-copy h2 {
    max-width: 720px;
}

.light-list li {
    color: rgba(255, 255, 255, 0.82);
}

.light-list li::before {
    color: #98e2c4;
}

.price-card {
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 22px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

.price-card > span {
    display: block;
    margin-bottom: 26px;
    color: var(--wine);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price strong {
    font-size: 58px;
    letter-spacing: -0.06em;
    line-height: 1;
}

.price small,
.price-alt span {
    color: var(--muted);
}

.price-alt {
    margin: 15px 0 26px;
    padding: 13px 0 0;
}

.price-alt strong {
    font-size: 22px;
}

.pricing-note {
    margin-bottom: 24px;
    padding: 14px;
    border: 1px solid rgba(114, 5, 31, 0.12);
    border-radius: 11px;
    background: var(--wine-light);
    color: #5d3a44;
    font-size: 11px;
    line-height: 1.5;
}

.price-card > p {
    margin: 14px 0 0;
    text-align: center;
    font-size: 11px;
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
    align-items: start;
    gap: 85px;
}

.faq-layout .section-heading {
    position: sticky;
    top: 120px;
    margin-bottom: 0;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 0;
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary span {
    color: var(--wine);
    font-size: 24px;
    transition: transform 180ms ease;
}

.faq-list details[open] summary span {
    transform: rotate(45deg);
}

.faq-list details p {
    max-width: 720px;
    padding: 0 44px 22px 0;
}

.final-cta {
    padding: 86px 0;
}

.final-cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.75fr);
    align-items: center;
    gap: 80px;
}

.final-cta h2 {
    max-width: 780px;
    color: #fff;
}

.final-cta p {
    max-width: 700px;
}

.final-actions {
    display: grid;
    max-width: 310px;
    margin-top: 28px;
    gap: 14px;
    justify-items: stretch;
}

.instagram-link {
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

.demo-form {
    position: relative;
    display: grid;
    gap: 18px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: #fffdfb;
    color: var(--ink);
    box-shadow: 0 24px 70px rgba(31, 0, 10, 0.24);
}

.demo-form-heading {
    display: grid;
    gap: 4px;
}

.demo-form-heading strong {
    font-size: 24px;
}

.demo-form-heading span,
.demo-form label > span {
    color: var(--muted);
    font-size: 13px;
}

.demo-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.demo-form label:not(.demo-form-consent) {
    display: grid;
    gap: 7px;
}

.demo-form input[type="text"],
.demo-form textarea {
    width: 100%;
    border: 1px solid rgba(23, 23, 27, 0.16);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.demo-form input[type="text"] {
    min-height: 48px;
    padding: 10px 13px;
}

.demo-form textarea {
    min-height: 112px;
    padding: 12px 13px;
    resize: vertical;
}

.demo-form input:focus,
.demo-form textarea:focus {
    border-color: var(--wine);
    box-shadow: 0 0 0 3px rgba(114, 5, 31, 0.1);
}

.demo-form-consent {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
}

.demo-form-consent input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--wine);
}

.demo-form-consent a {
    color: var(--wine);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.demo-form-status {
    min-height: 0;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.45;
}

.demo-form-status.is-success,
.demo-form-status.is-error {
    padding: 11px 13px;
}

.demo-form-status.is-success {
    background: rgba(20, 122, 86, 0.1);
    color: #0b6444;
}

.demo-form-status.is-error {
    background: rgba(160, 30, 52, 0.1);
    color: #8b1730;
}

.demo-form button[disabled] {
    cursor: wait;
    opacity: 0.68;
}

.demo-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.site-footer {
    padding: 72px 0 26px;
    background: #f3eff0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 55px;
}

.footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-grid > div:first-child p {
    max-width: 290px;
    margin: 15px 0 0;
    font-size: 13px;
}

.footer-grid strong {
    margin-bottom: 8px;
    font-size: 13px;
}

.footer-grid a:not(.footer-brand) {
    color: var(--muted);
    font-size: 12px;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
    color: var(--wine);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 55px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
}

.section-intent {
    background: #fff;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.workflow-card {
    min-height: 220px;
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.workflow-card p {
    margin-bottom: 0;
    font-size: 14px;
}

.intent-demo {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) auto;
    align-items: center;
    gap: 65px;
    padding: 55px;
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 90% 0%, rgba(220, 168, 188, 0.22), transparent 38%),
        var(--wine-dark);
    color: #fff;
}

.intent-demo h2 {
    max-width: 760px;
}

.intent-demo p {
    max-width: 700px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

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

    .product-stage {
        width: min(760px, 100%);
        margin-inline: auto;
    }

    .problem-grid,
    .value-grid,
    .audience-grid,
    .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .feature-row.reverse .feature-copy,
    .feature-row.reverse .ui-scene {
        order: initial;
    }

    .integrations-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}

@media (max-width: 900px) {
    .main-nav {
        position: fixed;
        inset: 80px 0 auto;
        height: calc(100vh - 80px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow-y: auto;
        padding: 20px;
        border-top: 1px solid var(--line);
        background: var(--paper);
        box-shadow: 0 20px 40px rgba(23, 23, 27, 0.12);
    }

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

    .main-nav > a {
        padding: 14px 6px;
        border-bottom: 1px solid var(--line);
    }

    .main-nav .nav-cta {
        margin-top: 13px;
        padding: 14px;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

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

    .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
        opacity: 0;
    }

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

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

    .proof-grid > div:nth-child(2) {
        border-right: 0;
    }

    .split-heading,
    .launch-layout,
    .pricing-layout,
    .faq-layout,
    .final-cta-inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .final-actions {
        max-width: none;
    }

    .launch-layout .section-heading,
    .faq-layout .section-heading {
        position: static;
    }

    .journey {
        grid-template-columns: repeat(5, 1fr);
    }

    .journey-arrow {
        display: none;
    }

    .journey article {
        min-height: 210px;
    }

    .pricing-layout {
        max-width: 720px;
    }

    .price-card {
        max-width: 450px;
    }

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

    .intent-demo {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .shell {
        width: min(100% - 28px, 1180px);
    }

    .section {
        padding: 78px 0;
    }

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

    .header-inner {
        min-height: 70px;
    }

    .main-nav {
        inset: 70px 0 auto;
        height: calc(100vh - 70px);
    }

    .brand img {
        width: 155px;
    }

    .hero-actions,
    .hero-actions .button {
        width: 100%;
    }

    .hero-assurances {
        display: grid;
    }

    .product-stage {
        padding: 25px 0 35px;
    }

    .app-window {
        transform: none;
    }

    .app-layout {
        min-height: 330px;
        grid-template-columns: 38px 1fr;
    }

    .app-sidebar {
        gap: 14px;
        padding-inline: 6px;
    }

    .mini-brand {
        width: 24px;
        height: 24px;
    }

    .side-line {
        width: 21px;
    }

    .app-content {
        padding: 16px 12px;
    }

    .metric-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .metric-card:last-child {
        display: none;
    }

    .workspace-row {
        grid-template-columns: 1fr;
    }

    .funnel-card {
        display: none;
    }

    .floating-card {
        display: none;
    }

    .proof-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .proof-grid > div,
    .proof-grid > div:nth-child(2) {
        padding: 13px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .proof-grid > div:last-child {
        border-bottom: 0;
    }

    .split-heading {
        gap: 22px;
        margin-bottom: 35px;
    }

    .split-heading > p,
    .section-heading > p:last-child {
        font-size: 16px;
    }

    .problem-grid,
    .value-grid,
    .audience-grid,
    .workflow-grid {
        grid-template-columns: 1fr;
    }

    .problem-grid article,
    .value-card {
        min-height: 0;
    }

    .problem-mark,
    .value-index {
        margin-bottom: 25px;
    }

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

    .journey article {
        min-height: 0;
    }

    .journey-icon,
    .workflow-card > span {
        margin-bottom: 20px;
    }

    .feature-stack {
        gap: 78px;
    }

    .feature-number {
        margin-bottom: 24px;
        font-size: 44px;
    }

    .ui-scene {
        min-height: 330px;
        padding: 16px;
        border-radius: 18px;
    }

    .calendar-grid {
        grid-template-columns: 37px repeat(5, minmax(48px, 1fr));
        overflow: hidden;
    }

    .student-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .student-metrics > div:last-child {
        display: none;
    }

    .student-actions {
        flex-direction: column;
        text-align: center;
    }

    .kanban-scene {
        grid-template-columns: repeat(3, minmax(120px, 1fr));
        overflow-x: auto;
    }

    .report-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .chart {
        gap: 9px;
        padding-inline: 4px;
    }

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

    .comparison-table {
        min-width: 700px;
    }

    .launch-steps li {
        grid-template-columns: 42px 1fr;
        gap: 13px;
    }

    .launch-steps li > span {
        width: 38px;
        height: 38px;
    }

    .price-card {
        padding: 25px;
    }

    .faq-list summary {
        align-items: flex-start;
        font-size: 16px;
    }

    .intent-demo {
        padding: 34px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}

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

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

.analytics-consent {
    position: fixed;
    z-index: 1000;
    right: 24px;
    bottom: 24px;
    display: grid;
    width: min(620px, calc(100vw - 48px));
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 22px;
    border: 1px solid rgba(121, 0, 31, 0.14);
    border-radius: 18px;
    background: rgba(255, 253, 251, 0.98);
    box-shadow: 0 20px 60px rgba(36, 18, 24, 0.18);
    backdrop-filter: blur(12px);
}

.analytics-consent[hidden] {
    display: none;
}

.analytics-consent strong {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 17px;
}

.analytics-consent p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.analytics-consent-actions {
    display: flex;
    gap: 8px;
}

.analytics-consent-actions .button {
    min-height: 42px;
    padding: 10px 15px;
    white-space: nowrap;
    font-size: 13px;
}

@media (max-width: 700px) {
    .demo-form {
        padding: 22px;
        border-radius: 18px;
    }

    .demo-form-grid {
        grid-template-columns: 1fr;
    }

    .analytics-consent {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px;
    }

    .analytics-consent-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .analytics-consent-actions .button {
        width: 100%;
    }
}
