html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { background: #080a0b; color: #eef1f3; }
.features-main *, .features-main *::before, .features-main *::after { box-sizing: border-box; }
.features-container { width: min(1060px, calc(100% - 48px)); margin-inline: auto; }
.features-skip { position: fixed; z-index: 100; top: 12px; left: 16px; padding: 12px 20px; border-radius: 8px; background: #6fe3b9; color: #092016; transform: translateY(-180%); }
.features-skip:focus { transform: translateY(0); }
.features-hero { padding: 88px 0 64px; text-align: center; }
.features-eyebrow { color: #79e6be; font-size: .75rem; letter-spacing: .16em; }
.features-hero h1 { margin: 22px 0; font-size: clamp(2.25rem, 5vw, 4.25rem); line-height: 1.12; letter-spacing: -.045em; }
.features-hero > p:not(.features-eyebrow) { color: #aab3bc; font-size: 1rem; line-height: 1.8; }
.features-jump { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.features-jump a { text-decoration: none; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid #343a40; border-radius: 24px; color: #cdd6dc; font-size: .85rem; }
.features-jump a:hover { color: #79e6be; }
.feature-section { padding: 48px 0 64px; border-top: 1px solid #ffffff14; }
.feature-tagged-todos { max-width: 892px; margin-inline: auto; }
.feature-timer-preview .dash-progress-mode-control::after { content: ""; position: absolute; left: calc(100% + .77459cqw); top: 50%; width: 3.87297cqw; height: 4.18280cqw; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2 -2 50 54' fill='%235ee0bd' stroke='%23133b31' stroke-width='2' stroke-linejoin='round'%3E%3Cpolygon points='0,25 26,0 26,12 46,12 46,38 26,38 26,50'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 .23238cqw .61967cqw #0006); animation: dash-point-to-mode 1.6s ease-in-out infinite; pointer-events: none; }
.feature-timer-preview .dash-scroll-toggle { display: none; }
.feature-clan-preview .clan-chat-arrow { display: none; }
.feature-activity-preview .dash-scroll-toggle { display: none; }
.feature-stats-preview .demo-scroll-toggle { display: none; }
.feature-blocklist-preview .block-demo-lock-arrow { display: none; }
.feature-heatmap { container-type: inline-size; width: 100%; margin: 32px auto 0; }
.feature-heatmap .dash-activity-grid { margin: 0; gap: .35cqw; }
.feature-heatmap .dash-activity-grid i { border-radius: .2cqw; }
.feature-heatmap-legend { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin-top: 14px; color: #98a79d; font-size: .75rem; }
.feature-heatmap-legend i { display: block; width: 12px; height: 12px; border: 1px solid #252b33; border-radius: 2px; background: #171c22; }
.feature-heatmap-legend [data-level="1"] { background: #123e34; }
.feature-heatmap-legend [data-level="2"] { background: #17614e; }
.feature-heatmap-legend [data-level="3"] { background: #209475; }
.feature-heatmap-legend [data-level="4"] { background: #43d4a8; }
.feature-heading { display: flex; align-items: baseline; gap: 20px; margin-bottom: 32px; }
.feature-number { color: #79e6be; font-size: .9rem; font-variant-numeric: tabular-nums; }
.feature-heading h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.035em; line-height: 1.2; }
.feature-heading p { margin: 0; color: #9da8b2; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-item { padding: 24px; border: 1px solid #ffffff14; border-radius: 14px; background: #101214; scroll-margin-top: 100px; }
.feature-item h3 { margin: 0 0 12px; color: #e3ebe8; font-size: 1rem; line-height: 1.5; font-weight: 600; }
.feature-item p { margin: 0; color: #aab3bc; font-size: .9rem; line-height: 1.8; }
.features-more { margin: 24px 0 0; }
.features-more a { text-decoration: none; }
.features-more a, .features-end a { color: #79e6be; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
/* Match homepage previews: 940px frame with 24px gutters, 12px on mobile. */
.features-preview { position: relative; left: 50%; transform: translateX(-50%); width: min(940px, 100vw); margin: 32px 0 0; padding-inline: 24px; min-width: 0; }
.features-preview .app-window { container-type: inline-size; border: 1px solid #343a40; border-radius: 8px; overflow: hidden; background: #090a0b; }
.features-preview .window-bar { box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; height: 2.9cqw; padding-left: 1.35cqw; background: #15171a; border-bottom: .08cqw solid #282c30; }
.features-preview .window-title { display: flex; align-items: center; gap: .67cqw; font-size: 1.12cqw; color: #d4d7dc; }
.features-preview .window-title img { width: 1.35cqw; height: 1.35cqw; }
.features-preview .window-controls { display: flex; align-self: stretch; }
.features-preview .window-controls > span { width: 3.8cqw; display: flex; align-items: center; justify-content: center; }
.features-preview .window-controls svg { width: 1.12cqw; height: 1.12cqw; fill: none; stroke: currentColor; }
.features-preview figcaption { margin-top: 14px; color: #929ea8; font-size: .8rem; line-height: 1.7; text-align: center; }
.features-end { display: flex; align-items: center; gap: 20px; width: min(100%, 700px); padding: 24px; margin: 12px auto 72px; border: 1px solid #343a40; border-radius: 16px; background: #101214; }
.features-end > div { flex: 1; min-width: 0; }
.features-end img { display: block; flex: 0 0 80px; width: 80px; height: auto; }
.features-end h2 { margin: 0 0 10px; font-size: 1.4rem; line-height: 1.4; letter-spacing: -.02em; }
.features-end p { margin: 0; color: #aab3bc; line-height: 1.7; }
.features-end-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 6px; }
.features-end a { text-decoration: none; margin: 0; min-height: 28px; font-size: .9rem; }
.features-main a:focus-visible { outline: 2px solid #79e6be; outline-offset: 5px; border-radius: 4px; }
@media (max-width: 850px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
 .feature-tagged-todos { position: relative; left: 50%; transform: translateX(-50%); width: calc(100vw - 24px); max-width: none; }
 .features-container { width: calc(100% - 32px); }
 .features-preview { padding-inline: 12px; }
 .features-hero { padding: 48px 0 40px; }
 .features-hero h1 { font-size: 2.25rem; }
 .features-hero > p:not(.features-eyebrow) { font-size: .9rem; }
 .features-jump { gap: 8px; }
 .features-jump a { padding: 10px 14px; font-size: .8rem; }
 .feature-section { padding: 32px 0 40px; }
 .feature-heading { gap: 12px; margin-bottom: 24px; }
 .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
 .feature-item { padding: 20px; }
 .features-end { flex-direction: column; align-items: center; gap: 16px; padding: 24px; margin-bottom: 40px; text-align: center; }
 .features-end img { flex: 0 0 auto; width: 72px; height: auto; }
 .features-end-actions { justify-content: center; gap: 4px 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .feature-timer-preview .dash-progress-mode-control::after { animation: none; } }
