:root {
    --blue: #2f6fcf;
    --ink: #1e293b;
    --muted: #526176;
    --paper: #f8fafc;
    --surface: #fff;
    --subtle: #f1f5f9;
    --line: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-card: 0 1px 3px #0f172a05, 0 8px 24px #0f172a04;
    color: var(--ink);
    background: var(--paper);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
    scrollbar-gutter: stable;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-size: .875rem;
}

body:has(.code-dialog[open]) {
    overflow: hidden;
}

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

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

button, input {
    font: inherit;
}

button {
    cursor: pointer;
    color: inherit;
    border-radius: 0;
}

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

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

::selection {
    color: #2457a4;
    background: #deebfc;
}

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

[hidden] {
    display: none !important;
}

.container, .header-inner, .hero-inner {
    width: min(1120px, calc(100% - 64px));
    margin-inline: auto;
}

.icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wechat {
    fill: currentColor;
    stroke: none;
}

.icon-library {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.skip-link {
    position: fixed;
    top: -90px;
    left: 16px;
    z-index: 20;
    padding: 12px 18px;
    background: #fff;
    border: 1px solid var(--blue);
    border-radius: 8px;
}

.skip-link:focus {
    top: 10px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid var(--blue);
    border-radius: var(--radius-md);
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.5;
    background: var(--blue);
    box-shadow: 0 2px 4px #0f172a0a;
    transition: background .18s, border-color .18s, box-shadow .18s, transform .18s;
}

.button:hover {
    border-color: #245cae;
    background: #245cae;
    box-shadow: 0 4px 12px #0f172a12;
    transform: translateY(-1px);
}

.button:active {
    transform: translateY(0);
    box-shadow: none;
}

.button:disabled {
    cursor: wait;
    opacity: .55;
    box-shadow: none;
    transform: none;
}

.wechat-button {
    color: #032416;
    border-color: #049c4c;
    background: #07c160;
    box-shadow: 0 2px 4px #076a3210;
}

.wechat-button:hover {
    border-color: #048b45;
    background: #06b357;
    box-shadow: 0 4px 12px #076a321a;
}

.wechat-button:active {
    border-color: #067a3f;
    background: #059f4c;
}

.wechat-button:focus-visible {
    outline-color: #078c49;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    min-height: 72px;
    border-bottom: 1px solid var(--line);
    background: #fffffff0;
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    padding-block: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: #27354a;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: .5px;
}

.brand img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 32px;
    color: var(--muted);
    font-size: .875rem;
}

.site-header nav > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 4px;
    white-space: nowrap;
    transition: color .18s;
}

.site-header nav > a:hover {
    color: var(--blue);
}

.header-button {
    min-height: 44px;
    padding: 0 16px;
    margin-left: 8px;
}

.header-button .icon {
    width: 21px;
    height: 19px;
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    background: linear-gradient(180deg, #f7faff, #fff);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0 0 0 40%;
    z-index: -1;
    background: radial-gradient(ellipse at 70% 40%, #e3edff, transparent 65%);
    pointer-events: none;
}

.hero-inner {
    min-height: 528px;
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 48px;
    padding-block: 64px;
}

.hero-copy {
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border: 1px solid #dce8f8;
    border-radius: 999px;
    background: #eef4ff;
    color: #305a8e;
    font-size: .75rem;
    font-weight: 500;
    line-height: 1.65;
}

.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
}

.hero h1 {
    margin-top: 16px;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.75px;
}

.hero h1 > span, .features h2 span, .conversion h2 span {
    color: var(--blue);
}

.hero-description {
    margin-top: 20px;
    color: var(--muted);
    font-size: .9375rem;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.hero-button {
    white-space: nowrap;
}

.hero-button > .wechat {
    width: 24px;
    height: 22px;
}

.hero-button > .icon:last-child {
    width: 14px;
    height: 16px;
    margin-left: 4px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding-inline: 4px;
    color: var(--muted);
    font-size: .875rem;
    transition: color .18s;
}

.text-link:hover {
    color: var(--blue);
}

.text-link .icon {
    width: 14px;
    height: 14px;
}

.hero-hint {
    margin-top: 12px;
    color: var(--muted);
    font-size: .75rem;
    line-height: 1.65;
}

.hero-preview {
    min-width: 0;
    width: 100%;
    border: 1px solid #dce5f1;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: 0 4px 8px #243f6b04, 0 24px 64px #243f6b0d;
    overflow: hidden;
    user-select: none;
}

.preview-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}

.preview-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.preview-brand img {
    width: 24px;
    height: 24px;
}

.preview-brand strong {
    font-size: .8125rem;
    font-weight: 600;
}

.preview-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #526176;
    font-size: .6875rem;
}

