/* ============ Tokens (true Bear) ============ */
:root {
  --bg: #ffffff;
  --bg-cream: #fbf6ec;
  --bg-cream-deep: #f4efe1;
  --bg-cool: #f3f1ec;

  --ink: #2a2520;
  --ink-mid: #4a4238;
  --ink-soft: #7d6f57;
  --ink-mute: #b3a890;

  --line: #e8dec6;
  --line-soft: #efe8d6;

  --brand: #edc373;
  --brand-hover: #d9a953;
  --brand-deep: #a47424;
  --brand-deepest: #8a601b;
  --brand-soft: #f7e6c2;
  --brand-ink: #3a2e1a;

  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue",
          "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  --mono: "Roboto Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

  /* Refined, lighter shadow system */
  --shadow-sm: 0 1px 2px rgba(42, 37, 32, 0.04);
  --shadow-md: 0 4px 12px rgba(42, 37, 32, 0.06);
  --shadow-lg: 0 12px 24px rgba(42, 37, 32, 0.08);
  --shadow-xl: 0 20px 48px rgba(42, 37, 32, 0.1);
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; width: 100%; overflow-x: hidden; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink-mid);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
.mobile-break { display: none; }

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  margin-right: 8px;
  color: var(--ink-mid);
  font-weight: 500;
}
.nav-links a {
  color: var(--ink-mid);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--brand-deep); }
