:root {
  --bg: #0B0B0E;
  --panel: #16151F;
  --panel-2: #1D1C28;
  --coral: #FF6A45;
  --coral-2: #FF9060;
  --violet: #A78BFA;
  --teal: #2DD4BF;
  --text: rgba(255, 255, 255, 0.95);
  --text-2: rgba(255, 255, 255, 0.68);
  --text-3: rgba(255, 255, 255, 0.42);
  --line: rgba(255, 255, 255, 0.10);
  --glass: rgba(28, 27, 38, 0.72);
  --coral-grad: linear-gradient(135deg, var(--coral), var(--coral-2));
  --radius: 18px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 50% -120px, rgba(255, 106, 69, 0.16), transparent 70%),
    radial-gradient(700px 500px at 85% 15%, rgba(167, 139, 250, 0.10), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

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

kbd {
  display: inline-block;
  min-width: 1.4em;
  padding: 2px 6px;
  margin: 0 1px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  font-family: inherit;
  font-size: 0.82em;
  color: var(--text);
  text-align: center;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--coral);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Top page notch ---------- */
.page-notch {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 210px;
  height: 30px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.page-notch__bar {
  width: 150px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.page-notch__fill {
  display: block;
  height: 100%;
  width: 62%;
  border-radius: 999px;
  background: var(--coral-grad);
  box-shadow: 0 0 10px rgba(255, 106, 69, 0.7);
  animation: pageprog 6s ease-in-out infinite alternate;
}
@keyframes pageprog { from { width: 48%; } to { width: 74%; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px 14px;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand img { border-radius: 7px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--text-2); font-size: 15px; font-weight: 500; }
.site-nav a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral-grad);
  color: #fff;
  font-weight: 650;
  font-size: 16px;
  padding: 12px 22px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 106, 69, 0.32);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 106, 69, 0.42); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 15px 30px; font-size: 17px; border-radius: 14px; }
.btn--sm { padding: 8px 16px; font-size: 14px; box-shadow: 0 4px 14px rgba(255, 106, 69, 0.28); }

/* ---------- Hero ---------- */
.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 44px 24px 20px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  color: var(--coral-2);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 8px 0 14px;
}
h1 {
  font-size: clamp(38px, 7vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 18px;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.72));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lede {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto 28px;
}
.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero__kbd { color: var(--text-3); font-size: 14px; }
.hero__note { color: var(--text-3); font-size: 13px; margin: 10px 0 0; }

