@charset "UTF-8";

:root {
  --ink: #143a54;
  --ink-deep: #0e2c41;
  --ink-soft: #28516a;
  --seal: #b03a2e;
  --seal-dark: #8e2d24;
  --gold: #b08a4f;
  --paper: #f6f4ef;
  --paper-deep: #ebe7dd;
  --white: #fffefb;
  --text: #193243;
  --muted: #63727a;
  --line: #d7d4cb;
  --line-dark: rgba(246, 244, 239, 0.18);
  --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Consolas", monospace;
  --shell: 1240px;
  --header-height: 78px;
  --shadow: 0 24px 70px rgba(7, 28, 42, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.18;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

::selection {
  background: var(--gold);
  color: var(--ink-deep);
}

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink-deep);
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.22;
}

p {
  margin-bottom: 0;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

img,
svg {
  display: block;
}

[hidden] {
  display: none !important;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mono {
  font-family: var(--mono);
}

.page-shell {
  width: min(calc(100% - 80px), var(--shell));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 124px 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 100;
  padding: 10px 18px;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink-deep);
  border: 2px solid var(--gold);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  color: var(--seal);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

.eyebrow::before {
  width: 26px;
  height: 2px;
  content: "";
  background: currentColor;
}

.eyebrow span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.eyebrow-light,
.eyebrow-light span {
  color: #d8bc89;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--seal);
  color: var(--white);
  box-shadow: 5px 5px 0 rgba(176, 138, 79, 0.42);
}

.button-primary:hover {
  background: #c14537;
}

.button-small {
  min-height: 44px;
  padding: 10px 17px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
}

.button-small:hover {
  background: var(--seal);
}

.text-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  border-bottom: 1px solid rgba(246, 244, 239, 0.45);
  font-size: 14px;
  font-weight: 600;
}

.text-link .icon {
  transition: transform 180ms ease;
}

.text-link:hover .icon {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  height: var(--header-height);
  background: rgba(246, 244, 239, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(calc(100% - 56px), 1360px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-seal {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  background: var(--seal);
  color: var(--white);
  border: 1px solid var(--seal-dark);
  border-radius: 2px;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.18);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  color: var(--ink-deep);
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.08em;
}

.brand-copy > span {
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  position: relative;
  color: #3c505d;
  font-size: 13px;
  font-weight: 600;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--seal);
  transition: transform 180ms ease;
}

.primary-nav a:hover::after {
  transform: scaleX(1);
}

.icon-button {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

.menu-toggle .close-icon {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  display: none;
}

.menu-toggle[aria-expanded="true"] .close-icon {
  display: block;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--paper);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(rgba(246, 244, 239, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(246, 244, 239, 0.035) 1px, transparent 1px), radial-gradient(circle at 76% 45%, rgba(176, 138, 79, 0.13), transparent 32%);
  background-size: 64px 64px, 64px 64px, auto;
}

.hero::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% + 160px);
  width: 1px;
  content: "";
  background: rgba(246, 244, 239, 0.07);
}

.hero-grid {
  min-height: 720px;
  padding: 74px 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 70px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero .eyebrow {
  color: #d8bc89;
}

.hero .eyebrow span {
  color: rgba(246, 244, 239, 0.58);
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 30px;
  color: var(--paper);
  font-size: clamp(48px, 5.2vw, 76px);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.hero h1 em {
  position: relative;
  color: #e4cf9f;
  font-style: normal;
  white-space: nowrap;
}

.hero h1 em span {
  white-space: nowrap;
}

.hero h1 em::after {
  position: absolute;
  right: 1px;
  bottom: -7px;
  width: 40%;
  height: 4px;
  content: "";
  background: var(--seal);
}

.hero-lead {
  max-width: 590px;
  color: rgba(246, 244, 239, 0.74);
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.download-note {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(246, 244, 239, 0.59);
  font-size: 12px;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #d8bc89;
  box-shadow: 0 0 0 4px rgba(216, 188, 137, 0.1);
}

.hero-principles {
  max-width: 580px;
  margin: 44px 0 0;
  padding-top: 23px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
}

.hero-principles > div {
  display: flex;
  gap: 12px;
}

.hero-principles dt {
  color: #d8bc89;
  font-family: var(--mono);
  font-size: 11px;
}

.hero-principles dd {
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.hero-principles dd span {
  color: rgba(246, 244, 239, 0.48);
  font-size: 11px;
  font-weight: 400;
}

.hero-visual {
  min-height: 570px;
  position: relative;
  display: grid;
  place-items: center;
}

.visual-index {
  position: absolute;
  top: 0;
  right: -26px;
  color: rgba(246, 244, 239, 0.25);
  font-size: 9px;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.phone-frame {
  width: 326px;
  position: relative;
  z-index: 2;
  padding: 9px;
  transform: rotate(1.5deg);
  background: #091e2c;
  border: 1px solid rgba(246, 244, 239, 0.26);
  border-radius: 35px;
  box-shadow: 26px 32px 80px rgba(0, 0, 0, 0.36);
}

.phone-frame::before {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 3;
  width: 66px;
  height: 17px;
  content: "";
  transform: translateX(-50%);
  background: #091e2c;
  border-radius: 10px;
}

.phone-screen {
  min-height: 550px;
  overflow: hidden;
  position: relative;
  padding: 13px 16px 62px;
  background: var(--paper);
  border-radius: 27px;
  color: var(--text);
}

.phone-status {
  margin-bottom: 22px;
  padding-inline: 4px;
  display: flex;
  justify-content: space-between;
  color: var(--ink-deep);
  font-size: 8px;
  font-weight: 700;
}

.app-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-heading > div {
  display: flex;
  flex-direction: column;
}

.app-heading small {
  color: var(--muted);
  font-size: 8px;
}

.app-heading strong {
  color: var(--ink-deep);
  font-family: var(--serif);
  font-size: 20px;
}

.local-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  background: #e5eee9;
  color: #38634f;
  font-size: 8px;
}

.local-badge .icon {
  width: 11px;
  height: 11px;
}

.demo-label {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.phone-screen > .demo-label {
  position: absolute;
  top: 69px;
  left: 17px;
  opacity: 0;
}

.phone-search {
  height: 33px;
  margin-top: 17px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #e9e7e0;
  color: #859097;
  font-size: 9px;
}

.phone-search .icon {
  width: 12px;
  height: 12px;
}

.phone-stats {
  margin: 17px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.phone-stats > div {
  padding: 11px 7px;
  display: flex;
  flex-direction: column;
}

.phone-stats > div + div {
  border-left: 1px solid var(--line);
}

.phone-stats strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.1;
}

.phone-stats span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
}

.mini-section-title {
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-deep);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
}

.mini-section-title i {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.mini-case {
  padding: 12px;
  background: var(--white);
  border: 1px solid #dfddd5;
  border-left: 3px solid var(--seal);
  box-shadow: 0 5px 16px rgba(14, 44, 65, 0.05);
}

.mini-case + .mini-case {
  margin-top: 9px;
}

.mini-case-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}

.mini-case-top strong {
  overflow-wrap: anywhere;
  color: var(--ink-deep);
  font-size: 8px;
}

.mini-case-top > span {
  flex: 0 0 auto;
  padding: 1px 4px;
  background: #e4ecef;
  color: var(--ink-soft);
  font-size: 7px;
}

.mini-case p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 7px;
  line-height: 1.5;
}

.mini-tags {
  margin-top: 8px;
  display: flex;
  gap: 5px;
}

.mini-tags span {
  padding: 2px 5px;
  background: var(--paper-deep);
  color: var(--muted);
  font-size: 7px;
}

.mini-tags .unread {
  background: #f3e4e0;
  color: var(--seal);
}

.next-node {
  margin-top: 10px;
  padding-top: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-top: 1px dashed var(--line);
  color: var(--seal);
}

.next-node .icon {
  width: 14px;
  height: 14px;
}

.next-node div {
  display: flex;
  flex-direction: column;
}

.next-node small {
  color: var(--muted);
  font-size: 7px;
}

.next-node strong {
  font-size: 8px;
}

.mini-case-muted {
  border-left-color: var(--gold);
  box-shadow: none;
}

.phone-tabbar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.phone-tabbar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #8b959a;
  font-size: 7px;
}

.phone-tabbar .icon {
  width: 15px;
  height: 15px;
}

.phone-tabbar .active {
  color: var(--seal);
}

.notice-sheet {
  position: absolute;
  top: 34px;
  left: -55px;
  z-index: 1;
  width: 210px;
  height: 275px;
  padding: 23px;
  transform: rotate(-9deg);
  background: #e9e2d3;
  color: var(--ink-deep);
  box-shadow: 12px 20px 45px rgba(0, 0, 0, 0.22);
}

.sheet-heading {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 700;
}

.sheet-heading .mono {
  color: var(--muted);
  font-size: 7px;
}

.sheet-rule {
  height: 3px;
  margin: 11px 0 25px;
  border-block: 1px solid var(--ink-deep);
}

.notice-sheet > p {
  text-align: center;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.sheet-lines {
  margin-top: 26px;
}

.sheet-lines i {
  height: 1px;
  margin-top: 15px;
  display: block;
  background: rgba(20, 58, 84, 0.19);
}

.sheet-lines i:last-child {
  width: 60%;
}

.sheet-stamp {
  position: absolute;
  right: 18px;
  bottom: 20px;
  padding: 4px 7px;
  transform: rotate(-8deg);
  color: var(--seal);
  border: 2px solid var(--seal);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
}

.extraction-slip {
  position: absolute;
  right: -30px;
  bottom: 30px;
  z-index: 3;
  min-width: 280px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--white);
  color: var(--text);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.slip-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: var(--paper-deep);
  color: var(--ink);
}

.extraction-slip > div:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.extraction-slip span {
  color: var(--muted);
  font-size: 9px;
}

.extraction-slip strong {
  color: var(--ink-deep);
  font-size: 11px;
}

.slip-check {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  background: #e5eee9;
  color: #38634f !important;
  border-radius: 50%;
}

.hero-folio {
  position: relative;
  z-index: 1;
  padding: 17px 0;
  display: flex;
  justify-content: space-between;
  color: rgba(246, 244, 239, 0.25);
  border-top: 1px solid rgba(246, 244, 239, 0.09);
  font-size: 9px;
  letter-spacing: 0.16em;
}

/* Shared section headings */
.section-intro {
  margin-bottom: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 80px;
}

.section-intro h2,
.privacy-heading h2,
.faq-heading h2,
.closing-copy h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4vw, 55px);
  letter-spacing: -0.035em;
}

