:root {
  color-scheme: light;
  --bg: #f8f7f3;
  --paper: #fffefa;
  --ink: #25252b;
  --muted: #5f605a;
  --line: #deded5;
  --yellow: #f5b526;
  --green: #315f49;
  --mint: #e4eee6;
  --amber: #f5ecda;
  --sand: #eeece4;
  --button: #27272d;
  --button-ink: #fffefa;
  --shadow: 0 22px 56px #3431291c;
  --focus: #946000;
  --image-light: block;
  --image-dark: none;
  --wrap: 1152px;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "PingFang SC", "PingFang TC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #202024;
  --paper: #29292e;
  --ink: #f7f4ed;
  --muted: #bbb9b1;
  --line: #48474c;
  --yellow: #ffc03a;
  --green: #a3ccaf;
  --mint: #2b3931;
  --amber: #3a3324;
  --sand: #333239;
  --button: #f6f1e6;
  --button-ink: #222228;
  --shadow: 0 22px 56px #0005;
  --focus: #ffcc5b;
  --image-light: none;
  --image-dark: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #202024;
    --paper: #29292e;
    --ink: #f7f4ed;
    --muted: #bbb9b1;
    --line: #48474c;
    --yellow: #ffc03a;
    --green: #a3ccaf;
    --mint: #2b3931;
    --amber: #3a3324;
    --sand: #333239;
    --button: #f6f1e6;
    --button-ink: #222228;
    --shadow: 0 22px 56px #0005;
    --focus: #ffcc5b;
    --image-light: none;
    --image-dark: block;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
button { font: inherit; color: inherit; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { line-height: 1.18; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
::selection { background: #f8c75b; color: #25252b; }
.wrap { width: min(var(--wrap), calc(100% - 6.5rem)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 20;
  inset: 10px auto auto 10px;
  padding: .65rem 1rem;
  background: var(--button);
  color: var(--button-ink);
  transform: translateY(-150%);
  opacity: 0;
}
.skip-link:focus { transform: translateY(0); opacity: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .67rem; text-decoration: none; font-weight: 750; white-space: nowrap; }
.brand-icon { border-radius: 9px; }
.brand-wordmark { width: 102px; height: auto; }
.image-light { display: var(--image-light); }
.image-dark { display: var(--image-dark); }
.desktop-nav, .header-tools, .site-footer nav { display: flex; align-items: center; }
.desktop-nav { gap: clamp(.85rem, 2.4vw, 2.2rem); }
.desktop-nav a, .site-footer nav a, .breadcrumb { color: var(--muted); text-decoration: none; font-size: .875rem; }
.desktop-nav a:hover, .site-footer nav a:hover, .breadcrumb:hover, a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.header-tools { gap: .45rem; flex-shrink: 0; }
.dropdown { position: relative; font-size: .875rem; }
.dropdown summary, .theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  gap: .48rem;
  padding: 0 .7rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
.dropdown summary:hover, .theme-toggle:hover { background: var(--paper); }
.theme-toggle { width: 40px; font-size: 1.2rem; padding: 0; }
.caret { width: .43rem; height: .43rem; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); }
.dropdown-list {
  position: absolute;
  inset: calc(100% + 8px) 0 auto auto;
  z-index: 1;
  width: max-content;
  min-width: 146px;
  padding: .375rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.dropdown-list a { display: block; padding: .52rem .7rem; border-radius: 9px; text-decoration: none; }
.dropdown-list a:hover, .dropdown-list a[aria-current] { background: var(--sand); }
.mobile-menu { display: none; }
.mobile-menu summary { width: 40px; padding: 0; }
.menu-icon { width: 15px; height: 12px; border-block: 1.5px solid; position: relative; }
.menu-icon::before { content: ""; position: absolute; inset: 4px 0 auto; border-top: 1.5px solid; }

.hero {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: center;
  padding-top: clamp(2.8rem, 6vw, 5.2rem);
  padding-bottom: clamp(2rem, 4.6vw, 4.3rem);
}
.hero-copy { padding-block: 1.5rem; position: relative; z-index: 1; }
.eyebrow { color: var(--green); font-size: .85rem; font-weight: 700; letter-spacing: .095em; }
.brand-dot { display: inline-block; margin-inline-end: .65rem; width: .47rem; height: .47rem; border-radius: 50%; vertical-align: .14em; background: var(--yellow); }
.hero h1 { margin: 1rem 0 1.8rem; font-size: clamp(3rem, 7.1vw, 6.1rem); letter-spacing: -.075em; line-height: 1.11; font-weight: 790; }
.hero h1 span { display: inline-block; position: relative; z-index: 0; }
.hero h1 span::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto .42em -.06em 0;
  height: .12em;
  border-radius: 90% 80% 60% 45%;
  background: var(--yellow);
  transform: rotate(-2deg);
}
.hero-lead { font-size: clamp(1rem, 1.55vw, 1.19rem); line-height: 1.8; color: var(--muted); max-width: 28em; }
.hero-actions { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-top: 1.75rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 46px;
  padding: .65rem 1.12rem;
  border: 1px solid transparent;
  border-radius: 99px;
  font-size: .9rem;
  font-weight: 680;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--button-ink); background: var(--button); }
.button-primary:hover { box-shadow: 0 5px 15px #13131440; }
.button-quiet { border-color: var(--line); background: var(--paper); }
.button-quiet:hover { background: var(--sand); }
.platform-line { margin-top: .9rem; color: var(--muted); font-size: .875rem; }
.platform-line span { margin-inline: .32em; }
.hero-stage {
  min-width: 0;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(400px, 43vw, 550px);
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: radial-gradient(circle at 72% 25%, var(--paper), transparent 42%), linear-gradient(155deg, var(--mint), var(--sand) 72%);
}
.clock-face, .clock-face i { position: absolute; border: 1px solid color-mix(in srgb, var(--green) 18%, transparent); border-radius: 50%; }
.clock-face { z-index: -1; width: 85%; aspect-ratio: 1; display: grid; place-items: center; }
.clock-face i:nth-child(1) { inset: 7%; }
.clock-face i:nth-child(2) { inset: 20%; border-style: dashed; }
.clock-face i:nth-child(3) { inset: 35%; }
.hero-phone {
  width: clamp(162px, 43%, 230px);
  padding: 6px;
  border-radius: clamp(23px, 3vw, 39px);
  background: #27272d;
  transform: rotate(-8deg) translateY(2%);
  box-shadow: 0 22px 48px #19292040, 0 3px 5px #17171a38;
}
.hero-phone img { width: 100%; border-radius: clamp(17px, 2.5vw, 33px); }
.floating-item {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .66rem;
  padding: .62rem .83rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font-size: .875rem;
  font-weight: 680;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.floating-done { top: 24%; left: 7%; }
.floating-next { bottom: 22%; right: 6%; }
.item-mark {
  display: grid;
  place-items: center;
  width: 1.55rem;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--green);
}
.floating-done .item-mark { background: var(--mint); border-color: transparent; }
.floating-next .item-mark { border: 1px solid #ad8018; background: var(--amber); }
.floating-item time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .8rem; font-weight: 500; }

.benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6rem clamp(1rem, 6vw, 5rem);
  margin: 0;
  padding: .95rem .6rem;
  list-style: none;
  border-block: 1px solid var(--line);
  font-size: .875rem;
  color: var(--muted);
}
.benefits span { color: var(--green); font-weight: bold; margin-inline-end: .43rem; }
.section { margin-block: clamp(4rem, 8vw, 7rem); }
.section-heading { margin-bottom: 1.65rem; }
.section-heading h2, .outro h2 { font-size: clamp(2rem, 4.2vw, 3.35rem); letter-spacing: -.055em; margin-block: .4rem .55rem; font-weight: 760; }
.section-heading > p:not(.eyebrow) { color: var(--muted); max-width: 45em; }
.features-grid, .focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-card { display: flex; flex-direction: column; min-width: 0; padding: 1.65rem; border-radius: 24px; border: 1px solid var(--line); overflow: clip; }
.feature-today { background: var(--mint); }
.feature-recurring { background: var(--amber); }
.feature-calendar { background: var(--paper); }
.card-label { color: var(--green); font-size: .83rem; font-weight: 720; }
.feature-copy { flex: 1; }
.feature-copy h3, .focus-grid h3 { font-size: 1.27rem; margin-block: .48rem .65rem; letter-spacing: -.025em; }
.feature-copy p:last-child, .focus-grid p:last-child { color: var(--muted); }
.card-visual {
  height: 136px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 1.4rem;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: color-mix(in srgb, var(--paper) 75%, transparent);
}
.sample-date { font-size: .8rem; color: var(--muted); }
.visual-today > div:nth-child(2) { display: flex; gap: .5rem; align-items: baseline; font-size: .83rem; }
.visual-today strong { font-size: 1.7rem; line-height: 1.4; }
.sample-sun { width: .43rem; height: .43rem; margin-inline-start: auto; border-radius: 50%; background: var(--yellow); }
.sample-line { height: .28rem; border-radius: 1rem; background: linear-gradient(to right,var(--green) 50%,var(--line) 50%); }
.sample-row { display: flex; align-items: center; gap: .4rem; margin-top: .45rem; font-size: .8rem; color: var(--muted); }
.sample-row span { color: var(--green); }
.sample-row time { margin-inline-start: auto; }
.weekday-row { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: .18rem; }
.weekday-row span, .visual-calendar span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1;
}
.weekday-row .is-set { color: var(--button-ink); background: var(--button); }
.time-row { display: flex; justify-content: center; gap: .45rem; margin-top: .7rem; }
.time-row time { background: var(--amber); border-radius: 10px; padding: .15rem .65rem; font-size: .85rem; font-weight: 600; }
.visual-calendar { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); align-content: center; gap: .25rem; }
.visual-calendar .complete { color: var(--green); background: var(--mint); }
.visual-calendar .current { color: var(--button-ink); background: var(--button); }
.focus-panel { padding: clamp(1.6rem, 5vw, 3.5rem); border: 1px solid var(--line); border-radius: 28px; background: var(--sand); }
.focus-grid { gap: 1.65rem; }
.focus-grid article { border-top: 1px solid var(--line); padding-top: 1rem; }

.gallery-controls {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 1.45rem;
  padding: 4px;
  border-radius: 99px;
  background: var(--sand);
}
.gallery-controls button {
  min-width: 76px;
  padding: .48rem 1.2rem;
  border: 0;
  border-radius: 99px;
  background: transparent;
  font-size: .9rem;
  cursor: pointer;
}
.gallery-controls button[aria-selected="true"] { background: var(--button); color: var(--button-ink); }
.gallery-controls button[aria-selected="false"]:hover { background: var(--paper); }
.gallery-panel + .gallery-panel { margin-top: 2rem; }
.gallery-panel[role="tabpanel"] { margin-top: 0; }
.device-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .12rem 1rem;
  margin-bottom: 1rem;
}
.device-intro h3 { font-size: clamp(1.45rem, 2.5vw, 1.85rem); letter-spacing: -.045em; }
.device-intro p, .gallery-note { color: var(--muted); }
.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.85rem, 2vw, 1.25rem);
}
.preview-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  min-width: 0;
  padding: clamp(1rem, 2.6vw, 1.85rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}