.preview-status > span, .timer-heading > span {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #22a265;
}

.preview-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 168px;
    align-items: stretch;
    gap: 16px;
    padding: 24px 20px;
}

.study-board {
    min-width: 0;
}

.board-header {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.board-header strong {
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.6;
}

.board-header > span {
    color: var(--muted);
    font-size: .6875rem;
    line-height: 1.6;
}

.board-task {
    display: grid;
    grid-template-columns: 16px auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    margin-top: 8px;
    padding: 8px;
    border: 1px solid #e7edf5;
    border-radius: var(--radius-sm);
    font-size: .75rem;
}

.board-task.is-done {
    background: #f7faf8;
}

.task-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.square-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #748499;
    border-radius: 4px;
    background: #fff;
}

.board-task .square-check {
    width: 16px;
    height: 16px;
}

.square-check > .icon {
    width: 14px;
    height: 14px;
    color: transparent;
    stroke-width: 2;
}

.square-check.checked {
    border-color: #15803d;
    background: #15803d;
}

.square-check.checked > .icon {
    color: #fff;
}

.subject {
    padding: 3px 5px;
    border-radius: 4px;
    font-size: .625rem;
    line-height: 1.4;
    white-space: nowrap;
}

.subject-chinese {
    background: #e9f1ff;
    color: #315f9e;
}

.subject-math {
    background: #eeedfc;
    color: #65559a;
}

.subject-english {
    background: #fff4df;
    color: #87631d;
}

.board-task small {
    color: var(--muted);
    font-size: .625rem;
    white-space: nowrap;
}

.board-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    color: var(--muted);
    font-size: .6875rem;
    white-space: nowrap;
}

.summary-progress {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: #e8edf4;
    overflow: hidden;
}

.summary-progress > span {
    display: block;
    width: 33.333%;
    height: 100%;
    border-radius: inherit;
    background: #3e9c72;
}

.hero-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    padding: 16px 12px;
    border: 1px solid #dfe8f5;
    border-radius: var(--radius-md);
    background: #f3f7fe;
}

.timer-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 20px;
}

.timer-heading > strong {
    color: #3e526f;
    font-size: .75rem;
    font-weight: 500;
}

.timer-dial {
    position: relative;
    width: 136px;
    max-width: 100%;
    aspect-ratio: 1;
    margin-block: 12px;
}

.timer-ring {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke-width: 5;
    transform: rotate(-90deg);
}

.ring-track {
    stroke: #dbe7f9;
}

.ring-value {
    stroke: var(--blue);
    stroke-dasharray: 415 496.372;
    stroke-linecap: round;
}

.dial-copy {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.dial-copy img {
    width: 20px;
    height: 20px;
    margin-bottom: 8px;
}

.dial-copy strong {
    font-size: min(1.75rem, 34px);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    letter-spacing: -.75px;
}

.dial-copy small {
    margin-top: 6px;
    color: var(--muted);
    font-size: min(.625rem, 12px);
}

.timer-actions {
    display: flex;
    gap: 8px;
    width: 100%;
}

.timer-actions > span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 32px;
    flex: 1;
    border: 1px solid #dce5f1;
    border-radius: 6px;
    background: #fff;
    color: var(--muted);
    font-size: .6875rem;
}

