:root {
    --background: #0d1117;
    --surface: #11161d;
    --surface-soft: #161b22;
    --surface-hover: #1b222c;
    --border: #2d333b;
    --border-strong: #414a55;
    --text: #f0f6fc;
    --text-soft: #c6d0da;
    --text-muted: #9aa4af;
    --green: #2ea043;
    --green-hover: #3fb950;
    --green-light: #7ee787;
    --green-soft: rgba(46, 160, 67, 0.12);
    --blue: #58a6ff;
    --content-width: 1180px;
    --radius-large: 28px;
    --radius-medium: 20px;
    --radius-small: 13px;
}

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

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

body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--background);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 14% 0%, rgba(46, 160, 67, 0.075), transparent 30%),
        radial-gradient(circle at 88% 13%, rgba(88, 166, 255, 0.04), transparent 27%);
    content: "";
    pointer-events: none;
}

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

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

button {
    color: inherit;
    font: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(45, 51, 59, 0.82);
    background: rgba(13, 17, 23, 0.9);
    backdrop-filter: blur(16px);
    transition: box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(13, 17, 23, 0.96);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.navbar {
    position: relative;
    width: min(calc(100% - 40px), var(--content-width));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.navbar__logo,
.site-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 720;
    letter-spacing: -0.025em;
}

.navbar__logo-mark {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border-strong);
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-soft);
    color: var(--green-light);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 15px;
    font-weight: 800;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 3px;
}

.navbar__links a {
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 8px 13px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 560;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.navbar__links a:hover,
.navbar__links a.is-active {
    background: var(--surface-soft);
    color: var(--text);
}

.navbar__links a.is-active:not(.navbar__signup) {
    border-color: var(--border);
}

.navbar__links .navbar__signup {
    margin-left: 8px;
    border-color: rgba(240, 246, 252, 0.08);
    background: var(--green);
    color: #fff;
}

.navbar__links .navbar__signup:hover {
    background: var(--green-hover);
    transform: translateY(-1px);
}

.navbar__menu-button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: var(--surface-soft);
    cursor: pointer;
}

.navbar__menu-button span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform 180ms ease, opacity 180ms ease;
}

.navbar__menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar__menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.navbar__menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

main {
    width: min(calc(100% - 40px), var(--content-width));
    margin: 0 auto;
}

.eyebrow {
    margin-bottom: 16px;
    color: var(--green-light);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.hero {
    min-height: calc(100vh - 73px);
    padding: 96px 0 92px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(500px, 1.05fr);
    align-items: center;
    gap: 54px;
}

.hero__content {
    max-width: 660px;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(45px, 5.45vw, 72px);
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.hero__description {
    max-width: 640px;
    margin-top: 26px;
    color: var(--text-muted);
    font-size: 19px;
    line-height: 1.68;
}

.hero__actions,
.final-cta__actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 47px;
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 11px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 650;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

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

.button--primary {
    border-color: rgba(240, 246, 252, 0.08);
    background: var(--green);
    color: #fff;
    box-shadow: 0 12px 34px rgba(46, 160, 67, 0.17);
}

.button--primary:hover {
    background: var(--green-hover);
}

.button--secondary {
    border-color: var(--border-strong);
    background: var(--surface);
    color: var(--text);
}

.button--secondary:hover {
    border-color: #59636f;
    background: var(--surface-soft);
}

.hero__modules {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero__modules span {
    position: relative;
    padding-left: 15px;
    color: var(--text-muted);
    font-size: 12px;
}

.hero__modules span::before {
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green-light);
    content: "";
    transform: translateY(-50%);
}

.app-demo {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: #0b0f14;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.app-demo__browser {
    min-height: 46px;
    border-bottom: 1px solid var(--border);
    padding: 0 14px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    background: #11161d;
}

.browser-dots {
    display: flex;
    gap: 5px;
}

.browser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #39414a;
}

.browser-address {
    max-width: 220px;
    justify-self: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 5px 14px;
    background: #0d1117;
    color: #7d8792;
    font-size: 10px;
    text-align: center;
}

.browser-badge {
    color: var(--text-muted);
    font-size: 10px;
}

.app-demo__shell {
    min-height: 430px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
}

.demo-sidebar {
    border-right: 1px solid var(--border);
    padding: 14px 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 16px;
    background: #0d1117;
}

.demo-sidebar__logo {
    width: 27px;
    height: 27px;
    margin-bottom: 7px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--green-light);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 800;
}

.demo-sidebar__item {
    width: 23px;
    height: 23px;
    border-radius: 7px;
    background: #1a2028;
}

.demo-sidebar__item.is-active {
    background: var(--green-soft);
    box-shadow: inset 3px 0 0 var(--green-light);
}

