:root {
  --paper: #f7f4ee;
  --paper-2: #fbfaf7;
  --ink: #11110f;
  --muted: #68645c;
  --line: rgba(26, 24, 21, 0.13);
  --line-strong: rgba(26, 24, 21, 0.2);
  --shadow: 0 16px 34px rgba(44, 39, 32, 0.1);
  --shadow-soft: 0 10px 24px rgba(44, 39, 32, 0.065), 0 1px 1px rgba(44, 39, 32, 0.05);
  --radius: 8px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --hand: "Bradley Hand ITC", "Segoe Print", "Comic Sans MS", cursive;
  --rams-canvas: #e8e7e4;
  --rams-surface: #f2f1ee;
  --rams-surface-deep: #deddd9;
  --rams-ink: #11130f;
  --rams-muted: #696a65;
  --rams-line: #cfcec9;
  --rams-accent: #ff6422;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0;
}

body {
  margin: 0;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.ui-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  pointer-events: none;
}

.page {
  min-height: 100vh;
  background: var(--rams-canvas);
  color: var(--rams-ink);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 760;
  letter-spacing: -0.01em;
}

.brand-logo {
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
}

.pill,
.create-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-weight: 650;
}

.pill.dark,
.create-button {
  background: var(--rams-accent);
  color: var(--rams-ink);
  border-color: var(--rams-accent);
  box-shadow: none;
}

.pill.light {
  border-color: var(--rams-line);
  background: rgba(242, 241, 238, 0.72);
}

/* Landing page v2 */
.landing-v2 {
  background: var(--rams-canvas);
  color: var(--rams-ink);
}

.landing-v2 main { overflow: hidden; }
.landing-v2 section { scroll-margin-top: 88px; }

.landing-v2-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 42px;
  min-height: 82px;
  padding: 0 42px;
  border-bottom: 1px solid rgba(17, 19, 15, 0.1);
  background: rgba(232, 231, 228, 0.9);
  backdrop-filter: blur(16px);
}

.landing-v2-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.5vw, 42px);
  font-size: 14px;
}

.landing-v2-nav a,
.landing-login { color: var(--rams-muted); }
.landing-v2-nav a:hover,
.landing-login:hover { color: var(--rams-ink); }

.landing-v2-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.compact-pill { min-width: auto; height: 40px; padding: 0 18px; }
.language-toggle { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--rams-line); border-radius: 999px; background: rgba(242, 241, 238, .7); }
.language-toggle span { padding: 5px 8px; border-radius: 999px; color: var(--rams-muted); font-size: 11px; }
.language-toggle span.active { background: var(--rams-ink); color: #fff; }
.landing-menu-button { display: none; width: 40px; height: 40px; border: 1px solid var(--rams-line); border-radius: 50%; background: var(--rams-surface); }

.landing-v2-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 720px;
  min-height: max(720px, calc(100svh - 82px));
  padding: 80px 46px;
}

.landing-v2-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  pointer-events: none;
  background-image: radial-gradient(rgba(17, 19, 15, .18) .65px, transparent .65px);
  background-size: 14px 14px;
}

.landing-v2-hero-copy {
  position: relative;
  z-index: 3;
  width: min(850px, calc(100vw - 48px));
  margin: 0 auto;
  text-align: center;
}

.landing-kicker {
  margin: 0 0 18px;
  color: var(--rams-accent);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .16em;
}

.landing-v2-hero h1 {
  max-width: 840px;
  margin: 0 auto;
  font-size: clamp(58px, 8.2vw, 126px);
  line-height: .91;
  letter-spacing: -.06em;
  white-space: pre-line;
}

html[lang="zh-CN"] .landing-v2-hero h1 {
  width: 100%;
  max-width: 760px;
  font-size: clamp(52px, 7vw, 104px);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-align: center;
}

.landing-v2-lead {
  max-width: 660px;
  margin: 30px auto 0;
  color: var(--rams-muted);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.5;
}

.landing-v2-hero-actions,
.landing-final-cta > div { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }

