.lang-btn[data-lang-target="zh-Hans"],
.lang-btn[data-lang-target="ja"],
.lang-btn[data-lang-target="ko"],
.lang-btn[data-lang-target="fr"],
.lang-btn[data-lang-target="es"] { display: none; }

:root {
  --bg: #f3efe9;
  --paper: #faf7f3;
  --ink: #1c1917;
  --muted: #6e675f;
  --faint: #9a938b;
  --brand: #ff6f61;
  --brand-deep: #c94b42;
  --line: rgba(28, 25, 23, 0.08);
  --card: #ffffff;
  --home: #d4a017;
  --parents: #5b9a6a;
  --dot-coral: #ff6f61;
  --dot-green: #5b9a6a;
  --dot-blue: #4f8ec9;
  --dot-gold: #d4a017;
  --shadow: 0 28px 80px rgba(28, 25, 23, 0.12);
  --shadow-phone: 0 40px 90px rgba(28, 25, 23, 0.16);
  --display: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Noto Sans TC", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang TC", "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Noto Sans TC", sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

:where(a, button, summary):focus { outline: none; }
:where(a, button, summary):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 10px;
}
:where(button, a.store-badge-link):active:not(:disabled) {
  transform: scale(0.98);
}

.shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 239, 233, 0.78);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 16px;
}

.brand {
  margin-right: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.nav-items {
  display: contents;
}

.nav-items a {
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {
  .nav-items a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.7); }
}

.lang-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: background 140ms var(--ease), color 140ms var(--ease);
}

.lang-btn.is-active {
  background: var(--ink);
  color: #fff;
}

.hero {
  padding: 88px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: center;
  gap: 72px;
}

.eyebrow,
.kicker {
  margin: 0 0 16px;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin: 0 0 22px;
  max-width: 14ch;
  font-family: var(--sans);
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 1.02;
  font-weight: 620;
  letter-spacing: -0.038em;
}

html[lang="zh-Hant"] h1,
html[lang="zh-Hans"] h1,
html[lang="ja"] h1,
html[lang="ko"] h1 {
  max-width: 12em;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 36rem;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  font-weight: 450;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
}

.store-badge {
  width: 168px;
  height: auto;
}

.soft-link {
  color: var(--ink);
  font-size: 16px;
  font-weight: 560;
  border-bottom: 1px solid rgba(28, 25, 23, 0.22);
  padding-bottom: 2px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% -8% auto;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 111, 97, 0.16), transparent 68%);
  pointer-events: none;
}

.phone {
  position: relative;
  width: min(320px, 100%);
  padding: 10px;
  border-radius: 42px;
  background: #1c1917;
  box-shadow: var(--shadow-phone);
}

.phone-screen {
  overflow: hidden;
  border-radius: 32px;
  background: #f7f4ef;
  min-height: 560px;
}

.app {
  padding: 18px 16px 20px;
  color: #2a2420;
  font-size: 13px;
}

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.app-bar strong {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.app-tools {
  display: flex;
  gap: 8px;
  color: var(--faint);
  font-size: 12px;
}

.tool-pill {
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(28, 25, 23, 0.06);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(28, 25, 23, 0.06);
  font-size: 12px;
  font-weight: 600;
}

.chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home);
}

.chip.parents i { background: var(--parents); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px 0;
  text-align: center;
  margin-bottom: 16px;
}

.cal-grid .wd {
  color: var(--faint);
  font-size: 10px;
  font-weight: 650;
  padding-bottom: 6px;
}

.cal-grid .d {
  min-height: 34px;
  padding-top: 4px;
  color: #3d3732;
  font-size: 12px;
  font-weight: 560;
}

.cal-grid .d.mute { color: #c4beb6; }
.cal-grid .d.today {
  position: relative;
  font-weight: 750;
  color: var(--brand);
}
.cal-grid .d.today::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 1px;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border: 1.5px solid var(--brand);
  border-radius: 50%;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 3px;
  min-height: 5px;
}

.dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.dots .c { background: var(--dot-coral); }
.dots .g { background: var(--dot-green); }
.dots .b { background: var(--dot-blue); }
.dots .y { background: var(--dot-gold); }

.sheet {
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 10px 4px 0;
  box-shadow: 0 -8px 24px rgba(28, 25, 23, 0.04);
}

.handle {
  width: 42px;
  height: 5px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #e4dfd8;
}

.day-label {
  margin: 0 8px 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 8px;
  border-top: 1px solid rgba(28, 25, 23, 0.05);
}

.row .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.row .dot.coral { background: var(--dot-coral); }
.row .dot.green { background: var(--dot-green); }
.row .dot.blue { background: var(--dot-blue); }
.row .dot.gold { background: var(--dot-gold); }

.row span { flex: 1; font-weight: 550; }
.row em {
  font-style: normal;
  color: var(--faint);
  font-size: 12px;
}

.card-soft {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
}

.movie {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  background: #fff8f3;
  border: 1px solid rgba(255, 111, 97, 0.08);
}

.movie .when {
  margin-left: auto;
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
}

.section-label {
  display: flex;
  justify-content: space-between;
  margin: 16px 4px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.todo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid rgba(28, 25, 23, 0.05);
}

.todo:first-child { border-top: 0; }
.circle {
  width: 16px;
  height: 16px;
  border: 1.5px solid #d5cfc6;
  border-radius: 50%;
  margin-left: auto;
}