.demo-dashboard {
    min-width: 0;
    padding: 23px;
    background:
        linear-gradient(180deg, rgba(22, 27, 34, 0.35), transparent 42%),
        #0d1117;
}

.demo-dashboard__header {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.demo-dashboard__header p {
    margin-bottom: 3px;
    color: var(--text-muted);
    font-size: 10px;
    text-transform: capitalize;
}

.demo-dashboard__header strong {
    font-size: 18px;
}

.status-badge {
    border: 1px solid rgba(126, 231, 135, 0.25);
    border-radius: 999px;
    padding: 6px 9px;
    background: var(--green-soft);
    color: var(--green-light);
    font-size: 10px;
    font-weight: 650;
    white-space: nowrap;
}

.demo-stats {
    margin-bottom: 15px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.demo-stats article {
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 12px;
    background: rgba(17, 22, 29, 0.88);
}

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

.demo-stats strong {
    display: block;
    margin: 5px 0 1px;
    font-size: 18px;
}

.demo-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(160px, 0.65fr);
    gap: 11px;
}

.demo-agenda,
.demo-next {
    border: 1px solid var(--border);
    border-radius: 15px;
    background: rgba(17, 22, 29, 0.86);
}

.demo-agenda {
    padding: 13px;
}

.demo-section-title {
    margin-bottom: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.demo-section-title strong {
    font-size: 12px;
}

.demo-section-title span {
    color: var(--text-muted);
    font-size: 9px;
}

.demo-task {
    padding: 9px 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
}

.demo-task + .demo-task {
    border-top: 1px solid rgba(45, 51, 59, 0.72);
}

.demo-task__check {
    width: 20px;
    height: 20px;
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--green-light);
    font-size: 10px;
    font-weight: 800;
}

.demo-task.is-complete .demo-task__check {
    border-color: rgba(126, 231, 135, 0.28);
    background: var(--green-soft);
}

.demo-task strong {
    display: block;
    margin-bottom: 1px;
    font-size: 10px;
}

.demo-task p,
.demo-task small {
    color: var(--text-muted);
    font-size: 8px;
}

.demo-next {
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.demo-next__label {
    margin-bottom: 18px;
    color: var(--green-light);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.demo-next strong {
    margin-bottom: 6px;
    font-size: 13px;
}

.demo-next p {
    color: var(--text-muted);
    font-size: 9px;
    line-height: 1.55;
}

.demo-next__meta {
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.demo-next__meta span {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 6px;
    color: var(--text-muted);
    font-size: 8px;
}

.demo-next button {
    margin-top: auto;
    border: 1px solid rgba(240, 246, 252, 0.08);
    border-radius: 9px;
    padding: 8px;
    background: var(--green);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
}

.why,
.tools,
.daily-routine,
.study-flow {
    padding: 112px 0;
    border-top: 1px solid var(--border);
}

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

.section-heading--center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading h2,
.daily-routine h2,
.final-cta h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.038em;
}

.section-heading__description,
.daily-routine__intro > p:not(.eyebrow) {
    max-width: 690px;
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
}

.section-heading--center .section-heading__description {
    margin-right: auto;
    margin-left: auto;
}

.comparison {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.comparison__card {
    min-height: 410px;
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    padding: 30px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(22, 27, 34, 0.94), rgba(17, 22, 29, 0.98));
}

.comparison__card--unified {
    border-color: rgba(126, 231, 135, 0.22);
    background:
        radial-gradient(circle at 80% 0%, rgba(46, 160, 67, 0.1), transparent 36%),
        linear-gradient(180deg, rgba(22, 27, 34, 0.98), rgba(17, 22, 29, 0.98));
}

.comparison__status {
    display: inline-flex;
    margin-bottom: 13px;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 5px 9px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 650;
}

.comparison__status--green {
    border-color: rgba(126, 231, 135, 0.2);
    background: var(--green-soft);
    color: var(--green-light);
}

.comparison__heading h3 {
    max-width: 470px;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.comparison__card > p {
    margin-top: auto;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
}

.comparison__arrow {
    width: 44px;
    height: 44px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-soft);
    color: var(--green-light);
    font-size: 20px;
}

.scattered-apps {
    position: relative;
    height: 190px;
    margin: 34px 0 22px;
}

.scattered-app {
    position: absolute;
    width: 145px;
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 14px;
    background: #0d1117;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.scattered-app span,
.scattered-app small {
    display: block;
}

.scattered-app span {
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 650;
}

.scattered-app small {
    color: var(--text-muted);
    font-size: 9px;
}

.scattered-app--one { left: 2%; top: 8%; transform: rotate(-4deg); }
.scattered-app--two { right: 2%; top: 0; transform: rotate(3deg); }
.scattered-app--three { left: 12%; bottom: 1%; transform: rotate(2deg); }
.scattered-app--four { right: 10%; bottom: 9%; transform: rotate(-3deg); }

.unified-flow {
    margin: 40px 0 30px;
    display: grid;
    grid-template-columns: 1fr 32px 1fr 32px 1fr;
    align-items: center;
    gap: 7px;
}

.unified-flow div {
    min-height: 92px;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 13px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: rgba(13, 17, 23, 0.72);
}

.unified-flow div span {
    margin-bottom: 4px;
    color: var(--green-light);
    font-size: 9px;
    text-transform: uppercase;
}

.unified-flow div strong {
    font-size: 12px;
}

.unified-flow__line {
    height: 1px;
    background: linear-gradient(90deg, var(--border-strong), var(--green));
}

.benefit-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.benefit-card,
.tool-card,
.info-card,
.routine-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    background: linear-gradient(180deg, rgba(22, 27, 34, 0.96), rgba(17, 22, 29, 0.98));
    transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.benefit-card:hover,
.tool-card:hover,
.info-card:hover,
.routine-card:hover {
    transform: translateY(-5px) scale(1.008);
    border-color: var(--border-strong);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.benefit-card {
    min-height: 210px;
    padding: 28px;
}

.benefit-card__icon {
    width: 42px;
    height: 42px;
    margin-bottom: 30px;
    border: 1px solid rgba(126, 231, 135, 0.2);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--green-soft);
    color: var(--green-light);
    font-weight: 800;
}

.benefit-card h3 {
    margin-bottom: 9px;
    font-size: 19px;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
}

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

.tool-card {
    overflow: hidden;
    padding: 20px;
}

.tool-card__image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px dashed var(--border-strong);
    border-radius: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    background:
        linear-gradient(135deg, rgba(88, 166, 255, 0.035), transparent 45%),
        rgba(13, 17, 23, 0.75);
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.tool-card__image-placeholder small {
    color: #69737e;
    font-size: 10px;
}

.tool-card:hover .tool-card__image-placeholder {
    border-color: rgba(126, 231, 135, 0.46);
    color: #b1bac4;
}

.tool-card__image-icon {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-soft);
    color: var(--green-light);
    font-size: 18px;
}

.tool-card__content {
    padding: 26px 6px 8px;
}

.tool-card__tag {
    display: inline-flex;
    margin-bottom: 14px;
    border: 1px solid rgba(126, 231, 135, 0.18);
    border-radius: 999px;
    padding: 5px 9px;
    background: var(--green-soft);
    color: var(--green-light);
    font-size: 11px;
    font-weight: 650;
}

.tool-card h3,
.info-card h3 {
    margin-bottom: 12px;
    font-size: 22px;
    letter-spacing: -0.022em;
}

.tool-card p,
.info-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.tool-card ul {
    margin-top: 20px;
    display: grid;
    gap: 9px;
    list-style: none;
}

.tool-card li {
    position: relative;
    padding-left: 22px;
    color: #b1bac4;
    font-size: 13px;
}

.tool-card li::before {
    position: absolute;
    left: 0;
    color: var(--green-light);
    content: "✓";
    font-weight: 800;
}

.daily-routine {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
    align-items: start;
    gap: 72px;
}

.daily-routine__intro {
    position: sticky;
    top: 115px;
}

.daily-routine__intro > p:not(.eyebrow) {
    max-width: 540px;
}

.routine-timeline {
    position: relative;
    display: grid;
    gap: 18px;
}

.routine-timeline::before {
    position: absolute;
    left: 86px;
    top: 28px;
    bottom: 28px;
    width: 1px;
    background: linear-gradient(var(--border), var(--green), var(--border));
    content: "";
}

.routine-timeline article {
    position: relative;
    display: grid;
    grid-template-columns: 70px 16px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.routine-time {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.35;
    text-align: right;
}

.routine-dot {
    z-index: 1;
    width: 12px;
    height: 12px;
    border: 2px solid var(--background);
    border-radius: 50%;
    background: var(--green-light);
    box-shadow: 0 0 0 3px rgba(126, 231, 135, 0.15);
}

.routine-card {
    padding: 24px;
}

.routine-card > span {
    display: inline-flex;
    margin-bottom: 9px;
    color: var(--green-light);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.routine-card strong {
    display: block;
    margin-bottom: 7px;
    font-size: 17px;
}

.routine-card p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.study-flow__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.info-card {
    min-height: 240px;
    padding: 30px;
}

.info-card__icon {
    width: 46px;
    height: 46px;
    margin-bottom: 42px;
    border: 1px solid rgba(126, 231, 135, 0.2);
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--green-soft);
    color: var(--green-light);
    font-size: 16px;
    font-weight: 800;
}

.final-cta {
    margin: 112px 0;
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    background:
        radial-gradient(circle at 92% 20%, rgba(46, 160, 67, 0.13), transparent 34%),
        linear-gradient(180deg, rgba(22, 27, 34, 0.98), rgba(17, 22, 29, 0.98));
}

.final-cta > div:first-child {
    max-width: 720px;
}

.final-cta__description {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.65;
}

.final-cta__actions {
    margin-top: 0;
    flex: 0 0 auto;
}

.site-footer {
    width: min(calc(100% - 40px), var(--content-width));
    min-height: 160px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto;
    align-items: center;
    gap: 42px;
    color: var(--text-muted);
    font-size: 13px;
}

.site-footer__brand p {
    max-width: 300px;
    margin-top: 9px;
    color: var(--text-muted);
    font-size: 12px;
}

.site-footer nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-footer nav a:hover {
    color: var(--text);
}

.site-footer__copyright {
    white-space: nowrap;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 1100px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 52px;
    }

    .hero__content {
        max-width: 780px;
    }

    .app-demo {
        width: min(100%, 780px);
    }

    .daily-routine {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .daily-routine__intro {
        position: static;
    }

    .routine-timeline {
        width: min(100%, 760px);
    }

    .final-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer {
        grid-template-columns: 1fr auto;
        padding: 34px 0;
    }

    .site-footer nav {
        grid-column: 1 / -1;
        grid-row: 2;
        flex-wrap: wrap;
    }
}

@media (max-width: 900px) {
    .comparison {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .comparison__arrow {
        transform: rotate(90deg);
    }

    .comparison__card {
        min-height: 390px;
    }

    .benefit-grid,
    .study-flow__steps {
        grid-template-columns: 1fr;
    }

    .benefit-card,
    .info-card {
        min-height: auto;
    }

    .info-card__icon {
        margin-bottom: 28px;
    }
}

@media (max-width: 780px) {
    html {
        scroll-padding-top: 78px;
    }

    .navbar {
        min-height: 68px;
    }

    .navbar__menu-button {
        display: flex;
    }

    .navbar__links {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        border: 1px solid var(--border);
        border-radius: 18px;
        padding: 10px;
        display: none;
        align-items: stretch;
        flex-direction: column;
        background: rgba(17, 22, 29, 0.98);
        box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
    }

    .navbar__links.is-open {
        display: flex;
    }

    .navbar__links a {
        border-radius: 12px;
        padding: 12px 14px;
    }

    .navbar__links .navbar__signup {
        margin: 6px 0 0;
        text-align: center;
    }

    .hero {
        padding: 76px 0 74px;
    }

    .hero h1 {
        font-size: clamp(42px, 11vw, 58px);
    }

    .hero__description {
        font-size: 17px;
    }

    .app-demo__shell {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .demo-dashboard {
        padding: 16px;
    }

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

    .demo-next {
        min-height: 160px;
    }

    .why,
    .tools,
    .daily-routine,
    .study-flow {
        padding: 82px 0;
    }

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

    .final-cta {
        margin: 82px 0;
        padding: 34px;
    }

    .final-cta__actions {
        width: 100%;
    }

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

    .site-footer nav {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 560px) {
    main,
    .navbar,
    .site-footer {
        width: min(calc(100% - 24px), var(--content-width));
    }

    .hero__actions,
    .final-cta__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero__modules {
        gap: 8px 14px;
    }

    .app-demo {
        border-radius: 20px;
    }

    .app-demo__browser {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .browser-badge {
        display: none;
    }

    .browser-address {
        max-width: 160px;
    }

    .demo-sidebar {
        display: none;
    }

    .app-demo__shell {
        display: block;
        min-height: 0;
    }

    .demo-dashboard__header {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .demo-stats article:last-child {
        grid-column: 1 / -1;
    }

    .comparison__card {
        min-height: auto;
        padding: 24px;
    }

    .scattered-apps {
        height: 215px;
    }

    .scattered-app {
        width: 128px;
    }

    .unified-flow {
        grid-template-columns: 1fr;
    }

    .unified-flow__line {
        width: 1px;
        height: 15px;
        justify-self: center;
        background: linear-gradient(var(--border-strong), var(--green));
    }

    .benefit-card,
    .info-card {
        padding: 25px;
    }

    .tool-card {
        padding: 14px;
        border-radius: 22px;
    }

    .tool-card__content {
        padding: 22px 8px 10px;
    }

    .routine-timeline::before {
        left: 6px;
    }

    .routine-timeline article {
        grid-template-columns: 16px minmax(0, 1fr);
        gap: 10px;
    }

    .routine-time {
        grid-column: 2;
        text-align: left;
    }

    .routine-dot {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: start;
        margin-top: 5px;
    }

    .routine-card {
        grid-column: 2;
        padding: 22px;
    }

    .final-cta {
        padding: 28px;
        border-radius: 24px;
    }

    .site-footer nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}

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

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