.timer-actions > span:last-child {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

.timer-actions .icon {
    width: 12px;
    height: 12px;
}

.preview-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 20px;
    border-top: 1px solid var(--line);
    background: #f9fbfd;
    color: var(--muted);
    font-size: .75rem;
}

.preview-footer .icon {
    width: 16px;
    height: 16px;
    color: #15803d;
}

.preview-footer > span {
    margin-left: auto;
    font-size: .6875rem;
}

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

.workflow > div {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    min-height: 104px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

.workflow-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: #edf4ff;
    color: #386cba;
}

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

.workflow-icon.green {
    color: #237a50;
    background: #ecf8f1;
}

.workflow-icon.green .icon {
    fill: currentColor;
    stroke-width: .4;
}

.workflow h2 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}

.workflow p {
    margin-top: 4px;
    color: var(--muted);
    font-size: .75rem;
    line-height: 1.65;
}

.step-number {
    align-self: flex-start;
    margin-left: auto;
    color: #63748a;
    font-size: .6875rem;
    font-variant-numeric: tabular-nums;
    line-height: 20px;
}

.features {
    margin-top: 64px;
}

.features-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 32px;
}

.section-kicker {
    margin-bottom: 8px;
    color: var(--blue);
    font-size: .75rem;
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: 1px;
}

.features-heading h2 {
    font-size: 1.75rem;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: -.25px;
}

.features-heading > p {
    padding-bottom: 4px;
    color: var(--muted);
    font-size: .875rem;
    line-height: 1.7;
}

.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    gap: 24px;
}

.feature-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

.feature-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--blue);
    font-size: .75rem;
    font-weight: 500;
    line-height: 1.65;
}

.feature-kicker .icon {
    width: 16px;
    height: 16px;
}

.group-card .feature-kicker {
    color: #1d7b50;
}

.feedback-card .feature-kicker {
    color: #6953a5;
}

.feature-card h3 {
    font-size: 1.125rem;
    line-height: 1.55;
    font-weight: 600;
}

.feature-card > p {
    margin-top: 8px;
    color: var(--muted);
    font-size: .875rem;
    line-height: 1.7;
}

.cycle-card {
    display: flex;
    flex-direction: column;
}

.cycle-tabs {
    display: flex;
    flex-shrink: 0;
    width: 224px;
    height: 44px;
    padding: 4px;
    margin-top: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--subtle);
}

.cycle-tabs > button {
    flex: 1;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--muted);
    font-size: .875rem;
    line-height: 1;
    transition: color .18s, background .18s, box-shadow .18s;
}

.cycle-tabs > button[aria-selected="true"] {
    color: var(--blue);
    background: #fff;
    box-shadow: 0 1px 4px #314b7214;
    font-weight: 500;
}

.cycle-tabs > button[aria-selected="false"]:hover {
    background: #e2eaf5;
    color: var(--ink);
}

#cycle-demo {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.weekday-options {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
    min-height: 40px;
}

.weekday-options > button {
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--muted);
    font-size: .875rem;
    transition: color .18s, background .18s, border-color .18s;
}

.weekday-options > button[aria-pressed="true"] {
    color: #245cae;
    border-color: #a5bee3;
    background: #eaf2ff;
    font-weight: 500;
}

.weekday-options > button[aria-pressed="false"]:hover {
    border-color: #a5bee3;
    background: #f1f6ff;
}

.reading-task {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 16px;
    margin-top: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #f8fafc;
}

.reading-task > .icon:first-child {
    width: 20px;
    height: 20px;
    color: var(--blue);
}

.reading-task strong {
    font-size: .875rem;
    font-weight: 500;
}

.reading-task > span {
    margin-left: auto;
    color: var(--muted);
    font-size: .75rem;
}