/* ---------- Notch hover demo ---------- */
.demo {
  position: relative;
  margin: 54px auto 8px;
  max-width: 460px;
  padding-top: 46px;
}
.demo__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 230px;
  height: 40px;
  background: #000;
  border-radius: 0 0 22px 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
  outline: none;
  transition: transform 0.25s ease;
}
.demo.is-open .demo__notch { transform: translateX(-50%) translateY(2px); }
.demo__notch:focus-visible { box-shadow: 0 0 0 2px var(--coral), 0 4px 18px rgba(0, 0, 0, 0.7); }
.demo__notchbar {
  width: 108px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.demo__notchfill {
  display: block;
  height: 100%;
  width: 62%;
  border-radius: 999px;
  background: var(--coral-grad);
  box-shadow: 0 0 10px rgba(255, 106, 69, 0.7);
}
.demo__timerchip {
  font-size: 12px;
  font-weight: 600;
  color: var(--coral-2);
  font-variant-numeric: tabular-nums;
}

.peek {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-align: left;
  transform-origin: top center;
  opacity: 0;
  transform: translateY(-14px) scale(0.97);
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.demo.is-open .peek { opacity: 1; transform: translateY(0) scale(1); }

.peek__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.peek__date { margin: 0; font-weight: 700; font-size: 16px; }
.peek__next { margin: 4px 0 0; color: var(--text-2); font-size: 14px; display: flex; align-items: center; gap: 7px; }

.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.dot--coral { background: var(--coral); }
.dot--violet { background: var(--violet); }
.dot--teal { background: var(--teal); }

.ring {
  --p: 62;
  width: 56px; height: 56px; flex: none;
  border-radius: 50%;
  background: conic-gradient(var(--coral) calc(var(--p) * 1%), rgba(255, 255, 255, 0.10) 0);
  display: grid; place-items: center;
  -webkit-mask: none;
}
.ring::before {
  content: "";
  position: absolute;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--panel);
}
.ring { position: relative; }
.ring__label { position: relative; font-size: 13px; font-weight: 700; }

.peek__tasks { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.peek__tasks li { display: flex; align-items: center; gap: 9px; font-size: 15px; color: var(--text); }
.peek__tasks li.done { color: var(--text-3); text-decoration: line-through; }
.box, .check {
  width: 17px; height: 17px; border-radius: 5px; flex: none;
  border: 1.5px solid var(--text-3);
}
.check { border-color: var(--coral); background: var(--coral); position: relative; }
.check::after {
  content: "";
  position: absolute; left: 5px; top: 2px;
  width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.carry {
  font-size: 11px;
  font-weight: 600;
  color: var(--violet);
  background: rgba(167, 139, 250, 0.14);
  border: 1px solid rgba(167, 139, 250, 0.28);
  padding: 1px 7px;
  border-radius: 999px;
  margin-left: auto;
}

.peek__bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--coral-2);
  background: rgba(255, 106, 69, 0.12);
  border: 1px solid rgba(255, 106, 69, 0.26);
  padding: 5px 12px; border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.chip__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }
.streak { font-size: 13px; color: var(--text-2); }
.streak b { color: var(--text); }

.demo__hint { text-align: center; color: var(--text-3); font-size: 13px; margin: 16px 0 0; }
.demo.is-open .demo__hint { opacity: 0; }

/* ---------- Sections ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 24px;
}
.section__title {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 780;
  text-align: center;
  margin: 0 0 12px;
}
.section__sub { text-align: center; color: var(--text-2); max-width: 620px; margin: 0 auto 40px; }

/* ---------- Feature grid ---------- */
.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(255, 106, 69, 0.35); background: linear-gradient(180deg, rgba(255, 106, 69, 0.06), rgba(255, 255, 255, 0.01)); }
.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-size: 22px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 680; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }

/* ---------- Focus spotlight ---------- */
.focus__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.focus__copy .section__title { text-align: left; }
.focus__copy > p { color: var(--text-2); margin: 0 0 22px; }
.checklist { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.checklist li { display: flex; align-items: center; gap: 11px; color: var(--text); font-size: 15px; }
.checklist li::before {
  content: "";
  width: 20px; height: 20px; flex: none; border-radius: 6px;
  background: var(--coral-grad);
  box-shadow: 0 0 0 1px rgba(255, 106, 69, 0.3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 15px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.focus__demo { display: grid; place-items: center; }
.timer {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.timer__ring {
  --p: 68;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: conic-gradient(var(--coral) calc(var(--p) * 1%), rgba(255, 255, 255, 0.08) 0);
  display: grid; place-items: center;
  position: relative;
}
.timer__ring::before {
  content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--panel);
}
.timer__inner { position: relative; text-align: center; }
.timer__time { display: block; font-size: 44px; font-weight: 780; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.timer__label { color: var(--coral-2); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.timer__presets { display: flex; gap: 10px; }
.timer__presets span {
  font-size: 14px; font-weight: 600; color: var(--text-2);
  padding: 7px 14px; border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.timer__presets span.on { color: #fff; background: var(--coral-grad); border-color: transparent; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 620;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--coral-2);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--text-2); font-size: 15px; }

/* ---------- Final CTA ---------- */
.cta {
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(255, 106, 69, 0.12), transparent 70%);
  border-top: 1px solid var(--line);
  border-radius: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 24px 60px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-3);
  font-size: 14px;
}
.site-footer__brand { display: flex; align-items: center; gap: 9px; font-weight: 650; color: var(--text); }
.site-footer__brand img { border-radius: 6px; }
.site-footer a { color: var(--coral-2); }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .focus__grid { grid-template-columns: 1fr; gap: 32px; }
  .focus__copy .section__title { text-align: center; }
  .site-nav a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .page-notch { width: 170px; }
  .demo__notch { width: 200px; }
  .section { padding: 56px 20px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .peek { opacity: 1; transform: none; }
  .demo__hint { display: none; }
}
