/* Pom — official site · cream & ink brand style */

:root {
  --paper: #f7f2e8;
  --paper-deep: #efe7d6;
  --card: #fffdf6;
  --ink: #191714;
  --ink-soft: #35312b;
  --muted: #6f6759;
  --line: #e4dbc8;
  --tomato: #d4472a;
  --tomato-deep: #b23818;
  --cream-on-ink: #f4efe3;
  --panel: #211f1d;
  --panel-2: #2b2927;
  --panel-line: #3b3833;
  --panel-text: #efece6;
  --panel-muted: #9b968d;
  --blue: #4a9eff;
  --radius: 18px;
  --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont,
    "Segoe UI", system-ui, "PingFang SC", "Hiragino Sans", "Noto Sans SC",
    "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- nav (macOS menu bar) ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, #1c1a18 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(244, 239, 227, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 44px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--cream-on-ink);
  padding: 4px 10px 4px 6px;
  border-radius: 6px;
}

.brand:hover { background: rgba(244, 239, 227, 0.1); }

.brand img { width: 20px; height: 20px; border-radius: 5px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: auto;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(244, 239, 227, 0.78);
  padding: 4px 10px;
  border-radius: 6px;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(244, 239, 227, 0.12);
}

.lang-switch {
  display: flex;
  border: 1px solid rgba(244, 239, 227, 0.22);
  border-radius: 999px;
  overflow: hidden;
  background: transparent;
  margin-left: 12px;
}

.lang-switch button {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border: 0;
  background: transparent;
  color: rgba(244, 239, 227, 0.65);
  cursor: pointer;
}

.lang-switch button:hover { color: var(--cream-on-ink); }

.lang-switch button.active { background: var(--cream-on-ink); color: var(--ink); }

.mb-status {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(244, 239, 227, 0.75);
  font-size: 0.78rem;
  font-weight: 600;
  margin-left: 14px;
  white-space: nowrap;
}

.mb-status svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mb-app {
  padding: 3px;
  border-radius: 6px;
  display: flex;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.mb-app:hover { background: rgba(244, 239, 227, 0.1); }

.mb-app img { width: 18px; height: 18px; border-radius: 5px; display: block; }

.mb-app[aria-expanded="true"] { background: rgba(244, 239, 227, 0.16); }

.mb-app:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.mb-timer {
  font-size: 0.78rem;
  font-weight: 800;
  color: #f07052;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  margin-left: -5px;
}

.mock-drop {
  position: absolute;
  top: calc(100% + 8px);
  right: max(34px, calc((100vw - 1080px) / 2 + 34px));
  width: min(330px, calc(100vw - 48px));
  z-index: 60;
}

.mock-drop .mock-panel { margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  border: 0;
  font-family: var(--font);
}

.btn-bar {
  background: var(--tomato);
  color: #fff;
  padding: 6px 14px;
  font-size: 0.82rem;
  margin-left: 14px;
}

.btn-bar:hover { background: var(--tomato-deep); }

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: 8px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--cream-on-ink);
  border-radius: 2px;
}

/* ---------- hero ---------- */

.hero { padding: 0 0 72px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.hero-grid > div:first-child { padding-top: 92px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tomato);
  background: color-mix(in srgb, var(--tomato) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--tomato) 26%, transparent);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--tomato);
}

.hero-sub {
  font-size: 1.13rem;
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 32px;
}

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

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--cream-on-ink);
  border-radius: 14px;
  padding: 10px 22px 12px 18px;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.store-badge:hover { transform: translateY(-2px); background: #000; }

.store-badge svg { width: 26px; height: 26px; fill: currentColor; }

.store-badge .sb-top {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.75;
  line-height: 1.2;
}

.store-badge .sb-main {
  display: block;
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-meta { font-size: 0.9rem; color: var(--muted); font-weight: 600; }

.hero-whatsnew {
  display: inline-block;
  margin-top: 22px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--tomato);
  text-decoration: none;
  border-bottom: 2px solid color-mix(in srgb, var(--tomato) 30%, transparent);
  padding-bottom: 2px;
}

.hero-whatsnew:hover { border-bottom-color: var(--tomato); }

/* ---------- menu-bar mockup ---------- */

.mock-scene { position: relative; }

.menubar-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  height: 30px;
  background: rgba(24, 22, 20, 0.88);
  border-radius: 10px 10px 0 0;
  padding: 0 14px;
  margin: 0 18px;
}

.menubar-strip i {
  width: 16px;
  height: 9px;
  border-radius: 3px;
  background: rgba(244, 239, 227, 0.4);
}

.menubar-strip img { width: 17px; height: 17px; border-radius: 4px; }