.reading-task > .icon:last-child {
    width: 13px;
    height: 15px;
    color: var(--muted);
}

.calendar-demo {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 208px;
    margin-top: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
}

.calendar-heading {
    display: flex;
    align-items: center;
    min-height: 36px;
    color: var(--muted);
    font-size: .875rem;
}

.calendar-heading > button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 8px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--muted);
}

.calendar-heading > button:hover {
    background: #f1f5fb;
}

.calendar-heading > button:first-of-type {
    margin-left: auto;
    margin-right: 8px;
}

.calendar-heading > button:first-of-type .icon {
    transform: rotate(180deg);
}

.calendar-heading .icon {
    width: 13px;
    height: 13px;
}

.calendar-week {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: center;
    text-align: center;
    height: 24px;
    margin-top: 12px;
    color: var(--muted);
    font-size: .75rem;
}

.calendar-days {
    display: grid;
    flex: 1;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-auto-rows: 44px;
    align-content: space-evenly;
    margin-top: 8px;
    text-align: center;
}

.calendar-days > button {
    justify-self: center;
    align-self: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--muted);
    font-size: .8125rem;
    font-variant-numeric: tabular-nums;
}

.calendar-days > button[aria-pressed="true"] {
    color: #fff;
    background: var(--blue);
}

.calendar-days > button[aria-pressed="false"]:hover {
    background: #edf4ff;
    color: var(--blue);
}

.feature-stack {
    display: grid;
    gap: 24px;
    min-width: 0;
}

.group-demo {
    margin-top: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #f8fafc;
}

