:root {
    --ink: #171816;
    --muted: #6d706a;
    --line: #dde1dc;
    --paper: #f5f6f3;
    --white: #ffffff;
    --accent: #a9d7c6;
    --accent-text: #151515;
    --radius-lg: 30px;
    --radius-md: 20px;
    --shadow: 0 22px 60px rgba(28, 35, 31, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.wordmark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.wordmark-mark {
    width: 34px; height: 34px; border-radius: 11px; display: inline-grid; place-items: center;
    color: #fff; background: var(--ink); font-weight: 800; font-size: 16px;
}
.wordmark-mark.large { width: 52px; height: 52px; border-radius: 16px; font-size: 23px; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { color: #565952; text-decoration: none; font-size: 14px; font-weight: 600; }
.site-header nav a:hover { color: var(--ink); }

.hero { min-height: 690px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 66px; align-items: center; padding: 60px 0 86px; }
.eyebrow { margin: 0 0 20px; color: #777b74; text-transform: uppercase; letter-spacing: .11em; font-size: 12px; font-weight: 750; }
h1, h2 { margin: 0; letter-spacing: -.045em; line-height: .98; }
h1 { font-size: clamp(58px, 7vw, 94px); max-width: 720px; font-weight: 720; }
h2 { font-size: clamp(40px, 5vw, 64px); font-weight: 700; }
.lead { max-width: 560px; margin: 28px 0 0; color: #5d615a; font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
    min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer;
    transition: transform .15s ease, opacity .15s ease, border-color .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button.primary { color: #fff; background: var(--ink); }
.button.secondary { color: var(--ink); background: rgba(255,255,255,.58); border-color: var(--line); }
.button.wide { width: 100%; margin-top: 4px; }
.quiet-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; color: #787b75; font-size: 13px; }
.quiet-facts span:not(:first-child)::before { content: "·"; margin-right: 20px; color: #a5a8a2; }
.hero-visual { display: flex; justify-content: flex-end; }

.app-window { width: 100%; max-width: 540px; overflow: hidden; border: 1px solid #dfe4df; border-radius: 28px; background: #f4f6f5; box-shadow: var(--shadow); }
.app-top { min-height: 104px; padding: 21px 27px; display: flex; justify-content: space-between; align-items: center; gap: 18px; color: var(--preview-accent-text, #151515); background: var(--preview-accent, #a9d7c6); }
.app-brand-row { min-width: 0; display: flex; align-items: center; gap: 13px; }
.app-brand-row > div { min-width: 0; }
.app-brand-row strong { display: block; max-width: 260px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 22px; line-height: 1.15; }
.app-brand-row small { display: block; margin-top: 4px; font-size: 10px; opacity: .7; }
.app-mark { flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: #1b1b1b; color: #fff; font-size: 22px; font-weight: 800; }
.move-pill { flex: 0 0 auto; padding: 7px 11px; border: 1px solid rgba(0,0,0,.12); border-radius: 13px; background: rgba(255,255,255,.16); font-size: 10px; font-weight: 750; }
.app-body { padding: 27px; }
.app-intro { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.app-intro b { display: block; font-size: 21px; letter-spacing: -.02em; }
.app-intro small { display: block; margin-top: 4px; color: #777a74; font-size: 11px; }
.active-pill { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid #d7e8da; border-radius: 999px; background: #eaf4eb; font-size: 11px; font-weight: 700; }
.active-pill i { width: 7px; height: 7px; border-radius: 50%; background: #2e7d32; }
.timer-card { padding: 24px; text-align: center; border: 1px solid #e0e6e2; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(28,35,31,.05); }
.timer-card small { color: #7c7f79; font-size: 10px; font-weight: 700; letter-spacing: .05em; }
.timer-card strong { display: block; margin-top: 3px; font-size: 44px; letter-spacing: -.04em; }
.timer-card span { display: block; color: #70736d; font-size: 11px; }
.fake-control { margin-top: 15px; padding: 15px 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #e0e6e2; border-radius: 14px; background: #fff; font-size: 11px; }
.fake-control span { color: #747871; }
.fake-button { margin-top: 15px; padding: 13px; text-align: center; border-radius: 12px; background: #181818; color: #fff; font-size: 11px; font-weight: 700; }
.fake-check { margin-top: 15px; display: flex; align-items: center; gap: 8px; color: #70736d; font-size: 10px; }
.fake-check i { width: 17px; height: 17px; display: grid; place-items: center; border: 1px solid #cfd6d1; border-radius: 5px; background: #fff; font-style: normal; }

.principles { padding: 40px 0 120px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principles article { padding: 30px 28px 32px; border-top: 1px solid #d7dbd6; }
.principles article > span { color: #9a9d97; font-size: 12px; font-weight: 700; }
.principles h2 { margin-top: 44px; font-size: 27px; letter-spacing: -.03em; }
.principles p { margin: 14px 0 0; color: #686c65; font-size: 15px; }

.customize-section { padding: 120px 0; background: #fff; border-block: 1px solid #e4e7e2; }
.customize-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 86px; }
.customize-copy > p:not(.eyebrow) { max-width: 500px; margin: 25px 0 0; color: #656962; font-size: 17px; }
form { max-width: 450px; margin-top: 36px; display: grid; gap: 17px; }
label > span { display: block; margin: 0 0 7px 2px; color: #656962; font-size: 12px; font-weight: 700; }
input[type="text"], select {
    width: 100%; height: 48px; padding: 0 14px; border: 1px solid #d8ddd8; border-radius: 13px;
    outline: none; background: #fbfcfa; color: var(--ink); font: inherit; font-size: 14px;
}
input[type="text"]:focus, select:focus { border-color: #999f98; box-shadow: 0 0 0 3px rgba(23,24,22,.05); }
.color-row { display: grid; grid-template-columns: 54px 1fr; gap: 10px; }
input[type="color"] { width: 54px; height: 48px; padding: 5px; border: 1px solid #d8ddd8; border-radius: 13px; background: #fbfcfa; cursor: pointer; }
.form-note { margin: 0 !important; color: #8b8e88 !important; font-size: 12px !important; text-align: center; }
.live-preview-wrap { min-width: 0; }
.preview-label { margin: 0 8px 13px; display: flex; align-items: center; justify-content: space-between; color: #8a8e87; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.preview-label i { width: 7px; height: 7px; border-radius: 50%; background: #4d9d63; box-shadow: 0 0 0 4px #e7f3e9; }
.live-preview { max-width: 610px; margin-left: auto; }
.live-preview .app-top { min-height: 112px; }
.live-preview .app-body { padding: 31px; }
.live-preview .timer-card strong { font-size: 50px; }

.privacy-callout { padding: 120px 0; display: grid; grid-template-columns: 1.15fr .85fr; column-gap: 80px; row-gap: 28px; align-items: end; }
.privacy-callout p:not(.eyebrow) { margin: 0; color: #646861; font-size: 17px; }
.privacy-callout > a { grid-column: 2; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.closing { padding: 80px 0 140px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.closing h2 { margin: 24px 0 32px; font-size: clamp(52px, 7vw, 86px); }
.site-footer { padding: 28px 0 40px; border-top: 1px solid #d9ddd8; display: flex; justify-content: space-between; gap: 30px; color: #6d706a; font-size: 13px; }
.site-footer > div:first-child { display: flex; flex-direction: column; gap: 3px; }
.site-footer strong { color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.footer-links a { text-decoration: none; }

.simple-page { min-height: calc(100vh - 170px); padding: 90px 0 120px; }
.simple-page .page-card { max-width: 780px; padding: 48px; border: 1px solid #dde1dc; border-radius: 28px; background: #fff; box-shadow: 0 18px 50px rgba(28,35,31,.06); }
.simple-page h1 { font-size: clamp(48px, 7vw, 72px); }
.simple-page h2 { margin-top: 36px; font-size: 24px; letter-spacing: -.025em; line-height: 1.15; }
.simple-page p, .simple-page li { color: #5f635c; }
.simple-page ul { padding-left: 20px; }
.simple-page .back-link { display: inline-block; margin-top: 30px; font-weight: 700; text-decoration: none; }

@media (max-width: 920px) {
    .hero, .customize-grid { grid-template-columns: 1fr; gap: 56px; }
    .hero { padding-top: 50px; }
    .hero-visual { justify-content: flex-start; }
    .principles { grid-template-columns: 1fr; gap: 0; }
    .principles article { display: grid; grid-template-columns: 50px 1fr; column-gap: 10px; }
    .principles h2 { margin-top: 0; }
    .principles p { grid-column: 2; }
    .privacy-callout { grid-template-columns: 1fr; }
    .privacy-callout > a { grid-column: 1; }
    .live-preview { margin-left: 0; }
}

@media (max-width: 640px) {
    .shell, .site-header { width: min(100% - 28px, 1180px); }
    .site-header { min-height: 74px; }
    .site-header nav a:first-child { display: none; }
    .site-header nav { gap: 16px; }
    h1 { font-size: 56px; }
    .hero { min-height: auto; padding: 54px 0 76px; }
    .lead { font-size: 18px; }
    .quiet-facts span:not(:first-child)::before { display: none; }
    .app-top { min-height: 88px; padding: 17px; }
    .app-mark { width: 42px; height: 42px; }
    .app-brand-row strong { max-width: 155px; font-size: 18px; }
    .move-pill { display: none; }
    .app-body, .live-preview .app-body { padding: 18px; }
    .app-intro small { display: none; }
    .timer-card strong, .live-preview .timer-card strong { font-size: 42px; }
    .principles { padding-bottom: 80px; }
    .customize-section, .privacy-callout { padding-block: 80px; }
    .site-footer { flex-direction: column; }
    .simple-page .page-card { padding: 28px 22px; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

.header-right { display: flex; align-items: center; gap: 24px; }
.language-switch { display: inline-flex; align-items: center; gap: 7px; color: #8a8d87; font-size: 12px; font-weight: 700; }
.language-switch button { padding: 4px 2px; border: 0; background: transparent; color: #8a8d87; font: inherit; cursor: pointer; }
.language-switch button.active { color: var(--ink); }
.language-switch button:hover { color: var(--ink); }
.colour-field { margin: 0; padding: 0; border: 0; }
.colour-field legend { margin: 0 0 7px 2px; padding: 0; color: #656962; font-size: 12px; font-weight: 700; }
.colour-swatches { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 11px; }
.colour-swatch { width: 30px; height: 30px; padding: 0; border: 2px solid transparent; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); cursor: pointer; outline: none; }
.colour-swatch.active { border-color: #fff; box-shadow: 0 0 0 2px var(--ink), inset 0 0 0 1px rgba(0,0,0,.08); }
.colour-swatch:focus-visible { box-shadow: 0 0 0 3px rgba(23,24,22,.18), inset 0 0 0 1px rgba(0,0,0,.08); }

@media (max-width: 640px) {
    .header-right { gap: 14px; }
    .language-switch { gap: 5px; }
    .site-header nav { gap: 13px; }
    .site-header nav a:nth-child(2), .site-header nav a:nth-child(3) { display: none; }
}