.section-intro > p {
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.section-intro.compact {
  margin-bottom: 60px;
}

/* Workflow */
.workflow {
  background: var(--paper);
}

.workflow::before {
  position: absolute;
  top: 0;
  right: 4vw;
  width: 1px;
  height: 100%;
  content: "";
  background: rgba(20, 58, 84, 0.05);
}

.workflow-track {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border-top: 1px solid var(--ink);
}

.workflow-step {
  min-width: 0;
  min-height: 385px;
  padding: 25px 25px 24px;
  position: relative;
  border-right: 1px solid var(--line);
}

.workflow-step:first-child {
  border-left: 1px solid var(--line);
}

.workflow-step::before {
  position: absolute;
  top: -5px;
  left: 25px;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--seal);
  border-radius: 50%;
}

.step-number {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.step-icon {
  width: 50px;
  height: 50px;
  margin: 39px 0 24px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
}

.step-icon .icon {
  width: 23px;
  height: 23px;
}

.workflow-step h3 {
  margin-bottom: 13px;
  font-size: 25px;
}

.workflow-step > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.source-list {
  margin-top: 21px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.source-list span {
  padding: 4px 7px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--paper-deep);
  color: var(--ink-soft);
  font-size: 9px;
}

.source-list .icon {
  width: 12px;
  height: 12px;
}

.confidence-demo {
  margin-top: 25px;
}

.confidence-demo > span {
  height: 3px;
  display: block;
  background: var(--line);
}

.confidence-demo i {
  width: 78%;
  height: 100%;
  display: block;
  background: var(--gold);
}

.confidence-demo small {
  margin-top: 7px;
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.review-demo {
  margin-top: 23px;
  display: flex;
  gap: 8px;
}

.review-demo span {
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 9px;
}

.review-demo span:first-child {
  background: var(--seal);
  color: var(--white);
  border-color: var(--seal);
}

.review-demo .icon {
  width: 11px;
  height: 11px;
}

.deadline-demo {
  margin-top: 23px;
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #eee9de;
  color: var(--ink-deep);
  font-size: 9px;
}

.deadline-demo .icon {
  color: var(--seal);
}

.deadline-demo small {
  display: block;
  color: var(--muted);
  font-size: 8px;
}

/* Capabilities */
.capabilities {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.capability-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}

.capability-feature {
  min-height: 570px;
  padding: 37px;
  grid-row: span 2;
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
  align-items: center;
  gap: 34px;
  background: var(--ink-deep);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-index {
  display: block;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.11em;
}

.capability-feature .capability-index {
  color: rgba(246, 244, 239, 0.42);
}

.capability-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 25px;
  color: var(--seal);
}

.capability-feature .capability-icon {
  color: #d8bc89;
}

.capability-item h3,
.capability-feature h3 {
  margin-bottom: 14px;
  font-size: 27px;
}

.capability-item p,
.capability-feature p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.capability-feature h3 {
  color: var(--paper);
  font-size: 34px;
}

.capability-feature p {
  color: rgba(246, 244, 239, 0.6);
}

.capability-item {
  min-height: 285px;
  padding: 29px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-item .capability-index {
  margin-bottom: 21px;
}

.capability-item .capability-icon {
  width: 23px;
  height: 23px;
  margin-bottom: 18px;
}

.merge-diagram {
  min-height: 340px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 40px 1.25fr;
  align-items: center;
}

.merge-sources {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.merge-sources span {
  padding: 11px 9px;
  position: relative;
  z-index: 2;
  background: #183f57;
  color: rgba(246, 244, 239, 0.72);
  border: 1px solid rgba(246, 244, 239, 0.16);
  font-size: 10px;
  text-align: center;
}

.merge-lines {
  height: 210px;
  position: relative;
}

.merge-lines i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  transform-origin: left;
  background: rgba(216, 188, 137, 0.45);
}

.merge-lines i:nth-child(1) {
  top: 35px;
  transform: rotate(25deg);
}

.merge-lines i:nth-child(2) {
  top: 105px;
}

.merge-lines i:nth-child(3) {
  bottom: 35px;
  transform: rotate(-25deg);
}

.merge-case {
  min-height: 158px;
  padding: 23px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
  border-top: 4px solid var(--seal);
  box-shadow: 10px 12px 0 rgba(176, 138, 79, 0.16);
}

.merge-case small {
  color: var(--seal);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.merge-case strong {
  margin: 15px 0;
  overflow-wrap: anywhere;
  color: var(--ink-deep);
  font-size: 12px;
}

.merge-case span {
  color: var(--muted);
  font-size: 9px;
}

/* Product */
.product {
  background: var(--paper-deep);
}

.tab-list {
  display: flex;
  border-bottom: 1px solid #aaa99f;
}

.tab-list button {
  min-width: 150px;
  min-height: 54px;
  padding: 13px 25px;
  position: relative;
  background: transparent;
  color: var(--muted);
  border: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.tab-list button .mono {
  margin-right: 13px;
  color: #92968f;
  font-size: 10px;
}

.tab-list button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  content: "";
  transform: scaleX(0);
  background: var(--seal);
  transition: transform 180ms ease;
}

.tab-list button[aria-selected="true"] {
  color: var(--ink-deep);
}

.tab-list button[aria-selected="true"]::after {
  transform: scaleX(1);
}

.product-panel {
  min-height: 545px;
  padding: 52px;
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 58px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 0;
}

.panel-kicker {
  color: var(--seal);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.panel-copy h3 {
  margin: 20px 0;
  font-size: 35px;
}

.panel-copy > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.check-list {
  margin: 25px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.check-list li {
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 12px;
}

.check-list .icon {
  width: 15px;
  height: 15px;
  margin-top: 4px;
  color: var(--seal);
}

.app-window {
  min-width: 0;
  padding: 25px;
  background: var(--white);
  border: 1px solid #cfcec6;
  box-shadow: 12px 14px 0 #dedbd2;
}

.window-top {
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.window-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-deep);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}

.window-brand i {
  width: 8px;
  height: 20px;
  background: var(--seal);
}

.window-toolbar {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  color: var(--ink-deep);
  font-size: 10px;
  font-weight: 600;
}

.window-toolbar > div {
  display: flex;
  gap: 13px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}

.case-table-head {
  padding: 8px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px 132px;
  gap: 10px;
  background: var(--ink-deep);
  color: rgba(246, 244, 239, 0.62);
  font-size: 8px;
}

.case-table-head span:last-child {
  grid-column: 3;
}

.case-row {
  padding: 18px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px 132px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.case-row > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.case-row strong {
  overflow-wrap: anywhere;
  color: var(--ink-deep);
  font-size: 10px;
}

.case-row > div:last-child strong {
  font-size: 11px;
}

.case-row div span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.status-tag {
  width: max-content;
  padding: 3px 6px;
  background: #e3ece8;
  color: #38634f;
  font-size: 8px;
  white-space: nowrap;
}

.status-tag.new {
  background: #f2e4df;
  color: var(--seal);
}

.status-tag.appeal {
  background: #eee8db;
  color: #84652f;
}

.import-card {
  margin-top: 20px;
  padding: 21px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--seal);
}

.import-source {
  display: flex;
  align-items: center;
  gap: 10px;
}

.import-source > span:first-child {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--white);
}

.import-source > div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.import-source strong {
  color: var(--ink-deep);
  font-size: 11px;
}

.import-source small {
  color: var(--muted);
  font-size: 8px;
}

.import-case-number {
  margin-top: 24px;
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink-deep);
  font-size: 13px;
}

.import-card > p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
}

.extracted-fields {
  margin-top: 17px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.extracted-fields span {
  padding: 7px 8px;
  display: flex;
  justify-content: space-between;
  background: var(--white);
  color: var(--muted);
  font-size: 9px;
}

.extracted-fields b {
  color: #38634f;
  font-weight: 500;
}

.extracted-fields span:last-child b {
  color: var(--seal);
}

.source-preview {
  margin-top: 15px;
  padding: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px dashed #c7c4ba;
  color: var(--ink-soft);
}

.source-preview > div {
  display: flex;
  flex-direction: column;
}

.source-preview strong {
  font-size: 10px;
}

.source-preview span {
  color: var(--muted);
  font-size: 8px;
}

.import-actions {
  margin-top: 19px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 10px;
}

.import-actions span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.import-actions .confirm-action {
  padding: 5px 13px;
  background: var(--seal);
  color: var(--white);
}

.calendar-layout {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.week-row,
.date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.week-row {
  padding-bottom: 9px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 8px;
}

.date-grid {
  gap: 5px;
  padding-top: 10px;
}

.date-grid span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--ink-soft);
  font-size: 9px;
}

.date-grid .muted {
  color: #b4b7b3;
}

.date-grid .has-event::after {
  position: absolute;
  bottom: 1px;
  width: 3px;
  height: 3px;
  content: "";
  background: var(--seal);
  border-radius: 50%;
}

.date-grid .selected {
  background: var(--seal);
  color: var(--white);
  border-radius: 50%;
}

.date-grid .selected::after {
  background: var(--white);
}

.agenda-view {
  padding: 19px;
  background: var(--ink-deep);
  color: var(--paper);
  border-top: 3px solid var(--gold);
}

.agenda-date {
  color: rgba(246, 244, 239, 0.55);
  font-size: 9px;
}

.agenda-time {
  margin-top: 20px;
  color: #d8bc89;
  font-size: 26px;
}

.agenda-view > strong {
  display: block;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 19px;
}

.agenda-view > p {
  margin-top: 12px;
  overflow-wrap: anywhere;
  color: rgba(246, 244, 239, 0.7);
  font-size: 9px;
}

.agenda-location {
  margin-top: 5px;
  display: block;
  color: rgba(246, 244, 239, 0.5);
  font-size: 9px;
}

.agenda-reminder {
  margin-top: 22px;
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #d8bc89;
  border-top: 1px solid var(--line-dark);
  font-size: 9px;
}

/* Privacy */
.privacy {
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--paper);
}

.privacy::after {
  position: absolute;
  right: -160px;
  bottom: -260px;
  width: 620px;
  height: 620px;
  content: "";
  border: 1px solid rgba(246, 244, 239, 0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(246, 244, 239, 0.025), 0 0 0 140px rgba(246, 244, 239, 0.018);
}

.privacy-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 100px;
}

.privacy-heading h2 {
  color: var(--paper);
}

.privacy-heading > p:not(.eyebrow) {
  max-width: 390px;
  margin-top: 27px;
  color: rgba(246, 244, 239, 0.6);
  font-size: 14px;
}

.privacy-seal {
  width: 174px;
  height: 174px;
  margin-top: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: rotate(-5deg);
  color: #d8bc89;
  border: 1px solid rgba(216, 188, 137, 0.48);
  border-radius: 50%;
  box-shadow: inset 0 0 0 6px var(--ink-deep), inset 0 0 0 7px rgba(216, 188, 137, 0.2);
}

.privacy-seal .icon {
  width: 33px;
  height: 33px;
}

.privacy-seal > span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.privacy-seal small {
  font-size: 8px;
  font-weight: 400;
}

.privacy-rules {
  border-top: 1px solid rgba(246, 244, 239, 0.35);
}

.privacy-rule {
  min-height: 130px;
  padding: 27px 0;
  display: grid;
  grid-template-columns: 38px 1fr 30px;
  align-items: start;
  gap: 17px;
  border-bottom: 1px solid var(--line-dark);
}

.privacy-rule > span {
  padding-top: 5px;
  color: #d8bc89;
  font-size: 10px;
}

.privacy-rule h3 {
  margin-bottom: 8px;
  color: var(--paper);
  font-size: 21px;
}

.privacy-rule p {
  color: rgba(246, 244, 239, 0.54);
  font-size: 12px;
}

.privacy-rule > .icon {
  margin-top: 4px;
  color: rgba(216, 188, 137, 0.62);
}

/* FAQ */
.faq {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 100px;
}

.faq-heading {
  position: sticky;
  top: calc(var(--header-height) + 40px);
  align-self: start;
}

.faq-heading > p:last-child {
  max-width: 330px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
  font-family: var(--sans);
}

.faq-item button {
  width: 100%;
  min-height: 84px;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: transparent;
  color: var(--ink-deep);
  border: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}

.faq-item button .icon {
  width: 20px;
  height: 20px;
  color: var(--seal);
  transition: transform 180ms ease;
}

.faq-item button[aria-expanded="true"] .icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 50px 26px 0;
}

