/* Seekmory — a quiet place to find your way back. Shared by all eight locales. */
:root {
  color-scheme: light;
  --paper: #f7f3eb;
  --light: #fffdf8;
  --ink: #29251f;
  --muted: #726b61;
  --accent: #a8421c;
  --line: #ded7cb;
  --soft: #eee7da;
  --max: 1240px;
  --sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
summary {
  font: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
img,
svg {
  max-width: 100%;
}
p,
h1,
h2,
h3,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 550;
  line-height: 1.14;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
p {
  overflow-wrap: break-word;
}
h1,
h2,
h3,
a {
  overflow-wrap: break-word;
}
ul {
  padding-left: 1.3em;
}
::selection {
  background: #e6c4ae;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: var(--light);
  padding: 12px 20px;
}
.skip-link:focus {
  top: 10px;
}
.wrap,
.mast,
.hero-inner,
.article-layout,
.related,
.cta-inner,
.footer-inner {
  width: min(calc(100% - 96px), var(--max));
  margin-inline: auto;
}
.eyebrow,
.kicker,
.section-index,
.section-number,
.guide-label,
.feature-number,
.demo-caption,
.article-meta,
.toc-label {
  font: 11px/1.6 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
}
/* Shared masthead */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--paper);
}
.nav-shell,
.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
}
.nav-shell {
  width: min(calc(100% - 96px), var(--max));
  margin: auto;
}
.brand,
.footer-brand {
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.06em;
  text-decoration: none;
  white-space: nowrap;
}
.brand span,
.footer-brand span {
  color: var(--accent);
}
.site-nav,
.mast-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav > a,
.home-link {
  font-size: 13px;
  text-decoration: none;
  color: var(--muted);
}
.site-nav > a:hover,
.home-link:hover {
  color: var(--accent);
}
.header-install {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.header-install:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.home-page .site-nav {
  margin-left: auto;
  order: 1;
}
.home-page .header-install {
  order: 2;
}
.home-page .mobile-toggle {
  order: 3;
}
.guide-page .article-install {
  display: flex;
  flex-wrap: wrap;
  margin-top: 22px;
}
.language {
  position: relative;
  font-size: 12px;
}
.language summary {
  list-style: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding-inline: 8px;
  line-height: 1.2;
  white-space: nowrap;
}
.language summary::after {
  content: "";
  display: block;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  align-self: center;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition:
    transform 160ms ease,
    margin-top 160ms ease;
}
.language[open] > summary::after {
  margin-top: 3px;
  transform: rotate(225deg);
}
.language summary::marker {
  content: "";
}
.language summary::-webkit-details-marker {
  display: none;
}
.language nav {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  display: grid;
  min-width: 190px;
  padding: 8px;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 15px 40px #29251f12;
}
.language nav a {
  padding: 9px 12px;
  text-decoration: none;
}
.language nav a:hover,
.language nav a[aria-current="page"] {
  background: var(--soft);
  color: var(--accent);
}
.mobile-toggle {
  display: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 49px;
  padding: 13px 21px;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: var(--light);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
  text-decoration: none;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button::after {
  content: "↗";
  font-size: 18px;
}
.button:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-block: 8px;
}
.text-link::after {
  content: "↗";
  color: var(--accent);
  transition: transform 0.18s;
}
.text-link:hover::after {
  transform: translate(2px, -2px);
}
/* Homepage: one continuous paper surface, then a real product story. */
.home-hero {
  position: relative;
  width: 100%;
  padding: 66px 0 46px;
  overflow: hidden;
}
.home-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 58px;
}
.hero-copy {
  min-width: 0;
}
.hero-brand {
  font-size: clamp(68px, 7.7vw, 116px);
  font-weight: 680;
  letter-spacing: -0.075em;
  line-height: 1.05;
  margin: 18px 0 24px;
}
.hero-brand span {
  color: var(--accent);
}
.home-hero h1 {
  font-size: clamp(31px, 3.1vw, 46px);
  max-width: 560px;
  line-height: 1.12;
}
.hero-intro {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 450px;
  margin-top: 22px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 28px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 20px;
}
.status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-visual {
  min-width: 0;
  position: relative;
  padding: 34px 0 0;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -40px -100px -40px 15%;
  background: url("/assets/seo/recall-trail.svg") center/contain no-repeat;
  opacity: 0.6;
  z-index: -1;
}
.hero-visual .demo-caption {
  margin-top: 18px;
  text-align: right;
  font-size: 9px;
  color: var(--muted);
}
.hero-end {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font: 10px/1.6 var(--mono);
  color: var(--muted);
  letter-spacing: 0.05em;
}
.home-section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.section-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
  align-items: start;
}
.section-top h2 {
  font-size: clamp(32px, 4vw, 54px);
  margin-top: 18px;
  max-width: 600px;
}
.section-top > p {
  max-width: 460px;
  font-size: 17px;
  color: var(--muted);
  padding-top: 35px;
}
.feature-row {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
  align-items: center;
  padding: 45px 0;
}
.feature-copy h3 {
  font-size: 30px;
  margin: 12px 0 18px;
}
.feature-copy p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 18px;
}
.search-examples {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.search-examples li {
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 18px;
}
.search-examples li::before {
  content: "↳";
  color: var(--accent);
  font: 20px var(--mono);
}
.archive-section {
  background: var(--soft);
}
.archive-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.archive-copy h2 {
  font-size: clamp(34px, 4vw, 54px);
  margin: 18px 0 24px;
}
.archive-copy p {
  color: var(--muted);
  margin-bottom: 22px;
  max-width: 480px;
}
.archive-figure {
  position: relative;
  padding: 32px 0;
}
.archive-stack {
  position: relative;
  padding: 35px;
  background: var(--light);
  border: 1px solid #d7cbbb;
  box-shadow:
    9px 9px 0 -1px var(--soft),
    9px 9px 0 0 #d7cbbb,
    18px 18px 0 -1px var(--soft),
    18px 18px 0 0 #d7cbbb;
}
.archive-stack .mini-brand {
  margin-bottom: 24px;
}
.archive-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.archive-row > span:first-child {
  color: var(--accent);
  font: 11px var(--mono);
}
.archive-row span:last-child {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.archive-foot {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
}
.privacy-section {
  background: #282b25;
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.privacy-section .section-index {
  color: #dca58b;
}
.privacy-section h2 {
  font-size: clamp(38px, 5vw, 64px);
  max-width: 700px;
  margin: 22px 0;
}
.privacy-section p {
  color: #c0c1b5;
  max-width: 600px;
  font-size: 17px;
}
.privacy-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 90px;
  align-items: center;
}
.privacy-art {
  width: 240px;
  justify-self: end;
  opacity: 0.8;
}
.privacy-section .text-link {
  color: var(--paper);
  margin-top: 22px;
  border-color: #55594d;
}
.privacy-section .text-link::after {
  color: #dca58b;
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.workflow-item {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.workflow-item .feature-number {
  display: block;
  margin-bottom: 30px;
}
.workflow-item h3 {
  font-size: 24px;
  margin-bottom: 13px;
}
.workflow-item p {
  color: var(--muted);
  font-size: 15px;
}
.trial-note {
  margin-top: 48px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  gap: 34px;
  align-items: center;
}
.trial-note h3 {
  font-size: 24px;
}
.trial-note p {
  color: var(--muted);
  font-size: 14px;
}
.guide-ledger {
  border-top: 1px solid var(--line);
}
.guide-ledger > a {
  display: grid;
  grid-template-columns: 160px 1fr 30px;
  gap: 32px;
  padding: 25px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition:
    padding 0.2s,
    color 0.2s;
}
.guide-ledger > a:hover {
  padding-left: 10px;
  color: var(--accent);
}
.guide-ledger h3 {
  font-size: 23px;
}
.guide-ledger .guide-label {
  font-size: 10px;
}
.guide-ledger .arrow {
  color: var(--accent);
  text-align: right;
}
.guide-supplement {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
  padding-top: 24px;
}
.guide-supplement > p {
  padding: 18px 22px;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.guide-supplement .text-link {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border-bottom: 0;
  padding-block: 0;
  font-size: 16px;
}
.guide-supplement > p:hover .text-link {
  color: var(--accent);
}
.home-feature-item .text-link + p {
  margin-top: 10px;
}
@media (max-width: 760px) {
  .guide-supplement {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.home-faq {
  max-width: 850px;
  margin: 0 auto;
}
.home-faq h2 {
  font-size: 38px;
  margin: 15px 0 34px;
}
.home-faq details,
.article-faq details {
  border-bottom: 1px solid var(--line);
}
.home-faq summary,
.article-faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 20px 38px 20px 0;
  font-size: 18px;
  line-height: 1.5;
}
.home-faq summary::-webkit-details-marker,
.article-faq summary::-webkit-details-marker {
  display: none;
}
.home-faq summary::after,
.article-faq summary::after {
  content: "+";
  position: absolute;
  right: 5px;
  top: 20px;
  color: var(--accent);
}
.home-faq details[open] summary::after,
.article-faq details[open] summary::after {
  content: "−";
}
.home-faq details p,
.article-faq details p {
  color: var(--muted);
  padding: 0 20px 24px 0;
  font-size: 15px;
}
.cta {
  padding: 76px 0;
  background: #e9d9c5;
  border-top: 1px solid #d8c4ac;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta h2 {
  font-size: clamp(32px, 4vw, 52px);
  max-width: 680px;
}
.cta p {
  color: var(--muted);
  max-width: 600px;
  margin-top: 16px;
}
.cta .button {
  flex-shrink: 0;
  max-width: 340px;
}
.cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.site-footer {
  padding: 34px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.footer-links a {
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
/* Product illustrations are explicitly labelled examples, with localized text. */
.product-window {
  position: relative;
  background: var(--light);
  border: 1px solid #d6cdbf;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 20px 60px #51412a0e;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
  background: #f5f0e7;
}
.window-dots {
  display: flex;
  gap: 5px;
}
.window-dots i {
  width: 5px;
  height: 5px;
  border: 1px solid #b8afa1;
  border-radius: 50%;
}
.window-title {
  font: 9px var(--mono);
  letter-spacing: 0.08em;
  color: var(--muted);
}
.product-layout {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
}
.product-rail {
  padding: 29px 17px;
  border-right: 1px solid var(--line);
  background: #f4efe5;
}
.mini-brand {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.06em;
}
.mini-brand span {
  color: var(--accent);
}
.mini-tagline {
  font-size: 10px;
  color: var(--muted);
  margin: 17px 0 32px;
  line-height: 1.7;
}
.demo-count {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.demo-count strong {
  display: block;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.05em;
}
.demo-count span {
  display: block;
  font: 8px/1.6 var(--mono);
  color: var(--muted);
  margin-top: 6px;
}
.mini-local {
  font-size: 9px;
  color: var(--muted);
  margin-top: 50px;
}
.mini-local::before {
  content: "●";
  color: var(--accent);
  font-size: 6px;
  margin-right: 5px;
}
.product-content {
  padding: 28px 23px 16px;
  min-width: 0;
}
.demo-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  line-height: 1.5;
}
.demo-search svg {
  width: 15px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.demo-search span {
  flex: 1;
}
.demo-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 13px;
}
.demo-filters span {
  padding: 3px 7px;
  border: 1px solid var(--line);
  font: 8px/1.6 var(--mono);
  color: var(--muted);
}
.demo-results {
  list-style: none;
  margin: 13px 0 0;
  padding: 0;
}
.demo-results li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.demo-results li:last-child {
  border: 0;
}
.result-meta {
  display: block;
  font: 8px/1.5 var(--mono);
  color: var(--accent);
  margin-bottom: 7px;
}
.result-title {
  font-size: 14px;
  font-weight: 550;
  line-height: 1.4;
}
.demo-results p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.example-figure {
  min-width: 0;
  margin: 26px 0 32px;
}
.example-figure figcaption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
.example-figure .product-layout {
  grid-template-columns: 145px minmax(0, 1fr);
}
.example-figure .product-content {
  padding: 25px;
}
.example-figure .result-title {
  font-size: 16px;
}
.example-figure .demo-search {
  font-size: 15px;
}
.example-figure .demo-results p {
  font-size: 12px;
}
.example-figure .mini-tagline {
  font-size: 12px;
}
.calendar-demo {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  border: 1px solid var(--line);
  background: var(--light);
  border-radius: 5px;
  overflow: hidden;
}
.calendar {
  padding: 22px;
  border-right: 1px solid var(--line);
}
.calendar-title {
  font: 12px var(--mono);
  margin-bottom: 20px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font: 10px/2.7 var(--mono);
  gap: 2px;
}
.calendar-grid .selected {
  background: var(--accent);
  color: white;
  border-radius: 2px;
}
.date-result {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.date-result code {
  font: 12px/1.8 var(--mono);
  color: var(--accent);
  overflow-wrap: anywhere;
}
.date-result p {
  font-size: 16px;
  line-height: 1.5;
}
.export-demo {
  border: 1px solid var(--line);
  background: var(--light);
  border-radius: 5px;
  overflow: hidden;
}
.export-demo .window-bar {
  justify-content: space-between;
}
.export-content {
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.export-choices {
  display: grid;
  gap: 10px;
  font-size: 13px;
}
.export-choice {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.export-choice:first-child {
  background: var(--ink);
  color: var(--light);
  border-color: var(--ink);
}
.csv-sheet {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 20px;
}
.csv-sheet strong {
  font: 16px var(--mono);
  color: var(--accent);
}
.csv-lines {
  margin-top: 15px;
  display: grid;
  gap: 10px;
}
.csv-lines span {
  height: 1px;
  background: var(--line);
  display: block;
}
.csv-lines span:nth-child(2n) {
  width: 75%;
}
.csv-sheet p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 18px;
}
/* Guides: readable articles, persistent contents, and compact useful headers. */
.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 50;
}
.guide-page .hero {
  padding: 44px 0 38px;
  border-bottom: 1px solid var(--line);
}
.guide-page .hero-inner {
  max-width: var(--max);
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumb a {
  text-decoration: none;
}
.guide-page .kicker {
  margin-bottom: 12px;
}
.guide-page h1 {
  font-size: clamp(32px, 4.1vw, 56px);
  line-height: 1.12;
  max-width: 980px;
  letter-spacing: -0.045em;
}
.guide-page .intro {
  max-width: 800px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 19px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 9px;
}
.article-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 80px;
  padding-block: 40px 70px;
}
.article-toc {
  align-self: start;
  position: sticky;
  top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.article-toc ol {
  list-style: none;
  margin: 15px 0 24px;
  padding: 0;
}
.article-toc a {
  display: block;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  padding: 7px 0;
}
.article-toc a:hover {
  color: var(--accent);
}
.article-toc .text-link {
  color: var(--accent);
  font-size: 12px;
}
.article {
  min-width: 0;
  max-width: 850px;
}
.article p {
  line-height: 1.8;
}
.guide-section,
.deep-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.guide-section {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 20px;
}
.guide-section .section-number {
  padding-top: 7px;
}
.guide-section h2,
.deep-heading h2 {
  font-size: 28px;
  margin-bottom: 18px;
  line-height: 1.22;
}
.guide-section p,
.deep-heading p {
  font-size: 16px;
  color: var(--muted);
}
.deep-heading {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.deep-heading .section-number {
  padding-top: 7px;
}
.deep-heading h2 {
  margin-bottom: 0;
}
.deep-heading p {
  margin-top: 15px;
}
.quick-answer {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 24px;
  margin-bottom: 30px;
}
.quick-answer p {
  font-size: 17px;
  margin-top: 12px;
}
.pattern {
  padding: 23px 0;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 30px 0;
}
.pattern strong {
  font-size: 20px;
}
.pattern code,
.example-list code,
.case-list code {
  font: 12px/1.8 var(--mono);
  color: var(--accent);
  overflow-wrap: anywhere;
}
.instruction-list,
.clue-hierarchy,
.source-list,
.troubleshooting-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.instruction-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.instruction-list li > span {
  font: 11px var(--mono);
  color: var(--accent);
  padding-top: 6px;
}
.instruction-list h3,
.example-list h3,
.case-list h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.instruction-list p,
.example-list p,
.case-list p,
.troubleshooting-list p,
.source-list p,
.decision-table p {
  font-size: 15px;
  color: var(--muted);
}
.example-list article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 26px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.example-list article p {
  grid-column: 1/-1;
}
.troubleshooting-list li {
  padding: 21px 0;
  border-top: 1px solid var(--line);
}
.troubleshooting-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}
.privacy-note {
  padding: 30px;
  background: var(--soft);
  margin-block: 30px;
  border: 0;
}
.clue-hierarchy li {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 25px;
  border-top: 1px solid var(--line);
}
.clue-hierarchy strong {
  color: var(--accent);
  font-size: 13px;
}
.case-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.case-list article > span {
  color: var(--accent);
  font: 11px var(--mono);
}
.case-list h3 {
  margin-top: 15px;
}
.decision-table > div {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 25px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.decision-table strong {
  font-size: 17px;
}
.boundary-table > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.boundary-table span,
.boundary-table strong {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.boundary-head {
  font-weight: 600;
  color: var(--accent);
}
.source-list li {
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.source-list p {
  font-size: 13px;
  margin-top: 8px;
}
.related {
  padding-bottom: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 45px;
}
.related a {
  position: relative;
  display: block;
  padding: 22px 35px 22px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.related a::after {
  content: "↗";
  position: absolute;
  right: 0;
  top: 26px;
  color: var(--accent);
}
.related small {
  font: 9px/1.5 var(--mono);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.related strong {
  display: block;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 500;
  margin-top: 8px;
}
.related a:hover strong {
  color: var(--accent);
}
.related-heading {
  grid-column: 1/-1;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 20px;
}
.guide-page pre {
  overflow-x: auto;
  max-width: 100%;
  font: 12px/1.7 var(--mono);
  padding: 18px;
  background: var(--soft);
}
.guide-page code {
  overflow-wrap: anywhere;
}
.guide-page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.guide-page td,
.guide-page th {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 12px 8px;
  vertical-align: top;
}
.guide-page th {
  font-weight: 550;
}
.guide-page .section-number {
  font-size: 10px;
}
.guide-page .cta h2 {
  font-size: 40px;
}
.guide-page footer {
  padding: 28px 0;
}
.guide-page .footer-inner {
  font-size: 11px;
}
/* Motion stays finite and never gates reading or navigation. */
@keyframes arrive {
  from {
    opacity: 0.3;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes unfold {
  from {
    transform: translateY(18px);
  }
  to {
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: arrive 0.65s ease both;
  }
  .hero-visual {
    animation: arrive 0.8s 0.12s ease both;
  }
  .has-entered {
    animation: unfold 0.65s cubic-bezier(0.2, 0.65, 0.3, 1) both;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
/* Locale-sensitive line breaks and three intentionally different layouts. */
:lang(zh-Hans) h1,
:lang(zh-Hant) h1,
:lang(ja) h1,
:lang(ko) h1 {
  letter-spacing: -0.035em;
  line-height: 1.3;
}
:lang(zh-Hans) h2,
:lang(zh-Hant) h2,
:lang(ja) h2,
:lang(ko) h2 {
  line-height: 1.35;
}
:lang(ko) h1,
:lang(ko) h2 {
  word-break: keep-all;
}
:lang(de) h1,
:lang(de) h2,
:lang(de) h3 {
  hyphens: auto;
}
@media (min-width: 1500px) {
  .home-hero {
    padding-top: 86px;
    padding-bottom: 65px;
  }
}
@media (max-width: 1100px) {
  .home-hero .wrap {
    gap: 30px;
    grid-template-columns: 1fr 1fr;
  }
  .hero-brand {
    font-size: 80px;
  }
  .product-layout {
    grid-template-columns: 105px minmax(0, 1fr);
  }
  .product-rail {
    padding: 22px 12px;
  }
  .product-content {
    padding: 24px 17px 12px;
  }
  .mini-brand {
    font-size: 17px;
  }
  .site-nav {
    gap: 18px;
  }
  .archive-layout {
    gap: 60px;
  }
  .article-layout {
    gap: 45px;
    grid-template-columns: 180px minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .wrap,
  .mast,
  .hero-inner,
  .article-layout,
  .related,
  .cta-inner,
  .footer-inner,
  .nav-shell {
    width: calc(100% - 48px);
  }
  .nav-shell,
  .mast {
    min-height: 72px;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 4px;
    color: var(--ink);
    cursor: pointer;
  }
  .mobile-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 24px;
    right: 24px;
    padding: 20px;
    background: var(--light);
    border: 1px solid var(--line);
    box-shadow: 0 12px 25px #29251f0a;
    align-items: stretch;
    gap: 6px;
  }
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
  }
  .site-nav > a {
    padding: 9px 0;
  }
  .site-nav .language summary {
    justify-content: flex-start;
  }
  .site-nav .language nav {
    position: static;
    box-shadow: none;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    border: 0;
    background: var(--paper);
  }
  .home-hero {
    padding: 40px 0 32px;
  }
  .home-hero .wrap {
    gap: 34px;
    grid-template-columns: 1fr;
  }
  .hero-copy {
    max-width: 650px;
  }
  .hero-brand {
    font-size: clamp(72px, 12vw, 104px);
    margin: 10px 0 14px;
  }
  .home-hero h1 {
    font-size: 36px;
    max-width: 600px;
  }
  .hero-intro {
    max-width: 570px;
    margin-top: 17px;
  }
  .hero-visual {
    padding: 0;
    max-width: 680px;
    width: 100%;
    justify-self: end;
  }
  .product-layout {
    grid-template-columns: 150px minmax(0, 1fr);
  }
  .product-rail {
    padding: 26px 20px;
  }
  .product-content {
    padding: 26px;
  }
  .hero-end {
    margin-top: 30px;
  }
  .home-section {
    padding: 65px 0;
  }
  .section-top {
    gap: 30px;
    margin-bottom: 30px;
  }
  .feature-row {
    gap: 40px;
    grid-template-columns: 1fr 1.2fr;
    padding: 30px 0;
  }
  .archive-layout {
    gap: 45px;
    grid-template-columns: 1fr 1fr;
  }
  .archive-stack {
    padding: 23px;
  }
  .privacy-layout {
    gap: 40px;
  }
  .privacy-art {
    width: 170px;
  }
  .workflow-grid {
    gap: 24px;
  }
  .trial-note {
    grid-template-columns: 1fr 1.5fr;
  }
  .trial-note .text-link {
    grid-column: 2;
    justify-self: start;
  }
  .guide-ledger > a {
    grid-template-columns: 110px 1fr 20px;
    gap: 20px;
  }
  .guide-ledger h3 {
    font-size: 20px;
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 26px;
  }
  .article-toc {
    position: static;
    display: block;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }
  .article-toc ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    margin: 10px 0;
  }
  .article-toc .text-link {
    display: none;
  }
  .article {
    max-width: none;
  }
  .guide-page h1 {
    font-size: 42px;
  }
  .related {
    gap: 0 30px;
  }
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .cta-row {
    gap: 22px;
  }
  .cta h2 {
    font-size: 40px;
  }
}
@media (max-width: 600px) {
  .wrap,
  .mast,
  .hero-inner,
  .article-layout,
  .related,
  .cta-inner,
  .footer-inner,
  .nav-shell {
    width: calc(100% - 40px);
  }
  .home-hero {
    padding-top: 28px;
  }
  .hero-brand {
    font-size: clamp(58px, 17vw, 90px);
  }
  .home-hero h1 {
    font-size: 30px;
    max-width: 100%;
    line-height: 1.22;
  }
  .eyebrow {
    font-size: 9px;
  }
  .hero-intro {
    font-size: 15px;
  }
  .hero-actions {
    margin-top: 23px;
    gap: 10px 18px;
  }
  .hero-actions .text-link {
    font-size: 12px;
  }
  .hero-trust {
    font-size: 10px;
    margin-top: 15px;
  }
  .hero-visual .product-rail {
    display: none;
  }
  .hero-visual .product-layout {
    grid-template-columns: 1fr;
  }
  .hero-visual .product-content {
    padding: 20px 22px 12px;
  }
  .hero-visual .demo-results li {
    padding: 14px 0;
  }
  .hero-visual .demo-results li:last-child {
    display: none;
  }
  .hero-end {
    font-size: 8px;
    gap: 10px;
  }
  .home-section {
    padding: 52px 0;
  }
  .section-top {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .section-top > p {
    padding: 0;
    font-size: 15px;
  }
  .section-top h2,
  .archive-copy h2 {
    font-size: 34px;
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feature-copy h3 {
    font-size: 27px;
  }
  .search-examples li {
    font-size: 16px;
    padding: 15px 0;
  }
  .archive-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .archive-figure {
    padding-right: 18px;
  }
  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .privacy-section h2 {
    font-size: 36px;
  }
  .privacy-art {
    justify-self: start;
    width: 145px;
  }
  .privacy-section p {
    font-size: 15px;
  }
  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .workflow-item {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 10px 15px;
  }
  .workflow-item .feature-number {
    grid-row: 1/3;
    margin: 3px 0 0;
  }
  .workflow-item h3 {
    margin: 0;
    font-size: 22px;
  }
  .workflow-item p {
    grid-column: 2;
  }
  .trial-note {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .trial-note .text-link {
    grid-column: auto;
  }
  .guide-ledger > a {
    grid-template-columns: 1fr 20px;
    gap: 8px 16px;
    padding: 20px 0;
  }
  .guide-ledger .guide-label {
    grid-column: 1;
  }
  .guide-ledger h3 {
    grid-column: 1;
    font-size: 19px;
    line-height: 1.35;
  }
  .guide-ledger .arrow {
    grid-column: 2;
    grid-row: 1/3;
  }
  .home-faq h2 {
    font-size: 30px;
  }
  .home-faq summary,
  .article-faq summary {
    font-size: 16px;
  }
  .cta {
    padding: 50px 0;
  }
  .cta h2,
  .guide-page .cta h2 {
    font-size: 33px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .guide-page .hero {
    padding: 28px 0;
  }
  .breadcrumb {
    margin-bottom: 18px;
    font-size: 11px;
  }
  .guide-page h1 {
    font-size: 31px;
    line-height: 1.2;
  }
  .guide-page .intro {
    font-size: 15px;
    margin-top: 15px;
  }
  .article-meta {
    font-size: 8px;
    gap: 7px 16px;
    margin-top: 16px;
  }
  .article-toc ol {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .article-toc a {
    font-size: 12px;
    padding: 5px 0;
  }
  .guide-section,
  .deep-section {
    padding: 27px 0;
  }
  .guide-section,
  .deep-heading {
    grid-template-columns: 24px 1fr;
    gap: 12px;
  }
  .guide-section h2,
  .deep-heading h2 {
    font-size: 23px;
  }
  .guide-section p,
  .deep-heading p {
    font-size: 15px;
  }
  .quick-answer {
    padding-left: 18px;
  }
  .quick-answer p {
    font-size: 16px;
  }
  .instruction-list li {
    gap: 12px;
    grid-template-columns: 24px 1fr;
  }
  .example-list article,
  .case-list,
  .decision-table > div {
    grid-template-columns: 1fr;
  }
  .clue-hierarchy li {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .privacy-note {
    padding: 23px 17px;
  }
  .related {
    grid-template-columns: 1fr;
    padding-bottom: 40px;
  }
  .related strong {
    font-size: 18px;
  }
  .example-figure .product-rail {
    display: none;
  }
  .example-figure .product-layout {
    grid-template-columns: 1fr;
  }
  .example-figure .product-content {
    padding: 20px;
  }
  .example-figure .demo-results li:last-child {
    display: none;
  }
  .calendar-demo {
    grid-template-columns: 1fr;
  }
  .calendar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px;
  }
  .calendar-grid {
    max-width: 250px;
    margin: auto;
  }
  .date-result {
    padding: 22px;
  }
  .export-content {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .csv-sheet {
    padding: 18px;
  }
  .guide-page td,
  .guide-page th {
    font-size: 12px;
    padding: 10px 5px;
  }
  .guide-page td:first-child {
    overflow-wrap: anywhere;
  }
  .mast-actions {
    gap: 14px;
  }
  .mast-actions .home-link {
    font-size: 12px;
  }
}
/* The closing hero rule is a full-width editorial line. */
.home-hero > .wrap:last-child {
  display: block;
}
@media (max-width: 900px) {
  .nav-shell {
    flex-wrap: wrap;
  }
  .mobile-toggle {
    display: none;
  }
  .site-nav {
    display: flex;
    position: static;
    width: 100%;
    flex-wrap: wrap;
    box-shadow: none;
    border: 0;
    padding: 0 0 16px;
    gap: 8px 20px;
  }
  .navigation-ready .nav-shell {
    flex-wrap: nowrap;
  }
  .navigation-ready .mobile-toggle {
    display: flex;
  }
  .navigation-ready .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 24px;
    right: 24px;
    width: auto;
    padding: 20px;
    gap: 6px;
    border: 1px solid var(--line);
    box-shadow: 0 12px 25px #29251f0a;
  }
  .navigation-ready .site-nav.is-open {
    display: flex;
  }
  .home-page .header-install {
    margin-left: auto;
    order: 1;
  }
  .home-page .mobile-toggle {
    order: 2;
  }
  .home-page .site-nav {
    margin-left: 0;
    order: 3;
  }
}
@media (max-width: 600px) {
  .home-page .nav-shell,
  .guide-page .mast {
    gap: 12px;
  }
  .home-page .nav-shell {
    flex-wrap: wrap;
    padding-block: 12px;
    gap: 8px;
  }
  .home-page .nav-shell .brand {
    font-size: 24px;
  }
  .navigation-ready .home-page .site-nav {
    top: calc(100% - 1px);
  }
  .header-install {
    padding: 9px 12px;
    font-size: 12px;
  }
  .guide-page .mast {
    flex-wrap: wrap;
  }
  .guide-page .mast-actions {
    margin-left: auto;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .guide-page .mast-actions .home-link {
    display: none;
  }
}
@media (max-width: 360px) {
  .home-page .header-install {
    flex-basis: 100%;
    margin-left: 0;
    order: 3;
  }
  .home-page .mobile-toggle {
    margin-left: auto;
  }
  .home-page .site-nav {
    order: 4;
  }
}
.meaning-example {
  padding: 30px 36px;
  border-left: 1px solid var(--line);
}
.meaning-query {
  font-size: 27px;
  line-height: 1.4;
  letter-spacing: -0.03em;
  max-width: 470px;
}
.meaning-path {
  display: block;
  font-size: 30px;
  color: var(--accent);
  margin: 18px 0;
}
.meaning-result {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.meaning-result h4 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  margin: 8px 0;
}
.meaning-result p {
  font-size: 14px;
  color: var(--muted);
}
.meaning-example .demo-caption {
  margin-top: 22px;
  font-size: 9px;
  color: var(--muted);
}
@media (max-width: 600px) {
  .meaning-example {
    padding: 20px 0;
    border-left: 0;
  }
  .meaning-query {
    font-size: 24px;
  }
}

/* Detailed product previews: real interface structure, fictional local records. */
.product-preview {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #c4b29b var(--paper);
  background: #f5efe3;
  color: #29251f;
  border-color: #cfc3b1;
  border-radius: 6px;
  text-align: left;
}
.product-preview:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.product-preview svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.preview-chrome {
  min-width: 640px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 16px;
  border-bottom: 1px solid #d9cfbe;
  background: #ece4d7;
  color: #756a5a;
  font: 8px/1.5 var(--mono);
  letter-spacing: 0.06em;
}
.preview-canvas {
  min-width: 640px;
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr);
}
.preview-rail {
  padding: 25px 17px 20px;
  border-right: 1px solid #dfd5c4;
  background: #f0e8d9;
}
.preview-brand {
  font-size: 23px;
  font-weight: 720;
  letter-spacing: -0.06em;
  line-height: 1.2;
}
.preview-brand > span {
  color: var(--accent);
}
.preview-tagline {
  margin-top: 13px;
  color: #716454;
  font-size: 9px;
  line-height: 1.7;
}
.preview-stat {
  padding: 17px 0 14px;
  margin-top: 17px;
  border-top: 1px solid #d6cab7;
}
.preview-stat > strong {
  display: block;
  font: 34px/1.15 var(--sans);
  letter-spacing: -0.045em;
}
.preview-stat > span {
  display: block;
  margin-top: 5px;
  color: #716454;
  font: 8px/1.6 var(--mono);
}
.preview-small-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 7px;
  align-items: center;
  margin-top: 7px;
  font-size: 9px;
}
.preview-small-actions > span {
  color: var(--accent);
}
.preview-small-actions > b {
  font-weight: 400;
  color: #ab9c86;
}
.preview-colophon {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 4px 0 18px;
  font: 8px/1.6 var(--mono);
  color: #756a5a;
}
.preview-colophon > i,
.preview-file-local > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px #a8421c10;
  flex: 0 0 5px;
  margin-top: 4px;
}
.preview-rail-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid #d6cab7;
  font: 8px/1.4 var(--mono);
  color: #756a5a;
}
.preview-rail-row > strong {
  font: 10px var(--sans);
  font-weight: 500;
  color: var(--ink);
}
.preview-rail-row > span:last-child {
  margin-left: auto;
}
.preview-theme {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  border: 1px solid #d6cab7;
  border-radius: 20px;
  padding: 3px 5px;
}
.preview-theme svg {
  display: block;
  width: 11px;
  height: 11px;
}
.preview-theme .active {
  padding: 4px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff9f1;
}
.preview-dates,
.preview-devices {
  border-top: 1px solid #d6cab7;
  padding-top: 12px;
  margin-top: 9px;
}
.preview-rail-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 7px;
  font: 8px/1.5 var(--mono);
  color: #756a5a;
}
.preview-rail-heading > span:last-child {
  color: var(--accent);
  text-align: right;
  font-size: 7px;
}
.preview-months {
  display: flex;
  justify-content: space-between;
  padding: 10px 0 5px;
  font: 7px var(--mono);
  color: #756a5a;
}
.preview-heatmap {
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  grid-template-rows: repeat(7, 1fr);
  grid-auto-flow: column;
  gap: 2px;
}
.preview-heatmap i {
  display: block;
  aspect-ratio: 1;
  border-radius: 1px;
  background: #e1d7c7;
}
.preview-heatmap .level-1 {
  background: #e3c9b6;
}
.preview-heatmap .level-2 {
  background: #d5ac91;
}
.preview-heatmap .level-3 {
  background: #bc8665;
}
.preview-heatmap .level-4 {
  background: #a8421c;
}
.preview-heatmap-key {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  margin-top: 6px;
  font: 7px var(--mono);
  color: #756a5a;
}
.preview-heatmap-key > i {
  width: 5px;
  height: 5px;
  background: #e1d7c7;
}
.preview-heatmap-key > i:nth-of-type(2) {
  background: #e3c9b6;
}
.preview-heatmap-key > i:nth-of-type(3) {
  background: #bc8665;
}
.preview-heatmap-key > i:nth-of-type(4) {
  background: #a8421c;
}
.preview-devices {
  margin-top: 15px;
}
.preview-device {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 6px 0;
  font-size: 8px;
  color: #716454;
}
.preview-device > span:last-child {
  font: 8px var(--mono);
}
.preview-device.active {
  color: var(--accent);
  margin-top: 5px;
}
.preview-main {
  min-width: 0;
  padding: 25px 22px 16px;
}
.preview-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 13px;
  border-bottom: 1px solid #696052;
}
.preview-search > span:first-of-type {
  flex: 1;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.preview-shortcut {
  font: 8px var(--mono);
  padding: 3px 6px;
  border: 1px solid #d6cab7;
  border-radius: 3px;
  color: #746651;
  white-space: nowrap;
}
.preview-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  font: 8px/1.6 var(--mono);
  color: #716454;
}
.preview-result-count {
  color: var(--accent);
}
.preview-result-count::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 1px;
  background: var(--accent);
  margin: 0 6px 3px 0;
}
.preview-mode {
  margin-left: auto;
  color: var(--accent);
}
.preview-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.preview-chips:empty {
  display: none;
}
.preview-chips > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  margin-top: 10px;
  font: 8px/1.5 var(--mono);
  background: #a8421c0a;
  border: 1px solid #cbb69d;
  color: #885035;
  border-radius: 3px;
}
.preview-chips b {
  font-weight: 400;
}
.preview-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 0 8px;
  border-bottom: 1px solid #d6cab7;
}
.preview-group > strong {
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.025em;
}
.preview-group > span {
  font: 8px var(--mono);
  color: #716454;
}
.preview-entry {
  padding: 13px 0;
  border-bottom: 1px solid #ddd2c0;
}
.preview-entry-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.preview-entry-heading > strong {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 550;
}
.preview-entry mark {
  background: #a8421c12;
  color: inherit;
  border-radius: 1px;
  padding-inline: 1px;
}
.preview-more {
  flex-shrink: 0;
  color: #8e7e68;
  font-size: 12px;
}
.preview-entry-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font: 8px/1.6 var(--mono);
  color: #746651;
}
.preview-entry-meta > span:first-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.preview-entry-meta > time,
.preview-entry-meta > span:last-child {
  white-space: nowrap;
  flex-shrink: 0;
}
.preview-entry-meta b {
  font-weight: 400;
}
.preview-entry > p {
  margin-top: 7px;
  font-size: 10px;
  line-height: 1.65;
  color: #766b5c;
}
.preview-bottom {
  padding: 21px 0 3px;
  display: flex;
  justify-content: center;
  color: #716454;
  font-size: 8px;
  line-height: 1.7;
}
.preview-semantic-action,
.preview-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid #b9836370;
  border-radius: 4px;
  background: #a8421c06;
  color: var(--accent);
  font-size: 9px;
  line-height: 1.4;
}
.preview-semantic-action svg {
  width: 12px;
  height: 12px;
}
.preview-back {
  max-width: 112px;
  font-size: 8px;
  color: #716454;
  border-color: #d6cab7;
}
.preview-semantic .preview-search > svg {
  color: var(--accent);
}
.preview-export-canvas {
  min-width: 640px;
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 0;
  background: #f5efe3;
}
.preview-export-panel {
  padding: 25px;
  border-right: 1px solid #d6cab7;
}
.preview-step {
  display: block;
  color: var(--accent);
  font: 8px/1.6 var(--mono);
  letter-spacing: 0.06em;
}
.preview-export-panel > h3 {
  font-size: 22px;
  margin: 13px 0;
}
.preview-storage {
  color: #716454;
  font-size: 11px;
  line-height: 1.6;
}
.preview-storage > strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
}
.preview-independent {
  margin-top: 10px;
  color: #716454;
  font-size: 10px;
  line-height: 1.7;
}
.preview-export-commands {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.preview-export-commands > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #cbbda7;
  border-radius: 4px;
  font-size: 11px;
}
.preview-export-commands > .selected {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff9f1;
}
.preview-backup-confirm {
  margin-top: 28px;
  border-top: 1px solid #d6cab7;
  padding-top: 20px;
}
.preview-backup-confirm h4 {
  margin: 13px 0;
  font-size: 15px;
  font-weight: 500;
}
.preview-backup-confirm p {
  font-size: 10px;
  color: #716454;
  line-height: 1.7;
}
.preview-backup-confirm > div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  font-size: 10px;
  margin-top: 20px;
}
.preview-backup-confirm strong {
  padding: 6px 12px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 3px;
  font-weight: 500;
}
.preview-file {
  min-width: 0;
  padding: 25px 20px;
  background: #eee5d5;
}
.preview-file-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding-bottom: 14px;
  border-bottom: 1px solid #cbbda7;
  font: 9px var(--mono);
  color: #716454;
}
.preview-file-head > strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.preview-file-table {
  overflow-x: auto;
  margin: 16px 0;
  background: #fff9f1;
  border: 1px solid #d6cab7;
}
.preview-file-table table {
  width: 600px;
  border-collapse: collapse;
  table-layout: fixed;
}
.preview-file-table :is(th, td) {
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
  border-right: 1px solid #ddd2c0;
  border-bottom: 1px solid #ddd2c0;
  font: 9px/1.6 var(--mono);
  overflow-wrap: anywhere;
}
.preview-file-table th {
  background: #f5efe3;
  color: var(--accent);
  font-weight: 400;
}
.preview-file-table th:first-child {
  width: 180px;
}
.preview-file-table th:nth-child(2) {
  width: 190px;
}
.preview-file-table th:last-child {
  width: 65px;
}
.preview-file-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  font: 8px var(--mono);
  color: var(--accent);
}
.preview-file > p {
  margin-top: 15px;
  font-size: 10px;
  color: #716454;
  line-height: 1.7;
}
.preview-import-note {
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid #cbbda7;
}
.preview-import-note > strong {
  font-size: 12px;
  font-weight: 500;
}
.preview-import-note > p {
  font-size: 10px;
  line-height: 1.7;
  color: #716454;
  margin-top: 8px;
}
.preview-file-local {
  display: flex;
  gap: 7px;
  margin-top: 23px;
  color: #716454;
  font: 8px/1.7 var(--mono);
}
.preview-pan {
  display: inline;
  font-family: var(--sans);
  letter-spacing: 0;
  text-transform: none;
}
.example-figure .product-preview .preview-entry-heading > strong {
  font-size: 13px;
}
.example-figure .product-preview .preview-entry > p {
  font-size: 11px;
  line-height: 1.65;
}
.semantic-figure,
.archive-figure {
  min-width: 0;
}
.archive-layout {
  gap: 50px;
  grid-template-columns: 0.8fr 1.2fr;
}
.archive-figure {
  padding: 0;
}
.hero-visual {
  z-index: 0;
}
@media (min-width: 901px) {
  .home-hero .wrap:first-child {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 36px;
  }
  .hero-brand {
    font-size: clamp(70px, 7.2vw, 104px);
  }
  .home-hero {
    padding-top: 46px;
  }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .home-hero .wrap:first-child {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 28px;
  }
  .hero-brand {
    font-size: 70px;
  }
  .home-hero h1 {
    font-size: 32px;
  }
  .hero-intro {
    font-size: 15px;
  }
}
@media (max-width: 900px) {
  .hero-visual {
    max-width: none;
  }
  .archive-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .preview-chrome,
  .preview-canvas,
  .preview-export-canvas {
    min-width: 640px;
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .product-preview {
    border-radius: 4px;
  }
  .hero-visual .demo-caption,
  .example-figure .demo-caption {
    font-size: 10px;
    text-align: left;
  }
  .preview-pan {
    display: block;
    margin-top: 3px;
  }
  .preview-file-table :is(th, td) {
    padding: 10px 8px;
    font: 9px/1.6 var(--mono);
  }
}
/* Show every CSV field in one readable preview instead of clipping columns. */
.preview-file-table {
  overflow: visible;
}
.preview-file-table table {
  width: 100%;
  table-layout: fixed;
}
.preview-file-table th:first-child {
  width: 32%;
}
.preview-file-table th:nth-child(2),
.preview-file-table th:last-child {
  width: 68%;
}

/* Keep window chrome above the app; only narrow screens need horizontal panning. */
.product-window.product-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-flow: row;
  align-items: start;
  gap: 0;
  min-width: 0;
  overflow-x: hidden;
}
.product-preview > .preview-chrome {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  align-self: start;
}
.product-preview > .preview-canvas,
.product-preview > .preview-export-canvas {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  min-width: 0;
  align-self: start;
}
.product-preview > .preview-canvas {
  grid-template-columns: clamp(145px, 13vw, 175px) minmax(0, 1fr);
}
.product-preview .preview-main {
  display: block;
  width: 100%;
  min-width: 0;
}
.product-preview .preview-rail {
  display: block;
  min-width: 0;
}
@media (max-width: 600px) {
  .product-window.product-preview {
    overflow-x: auto;
  }
  .product-preview > .preview-chrome,
  .product-preview > .preview-canvas,
  .product-preview > .preview-export-canvas {
    min-width: 640px;
  }
  .product-preview > .preview-canvas {
    grid-template-columns: 175px minmax(0, 1fr);
  }
}

/* Homepage: one AI-search preview, followed by concise text-led sections. */
.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
}
.home-feature-item {
  min-width: 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}
.home-feature-item h3 {
  max-width: 540px;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.25;
}
.home-feature-item p {
  max-width: 520px;
  margin-bottom: 16px;
}
.home-page #search,
.home-page #archive {
  padding-block: 72px;
}
.archive-summary .archive-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
  align-items: start;
}
.archive-summary .section-index {
  grid-column: 1 / -1;
}
.archive-summary h2 {
  grid-column: 1;
  grid-row: 2 / 4;
  max-width: 570px;
  margin: 18px 0 0;
}
.archive-summary .archive-copy > p:not(.section-index) {
  grid-column: 2;
  margin: 21px 0 18px;
  max-width: 520px;
}
.archive-summary .text-link {
  grid-column: 2;
  justify-self: start;
}
.home-page .hero-visual .preview-pan {
  display: none;
}
@media (max-width: 760px) {
  .home-feature-grid,
  .archive-summary .archive-copy {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .home-feature-item {
    padding-top: 24px;
  }
  .home-page #search,
  .home-page #archive {
    padding-block: 48px;
  }
  .archive-summary .archive-copy {
    gap: 0;
  }
  .archive-summary h2,
  .archive-summary .archive-copy > p:not(.section-index),
  .archive-summary .text-link {
    grid-column: 1;
    grid-row: auto;
  }
}
@media (max-width: 600px) {
  .home-page .hero-visual .preview-pan {
    display: block;
  }
}

/* Illustrated guides: Chrome first, then a paced Seekmory walkthrough. */
.guide-method {
  padding: 18px 0 34px;
  border-bottom: 1px solid var(--line);
}
.guide-method-label {
  margin: 0 0 12px;
  color: var(--accent);
  font: 10px/1.6 var(--mono);
  letter-spacing: 0.1em;
}
.guide-method > h2 {
  margin: 0 0 23px;
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.25;
}
.guide-figure {
  margin: 0 0 32px;
  min-width: 0;
}
.guide-figure > img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d2c5b2;
  border-radius: 6px;
  background: #f4ede1;
}
.guide-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.guide-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}
.guide-steps > li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.guide-step-number {
  padding-top: 5px;
  color: var(--accent);
  font: 11px/1.6 var(--mono);
}
.guide-steps h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
}
.guide-steps p {
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}
.guide-steps code {
  padding: 2px 4px;
  color: var(--accent);
  background: #a8421c08;
  border-radius: 3px;
  font: 0.85em/1.7 var(--mono);
  overflow-wrap: anywhere;
}
.guide-install {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin: 32px 0 42px;
  padding: 25px;
  border-left: 2px solid var(--accent);
  background: #eee4d5;
}
.guide-install-heading {
  margin: 0 0 7px;
  font-size: 20px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.guide-install > div > p:last-child {
  margin: 0;
  max-width: 470px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.guide-install .button {
  flex: 0 0 auto;
  max-width: 300px;
  min-height: 45px;
  padding: 11px 16px;
  font-size: 12px;
}
.guide-method .guide-install {
  margin: 18px 0 30px;
}
.guide-boundary {
  margin: 35px 0 0;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.guide-boundary h2 {
  margin: 0 0 14px;
  font-size: 23px;
  line-height: 1.3;
}
.guide-boundary p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}
.guide-page .quick-answer {
  margin-bottom: 28px;
}
@media (max-width: 1100px) {
  .guide-install {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .guide-method {
    padding-top: 12px;
    padding-bottom: 24px;
  }
  .guide-method > h2 {
    font-size: 25px;
    margin-bottom: 18px;
  }
  .guide-figure {
    margin-bottom: 22px;
  }
  .guide-figure > img {
    border-radius: 3px;
  }
  .guide-figure figcaption {
    font-size: 10px;
  }
  .guide-steps > li {
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 12px;
    padding: 22px 0;
  }
  .guide-steps h3 {
    font-size: 20px;
  }
  .guide-steps p {
    font-size: 15px;
  }
  .guide-install {
    margin: 25px 0 32px;
    padding: 20px;
  }
  .guide-install-heading {
    font-size: 18px;
  }
  .guide-install .button {
    max-width: 100%;
  }
  .guide-boundary {
    padding: 20px;
  }
}