.hand {
  margin-left: auto;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
}

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
  padding: 4px;
  border-radius: 999px;
  background: #efebe4;
}

.seg span {
  text-align: center;
  padding: 7px 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
}

.seg span.on {
  background: #fff;
  color: var(--ink);
}

.notice {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(28, 25, 23, 0.06);
}

.notice small {
  display: block;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.notice strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}

.chat {
  display: grid;
  gap: 10px;
}

.bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 16px;
  background: #fff;
  font-size: 13px;
  line-height: 1.45;
}

.bubble.me {
  justify-self: end;
  background: var(--ink);
  color: #fff;
}

.bubble.hint {
  max-width: 100%;
  background: transparent;
  color: var(--faint);
  font-size: 12px;
  padding: 4px 2px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 0 80px;
}

.pillar {
  padding: 28px 26px 30px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
}

.pillar strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.section {
  padding: 108px 0;
}

.section.band {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: center;
  gap: 80px;
}

.feature.reverse {
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
}

.feature.reverse .feature-copy { order: 2; }
.feature.reverse .feature-media { order: 1; }

.feature-copy h2 {
  margin: 0 0 16px;
  max-width: 16ch;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.035em;
}

html[lang="zh-Hant"] .feature-copy h2,
html[lang="zh-Hans"] .feature-copy h2,
html[lang="ja"] .feature-copy h2,
html[lang="ko"] .feature-copy h2 {
  max-width: 14em;
}

.feature-copy p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.feature-media {
  display: flex;
  justify-content: center;
}

.mark {
  width: min(360px, 100%);
  height: auto;
}

.waitlist {
  padding: 108px 0 120px;
}

.waitlist-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: 56px;
  align-items: center;
}

.waitlist h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.035em;
  font-weight: 600;
}

.waitlist-copy {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 34rem;
}

.waitlist-form {
  padding: 10px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.05);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.waitlist-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 0 16px;
  color: var(--ink);
}

.waitlist-form button {
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  padding: 0 18px;
  font-weight: 650;
  cursor: pointer;
}

.wl-msg {
  min-height: 22px;
  margin: 10px 8px 4px;
  color: var(--muted);
  font-size: 13px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 44px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}

.footer a { color: var(--muted); }
.footer .store-badge { width: 132px; }

.compare-hero {
  padding: 72px 0 28px;
}

.compare-hero h1 {
  max-width: 16ch;
}

.compare-lede {
  max-width: 40rem;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 24px 0 64px;
}

.who-card {
  padding: 26px 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
}

.who-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.table-wrap {
  overflow-x: auto;
  padding-bottom: 8px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  text-align: left;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.compare-table thead th {
  border-top: 0;
  background: var(--paper);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.compare-table tbody th {
  font-weight: 600;
  width: 34%;
}

.compare-table td[data-col="wekin"] {
  background: rgba(255, 111, 97, 0.05);
  font-weight: 650;
}

.compare-note {
  margin: 20px 0 0;
  color: var(--muted);
  max-width: 44rem;
}

.compare-cta {
  display: inline-block;
  margin: 36px 0 80px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 650;
}

@media (hover: hover) and (pointer: fine) {
  .soft-link,
  .footer a,
  .compare-cta {
    transition: opacity 160ms var(--ease), transform 160ms var(--ease);
  }
  .soft-link:hover,
  .footer a:hover { opacity: 0.7; }
  .store-badge-link:hover,
  .compare-cta:hover,
  .waitlist-form button:hover {
    transform: translateY(-1px);
  }
}

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

@media (prefers-reduced-transparency: reduce) {
  .topbar { background: var(--bg); backdrop-filter: none; }
}

@media (max-width: 980px) {
  .hero-grid,
  .feature,
  .feature.reverse,
  .waitlist-inner,
  .who-grid,
  .pillars {
    grid-template-columns: 1fr;
  }

  .feature.reverse .feature-copy,
  .feature.reverse .feature-media {
    order: initial;
  }

  .hero { padding: 56px 0 48px; }
  .hero-visual { justify-content: flex-start; }
  .section, .waitlist { padding: 72px 0; }
  h1 { max-width: 18ch; }
}

@media (max-width: 860px) {
  .nav {
    position: relative;
    flex-wrap: wrap;
    min-height: 58px;
    padding: 10px 0 12px;
  }
  .brand {
    flex: 1 1 auto;
    margin-right: 0;
  }
  .nav-links { flex: 0 0 auto; }
  .nav-toggle { display: inline-flex; }
  .nav-items {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 188px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(250, 247, 243, 0.98);
    box-shadow: var(--shadow);
    flex-direction: column;
    z-index: 30;
  }
  .nav-items.is-open { display: flex; }
  .nav-items a { display: block; padding: 10px 8px; }
  .lang-switch {
    flex: 1 1 100%;
    justify-content: flex-start;
    gap: 4px;
    border-radius: 16px;
  }
  .lang-btn {
    flex: 0 0 auto;
    padding: 6px 10px;
  }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1120px); }
  .hero { padding: 36px 0 32px; }
  .pillars, .who-grid { gap: 12px; }
  .pillar, .who-card { padding: 20px 18px; }
  .feature-copy p,
  .hero-copy,
  .waitlist-copy,
  .compare-lede { font-size: 17px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .phone { width: min(300px, 100%); }
  .compare-table { min-width: 640px; }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