.faq-answer p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}

/* Closing and footer */
.closing {
  padding: 0 0 100px;
  background: var(--paper);
}

.closing-inner {
  min-height: 390px;
  padding: 64px 70px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  align-items: center;
  gap: 70px;
  background: #e9e3d7;
  border: 1px solid #d5cfc2;
}

.closing-inner::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(rgba(20, 58, 84, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 58, 84, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
}

.closing-folio,
.closing-copy,
.closing-seal {
  position: relative;
  z-index: 1;
}

.closing-folio {
  color: rgba(20, 58, 84, 0.23);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.closing-copy h2 {
  font-size: clamp(35px, 3.8vw, 50px);
}

.closing-copy > p:not(.eyebrow, .download-note) {
  margin: 20px 0 27px;
  color: var(--muted);
  font-size: 14px;
}

.closing-copy .download-note {
  color: var(--muted);
}

.closing-copy .status-dot {
  background: var(--seal);
  box-shadow: 0 0 0 4px rgba(176, 58, 46, 0.09);
}

.closing-seal {
  position: absolute;
  right: 35px;
  bottom: 24px;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  transform: rotate(-8deg);
  color: rgba(176, 58, 46, 0.45);
  border: 3px double rgba(176, 58, 46, 0.4);
  font-family: var(--serif);
  font-size: 43px;
  font-weight: 700;
}

.site-footer {
  padding: 34px 0;
  background: var(--ink-deep);
  color: var(--paper);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 30px;
}

.footer-brand .brand-copy strong {
  color: var(--paper);
  font-size: 16px;
}

.footer-brand .brand-copy > span {
  color: rgba(246, 244, 239, 0.4);
  font-family: var(--sans);
  letter-spacing: 0.08em;
}

.footer-inner > p {
  margin-left: auto;
  color: rgba(246, 244, 239, 0.48);
  font-size: 11px;
}

.back-top {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d8bc89;
  font-size: 11px;
}

.back-top .icon {
  transform: rotate(-90deg);
}

/* Progressive reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Intermediate screens */
@media (max-width: 1180px) {
  .header-inner {
    gap: 22px;
  }

  .primary-nav {
    gap: 20px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.85fr);
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(46px, 5.5vw, 65px);
  }

  .notice-sheet {
    left: -20px;
  }

  .extraction-slip {
    right: -10px;
  }

  .workflow-step {
    padding-inline: 18px;
  }

  .capability-feature {
    padding: 28px;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .product-panel {
    padding: 38px;
    gap: 35px;
  }

  .privacy-grid,
  .faq-grid {
    gap: 65px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 70px;
  }

  .page-shell {
    width: min(calc(100% - 48px), var(--shell));
  }

  .section {
    padding: 90px 0;
  }

  .header-inner {
    width: calc(100% - 40px);
  }

  .primary-nav {
    gap: 15px;
  }

  .primary-nav a {
    font-size: 12px;
  }

  .header-download {
    padding-inline: 13px;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 65px;
    grid-template-columns: 1fr 370px;
  }

  .hero h1 {
    font-size: 47px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-principles {
    gap: 10px;
  }

  .hero-principles > div {
    gap: 7px;
  }

  .phone-frame {
    width: 296px;
  }

  .notice-sheet {
    left: 0;
    width: 175px;
  }

  .extraction-slip {
    right: 0;
    min-width: 250px;
  }

  .section-intro {
    gap: 45px;
  }

  .workflow-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-step {
    min-height: 345px;
    border-bottom: 1px solid var(--line);
  }

  .workflow-step:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .capability-feature {
    min-height: 510px;
    grid-template-columns: 1fr;
  }

  .capability-copy {
    align-self: end;
  }

  .merge-diagram {
    min-height: 220px;
  }

  .capability-item {
    padding: 24px;
  }

  .product-panel {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .panel-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
  }

  .panel-kicker,
  .panel-copy h3 {
    grid-column: 1;
  }

  .panel-copy > p,
  .check-list {
    grid-column: 2;
  }

  .panel-copy > p {
    grid-row: 1 / span 2;
    padding-top: 26px;
  }

  .check-list {
    margin-top: 0;
  }

  .privacy-grid,
  .faq-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 45px;
  }

  .closing-inner {
    padding: 50px;
    gap: 35px;
  }
}

/* Mobile navigation and stacked layout */
@media (max-width: 820px) {
  .menu-toggle {
    margin-left: auto;
    display: inline-grid;
  }

  .header-download {
    order: 2;
  }

  .menu-toggle {
    order: 3;
  }

  .js .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    margin: 0;
    padding: 13px 24px 22px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(14, 44, 65, 0.1);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
  }

  .js .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .primary-nav a {
    min-height: 50px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .primary-nav a::after {
    display: none;
  }

  .hero-grid {
    padding: 66px 0 55px;
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .hero-copy {
    max-width: 670px;
  }

  .hero h1 {
    font-size: clamp(48px, 9vw, 66px);
  }

  .hero-visual {
    width: min(100%, 500px);
    min-height: 590px;
    margin-inline: auto;
  }

  .phone-frame {
    width: 326px;
  }

  .notice-sheet {
    left: -10px;
    width: 205px;
  }

  .extraction-slip {
    right: -5px;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .section-intro > p {
    max-width: 620px;
  }

  .capability-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-feature {
    min-height: auto;
    grid-column: span 2;
    grid-row: auto;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .capability-item:last-child {
    grid-column: span 2;
    min-height: 240px;
  }

  .privacy-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .privacy-heading > p:not(.eyebrow) {
    max-width: 600px;
  }

  .privacy-seal {
    width: 135px;
    height: 135px;
    margin-top: 35px;
  }

  .faq-heading {
    position: static;
  }

  .faq-heading > p:last-child {
    max-width: 600px;
  }

  .closing-inner {
    grid-template-columns: 0.4fr 1fr;
  }

  .footer-inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .page-shell {
    width: calc(100% - 36px);
  }

  .section {
    padding: 74px 0;
  }

  .header-inner {
    width: calc(100% - 28px);
    gap: 10px;
  }

  .brand {
    gap: 9px;
  }

  .brand-seal {
    width: 35px;
    height: 35px;
    font-size: 21px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy > span {
    font-size: 7px;
  }

  .header-download {
    display: none;
  }

  .hero-grid {
    padding-top: 52px;
    gap: 48px;
  }

  .hero .eyebrow {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 7px 10px;
  }

  .hero h1 {
    margin-bottom: 25px;
    font-size: clamp(41px, 12vw, 56px);
    letter-spacing: -0.045em;
  }

  .hero h1 em {
    white-space: normal;
  }

  .hero-lead {
    font-size: 14px;
  }

  .hero-actions {
    margin-top: 29px;
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .download-note {
    align-items: flex-start;
    font-size: 11px;
  }

  .download-note .status-dot {
    margin-top: 6px;
  }

  .hero-principles {
    margin-top: 33px;
  }

  .hero-principles > div {
    flex-direction: column;
    gap: 4px;
  }

  .hero-principles dd {
    font-size: 12px;
  }

  .hero-principles dd span {
    font-size: 9px;
  }

  .hero-visual {
    min-height: 530px;
  }

  .visual-index {
    display: none;
  }

  .phone-frame {
    width: min(296px, calc(100vw - 72px));
  }

  .phone-screen {
    min-height: 510px;
  }

  .notice-sheet {
    top: 0;
    left: 6px;
    width: 155px;
    height: 230px;
    padding: 18px;
  }

  .notice-sheet > p {
    font-size: 17px;
  }

  .extraction-slip {
    right: -3px;
    bottom: 0;
    min-width: 0;
    width: min(270px, calc(100vw - 62px));
    padding: 12px;
  }

  .hero-folio {
    font-size: 7px;
  }

  .hero-folio span:last-child {
    display: none;
  }

  .section-intro,
  .section-intro.compact {
    margin-bottom: 43px;
  }

  .section-intro h2,
  .privacy-heading h2,
  .faq-heading h2,
  .closing-copy h2 {
    font-size: 37px;
  }

  .eyebrow {
    margin-bottom: 19px;
    font-size: 9px;
  }

  .eyebrow span {
    font-size: 10px;
  }

  .workflow-track {
    grid-template-columns: 1fr;
  }

  .workflow-step,
  .workflow-step:nth-child(3) {
    min-height: 0;
    padding: 24px 23px 29px;
    border-left: 1px solid var(--line);
  }

  .step-icon {
    margin: 25px 0 19px;
  }

  .capability-layout {
    grid-template-columns: 1fr;
  }

  .capability-feature {
    padding: 27px;
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .capability-feature h3 {
    font-size: 29px;
  }

  .merge-diagram {
    min-height: 240px;
  }

  .capability-item,
  .capability-item:last-child {
    min-height: 0;
    padding: 27px;
    grid-column: auto;
  }

  .tab-list button {
    min-width: 0;
    min-height: 54px;
    padding: 12px 8px;
    flex: 1;
    font-size: 13px;
    text-align: center;
  }

  .tab-list button .mono {
    margin-right: 6px;
    font-size: 8px;
  }

  .product-panel {
    min-height: 0;
    padding: 27px 20px 32px;
    gap: 30px;
  }

  .panel-copy {
    display: block;
  }

  .panel-copy h3 {
    font-size: 30px;
  }

  .panel-copy > p {
    padding-top: 0;
  }

  .check-list {
    margin-top: 23px;
  }

  .app-window {
    padding: 16px;
    box-shadow: 7px 8px 0 #dedbd2;
  }

  .case-table-head {
    display: none;
  }

  .case-row {
    padding: 15px 4px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .case-row > div:last-child {
    padding-top: 9px;
    grid-column: 1 / -1;
    border-top: 1px dashed var(--line);
  }

  .window-toolbar {
    gap: 8px;
  }

  .window-toolbar > div {
    gap: 8px;
  }

  .import-card {
    padding: 15px;
  }

  .calendar-layout {
    grid-template-columns: 1fr;
  }

  .date-grid {
    gap: 4px;
  }

  .date-grid span {
    font-size: 10px;
  }

  .agenda-view {
    min-height: 210px;
  }

  .privacy-rule {
    grid-template-columns: 29px 1fr;
    gap: 12px;
  }

  .privacy-rule > .icon {
    display: none;
  }

  .privacy-seal {
    width: 124px;
    height: 124px;
  }

  .faq-item button {
    min-height: 75px;
    font-size: 14px;
  }

  .faq-answer {
    padding-right: 10px;
  }

  .closing {
    padding-bottom: 60px;
  }

  .closing-inner {
    min-height: 0;
    padding: 35px 26px 45px;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .closing-folio {
    font-size: 22px;
  }

  .closing-copy .button {
    width: 100%;
    padding-inline: 14px;
  }

  .closing-seal {
    right: 17px;
    bottom: 15px;
    width: 48px;
    height: 48px;
    font-size: 29px;
    opacity: 0.6;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-inner > p {
    margin-left: 0;
  }
}

@media (max-width: 380px) {
  .page-shell {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-principles dd span {
    font-size: 8px;
  }

  .phone-frame {
    width: calc(100vw - 64px);
  }

  .phone-screen {
    padding-inline: 12px;
  }

  .mini-case {
    padding: 10px;
  }

  .notice-sheet {
    left: 8px;
    width: 135px;
  }

  .extraction-slip {
    width: calc(100vw - 54px);
  }

  .window-toolbar > div {
    gap: 5px;
    font-size: 8px;
  }

  .import-source .status-tag {
    display: none;
  }

  .extracted-fields {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