.mini-category { display: inline-flex; align-items: center; min-height: 20px; padding: 0 8px; border-radius: 999px; font-size: 9px; font-weight: 740; letter-spacing: .05em; }
.mini-category.work { background: #d3e1e7; }
.mini-category.travel { background: #cfe2de; }
.mini-category.idea { background: #ded7e8; }
.mini-category.schedule { background: #e8d4d4; }
.mini-wave { display: flex; align-items: center; gap: 9px; margin-top: 18px; }
.mini-wave b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--rams-ink); color: #fff; font-size: 8px; }
.mini-wave i { flex: 1; height: 20px; background: repeating-linear-gradient(90deg, rgba(17,19,15,.24) 0 2px, transparent 2px 7px); mask-image: linear-gradient(0deg, transparent 5%, #000 32% 68%, transparent 95%); }
.memory-layer-section,
.process-section,
.use-case-section,
.product-showcase-section,
.memory-schedule-section,
.developer-section,
.privacy-section {
  padding: 120px 46px;
}

.memory-layer-section { background: #f1f0ed; }
.section-intro { max-width: 720px; margin-bottom: 55px; }
.centered-intro { margin-right: auto; margin-left: auto; text-align: center; }
.section-intro h2,
.memory-schedule-copy h2,
.developer-copy h2,
.landing-final-cta h2 { margin: 0; font-size: clamp(42px, 5vw, 76px); line-height: .98; letter-spacing: -.05em; }
.section-intro > p:last-child,
.memory-schedule-copy > p:last-child,
.developer-copy > p { margin: 22px 0 0; color: var(--rams-muted); font-size: 17px; line-height: 1.6; }

.memory-layer-map { position: relative; max-width: 900px; height: 360px; margin: 0 auto; }
.memory-map-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.memory-map-lines path { fill: none; stroke: #b8b7b1; stroke-width: 1.5; stroke-dasharray: 4 5; }
.memory-map-lines circle { fill: var(--rams-accent); }
.agent-source, .memory-core { position: absolute; z-index: 1; display: grid; justify-items: center; width: 210px; min-height: 112px; padding: 16px; border: 1px solid var(--rams-line); border-radius: 16px; background: #e8e7e4; text-align: center; }
.agent-source img { width: 20px; height: 20px; margin-bottom: 12px; opacity: .7; }
.agent-source strong, .memory-core strong { align-self: end; font-size: 14px; }
.agent-source small, .memory-core small { margin-top: 5px; color: var(--rams-muted); font-size: 10px; }
.memory-core { top: 0; left: 50%; width: 250px; min-height: 160px; background: var(--rams-ink); color: #fff; transform: translateX(-50%); }
.agent-chat { bottom: 12px; left: 5px; }
.agent-work { bottom: 12px; left: 50%; transform: translateX(-50%); }
.agent-own { right: 5px; bottom: 12px; }
.memory-core-logo { width: 48px; height: 48px; }
.memory-map-caption { max-width: 560px; margin: 18px auto 0; color: var(--rams-muted); font-size: 14px; text-align: center; }

.process-section { background: var(--rams-canvas); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1280px; margin: 0 auto; border-top: 1px solid var(--rams-line); border-bottom: 1px solid var(--rams-line); }
.process-grid article { min-height: 310px; padding: 30px; border-right: 1px solid var(--rams-line); }
.process-grid article:last-child { border-right: 0; }
.process-grid span, .use-case-grid > article > span, .privacy-grid article > span { color: var(--rams-accent); font-size: 11px; font-weight: 750; }
.process-grid h3 { margin: 85px 0 15px; font-size: 34px; letter-spacing: -.035em; }
.process-grid p { max-width: 320px; margin: 0; color: var(--rams-muted); line-height: 1.6; }

.use-case-section { background: #deddd9; }
.split-intro { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; max-width: none; }
.split-intro > p { max-width: 420px; justify-self: end; }
.use-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1320px; margin: 0 auto; }
.use-case-grid > article { position: relative; min-height: 420px; padding: 28px; overflow: hidden; border: 1px solid rgba(17,19,15,.12); border-radius: 18px; background: #efeeeb; }
.use-case-grid h3 { max-width: 300px; margin: 82px 0 16px; font-size: 31px; line-height: 1.05; letter-spacing: -.035em; }
.use-case-grid p { max-width: 350px; color: var(--rams-muted); line-height: 1.55; }
.use-case-grid blockquote { position: absolute; right: 25px; bottom: 25px; left: 25px; margin: 0; padding: 18px; border-radius: 12px; background: var(--rams-ink); color: #fff; font-size: 15px; }
.case-date-row { position: absolute; right: 25px; bottom: 25px; left: 25px; display: flex; align-items: center; gap: 15px; padding: 15px; border-top: 1px solid var(--rams-line); }
.case-date-row b { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--rams-accent); font-size: 18px; }
.case-date-row span { font-size: 13px; font-weight: 700; }
.case-date-row small { color: var(--rams-muted); }
.idea-nodes { position: absolute; right: 25px; bottom: 25px; left: 25px; height: 100px; }
.idea-nodes::before, .idea-nodes::after { content: ""; position: absolute; height: 1px; background: rgba(17,19,15,.24); transform-origin: left; }
.idea-nodes::before { left: 15%; top: 50%; width: 63%; transform: rotate(-10deg); }
.idea-nodes::after { left: 34%; top: 34%; width: 45%; transform: rotate(26deg); }
.idea-nodes i { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: #8aa59c; }
.idea-nodes i:nth-child(1) { left: 10%; top: 44%; }.idea-nodes i:nth-child(2) { left: 34%; top: 20%; background: #a08cad; }.idea-nodes i:nth-child(3) { right: 17%; top: 37%; background: var(--rams-accent); }.idea-nodes i:nth-child(4) { right: 6%; bottom: 2%; background: #d1a62b; }

.product-showcase-section { background: #f1f0ed; }
.product-window { max-width: 1260px; margin: 0 auto; overflow: hidden; border: 1px solid rgba(17,19,15,.18); border-radius: 20px; background: #e8e7e4; box-shadow: 0 26px 60px rgba(17,19,15,.1); }
.product-window-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 48px; padding: 0 17px; border-bottom: 1px solid var(--rams-line); color: var(--rams-muted); font-size: 10px; }
.product-window-bar > div { display: flex; gap: 6px; }.product-window-bar i { width: 8px; height: 8px; border-radius: 50%; background: #bbb9b2; }.product-window-bar i:first-child { background: var(--rams-accent); }.product-window-bar small { justify-self: end; padding: 5px 7px; border-radius: 6px; background: #d7d6d1; }
.product-window-body { position: relative; display: grid; grid-template-columns: 170px 1fr; min-height: 560px; }
.product-window-body > aside { padding: 25px 17px; border-right: 1px solid var(--rams-line); }
.product-window-body > aside strong { font-size: 17px; }.product-window-body > aside nav { display: grid; gap: 8px; margin-top: 34px; }.product-window-body > aside span { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 999px; color: var(--rams-muted); font-size: 11px; }.product-window-body > aside span.active { background: var(--rams-ink); color: #fff; }.product-window-body > aside img { width: 14px; height: 14px; opacity: .7; }.product-window-body > aside .active img { filter: invert(1); }
.product-memory-grid { columns: 3; column-gap: 13px; padding: 22px; }
.product-memory-grid > article { display: inline-block; width: 100%; margin: 0 0 13px; padding: 15px; break-inside: avoid; border: 1px solid var(--rams-line); border-radius: 12px; background: #f2f1ee; }
.product-memory-grid small { color: var(--rams-muted); font-size: 8px; letter-spacing: .06em; }.product-memory-grid h3 { margin: 13px 0 8px; font-size: 15px; }.product-memory-grid p { color: #565750; font-size: 10px; line-height: 1.45; }.product-memory-grid footer { display: flex; gap: 4px; margin-top: 18px; }.product-memory-grid footer span { padding: 4px 7px; border-radius: 999px; background: #deddd9; font-size: 8px; }.product-voice { background: #e1e4de !important; }.product-today { min-height: 245px; }.product-today ul { display: grid; gap: 17px; padding: 0; margin: 22px 0 0; list-style: none; }.product-today li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; font-size: 10px; }.product-today li i { width: 6px; height: 6px; margin-top: 3px; border-radius: 50%; background: var(--rams-accent); }.product-today li:nth-child(2) i { background: #7a9990; }.product-today li:nth-child(3) i { background: #d1a62b; }.product-today time { color: var(--rams-muted); }.product-image { padding: 0 !important; overflow: hidden; }.product-image > div { height: 145px; background: linear-gradient(150deg, #c8d4cd 0 45%, #738779 46% 60%, #4e6258 61%); }.product-image small, .product-image h3 { display: block; margin-right: 15px; margin-left: 15px; }.product-image small { margin-top: 14px; }.product-image h3 { margin-bottom: 16px; }
.product-search-popover { position: absolute; top: 72px; right: 8%; width: 290px; padding: 13px; border: 1px solid var(--rams-line); border-radius: 14px; background: rgba(248,247,244,.97); box-shadow: 0 20px 45px rgba(17,19,15,.15); }.product-search-popover > small { color: var(--rams-muted); font-size: 8px; letter-spacing: .1em; }.product-search-popover > strong { display: block; margin: 10px 0 14px; font-size: 16px; }.product-search-popover > div { display: grid; grid-template-columns: 1fr auto; padding: 10px 0; border-top: 1px solid var(--rams-line); }.product-search-popover span { grid-column: 1 / -1; color: var(--rams-muted); font-size: 7px; }.product-search-popover p { margin: 3px 0 0; font-size: 10px; }.product-search-popover time { align-self: end; color: var(--rams-muted); font-size: 8px; }

.memory-schedule-section { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 80px; background: var(--rams-canvas); }
.memory-schedule-demo { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }.memory-schedule-demo article { min-height: 235px; padding: 25px; border: 1px solid var(--rams-line); border-radius: 17px; background: #f2f1ee; }.memory-schedule-demo h3 { margin: 45px 0 12px; font-size: 22px; }.memory-schedule-demo p { color: var(--rams-muted); line-height: 1.5; }.connection-line { display: grid; justify-items: center; gap: 7px; width: 90px; }.connection-line i { width: 100%; height: 1px; background: var(--rams-line); }.connection-line span { color: var(--rams-accent); font-size: 8px; letter-spacing: .08em; }.mini-calendar-event { background: #e8e3e0 !important; }.mini-calendar-event > small { color: var(--rams-accent); font-weight: 750; letter-spacing: .1em; }.mini-calendar-event > strong { display: block; margin-top: 28px; font-size: 36px; }.mini-calendar-event h3 { margin-top: 5px; }

.developer-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; background: var(--rams-ink); color: #fff; }.developer-copy .landing-kicker { color: var(--rams-accent); }.developer-copy > p { color: #aaa9a4; }.developer-copy .pill { margin-top: 34px; background: var(--rams-accent); color: var(--rams-ink); border-color: var(--rams-accent); }.developer-terminal { overflow: hidden; border: 1px solid #3c3d39; border-radius: 17px; background: #11120f; box-shadow: 0 26px 60px rgba(0,0,0,.26); }.developer-terminal header { display: flex; align-items: center; gap: 7px; height: 45px; padding: 0 16px; border-bottom: 1px solid #33342f; color: #777871; font-size: 10px; }.developer-terminal header i { width: 7px; height: 7px; border-radius: 50%; background: #55564f; }.developer-terminal header i:first-child { background: var(--rams-accent); }.developer-terminal header span { margin-left: auto; }.developer-terminal pre { margin: 0; padding: 30px; overflow: auto; color: #dddcd6; font: 13px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; }.code-muted { color: #6f716a; }.code-orange { color: #ed8467; }.code-green { color: #8db49e; }

.privacy-section { background: #f1f0ed; }.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1250px; margin: 0 auto; border-top: 1px solid var(--rams-line); }.privacy-grid article { min-height: 230px; padding: 28px; border-right: 1px solid var(--rams-line); }.privacy-grid article:last-child { border-right: 0; }.privacy-grid h3 { margin: 68px 0 12px; font-size: 23px; }.privacy-grid p { color: var(--rams-muted); line-height: 1.55; }

.landing-final-cta { padding: 145px 30px; background: var(--rams-accent); text-align: center; }.landing-final-cta .landing-kicker { color: var(--rams-ink); }.landing-final-cta h2 { max-width: 880px; margin: 0 auto; }.landing-final-cta > p:not(.landing-kicker) { max-width: 620px; margin: 24px auto 0; font-size: 18px; line-height: 1.55; }.landing-final-cta .pill.light { background: transparent; border-color: rgba(17,19,15,.3); }

.landing-v2-footer { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 50px; padding: 65px 46px 30px; background: var(--rams-ink); color: #fff; }.landing-v2-footer > div p { max-width: 260px; margin-top: 20px; color: #888982; line-height: 1.5; }.landing-v2-footer nav { display: grid; align-content: start; gap: 12px; }.landing-v2-footer nav strong { margin-bottom: 8px; font-size: 11px; letter-spacing: .1em; }.landing-v2-footer nav a { color: #989a93; font-size: 13px; }.landing-v2-footer nav a:hover { color: #fff; }.landing-v2-footer > small { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid #33342f; color: #6f706a; }

@media (max-width: 1080px) {
  .landing-v2-header { grid-template-columns: auto auto 1fr; padding: 0 24px; }
  .landing-menu-button { display: grid; place-items: center; }
  .landing-v2-nav { position: absolute; top: 72px; right: 24px; display: none; width: 230px; padding: 14px; border: 1px solid var(--rams-line); border-radius: 16px; background: #f2f1ee; box-shadow: 0 18px 40px rgba(17,19,15,.12); }
  .landing-v2-nav.open { display: grid; }
  .landing-v2-nav a { padding: 9px 10px; }
  .landing-v2-actions { justify-self: end; }
  .hero-text-memory { left: 0; }.hero-image-memory { left: 25%; }.hero-voice-memory { right: 24%; }.hero-schedule-memory { right: 0; }
  .memory-layer-map { max-width: 820px; }
  .product-memory-grid { columns: 2; }
  .memory-schedule-section, .developer-section { grid-template-columns: 1fr; }.memory-schedule-demo { max-width: 760px; }
}

@media (max-width: 760px) {
  .landing-v2-header { gap: 10px; min-height: 72px; padding: 0 16px; }.landing-v2-actions { gap: 9px; }.landing-login { display: none; }.compact-pill { height: 36px; padding: 0 13px; font-size: 12px; }.language-toggle span { padding: 4px 6px; }.landing-v2-nav { top: 66px; right: 16px; left: 16px; width: auto; }
  .landing-v2-hero { min-height: 700px; min-height: max(700px, calc(100svh - 72px)); padding: 72px 18px; }.landing-v2-hero h1 { font-size: clamp(50px, 15vw, 78px); }.landing-v2-lead { font-size: 17px; }.landing-v2-hero-actions { flex-direction: column; align-items: center; }.landing-v2-hero-actions .pill { width: min(260px, 100%); }
  .memory-layer-section, .process-section, .use-case-section, .product-showcase-section, .memory-schedule-section, .developer-section, .privacy-section { padding: 85px 20px; }.section-intro h2, .memory-schedule-copy h2, .developer-copy h2, .landing-final-cta h2 { font-size: clamp(38px, 12vw, 57px); }
  .memory-layer-map { display: grid; height: auto; gap: 12px; }.memory-map-lines { display: none; }.agent-source, .memory-core { position: static; width: 100%; min-height: 130px; transform: none; }.memory-core { grid-row: 1; }.process-grid, .use-case-grid, .privacy-grid { grid-template-columns: 1fr; }.process-grid article, .privacy-grid article { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--rams-line); }.process-grid article:last-child, .privacy-grid article:last-child { border-bottom: 0; }.process-grid h3, .privacy-grid h3 { margin-top: 48px; }.split-intro { grid-template-columns: 1fr; }.split-intro > p { justify-self: start; }.use-case-grid > article { min-height: 390px; }
  .product-window-body { grid-template-columns: 1fr; }.product-window-body > aside { display: none; }.product-memory-grid { columns: 1; max-height: 570px; overflow: hidden; }.product-search-popover { top: 82px; right: 15px; width: 245px; }.memory-schedule-demo { grid-template-columns: 1fr; gap: 12px; }.connection-line { width: 100%; grid-template-columns: 1fr auto 1fr; align-items: center; }.developer-terminal pre { padding: 20px; font-size: 11px; }.landing-final-cta { padding: 100px 20px; }.landing-final-cta > div { flex-direction: column; align-items: center; }.landing-final-cta .pill { width: min(270px, 100%); }
  .landing-v2-footer { grid-template-columns: 1fr 1fr; padding: 50px 22px 28px; }.landing-v2-footer > div { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-v2 * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
