:root {
  --navy-950: #070b14;
  --navy-900: #08111f;
  --navy-850: #0b1525;
  --navy-800: #101a2d;
  --slate-700: #27354b;
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --ink: #101827;
  --ink-soft: #4f5a6d;
  --muted: #6f7888;
  --line: #d9d8d2;
  --blue: #4f8cff;
  --blue-light: #60a5fa;
  --violet: #6366f1;
  --green: #10b981;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--navy-900); color: #f8fafc; font-family: var(--font); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin-top: 0; }
[hidden] { display: none !important; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.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: 1000; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-150%); background: white; color: var(--ink); text-decoration: none; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #a9c6ff; outline-offset: 3px; }

.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(8,17,31,.9); backdrop-filter: blur(14px); }
.nav-shell { width: min(1180px, calc(100% - 40px)); height: 72px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; color: #f8fafc; font-size: .98rem; font-weight: 750; letter-spacing: -.02em; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.brand b { color: var(--blue-light); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a, footer a { color: #aeb9ca; font-size: .82rem; font-weight: 550; text-decoration: none; }
.nav-links a:hover, footer a:hover { color: white; }
.nav-shell > .button { justify-self: end; }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 21px; border: 1px solid var(--blue); border-radius: 12px; background: var(--blue); color: white; font-size: .88rem; font-weight: 750; text-decoration: none; box-shadow: 0 8px 24px rgba(79,140,255,.2); transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.button:hover { background: #3f7de8; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(79,140,255,.28); }
.button svg { width: 18px; height: 18px; }
.button-small { min-height: 39px; padding: 0 15px; border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.08); box-shadow: none; }
.button-small:hover { background: rgba(255,255,255,.13); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #cbd5e1; font-size: .88rem; font-weight: 650; text-underline-offset: 5px; }
.section-label, .eyebrow { margin-bottom: 17px; color: var(--blue-light); font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 22px; border-top: 1px solid var(--blue-light); }

.hero { width: min(1240px, calc(100% - 48px)); min-height: calc(100vh - 72px); margin: 0 auto; padding: 86px 0 100px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(540px, 1.08fr); align-items: center; gap: clamp(58px, 6vw, 96px); }
.hero-copy { position: relative; z-index: 2; }
h1 { max-width: 690px; margin-bottom: 27px; font-size: clamp(3.4rem, 5.6vw, 5.65rem); line-height: .99; letter-spacing: -.058em; font-weight: 720; }
h1 em { color: var(--blue-light); font-style: normal; }
.hero-lede { max-width: 565px; margin-bottom: 31px; color: #aab6c8; font-size: clamp(1rem, 1.5vw, 1.13rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-line { margin: 27px 0 0; color: #78869b; font-size: .76rem; }
.trust-line span { margin: 0 7px; color: #46566d; }

.hero-product { position: relative; }
.browser-window { position: relative; min-height: 610px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: #dfe5eb; box-shadow: 0 36px 90px rgba(0,0,0,.42); }
.browser-tabs { height: 37px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #cdd5df; color: #526071; }
.browser-dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa5b3; }
.browser-tab { width: 190px; height: 29px; display: flex; align-items: center; margin-left: 6px; padding: 0 13px; border-radius: 8px 8px 0 0; background: #eef2f5; font-size: .65rem; }
.browser-add { padding-left: 5px; font-size: 1.05rem; }
.browser-toolbar { height: 45px; display: grid; grid-template-columns: auto auto auto 1fr auto; align-items: center; gap: 12px; padding: 0 13px; background: #eef2f5; color: #647284; }
.address-bar { height: 29px; display: flex; align-items: center; padding: 0 13px; border-radius: 15px; background: white; font-size: .62rem; }
.toolbar-logo { width: 27px; height: 27px; border-radius: 50%; object-fit: cover; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.work-page { min-height: 528px; padding: 66px 40px; background: #f7f8f7; color: #87909b; }
.work-kicker { display: block; margin-bottom: 18px; color: #8c96a3; font-size: .58rem; letter-spacing: .16em; }
.work-line { display: block; height: 14px; margin-bottom: 13px; border-radius: 4px; background: #dce2e6; }
.line-long { width: 68%; }
.line-medium { width: 49%; }
.work-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 46px; }
.work-columns span { height: 170px; border: 1px solid #e1e5e8; border-radius: 9px; background: white; }

/* Product UI below follows popup.css from the extension. */
.extension-popover, .popup { width: 380px; padding: 20px; background: radial-gradient(120% 120% at 50% 0%, #0b1a33 0%, #0b1220 45%, #070b14 100%); color: #e5e7eb; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.extension-popover { position: absolute; z-index: 3; top: 70px; right: 18px; max-height: 518px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 0 0 14px 14px; box-shadow: 0 24px 58px rgba(11,18,32,.35); }
.popover-caret { position: absolute; top: -7px; right: 23px; width: 14px; height: 14px; transform: rotate(45deg); background: #0b1a33; }
.popup-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.popup-header h3 { margin: 0; color: #f9fafb; font-size: 20px; font-weight: 600; }
.popup-brand { display: flex; align-items: center; gap: 10px; }
.popup-brand svg { width: 28px; height: 28px; color: var(--blue); }
.popup-brand strong { color: #f9fafb; font-size: 20px; line-height: 1; }
.icon-button, .mini-icon { display: grid; place-items: center; border: 0; background: #1f2937; color: #d1d5db; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.1); transition: background .2s, transform .2s; }
.icon-button { width: 36px; height: 36px; padding: 8px; border-radius: 10px; }
.icon-button svg { width: 20px; height: 20px; }
.icon-button:hover, .mini-icon:hover { background: #374151; transform: translateY(-1px); }
.next-break-card, .eye-pet-card, .stat-card, .tips-card { background: rgba(31,41,55,.88); border: 1px solid rgba(255,255,255,.06); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.next-break-card { padding: 20px; margin-bottom: 16px; border-radius: 16px; }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: #cbd5e1; font-size: 14px; font-weight: 500; }
.card-actions { display: flex; align-items: center; gap: 6px; }
.mini-icon { width: 34px; height: 34px; padding: 7px; border-radius: 10px; }
.mini-icon svg { width: 19px; height: 19px; }
.timer-number { margin-bottom: 16px; color: var(--blue-light); font-size: 48px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; letter-spacing: 2px; line-height: 1.1; }
.progress-track { width: 100%; height: 8px; overflow: hidden; margin-bottom: 12px; border-radius: 999px; background: rgba(255,255,255,.1); }
.progress-track > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--violet)); transition: width 1s linear; }
.timer-status { margin: 0; font-size: 13px; font-weight: 600; text-align: center; }
.status-active { color: var(--green); }
.status-paused { color: #f59e0b; }
.status-snoozed { color: #a78bfa; }
.status-disabled { color: #ef4444; }

.eye-pet-card { padding: 20px; margin-bottom: 16px; border-radius: 16px; }
.pet-container { display: flex; flex-direction: column; align-items: center; position: relative; }
.pet-bubble { position: relative; max-width: 220px; margin-bottom: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.08); color: #e5e7eb; font-size: 12px; font-weight: 700; text-align: center; animation: pet-float 3s ease-in-out infinite; }
.pet-bubble::after { content: ""; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid rgba(255,255,255,.08); }
.pet-sprite { margin: 12px 0; animation: pet-bounce 2s ease-in-out infinite; }
.pet-body { position: relative; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%); box-shadow: 0 4px 12px rgba(59,130,246,.4); }
.pet-eye { position: absolute; top: 28px; width: 16px; height: 16px; border-radius: 50%; background: white; }
.pet-eye::after { content: ""; position: absolute; top: 4px; left: 4px; width: 8px; height: 8px; border-radius: 50%; background: #1f2937; animation: pet-blink 4s infinite; }
.left-eye { left: 20px; }
.right-eye { right: 20px; }
.pet-mouth { position: absolute; bottom: 18px; color: white; font-size: 24px; transition: all .3s; }
.pet-name { margin-top: 4px; color: #e5e7eb; font-size: 13px; font-weight: 900; }
.pet-stats { margin-top: 16px; }
.pet-level { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.level-label { color: #cbd5e1; font-size: 12px; font-weight: 700; }
.level-value { color: #93c5fd; font-size: 18px; font-weight: 900; }
.pet-xp-bar { position: relative; width: 100%; height: 24px; overflow: hidden; border-radius: 12px; background: rgba(255,255,255,.1); }
.pet-xp-fill { height: 100%; border-radius: 12px; background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%); transition: width .5s ease-out; }
.xp-text { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%,-50%); color: #f9fafb; font-size: 11px; font-weight: 900; white-space: nowrap; }
.eye-pet-card-compact { padding-top: 14px; }
.eye-pet-card-compact .pet-body { width: 66px; height: 66px; }
.eye-pet-card-compact .pet-eye { top: 23px; }
.eye-pet-card-compact .left-eye { left: 15px; }
.eye-pet-card-compact .right-eye { right: 15px; }
.eye-pet-card-compact .pet-mouth { bottom: 13px; }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.stat-card { padding: 14px 10px; border-radius: 12px; text-align: center; }
.stat-value { margin-bottom: 3px; color: var(--blue-light); font-size: 26px; font-weight: 800; }
.stat-label { color: #cbd5e1; font-size: 11px; font-weight: 600; }
.tips-card { padding: 15px; border-radius: 12px; }
.tips-card h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: #f9fafb; font-size: 13px; }
.tips-card h3 svg { width: 17px; height: 17px; color: var(--blue-light); }
.tips-card p { margin: 2px 0; color: #d1d5db; font-size: 11px; }

.demo-section { padding: 115px 24px 130px; background: var(--navy-950); }
.section-heading { max-width: 760px; margin: 0 auto 56px; }
.section-heading-centered { text-align: center; }
.section-heading h2, .rule-copy h2, .buddy-copy h2, .privacy-copy h2, .custom-copy h2, .faq-section h2, .final-cta h2 { margin-bottom: 22px; font-size: clamp(2.7rem, 5vw, 5rem); line-height: 1.04; letter-spacing: -.05em; }
.section-heading > p:last-child { max-width: 650px; margin: 0 auto; color: #98a5b8; }
.demo-shell { position: relative; max-width: 1120px; margin: 0 auto; overflow: visible; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: #111a2b; box-shadow: 0 42px 100px rgba(0,0,0,.33); }
.demo-browser-toolbar { height: 46px; display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 14px; padding: 0 14px; border-radius: 16px 16px 0 0; background: #d5dce4; color: #5f6b79; }
.demo-tab { height: 35px; align-self: end; display: flex; align-items: center; gap: 8px; padding: 0 13px; border-radius: 9px 9px 0 0; background: #f2f5f7; font-size: .65rem; }
.demo-tab img { width: 20px; height: 20px; border-radius: 50%; }
.demo-address { padding: 6px 13px; border-radius: 15px; background: white; font-size: .62rem; }
.demo-control-bar { display: flex; align-items: center; gap: 8px; padding: 11px 13px; border-bottom: 1px solid rgba(255,255,255,.08); background: #111a2b; }
.demo-control-bar button { min-height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.17); border-radius: 8px; background: transparent; color: #e5e7eb; font-size: .7rem; font-weight: 650; cursor: pointer; }
.demo-control-bar button:hover { background: rgba(255,255,255,.08); }
.demo-control-bar .control-primary { border-color: rgba(79,140,255,.65); background: rgba(79,140,255,.15); color: #dbeafe; }
.demo-control-bar span { margin-left: auto; color: #7f8ca0; font-size: .65rem; }
.demo-canvas { position: relative; min-height: 760px; overflow: hidden; display: flex; justify-content: flex-end; padding: 54px 72px; border-radius: 0 0 16px 16px; background: #edf0ee; }
.demo-context { position: absolute; inset: 0; padding: 100px 7vw; color: #9ba3a8; }
.context-eyebrow { display: block; margin-bottom: 22px; color: #9aa3a8; font-size: .62rem; letter-spacing: .15em; }
.context-title { display: block; width: 45%; height: 28px; margin-bottom: 38px; border-radius: 5px; background: #d4d9d8; }
.context-line { display: block; height: 10px; margin-bottom: 11px; border-radius: 4px; background: #dadee0; }
.line-a { width: 43%; }.line-b { width: 36%; }.line-c { width: 40%; }
.context-panels { width: 46%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.context-panels span { height: 180px; border: 1px solid #dfe3e2; border-radius: 10px; background: #fafbfa; }
.demo-popup { position: relative; z-index: 2; min-height: 650px; border-radius: 12px; box-shadow: 0 28px 70px rgba(12,24,38,.28); transition: background .25s, color .25s; }
.demo-popup.light-mode { background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%); color: #111827; }
.demo-popup.light-mode .popup-brand strong, .demo-popup.light-mode .popup-header h3 { color: #1f2937; }
.demo-popup.light-mode .icon-button, .demo-popup.light-mode .mini-icon { background: white; color: #4b5563; }
.demo-popup.light-mode .next-break-card, .demo-popup.light-mode .eye-pet-card, .demo-popup.light-mode .stat-card, .demo-popup.light-mode .tips-card, .demo-popup.light-mode .toggle-item { background: white; border-color: rgba(0,0,0,.06); }
.demo-popup.light-mode .card-header, .demo-popup.light-mode .level-label, .demo-popup.light-mode .stat-label { color: #6b7280; }
.demo-popup.light-mode .pet-bubble { background: #f3f4f6; color: #374151; }
.demo-popup.light-mode .pet-bubble::after { border-top-color: #f3f4f6; }
.demo-popup.light-mode .pet-name { color: #374151; }
.demo-popup.light-mode .xp-text { color: #1f2937; }
.demo-popup.light-mode .pet-xp-bar, .demo-popup.light-mode .progress-track { background: #e5e7eb; }
.demo-popup.light-mode .tips-card h3 { color: #1f2937; }
.demo-popup.light-mode .tips-card p { color: #4b5563; }

.notification { position: absolute; z-index: 10; top: 82px; right: 28px; width: min(340px, calc(100% - 32px)); padding: 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 13px; background: rgba(34,38,49,.98); color: white; box-shadow: 0 24px 60px rgba(0,0,0,.45); animation: notification-in .23s ease-out; }
.notification-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.notification-top > img { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; }
.notification-top strong, .notification-top span { display: block; }
.notification-top strong { font-size: .75rem; }
.notification-top span { color: #aeb5c2; font-size: .6rem; }
.notification-top button { width: 26px; height: 26px; display: grid; place-items: center; align-self: start; padding: 0; border: 0; background: transparent; color: #aeb5c2; cursor: pointer; }
.notification-top button svg { width: 15px; height: 15px; }
.notification > p { margin: 12px 0; color: #d4d7df; font-size: .68rem; }
.notification-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.notification-actions button { padding: 8px; border: 1px solid rgba(255,255,255,.15); border-radius: 6px; background: rgba(255,255,255,.05); color: white; font-size: .65rem; font-weight: 650; cursor: pointer; }

/* Settings implementation adapted directly from popup.css. */
.settings-content { display: flex; flex-direction: column; gap: 20px; }
.setting-item { display: flex; flex-direction: column; gap: 8px; }
.setting-item label, .sound-settings legend { color: #f9fafb; font-size: 14px; font-weight: 700; }
.setting-item input { padding: 12px 14px; border: 2px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.08); color: #f9fafb; font-size: 15px; }
.setting-item input:focus { outline: none; border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(96,165,250,.1); }
.input-hint { color: #9ca3af; font-size: 12px; font-style: italic; }
.toggle-item { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; border: 1px solid rgba(255,255,255,.06); border-radius: 14px; background: rgba(31,41,55,.88); cursor: pointer; }
.toggle-item > input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-label { display: flex; flex-direction: column; gap: 4px; }
.toggle-label > span:first-child { color: #f9fafb; font-size: 14px; font-weight: 700; }
.toggle-description { color: #9ca3af; font-size: 12px; }
.toggle { position: relative; flex-shrink: 0; width: 48px; height: 26px; border-radius: 999px; background: #4b5563; transition: background .3s; }
.toggle-slider { position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: white; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .3s; }
.toggle-item input:checked + .toggle { background: var(--blue); }
.toggle-item input:checked + .toggle .toggle-slider { transform: translateX(22px); }
.toggle-item input:focus-visible + .toggle { outline: 3px solid #a9c6ff; outline-offset: 3px; }
.sound-settings { min-width: 0; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; border: 0; }
.sound-settings legend { margin-bottom: 4px; }
.sound-option { position: relative; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border: 2px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(31,41,55,.88); cursor: pointer; }
.sound-option input { position: absolute; opacity: 0; }
.sound-option span { color: #f9fafb; font-size: 14px; font-weight: 700; }
.sound-option svg { width: 20px; height: 20px; color: var(--blue-light); opacity: 0; }
.sound-option:has(input:checked) { border-color: rgba(96,165,250,.55); background: rgba(30,58,95,.65); box-shadow: 0 0 0 3px rgba(96,165,250,.08); }
.sound-option:has(input:checked) svg { opacity: 1; }
.save-btn { width: 100%; padding: 14px; border: 0; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--violet)); color: white; font-size: 15px; font-weight: 800; cursor: pointer; box-shadow: 0 4px 12px rgba(79,140,255,.3); }
.light-mode .setting-item label, .light-mode .sound-settings legend, .light-mode .toggle-label > span:first-child, .light-mode .sound-option span { color: #374151; }
.light-mode .setting-item input { border-color: #e5e7eb; background: white; color: #111827; }
.light-mode .toggle-item, .light-mode .sound-option { border-color: #e5e7eb; background: white; }
.light-mode .sound-option:has(input:checked) { border-color: var(--blue); background: #eff6ff; }

.break-view, .complete-view { min-height: 610px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.break-icon { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--violet)); animation: break-pulse 2s ease-in-out infinite; }
.break-icon svg { width: 48px; height: 48px; color: white; }
.break-view h3, .complete-view h3 { margin-bottom: 12px; color: #f9fafb; font-size: 30px; font-weight: 900; letter-spacing: -.02em; }
.break-view > p, .complete-view > p { margin-bottom: 26px; color: #cbd5e1; font-size: 16px; }
.break-timer-container { display: flex; flex-direction: column; margin-bottom: 22px; }
.break-count { color: var(--blue-light); font-size: 96px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.seconds-label { margin-top: 8px; color: #9ca3af; font-size: 16px; font-weight: 700; }
.break-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.break-actions button { min-height: 44px; border-radius: 12px; font-size: 14px; font-weight: 850; cursor: pointer; }
.snooze-break-btn { border: 2px solid rgba(96,165,250,.45); background: rgba(96,165,250,.16); color: #bfdbfe; }
.skip-break-btn { border: 2px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: #cbd5e1; }
.danger-btn { grid-column: 1 / -1; border: 1px solid rgba(239,68,68,.25); background: rgba(239,68,68,.18); color: #fecaca; }
.complete-icon { width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; border-radius: 50%; background: linear-gradient(135deg, #10b981, #34d399); color: white; font-size: 64px; box-shadow: 0 8px 24px rgba(16,185,129,.4); }
.achievement-badge { padding: 12px 20px; border-radius: 14px; background: linear-gradient(135deg, #fbbf24, #f59e0b); color: white; font-size: 14px; font-weight: 900; box-shadow: 0 4px 12px rgba(251,191,36,.4); }
.return-note { margin-top: 16px; color: #8d98aa; font-size: 11px; }
.light-mode .break-view h3, .light-mode .complete-view h3 { color: #1f2937; }
.light-mode .break-view > p, .light-mode .complete-view > p { color: #4b5563; }
.light-mode .snooze-break-btn { color: #2563eb; }
.light-mode .skip-break-btn { border-color: #d1d5db; background: rgba(17,24,39,.02); color: #374151; }
.light-mode .danger-btn { border-color: rgba(0,0,0,.08); background: rgba(239,68,68,.1); color: #7f1d1d; }

.rule-section { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(70px, 10vw, 150px); align-items: center; padding: 120px max(24px, calc((100vw - 1160px) / 2)); background: var(--cream); color: var(--ink); }
.rule-copy > p:not(.section-label,.medical-note) { max-width: 520px; color: var(--ink-soft); }
.medical-note { margin-top: 30px; color: var(--muted); font-size: .72rem; }
.rule-numbers { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #bbb9b2; border-bottom: 1px solid #bbb9b2; }
.rule-numbers div { min-width: 0; padding: 34px 20px; border-left: 1px solid #bbb9b2; text-align: center; }
.rule-numbers div:first-child { border-left: 0; }
.rule-numbers strong, .rule-numbers span { display: block; }
.rule-numbers strong { color: var(--blue); font-size: clamp(3.6rem, 6vw, 6rem); line-height: 1; letter-spacing: -.07em; }
.rule-numbers span { margin-top: 12px; color: var(--ink-soft); font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }

.buddy-section { min-height: 760px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(70px, 10vw, 150px); padding: 120px max(24px, calc((100vw - 1100px) / 2)); background: var(--paper); color: var(--ink); }
.buddy-showcase { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 480px; }
.buddy-showcase .pet-bubble { padding: 11px 16px; background: #edf3ff; color: #35445c; font-size: 14px; }
.buddy-showcase .pet-bubble::after { border-top-color: #edf3ff; }
.pet-sprite-large { margin: 30px 0 36px; transform: scale(2.15); }
.buddy-stats-large { width: min(360px, 100%); margin-top: 40px; }
.buddy-stats-large > div:first-child { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.buddy-stats-large span { color: var(--ink-soft); font-size: .8rem; font-weight: 700; }
.buddy-stats-large strong { color: var(--blue); font-size: .92rem; }
.buddy-stats-large .pet-xp-bar { background: #e5e7eb; }
.buddy-stats-large .xp-text { color: #1f2937; }
.buddy-copy > p:not(.section-label,.buddy-lede) { max-width: 520px; color: var(--ink-soft); }
.buddy-lede { margin-bottom: 18px; color: var(--blue); font-size: 1.25rem; font-weight: 700; }
.buddy-flow { display: flex; align-items: center; gap: 12px; margin-top: 34px; color: var(--ink-soft); font-size: .74rem; font-weight: 650; }
.buddy-flow b { color: var(--blue); }

.privacy-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(70px, 10vw, 150px); padding: 120px max(24px, calc((100vw - 1100px) / 2)); background: #0b1525; }
.privacy-copy > p:not(.section-label,.manifest-note) { max-width: 530px; color: #9eabba; }
.manifest-note { display: flex; align-items: center; gap: 9px; margin-top: 28px; color: #7d8999; font-size: .7rem; }
.manifest-note span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(16,185,129,.12); }
.permissions-receipt { width: min(100%, 430px); justify-self: end; padding: 30px; border-radius: 14px; background: #f8fafc; color: var(--ink); box-shadow: 0 22px 60px rgba(0,0,0,.25); }
.receipt-head { display: flex; align-items: center; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid #d9dee5; }
.receipt-head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.receipt-head strong, .receipt-head span { display: block; }
.receipt-head strong { font-size: .88rem; }
.receipt-head span { color: var(--muted); font-size: .65rem; }
.permission-list, .not-requested { margin: 0; padding: 0; list-style: none; }
.permission-list { display: grid; gap: 15px; padding: 22px 0; }
.permission-list li { display: flex; align-items: center; gap: 12px; }
.permission-list li > span { width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #ddf6ec; color: #087555; font-size: .78rem; font-weight: 800; }
.permission-list strong, .permission-list small { display: block; }
.permission-list strong { font-size: .8rem; }
.permission-list small { color: var(--muted); font-size: .66rem; }
.receipt-divider { border-top: 1px dashed #cfd5dd; }
.permissions-receipt > p { margin: 18px 0 10px; color: var(--muted); font-size: .65rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.not-requested { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 15px; color: #6b7280; font-size: .7rem; }

.custom-section { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(70px, 10vw, 140px); padding: 120px max(24px, calc((100vw - 1100px) / 2)); background: var(--cream); color: var(--ink); }
.custom-copy > p:not(.section-label) { max-width: 520px; color: var(--ink-soft); }
.custom-copy .text-link { margin-top: 17px; color: #345c9e; }
.settings-preview { width: min(100%, 430px); justify-self: end; padding: 22px; border-radius: 16px; background: radial-gradient(120% 120% at 50% 0%, #0b1a33, #0b1220 45%, #070b14); color: white; box-shadow: 0 22px 50px rgba(24,35,52,.22); }
.settings-preview-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.settings-preview-head strong { font-size: 1.1rem; }
.settings-preview-head span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: #1f2937; color: #d1d5db; }
.preview-setting { position: relative; display: grid; grid-template-columns: 1fr 58px; gap: 4px 12px; margin-bottom: 13px; }
.preview-setting > span { font-size: .76rem; font-weight: 700; }
.preview-setting > b { grid-row: 1 / 3; grid-column: 2; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; background: rgba(255,255,255,.08); font-size: .78rem; }
.preview-setting small, .preview-toggle small { color: #9ca3af; font-size: .62rem; }
.preview-toggle { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 10px; padding: 13px; border: 1px solid rgba(255,255,255,.06); border-radius: 12px; background: rgba(31,41,55,.88); }
.preview-toggle strong, .preview-toggle small { display: block; }
.preview-toggle strong { font-size: .75rem; }
.preview-toggle i { position: relative; width: 40px; height: 23px; flex: 0 0 auto; border-radius: 99px; background: var(--blue); }
.preview-toggle i::after { content: ""; position: absolute; top: 2px; right: 2px; width: 19px; height: 19px; border-radius: 50%; background: white; box-shadow: 0 2px 4px rgba(0,0,0,.2); }

.faq-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; padding: 110px max(24px, calc((100vw - 1080px) / 2)); background: var(--paper); color: var(--ink); }
.faq-list { border-top: 1px solid #9ba2aa; }
.faq-list details { border-bottom: 1px solid #d8dadd; }
.faq-list summary { position: relative; padding: 23px 44px 23px 0; cursor: pointer; list-style: none; font-size: .9rem; font-weight: 650; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 17px; right: 5px; color: var(--blue); font-size: 1.5rem; transition: transform .16s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: -4px 44px 23px 0; color: var(--ink-soft); font-size: .82rem; }

.final-cta { padding: 120px 24px; background: var(--navy-900); text-align: center; }
.final-cta > img { width: 112px; height: 112px; margin: 0 auto 28px; border-radius: 50%; object-fit: cover; box-shadow: 0 18px 45px rgba(0,0,0,.3); }
.final-cta h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.final-cta > p:last-child { margin: 21px 0 0; color: #77859a; font-size: .72rem; }
footer { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 30px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 25px; border-top: 1px solid rgba(255,255,255,.08); }
footer > p { margin: 0; color: #768499; font-size: .72rem; }
footer nav { display: flex; justify-content: flex-end; gap: 20px; }
footer > span { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.07); color: #667389; font-size: .67rem; }

@keyframes pet-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes pet-bounce { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-8px) scale(1.05); } }
@keyframes pet-blink { 0%,49%,51%,100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes break-pulse { 0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(79,140,255,.7); } 50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(79,140,255,0); } }
@keyframes notification-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 70px; }
  .hero-copy { max-width: 790px; margin: 0 auto; text-align: center; }
  .eyebrow, .hero-actions { justify-content: center; }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .hero-product { width: min(650px, 100%); margin: 0 auto; }
  .rule-section, .buddy-section, .privacy-section, .custom-section { gap: 65px; }
}

@media (max-width: 820px) {
  .nav-shell { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .demo-canvas { justify-content: center; padding: 48px 24px; }
  .demo-context { display: none; }
  .rule-section, .buddy-section, .privacy-section, .custom-section, .faq-section { grid-template-columns: 1fr; }
  .rule-numbers { order: -1; }
  .buddy-showcase { min-height: 450px; }
  .privacy-section, .custom-section { gap: 55px; }
  .permissions-receipt, .settings-preview { justify-self: center; }
  .faq-section { gap: 40px; }
  footer { grid-template-columns: 1fr; }
  footer nav { justify-content: flex-start; flex-wrap: wrap; }
  footer > span { grid-column: 1; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 68px; }
  .nav-shell { width: calc(100% - 28px); height: 64px; }
  .brand { font-size: .84rem; }
  .brand img { width: 31px; height: 31px; }
  .button-small { min-height: 36px; padding: 0 11px; font-size: .68rem; }
  .hero { width: calc(100% - 30px); padding: 54px 0 72px; gap: 45px; }
  h1 { font-size: clamp(2.75rem, 13.8vw, 4rem); }
  .hero-actions { flex-direction: column; gap: 16px; }
  .hero-actions .button { width: 100%; }
  .trust-line { line-height: 1.8; }
  .browser-window { min-height: 555px; }
  .browser-tab { width: 130px; }
  .work-page { padding: 48px 22px; }
  .extension-popover { right: 10px; width: calc(100% - 20px); transform: none; padding: 16px; }
  .extension-popover .eye-pet-card { padding: 13px 16px; }
  .extension-popover .pet-bubble { display: none; }
  .extension-popover .pet-sprite { margin: 4px 0; }
  .extension-popover .next-break-card { margin-bottom: 10px; }
  .demo-section { padding: 85px 12px 90px; }
  .section-heading { padding: 0 8px; margin-bottom: 42px; }
  .section-heading h2, .rule-copy h2, .buddy-copy h2, .privacy-copy h2, .custom-copy h2, .faq-section h2, .final-cta h2 { font-size: clamp(2.35rem, 10vw, 3.1rem); }
  .demo-shell { border-radius: 12px; }
  .demo-browser-toolbar { grid-template-columns: 1fr auto; }
  .demo-address { display: none; }
  .demo-control-bar { flex-wrap: wrap; }
  .demo-control-bar button { flex: 1; }
  .demo-control-bar span { width: 100%; margin-left: 0; text-align: center; }
  .demo-canvas { min-height: 720px; padding: 24px 0 0; overflow: hidden; }
  .demo-popup { width: 100%; min-height: 690px; border-radius: 12px 12px 0 0; padding: 16px; box-shadow: none; }
  .notification { top: 130px; right: 8px; }
  .settings-content { gap: 15px; }
  .setting-item input { padding: 10px 12px; }
  .toggle-item { padding: 13px; }
  .sound-settings { display: none; }
  .rule-section, .buddy-section, .privacy-section, .custom-section, .faq-section { padding: 85px 18px; }
  .rule-numbers div { padding: 27px 8px; }
  .rule-numbers strong { font-size: 3.2rem; }
  .rule-numbers span { font-size: .58rem; }
  .buddy-showcase { min-height: 420px; }
  .pet-sprite-large { transform: scale(1.85); }
  .buddy-flow { align-items: flex-start; gap: 7px; font-size: .64rem; }
  .permissions-receipt { padding: 23px; }
  .not-requested { grid-template-columns: 1fr; }
  .settings-preview { padding: 18px; }
  .faq-list details p { margin-right: 15px; }
  .final-cta { padding: 90px 18px; }
  .final-cta > img { width: 92px; height: 92px; }
  footer { width: calc(100% - 36px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