.mock-panel {
  width: min(330px, 100%);
  margin: 8px 10px 0 auto;
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 14px;
  padding: 18px 16px 10px;
  color: var(--panel-text);
  box-shadow: 0 30px 60px -22px rgba(25, 20, 10, 0.45);
}

.mock-panel::before {
  content: "";
  position: absolute;
  top: -6.5px;
  right: calc(var(--notch-x, 242px) - 6px);
  width: 12px;
  height: 12px;
  background: var(--panel);
  border-left: 1px solid var(--panel-line);
  border-top: 1px solid var(--panel-line);
  border-radius: 3px 0 0 0;
  transform: rotate(45deg);
}

.mock-panel {
  transform-origin: calc(var(--notch-x, 242px) - 6px) 0;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s;
}

.mock-panel.closed {
  opacity: 0;
  transform: scale(0.94) translateY(-8px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s 0.16s;
}

.mp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.mp-head .t { font-weight: 800; font-size: 0.98rem; }

.mp-head .s { font-size: 0.75rem; color: var(--panel-muted); }

.mp-toggle {
  width: 40px;
  height: 24px;
  border-radius: 999px;
  background: #4a4640;
  position: relative;
  flex: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mp-toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.2s ease;
}

.mp-toggle[aria-checked="true"] { background: var(--tomato); }

.mp-toggle[aria-checked="true"]::after { left: 19px; }

.mp-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--panel-muted);
  margin-bottom: 9px;
}

.mp-label svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }

.mp-big {
  background: var(--panel-2);
  border-radius: 14px;
  text-align: center;
  padding: 14px 10px 12px;
  margin-bottom: 10px;
}

.mp-big .num {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.mp-big .cap { font-size: 0.72rem; color: var(--panel-muted); }

.mp-ruler {
  background: #141312;
  border-radius: 14px;
  height: 62px;
  position: relative;
  overflow: hidden;
  margin-bottom: 7px;
  cursor: grab;
  touch-action: none;
}

.mp-ruler.dragging { cursor: grabbing; }

.mp-ruler.disabled { opacity: 0.45; }

.mp-ruler:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.mp-ruler:not(.dragging) .thumb { transition: left 0.15s ease; }

.mp-ruler .ticks {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to right,
    rgba(244, 239, 227, 0.34) 0 1.5px,
    transparent 1.5px 12px
  );
  background-position: 0 26px;
  background-size: 100% 16px;
  background-repeat: repeat-x;
}

.mp-ruler .ticks-major {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to right,
    rgba(244, 239, 227, 0.55) 0 2px,
    transparent 2px 60px
  );
  background-position: 0 20px;
  background-size: 100% 24px;
  background-repeat: repeat-x;
}

.mp-ruler .thumb {
  position: absolute;
  left: 42%;
  top: 12px;
  bottom: 16px;
  width: 3px;
  border-radius: 2px;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(74, 158, 255, 0.8);
}

.mp-ruler .thumb::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: -3.5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}

.mp-rulerhint {
  text-align: center;
  font-size: 0.68rem;
  color: var(--panel-muted);
  margin-bottom: 10px;
}

.mp-presets { display: flex; gap: 8px; margin-bottom: 10px; }