.preview-card--today { background: var(--mint); }
.preview-card--recurring { background: var(--amber); }
.preview-card--calendar { background: var(--sand); }
.preview-card--iphone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(112px, 43%);
  align-items: center;
  gap: clamp(.8rem, 2.15vw, 1.8rem);
}
.preview-card h4 {
  margin: 0 0 .55rem;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.22;
  letter-spacing: -.03em;
}
.preview-card figcaption p { color: var(--muted); line-height: 1.6; }
.gallery-image {
  display: block;
  overflow: hidden;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #27272d;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}
.gallery-image img { width: 100%; border-radius: 12px; }
.device-iphone { width: 100%; max-width: 208px; justify-self: center; border-radius: clamp(16px, 2.6vw, 28px); }
.device-iphone img { border-radius: clamp(11px, 2vw, 22px); }
.device-mac { padding: 3px; background: var(--paper); }
.gallery-note { margin-top: .65rem; font-size: .875rem; }
.gallery-dialog { background: var(--paper); color: var(--ink); max-width: 94vw; max-height: 94dvh; margin: auto; padding: .65rem; border: 1px solid var(--line); border-radius: 20px; }
.gallery-dialog::backdrop { background: #17171bd6; }
.gallery-dialog form { display: flex; justify-content: center; margin-bottom: .65rem; }
.gallery-dialog img { max-height: 76dvh; width: auto; max-width: 100%; object-fit: contain; margin: auto; border-radius: 12px; }

.data-panel { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.45rem; padding: 1.7rem; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; }
.data-panel .brand-icon { border-radius: 21px; }
.data-panel h2 { font-size: clamp(1.45rem, 2.3vw, 2.1rem); letter-spacing: -.035em; margin-bottom: .45rem; }
.data-panel p { color: var(--muted); max-width: 43em; }
.outro { border-top: 1px solid var(--line); text-align: center; padding-block: clamp(2.8rem, 7vw, 5.4rem); }
.outro-full-stop { margin-inline-end: -.48em; }
.outro .button { margin-block: .75rem .55rem; }
.outro p { color: var(--muted); font-size: .875rem; margin-inline: auto; max-width: 42em; }

.site-footer { background: var(--sand); border-top: 1px solid var(--line); }
.footer-signature {
  display: grid;
  justify-items: center;
  padding-block: clamp(1.9rem, 5vw, 3.4rem) clamp(1.7rem, 4vw, 2.7rem);
}
.footer-signature a { display: block; width: clamp(13.5rem, 43vw, 31rem); max-width: 100%; }
.footer-wordmark { width: 100%; height: auto; }
.footer-inner {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding-block: 1.25rem max(1.25rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.site-footer nav { justify-content: center; gap: .65rem 1.35rem; flex-wrap: wrap; }
.footer-copyright { color: var(--muted); font-size: .875rem; text-align: center; }
.article-page { padding-block: clamp(1.7rem, 5vw, 4rem) 4rem; }
.article-header { border-bottom: 1px solid var(--line); padding-bottom: 2rem; }
.breadcrumb { display: inline-block; margin-bottom: 1.85rem; }
.article-header h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); letter-spacing: -.062em; margin-block: .44rem .75rem; }
.article-intro { color: var(--muted); max-width: 44em; font-size: 1.08rem; }
.article-header time { color: var(--muted); display: block; margin-top: .9rem; font-size: .875rem; }
.article-layout { display: grid; grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); margin-top: 2rem; }
.article-aside nav { display: grid; gap: .48rem; position: sticky; top: 98px; padding-bottom: 1rem; }
.article-aside p { font-weight: 720; color: var(--ink); }
.article-aside a { font-size: .875rem; text-decoration: none; color: var(--muted); }
.article-aside a:hover { color: var(--ink); text-decoration: underline; }
.article-body { max-width: 48rem; }
.article-body h2 { font-size: 1.23rem; margin-bottom: .52rem; }
.article-body p { color: var(--muted); line-height: 1.8; }
.article-section { padding-block: 1.45rem; border-bottom: 1px solid var(--line); }
.article-section:first-child { padding-top: 0; }
.article-section .button, .article-section .text-link, .article-section .email { display: inline-flex; margin-top: .7rem; }
.text-link, .email { color: var(--green); font-weight: 650; overflow-wrap: anywhere; text-decoration-thickness: 1px; }
.contact-block { padding: clamp(1rem, 4vw, 2rem); background: var(--mint); border-radius: 22px; border: 1px solid var(--line); }
.contact-block .button { margin-top: .85rem; margin-inline-end: .65rem; }
.faq-heading { margin-top: 2rem; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: .92rem 2rem .92rem 0; list-style: none; cursor: pointer; font-weight: 680; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .75rem; color: var(--green); font-size: 1.23rem; }
.faq[open] summary::after { content: "−"; }
.faq p { padding-bottom: .85rem; }
.article-related { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.3rem; padding-top: 1.35rem; }
.version-block { display: flex; align-items: baseline; flex-wrap: wrap; gap: .7rem 1.1rem; padding: 1.1rem 1.4rem; background: var(--mint); border: 1px solid var(--line); border-radius: 18px; }
.version-block span { font-size: 1.7rem; font-weight: 750; }
.version-block time { color: var(--muted); font-size: .875rem; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 3rem); }
  .feature-card { padding: 1.15rem; }
  .data-panel { grid-template-columns: auto 1fr; }
  .data-panel .button { grid-column: 2; justify-self: start; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 78px; }
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 60px; }
  .desktop-nav { display: none; }
  .preview-grid { grid-template-columns: 1fr; }
  .mobile-menu { display: block; }
  .hero { grid-template-columns: 1fr; gap: 1rem; padding-top: 2.25rem; }
  .hero-copy { padding: 0 0 .7rem; }
  .hero h1 { font-size: clamp(3.2rem, 11.5vw, 5.3rem); margin-block: .52rem 1.2rem; }
  .hero-actions { margin-top: 1.25rem; }
  .hero-stage { min-height: clamp(350px, 76vw, 465px); border-radius: 27px; }
  .hero-phone { width: clamp(152px, 39%, 186px); }
  .floating-done { left: 5%; }
  .floating-next { right: 5%; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 1.35rem; }
  .card-visual { width: min(100%, 288px); }
  .focus-grid { grid-template-columns: 1fr; gap: 1rem; }
  .article-layout { grid-template-columns: 1fr; gap: 1.4rem; margin-top: 1.35rem; }
  .article-aside nav { grid-template-columns: repeat(auto-fit,minmax(min(10rem,100%),1fr)); gap: .38rem .7rem; padding: .9rem; border: 1px solid var(--line); border-radius: 16px; }
  .article-aside p { grid-column: 1 / -1; }
}
@media (max-width: 390px) {
  .header-inner { gap: .35rem; }
  .header-tools { gap: .24rem; }
  .brand { gap: .37rem; }
  .brand .brand-icon { width: 29px; height: 29px; border-radius: 8px; }
  .brand-wordmark { width: 88px; }
  .dropdown summary { padding-inline: .5rem; }
  .theme-toggle, .mobile-menu summary { width: 32px; padding-inline: 0; }
  .hero-actions .button { padding-inline: .9rem; }
  .floating-item { padding: .4rem .51rem; gap: .38rem; }
  .item-mark { width: 1.17rem; }
  .benefits { gap: .45rem .85rem; padding-inline: 0; }
  .data-panel { gap: .8rem; }
  .data-panel .brand-icon { width: 48px; border-radius: 12px; }
  .preview-card--iphone { grid-template-columns: minmax(0, 1fr) minmax(104px, 43%); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