.nav-cta {
  background: var(--brand);
  color: var(--brand-ink);
  padding: 8px 18px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-cta:hover { 
  background: var(--brand-hover);
  box-shadow: var(--shadow-sm);
}

/* ============ Common typography ============ */
.hero-title,
.feature-title {
  font-size: 64px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-sub,
.feature-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 600px;
  margin: 22px auto 0;
}
.feature-sub.center { margin-left: auto; margin-right: auto; }

.link-cta,
.link-secondary {
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.link-cta { color: var(--brand-deep); }
.link-cta:hover { color: var(--brand-deepest); }
.link-secondary { color: var(--ink-mid); }
.link-secondary:hover { color: var(--ink); }

/* ============ Sections ============ */
section {
  padding: 160px 28px;
}

/* ============ Hero ============ */
.hero {
  text-align: center;
  padding-top: 112px;
  padding-bottom: 96px;
  background: var(--bg-cream);
}
.hero-title { margin-top: 4px; }
.hero-links {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-art {
  margin: 72px auto 0;
  width: 140px;
  height: 140px;
}
.hero-avatar {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  box-shadow: 0 20px 40px rgba(164, 116, 36, 0.15);
}

/* ============ Stage (product window) ============ */
.stage {
  background: var(--bg-cream);
  display: flex;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 64px;
}
.product-shot {
  width: min(1180px, 100%);
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(620px, 1.25fr);
  gap: 80px;
  align-items: center;
}
.product-copy {
  max-width: 400px;
}
.product-copy h2 {
  font-size: 48px;
  line-height: 1.15;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.product-copy p {
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}
.shot-canvas {
  position: relative;
  min-width: 0;
  min-height: 640px;
  border-radius: 24px;
  background: #fffefa;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.mac-window {
  height: 60px;
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid var(--line-soft);
  background: #ffffff;
}
.mac-traffic {
  display: flex;
  gap: 8px;
}
.mac-traffic i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.mac-traffic i:nth-child(1) { background: #ff5f57; }
.mac-traffic i:nth-child(2) { background: #ffbd2e; }
.mac-traffic i:nth-child(3) { background: #28c840; }
.mac-path {
  text-align: center;
  color: var(--ink-mute);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--mono);
}
.word-count {
  justify-self: end;
  color: var(--ink-mute);
  font-size: 12px;
  font-family: var(--mono);
}
.editor-sheet {
  padding: 60px 360px 80px 60px;
  color: var(--ink-mid);
}
.editor-sheet h3 {
  font-size: 30px;
  margin-bottom: 24px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.editor-sheet p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.editor-sheet .with-marker {
  position: relative;
  padding-left: 28px;
}
.editor-sheet .with-marker::before {
  content: "¶";
  position: absolute;
  left: 0;
  color: var(--line);
}
.fatding-panel {
  min-width: 0;
  background: #fffdf8;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.floating-panel {
  position: absolute;
  right: 28px;
  top: 100px;
  width: 320px;
  border-radius: 18px;
  overflow: hidden;
}
.panel-head {
  display: grid;
  grid-template-columns: 40px 1fr 18px 18px;
  align-items: center;
  gap: 12px;
  padding: 20px;
}
.panel-head img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.panel-head strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
}
.panel-head strong span {
  display: inline-flex;
  height: 16px;
  margin-left: 6px;
  padding: 0 4px;
  border-radius: 3px;
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.panel-head p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 12px;
}
.panel-head em {
  font-style: normal;
  color: var(--ink-mute);
  font-size: 16px;
}
.tool-row {
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
}
.tool-row b {
  flex: 1;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
}
.tool-row b::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.tool-row .purple { color: #8e76df; }
.tool-row .orange { color: #e8a55d; }
.tool-row .cyan { color: #4eb6c4; }
.tool-row .pink { color: #d58ab9; }
.task-bar {
  min-height: 60px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-cream);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.task-bar small {
  padding: 4px 8px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid var(--line-soft);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
}
.task-bar strong { font-size: 13px; font-weight: 700; color: var(--ink); }
.task-bar span { font-size: 11px; color: var(--ink-soft); }
.task-bar mark {
  background: #eee9ff;
  color: #8e76df;
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 700;
}
.preview-block { padding: 16px; background: #fffdf8; }
.preview-block > span {
  display: block;
  color: var(--ink-mute);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.rain-image {
  height: 160px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 230, 172, 0.95) 0 17px, rgba(255, 230, 172, 0.16) 18px 44px, transparent 45px),
    linear-gradient(150deg, #283f53 0%, #172536 54%, #101a27 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.rain-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(108deg, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 16px),
    radial-gradient(circle at 20% 72%, rgba(244, 197, 111, 0.72) 0 4px, transparent 5px),
    radial-gradient(circle at 35% 82%, rgba(244, 197, 111, 0.48) 0 3px, transparent 4px),
    radial-gradient(circle at 62% 74%, rgba(244, 197, 111, 0.58) 0 3px, transparent 4px);
  opacity: 0.52;
}
.rain-image::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 116px;
  height: 72px;
  border: 1px solid rgba(246, 224, 184, 0.86);
  border-radius: 14px 14px 8px 8px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(162, 116, 49, 0.18) 49%, rgba(162, 116, 49, 0.18) 51%, transparent 52%),
    linear-gradient(180deg, rgba(255, 253, 246, 0.94), rgba(247, 225, 186, 0.72));
  box-shadow:
    0 18px 36px rgba(2, 10, 18, 0.24),
    145px 26px 0 -22px rgba(244, 197, 111, 0.55),
    178px 10px 0 -24px rgba(255, 250, 235, 0.48);
}
.panel-actions {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  border-top: 1px solid var(--line-soft);
}
.panel-actions button {
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--bg-cool);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}
.panel-actions .green {
  background: #29c780;
  color: #ffffff;
}
.panel-input {
  display: grid;
  grid-template-columns: 1fr 40px;
  align-items: center;
  gap: 12px;
  padding: 0 16px 16px;
}
.panel-input span {
  height: 36px;
  border-radius: 10px;
  background: var(--bg-cool);
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 13px;
}
.panel-input b {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #d8cdf4;
  color: #ffffff;
}

/* ============ Modes ============ */
.modes-section {
  background: var(--bg);
  padding-top: 72px;
  padding-bottom: 40px;
}
.modes-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.modes-head .feature-sub { margin-top: 20px; }
.mode-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.mode-panel {
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  overflow: hidden;
  background: #fffdf8;
  transition: all 0.2s ease;
}
.mode-panel:hover {
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}
.mode-copy { padding: 40px; }
.mode-copy h3 {
  margin-top: 12px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--ink);
}
.mode-copy p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}
.mode-visual {
  min-height: 320px;
  position: relative;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(160deg, #fdf6e6 0%, #faecc8 100%);
  overflow: hidden;
  padding: 28px;
}

/* Floating-mode mockup: a doc filling the card with a floating panel overlaid */
.mini-doc {
  position: absolute;
  inset: 28px;
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.mini-doc::before {
  content: "";
  position: absolute;
  left: 24px; right: 24px;
  top: 56px;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-cool);
  box-shadow:
    0 16px 0 0 var(--bg-cool),
    0 32px 0 0 var(--bg-cool),
    0 48px 0 0 var(--brand-soft),
    0 64px 0 0 var(--bg-cool),
    0 80px 0 0 var(--bg-cool);
}
.mini-doc strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.mini-doc p {
  margin: 0;
  color: var(--ink-mute);
  font-size: 12px;
  line-height: 1.5;
  visibility: hidden;
}
.mini-panel {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 220px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 16px 32px rgba(42,37,32,0.14);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
}
.mini-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mini-head img {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  flex-shrink: 0;
}
.mini-head b {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.mini-tools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.mini-tools i {
  height: 28px;
  border-radius: 6px;
  background: var(--bg-cool);
  position: relative;
}
.mini-tools i::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.mini-tools i:nth-child(1) { background: #efe3ff; color: #8e76df; }
.mini-tools i:nth-child(2) { background: #fde8d0; color: #e8a55d; }
.mini-tools i:nth-child(3) { background: #d9eef3; color: #4eb6c4; }
.mini-tools i:nth-child(4) { background: #fbdce8; color: #d58ab9; }
.mini-panel p {
  margin: 0;
  font-size: 11px;
  color: var(--ink-soft);
  padding: 6px 8px;
  background: var(--bg-cream);
  border-radius: 6px;
}
.mini-input {
  height: 28px;
  border-radius: 8px;
  background: var(--bg-cool);
  border: 1px solid var(--line-soft);
  position: relative;
}
.mini-input::after {
  content: "→";
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--ink-mute);
  font-weight: 700;
}

/* Sidebar-mode mockup: doc on the left, sidebar docked to the right */
.mode-panel:nth-child(2) .mode-visual::before {
  content: "";
  position: absolute;
  inset: 28px 268px 28px 28px;
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  background-image:
    linear-gradient(var(--bg-cool), var(--bg-cool)),
    linear-gradient(var(--bg-cool), var(--bg-cool)),
    linear-gradient(var(--bg-cool), var(--bg-cool)),
    linear-gradient(var(--brand-soft), var(--brand-soft)),
    linear-gradient(var(--bg-cool), var(--bg-cool));
  background-size: 60% 10px, 90% 8px, 80% 8px, 70% 8px, 85% 8px;
  background-position: 22px 22px, 22px 50px, 22px 70px, 22px 90px, 22px 110px;
  background-repeat: no-repeat;
}
.side-panel {
  position: absolute;
  inset: 28px 28px 28px auto;
  width: 220px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.work-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg-cool);
  border: 1px solid var(--line-soft);
}
.work-card.active {
  background: var(--brand-soft);
  border-color: var(--brand);
}
.work-card b {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.work-card small {
  font-size: 10px;
  color: var(--ink-mute);
  font-family: var(--mono);
}

/* ============ Selection toolbar ============ */
.sel-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 6px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.sel-pet { width: 28px; height: 28px; border-radius: 6px; overflow: hidden; }
.sel-pet img { width: 100%; height: 100%; }
.sel-divider { width: 1px; height: 16px; background: var(--line-soft); margin: 0 4px; }
.sel-toolbar button {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink-mid);
  font-weight: 600;
  transition: all 0.2s ease;
}
.sel-toolbar button:hover { background: var(--brand-soft); color: var(--brand-deep); }

/* ============ Generic feature section ============ */
.feature {
  background: var(--bg);
  padding-top: 52px;
  padding-bottom: 32px;
}
.feature.alt {
  padding-top: 40px;
  padding-bottom: 40px;
}
.feature-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.toolbar-art {
  padding: 36px 0;
  background: linear-gradient(180deg, #ffffff 0%, #fdfaf3 100%);
  border-radius: 24px;
  margin-top: 30px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.toolbar-art .sel-toolbar { transform: scale(1.2); }
.local-visual {
  width: min(100%, 900px);
  margin: 36px auto 0;
}
.local-visual img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

/* ============ Capabilities ============ */
.capabilities {
  background: var(--bg);
  padding-top: 44px;
  padding-bottom: 48px;
}
.capabilities-head { text-align: center; margin-bottom: 44px; }
.cap-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.cap {
  background: var(--bg-cool);
  border-radius: 20px;
  padding: 44px;
  border: 1px solid var(--line-soft);
  transition: all 0.2s ease;
}
.cap:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}
.cap h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--ink);
}
.cap > p {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 24px;
}
.cap-demo {
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
}
.cap:hover .cap-demo { background: var(--bg-cool); }

/* ============ Pet section ============ */
.pet-section {
  text-align: center;
  background: var(--bg-cream);
  padding-top: 68px;
  padding-bottom: 64px;
}
.pet-note {
  margin: 14px auto 0;
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}
.pet-states {
  width: min(100%, 860px);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  justify-items: center;
  align-items: start;
}
.pet-states figure {
  width: 92px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.pet-states figcaption {
  color: var(--ink-mid);
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0;
}
.ps {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  filter: drop-shadow(0 10px 20px rgba(111, 83, 62, 0.16));
  animation: fatding-float 2.4s ease-in-out infinite;
  transition: transform 0.2s ease, filter 0.2s ease;
  position: relative;
}
.ps:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 14px 26px rgba(111, 83, 62, 0.2));
}
.ps img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 22%;
}
.ps-badge {
  position: absolute;
  right: -5px;
  top: 5px;
  background: rgba(255, 250, 241, 0.94);
  box-shadow: 0 2px 8px rgba(87, 64, 42, 0.12);
}
.text-badge {
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #8f6257;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.text-badge.happy {
  background: #f4a7a5;
  color: #ffffff;
}
.thinking-badge {
  width: 34px;
  height: 22px;
  border-radius: 980px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.thinking-badge i {
  width: 4px;
  height: 4px;
  border-radius: 980px;
  background: rgba(139, 127, 211, 0.75);
  animation: fatding-dot 900ms ease-in-out infinite;
}
.thinking-badge i:nth-child(2) {
  animation-delay: 120ms;
  opacity: 0.7;
}
.thinking-badge i:nth-child(3) {
  animation-delay: 240ms;
  opacity: 0.5;
}

@keyframes fatding-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes fatding-dot {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50% { transform: translateY(-2px); opacity: 1; }
}

/* ============ Download ============ */
.download {
  text-align: center;
  background: var(--bg);
  padding-top: 56px;
  padding-bottom: 72px;
}
.download-inner {
  width: min(100%, 360px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.download .feature-title {
  width: 100%;
  font-size: 56px;
  line-height: 1.08;
}
.download .feature-sub {
  width: 100%;
  margin-top: 24px;
}
.download-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  width: 100%;
}
.btn-pill {
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 16px;
  font-weight: 700;
  min-width: 260px;
  width: min(100%, 300px);
  padding: 15px 36px;
  border-radius: 980px;
  box-shadow: var(--shadow-lg);
  transition: all 0.2s ease;
}
.btn-pill:hover { 
  background: var(--brand-hover); 
  transform: translateY(-1px);
}
.download-error {
  min-height: 20px;
  margin-top: 14px;
  color: #b34b2f;
  font-size: 14px;
  text-align: center;
}
.download-meta {
  width: 100%;
  max-width: 320px;
  margin-top: 18px;
  color: var(--ink-mute);
  font-size: 13px;
  font-family: var(--mono);
  line-height: 1.5;
  min-height: 20px;
  text-align: center;
  word-break: keep-all;
}

/* ============ Footer ============ */
footer {
  background: var(--bg-cool);
  border-top: 1px solid var(--line-soft);
  padding: 40px 28px 28px;
  font-size: 14px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.footer-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
}
.footer-nav a {
  color: var(--ink-soft);
  font-size: 14px;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.footer-nav a:hover { color: var(--brand-deep); }
.footer-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0;
}

/* ============ Reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.6s ease-out;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 820px) {
  section { padding: 84px 24px; }
  .nav-inner {
    height: 64px;
    padding: 0 20px;
    gap: 16px;
  }
  .nav-links { display: none; }
  .nav-cta {
    margin-left: auto;
    padding: 8px 16px;
  }
  .hero {
    padding-top: 88px;
    padding-bottom: 68px;
  }
  .hero-art {
    width: 120px;
    height: 120px;
    margin-top: 56px;
  }
  .hero-title, .feature-title {
    font-size: 40px;
    line-height: 1.14;
  }
  .mobile-break { display: block; }
  .stage { padding-bottom: 50px; }
  .modes-section { padding-top: 50px; padding-bottom: 32px; }
  .modes-head { margin-bottom: 40px; }
  .feature { padding-top: 42px; padding-bottom: 30px; }
  .feature.alt { padding-top: 36px; padding-bottom: 36px; }
  .product-copy h2 { font-size: 36px; }
  .mode-copy h3 { font-size: 28px; }
  .product-shot { grid-template-columns: 1fr; gap: 48px; }
  .product-copy { max-width: 100%; text-align: center; }
  .editor-sheet { padding: 40px; }
  .floating-panel { position: relative; right: 0; top: 0; margin: 20px auto; width: 100%; max-width: 320px; }
  .mode-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .toolbar-art { padding: 30px 18px; margin-top: 26px; }
  .toolbar-art .sel-toolbar { transform: scale(0.82); }
  .local-visual { margin-top: 30px; }
  .capabilities { padding-top: 40px; padding-bottom: 44px; }
  .capabilities-head { margin-bottom: 36px; }
  .pet-section { padding-top: 56px; padding-bottom: 56px; }
  .pet-states {
    width: min(100%, 360px);
    margin-top: 30px;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 20px;
  }
  .download { padding-top: 48px; padding-bottom: 64px; }
  .download-inner { width: min(100%, 340px); }
  .download .feature-title { font-size: 44px; }
  .btn-pill {
    min-width: 0;
    width: min(100%, 300px);
  }
  footer { padding: 32px 24px 24px; }
  .footer-brand-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 20px;
  }
  .footer-nav { gap: 6px 16px; }
  .footer-meta {
    flex-direction: column;
    gap: 6px;
  }
}