.mp-presets button {
  flex: 1;
  text-align: center;
  background: var(--panel-2);
  border: 0;
  border-radius: 10px;
  font-family: var(--font);
  color: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.mp-presets button:hover { background: #373430; }

.mp-presets button.active { background: var(--tomato); color: #fff; }

.mp-actions { display: flex; gap: 8px; margin-bottom: 14px; }

.mp-inf {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--panel-2);
  border: 0;
  border-radius: 999px;
  font-family: var(--font);
  color: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.mp-inf:hover { background: #373430; }

.mp-inf.active { background: var(--tomato); color: #fff; }

.mp-start {
  flex: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--tomato);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 9px 0;
  cursor: pointer;
  transition: background 0.15s ease;
}

.mp-start:hover { background: var(--tomato-deep); }

.mp-start.running { background: var(--tomato-deep); }

.mp-toggle:focus-visible,
.mp-inf:focus-visible,
.mp-start:focus-visible,
.mp-presets button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.mp-start svg { width: 10px; height: 10px; fill: currentColor; }

.mp-rows { border-top: 1px solid var(--panel-line); }

.mp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 2px;
  font-size: 0.86rem;
  font-weight: 600;
  border-bottom: 1px solid var(--panel-line);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.mp-row:active { transform: scale(0.98); }

.mp-row:last-child { border-bottom: 0; }

.mp-row .l { display: flex; align-items: center; gap: 9px; }

.mp-row svg { width: 14px; height: 14px; stroke: var(--panel-muted); fill: none; stroke-width: 2; }

.mp-row .r { color: var(--panel-muted); font-size: 0.75rem; font-weight: 700; }

.mp-row .pill {
  background: var(--panel-2);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.72rem;
}

/* ---------- features ---------- */

.features { padding: 40px 0 76px; }

.seo { padding: 0 0 84px; }

.seo .section-head { max-width: 58em; }

.seo .section-head p { font-size: 1.02rem; }

.section-head { max-width: 40em; margin-bottom: 44px; }

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-head p { color: var(--muted); font-size: 1.05rem; }

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

.feat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.feat-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--tomato) 40%, var(--line));
}

.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--paper-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feat-icon svg { width: 22px; height: 22px; stroke: var(--tomato); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.feat-card h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }

.feat-card p { font-size: 0.94rem; color: var(--muted); }

/* ---------- privacy band ---------- */

.priv-band { padding: 0 0 88px; }

.priv-card {
  background: var(--ink);
  color: var(--cream-on-ink);
  border-radius: 26px;
  padding: 52px 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.priv-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 14px;
}

.priv-card p { color: rgba(244, 239, 227, 0.72); font-size: 1rem; max-width: 36em; }

.priv-card a {
  color: var(--cream-on-ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--tomato);
  padding-bottom: 2px;
  white-space: nowrap;
}

.priv-card a:hover { color: var(--tomato); }

.priv-locks { display: flex; gap: 12px; justify-content: flex-end; }

.priv-locks span {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(244, 239, 227, 0.08);
  border: 1px solid rgba(244, 239, 227, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.priv-locks svg { width: 26px; height: 26px; stroke: var(--tomato); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
}

.foot-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; margin-right: auto; }

.foot-brand img { width: 26px; height: 26px; border-radius: 7px; }

.foot-tag { color: var(--muted); font-size: 0.88rem; width: 100%; order: 3; }

.foot-links { display: flex; gap: 20px; }

.foot-links a { font-size: 0.9rem; font-weight: 600; color: var(--muted); text-decoration: none; }

.foot-links a:hover { color: var(--tomato); }

.foot-copy { font-size: 0.85rem; color: var(--muted); }

/* ---------- sub pages ---------- */

.page-head { padding: 72px 0 40px; max-width: 46em; }

.page-head h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-head .sub { color: var(--muted); font-size: 1.05rem; }

.page-head .updated {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--paper-deep);
  border-radius: 999px;
  padding: 5px 14px;
}

.prose { max-width: 46em; padding-bottom: 84px; }

.prose section { margin-bottom: 34px; }

.prose h2 {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.prose p { color: var(--ink-soft); margin-bottom: 12px; }

.prose p.lead { font-size: 1.08rem; color: var(--ink); font-weight: 600; }

.prose ul { margin: 0 0 12px 1.2em; color: var(--ink-soft); }

.prose li { margin-bottom: 6px; }

.prose a { color: var(--tomato); font-weight: 600; text-decoration: none; }

.prose a:hover { text-decoration: underline; }

/* ---------- changelog ---------- */

.cl-list { max-width: 46em; padding-bottom: 84px; }

.cl-entry {
  position: relative;
  padding: 0 0 40px 34px;
  border-left: 2px solid var(--line);
  margin-left: 7px;
}

.cl-entry:last-child { border-left-color: transparent; padding-bottom: 8px; }

.cl-entry::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--tomato);
}

.cl-entry.old::before { border-color: var(--muted); }

.cl-ver {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.cl-ver h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; }

.cl-ver .tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tomato);
  background: color-mix(in srgb, var(--tomato) 10%, transparent);
  border-radius: 999px;
  padding: 3px 10px;
}

.cl-date { font-size: 0.88rem; color: var(--muted); font-weight: 600; }

.cl-entry ul { margin-left: 1.15em; color: var(--ink-soft); }

.cl-entry li { margin-bottom: 7px; }

.cl-entry li strong { color: var(--ink); }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 48px 0 56px; }
  .hero-grid > div:first-child { padding-top: 0; }
  .mock-panel { margin: 0 auto; }
  .mock-panel::before { display: none; }
  .mock-panel.closed { display: none; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .priv-card { grid-template-columns: 1fr; padding: 40px 32px; }
  .priv-locks { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 44px;
    left: 12px;
    right: 12px;
    background: #211f1d;
    border: 1px solid rgba(244, 239, 227, 0.1);
    border-radius: 0 0 14px 14px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 10px 14px;
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; font-size: 0.92rem; }
  .lang-switch { margin: 10px 2px 0; align-self: flex-start; }
  .nav-toggle { display: flex; }
  .mb-status { display: none; }
}

@media (max-width: 620px) {
  .feat-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .priv-card { padding: 34px 24px; }
}