.group-members {
    min-height: 72px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.group-members > strong {
    flex-shrink: 0;
    color: var(--ink);
    font-size: .875rem;
    font-weight: 500;
    white-space: nowrap;
}

.member-avatars {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding-left: 5px;
}

.member-avatars img {
    width: 34px;
    height: 34px;
    margin-left: -5px;
    border: 2px solid #fff;
    border-radius: 50%;
    object-fit: cover;
}

.member-add {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #a8b5c6;
    border-radius: 50%;
    color: var(--muted);
    background: #fff;
}

.member-add .icon {
    width: 16px;
    height: 16px;
    stroke-width: 1.5;
}

.member-add:hover {
    border-color: #8aa9d7;
    background: #edf4ff;
    color: var(--blue);
}

.group-chevron {
    width: 13px;
    height: 15px;
    margin-left: 5px;
    color: #9aa7b8;
}

.shared-task {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 56px;
    gap: 12px;
    padding: 0 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    cursor: pointer;
    font-size: .875rem;
}

.shared-task > input {
    width: 1px;
    height: 1px;
    opacity: 0;
    position: absolute;
}

.shared-task > .square-check {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.shared-task > small {
    margin-left: auto;
    color: var(--muted);
    font-size: .75rem;
}

.shared-task > input:checked + .square-check {
    border-color: #15803d;
    background: #15803d;
}

.shared-task > input:checked + .square-check .icon {
    color: #fff;
}

.shared-task > input:checked ~ span:last-of-type {
    color: var(--muted);
    text-decoration: line-through;
}

.shared-task > input:focus-visible + .square-check {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.feedback-demo {
    padding: 16px;
    margin-top: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
}

.feedback-demo > div {
    display: grid;
    grid-template-columns: 20px 72px minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
    color: var(--muted);
    font-size: .8125rem;
}

.feedback-demo .icon {
    width: 18px;
    height: 18px;
    stroke-width: 1.6;
}

.feedback-time, .feedback-note {
    min-height: 40px;
}

.feedback-time > span:last-child {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.small-check {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #15803d;
    color: #fff;
    display: grid;
    place-items: center;
}

.small-check .icon {
    width: 12px;
    height: 12px;
}

.feedback-note > p {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: var(--subtle);
    color: var(--muted);
    font-size: .75rem;
    line-height: 1.65;
}

.feedback-images {
    margin-top: 12px;
}

.feedback-images > div {
    display: flex;
    gap: 8px;
    min-width: 0;
}

.feedback-images img {
    width: 56px;
    height: 44px;
    border: 1px solid #e5e9ef;
    border-radius: 6px;
    object-fit: cover;
}

.photo-add {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 1px dashed #a8b5c6;
    border-radius: 6px;
    display: grid;
    place-items: center;
    color: var(--muted);
}

.photo-add .icon {
    width: 16px;
    height: 16px;
}

.conversion {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
    min-height: 280px;
    padding: 40px 48px;
    margin-top: 56px;
    border: 1px solid #e0e9f5;
    border-radius: var(--radius-lg);
    background: #eef4ff;
}

.conversion h2 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: -.25px;
}

.conversion-copy {
    min-width: 0;
}

.conversion-copy > p {
    margin-top: 12px;
    color: var(--muted);
    font-size: .9375rem;
    line-height: 1.7;
}

.conversion-button {
    margin-top: 24px;
    max-width: 100%;
    padding-block: 12px;
    white-space: normal;
}

.conversion-button .wechat {
    width: 22px;
    height: 20px;
}

.conversion-button > .icon:last-child {
    width: 13px;
    height: 15px;
    margin-left: 5px;
}

.conversion-copy > small {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: .75rem;
    line-height: 1.65;
}

.qr-card {
    width: 216px;
    max-width: 100%;
    min-height: 240px;
    padding: 16px;
    border: 1px solid #e1e8f1;
    border-radius: var(--radius-md);
    background: #fff;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-card);
    transition: border-color .18s, box-shadow .18s;
}

.qr-card > img {
    width: 168px;
    height: 168px;
    object-fit: contain;
}

.qr-card > strong {
    margin-top: 4px;
    font-size: .8125rem;
    line-height: 1.65;
    font-weight: 500;
}

.qr-card > span {
    color: var(--muted);
    font-size: .75rem;
    line-height: 1.65;
}

.qr-card:hover {
    border-color: #bfd1e9;
    box-shadow: 0 8px 24px #456fa414;
}

.site-footer {
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-size: .75rem;
    color: var(--muted);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: .8125rem;
    font-weight: 500;
}

.footer-brand img {
    width: 24px;
    height: 24px;
}

.footer-divider {
    width: 1px;
    height: 12px;
    background: #d5dee9;
    margin-inline: 16px;
}

.code-dialog {
    width: min(440px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    border: 1px solid #e2e9f3;
    border-radius: var(--radius-lg);
    padding: 56px 24px 24px;
    background: #fff;
    color: var(--ink);
    text-align: center;
    box-shadow: 0 24px 100px #182f4a2e;
}

.code-dialog::backdrop {
    background: #24354d6b;
    backdrop-filter: blur(6px);
}

.code-dialog h2 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.6;
}

.code-dialog > p {
    color: var(--muted);
    font-size: .875rem;
    line-height: 1.7;
    margin-top: 8px;
}

.dialog-close {
    position: absolute;
    right: 8px;
    top: 8px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 12px;
    border: 0;
    border-radius: 50%;
    background: var(--subtle);
    color: var(--muted);
}

.dialog-close:hover {
    background: var(--line);
}

.dialog-close .icon {
    width: 16px;
    height: 16px;
}

.dialog-code {
    width: min(264px, 100%);
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    margin: 16px auto 24px;
    background: #fff;
    padding: 8px;
}

.copy-name {
    display: flex;
    width: min(288px, 100%);
    margin: auto;
    padding: 12px;
}

.save-code {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 8px;
    margin-top: 8px;
    font-size: .875rem;
    color: var(--blue);
}

.save-code:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.code-dialog > .copy-status {
    font-size: .75rem;
    min-height: 24px;
}

@media (max-width: 1100px) {
    .hero-inner {
        gap: 32px;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-actions {
        gap: 8px;
    }

    .workflow > div {
        gap: 12px;
        padding: 16px;
    }

    .step-number {
        display: none;
    }

    .features-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 960px) {
    .site-header nav {
        gap: 20px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 40px;
        padding-block: 48px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
        gap: 16px;
    }

    .hero-preview {
        max-width: 640px;
    }

    .workflow > div {
        align-items: flex-start;
        flex-direction: column;
    }

    .feature-card {
        padding: 20px;
    }

    .group-members {
        flex-wrap: wrap;
    }

    .group-chevron {
        display: none;
    }

    .shared-task {
        flex-wrap: wrap;
    }

    .feedback-demo > div {
        grid-template-columns: 20px minmax(0, 1fr);
    }

    .feedback-demo > div > :nth-child(3) {
        grid-column: 2;
        margin-block: 4px 8px;
    }

    .feedback-time > span:last-child {
        text-align: left;
    }

    .conversion {
        padding: 32px;
        gap: 32px;
    }
}

@media (max-width: 760px) {
    .site-header nav > a {
        display: none;
    }

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

    .group-members {
        flex-wrap: nowrap;
    }

    .group-chevron {
        display: block;
    }

    .feedback-demo > div {
        grid-template-columns: 20px 64px minmax(0, 1fr);
    }

    .feedback-demo > div > :nth-child(3) {
        grid-column: auto;
        margin-block: 0;
    }

    .feedback-time > span:last-child {
        text-align: right;
    }
}

@media (max-width: 600px) {
    :root {
        scroll-padding-top: 5.5rem;
    }

    .container, .header-inner, .hero-inner {
        width: calc(100% - 40px);
    }

    .site-header {
        min-height: 64px;
    }

    .header-inner {
        min-height: 64px;
        padding-block: 10px;
    }

    .brand {
        gap: 8px;
        font-size: 1rem;
    }

    .brand img {
        width: 28px;
        height: 28px;
    }

    .header-button {
        padding-inline: 12px;
        font-size: .8125rem;
    }

    .hero-inner {
        gap: 32px;
        padding-block: 40px 32px;
    }

    .hero h1 {
        font-size: 2.25rem;
        letter-spacing: -.5px;
    }

    .hero-description {
        margin-top: 16px;
        font-size: .875rem;
    }

    .hero-actions {
        gap: 8px 12px;
    }

    .hero-button {
        padding-inline: 16px;
    }

    .text-link {
        font-size: .8125rem;
    }

    .hero-preview {
        border-radius: 16px;
    }

    .preview-toolbar {
        min-height: 56px;
        padding: 12px 16px;
        gap: 8px;
    }

    .preview-brand strong {
        font-size: .75rem;
    }

    .preview-status {
        gap: 6px;
        font-size: .625rem;
    }

    .preview-body {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 16px;
    }

    .board-header {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 4px 12px;
    }

    .board-task {
        padding: 10px;
        font-size: .8125rem;
    }

    .subject, .board-task small {
        font-size: .6875rem;
    }

    .hero-timer {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 8px 16px;
        padding: 16px;
    }

    .timer-heading {
        grid-column: 2;
        align-self: end;
        justify-content: flex-start;
    }

    .timer-dial {
        grid-row: 1 / 3;
        grid-column: 1;
        width: 88px;
        margin: 0;
    }

    .dial-copy img {
        display: none;
    }

    .dial-copy strong {
        font-size: min(1.375rem, 28px);
    }

    .timer-actions {
        grid-column: 2;
        align-self: start;
    }

    .timer-actions > span {
        min-height: 36px;
    }

    .preview-footer {
        padding-inline: 16px;
        font-size: .6875rem;
    }

    .preview-footer > span {
        display: none;
    }

    .workflow {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 24px;
    }

    .workflow > div {
        align-items: center;
        flex-direction: row;
        gap: 16px;
        min-height: 88px;
        padding: 16px 20px;
    }

    .workflow p {
        font-size: .8125rem;
    }

    .step-number {
        display: block;
        align-self: center;
    }

    .features {
        margin-top: 48px;
    }

    .features-heading {
        gap: 12px;
        padding-bottom: 24px;
    }

    .features-heading h2 {
        max-width: 300px;
        font-size: 1.5rem;
        text-wrap: balance;
    }

    .features-heading > p {
        padding: 0;
        font-size: .875rem;
    }

    .feature-grid, .feature-stack {
        gap: 16px;
    }

    .feature-card {
        padding: 20px;
        border-radius: 16px;
    }

    .feature-card h3 {
        font-size: 1.0625rem;
    }

    .feature-card > p {
        font-size: .8125rem;
    }

    .cycle-tabs {
        width: 100%;
    }

    .weekday-options {
        gap: 4px;
    }

    .calendar-demo {
        padding-inline: 8px;
    }

    .reading-task {
        padding-inline: 12px;
        gap: 8px;
    }

    .group-members {
        gap: 8px;
        padding-inline: 12px;
    }

    .group-members > strong {
        font-size: .8125rem;
    }

    .member-avatars img {
        width: 30px;
        height: 30px;
    }

    .group-chevron {
        display: none;
    }

    .shared-task {
        gap: 8px;
        padding: 12px;
        font-size: .8125rem;
    }

    .shared-task > small {
        font-size: .75rem;
    }

    .feedback-demo {
        padding: 12px;
    }

    .feedback-demo > div {
        grid-template-columns: 18px minmax(0, 1fr);
        gap: 8px;
        font-size: .8125rem;
    }

    .feedback-demo > div > :nth-child(3) {
        grid-column: 2;
        margin-block: 4px 8px;
    }

    .feedback-time > span:last-child {
        text-align: left;
    }

    .feedback-note > p {
        font-size: .8125rem;
    }

    .conversion {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 24px;
        margin-top: 32px;
        padding: 32px 20px;
        text-align: center;
    }

    .conversion h2 {
        font-size: 1.5rem;
    }

    .conversion-copy > p {
        font-size: .875rem;
    }

    .qr-card {
        width: 216px;
    }

    .site-footer {
        flex-wrap: wrap;
        min-height: 96px;
        padding: 24px 16px;
        font-size: .75rem;
    }

    .footer-divider {
        margin-inline: 12px;
    }

    .code-dialog {
        padding-inline: 20px;
    }

    .code-dialog h2 {
        padding-inline: 8px;
        font-size: 1.0625rem;
    }
}

@media (max-width: 360px) {
    .container, .header-inner, .hero-inner {
        width: calc(100% - 32px);
    }

    .hero h1 {
        font-size: 2.125rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 4px;
    }

    .hero-button {
        width: 100%;
    }

    .preview-toolbar {
        padding-inline: 12px;
    }

    .preview-brand {
        gap: 6px;
    }

    .preview-status {
        font-size: .5625rem;
    }

    .preview-body, .feature-card {
        padding-inline: 16px;
    }

    .board-task {
        gap: 6px;
        padding-inline: 8px;
        font-size: .75rem;
    }

    .subject, .board-task small {
        font-size: .625rem;
    }

    .hero-timer {
        padding-inline: 12px;
        gap: 8px 12px;
    }

    .timer-actions {
        gap: 4px;
    }

    .group-members {
        flex-wrap: wrap;
    }

    .member-avatars {
        margin-left: auto;
    }

    .conversion {
        padding-inline: 16px;
    }

    .conversion-button {
        padding-inline: 12px;
        font-size: .8125rem;
    }

    .site-footer {
        gap: 8px;
    }

    .footer-divider {
        display: none;
    }

    .site-footer > p {
        flex-basis: 100%;
        text-align: center;
    }
}

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

    *, *::before, *::after {
        transition: none !important;
    }
}
