:root {
  --font-brand: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --ink: #082f33;
  --ink-soft: #36575a;
  --paper: #ffffff;
  --paper-mint: #edf8f6;
  --paper-mint-strong: #dff1ee;
  --line: #cfe2df;
  --brand-deep: #005c63;
  --brand: #00848d;
  --brand-bright: #00aaba;
  --success: #197764;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { font-family: var(--font-brand); letter-spacing: .01em; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 3px; }
.wrap { width: min(100%, 1200px); margin-inline: auto; padding-inline: 28px; }
.section { padding-block: 104px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding-inline: 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding-inline: 18px; font-size: .875rem; }
.btn-lg { min-height: 56px; padding-inline: 30px; font-size: 1rem; }
.btn-primary { color: #fff; background: var(--brand-deep); }
.btn-primary:hover { background: #00464c; }
.btn-light { color: var(--brand-deep); background: #fff; }
.btn-light:hover { background: var(--paper-mint); }

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  border-bottom: 1px solid rgba(207, 226, 223, .9);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
}
.header-inner { width: 100%; display: flex; align-items: center; gap: 30px; min-height: 80px; padding-inline: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-logo { width: 208px; height: 48px; object-fit: contain; object-position: left center; }
.brand-mark { width: 32px; height: 32px; object-fit: contain; }
.brand-name { font-family: var(--font-brand); font-size: 1.25rem; font-weight: 900; letter-spacing: .03em; }
.header-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.header-nav a { color: var(--ink-soft); font-size: .95rem; font-weight: 700; }
.header-nav a:hover { color: var(--brand-deep); }
.header-cta { flex: none; min-height: 48px; font-size: .9rem; }

.hero {
  position: relative;
  min-height: 690px;
  padding-block: 92px 88px;
  overflow: hidden;
  background: #f8fcfb;
  border-bottom: 1px solid var(--line);
}
.hero-angle {
  position: absolute;
  top: -12%;
  bottom: -18%;
  left: -7%;
  width: 47%;
  background: var(--paper-mint-strong);
  transform: skewX(-10deg);
  transform-origin: center;
}
.hero-grid {
  position: relative;
  width: min(100%, 1360px);
  display: grid;
  grid-template-columns: minmax(610px, 1fr) minmax(480px, 1fr);
  gap: 56px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  margin: 0 0 26px;
  padding: 9px 17px;
  color: #fff;
  background: var(--brand);
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.hero-title {
  margin: 0 0 26px;
  color: var(--ink);
  font-size: clamp(2.35rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: .015em;
}
.hero-line { display: block; white-space: nowrap; }
.hero-title em { color: var(--brand-deep); font-style: normal; }
.hero-sub { max-width: 42rem; margin: 0 0 30px; color: #24494d; font-size: 1.075rem; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.text-link { color: var(--brand-deep); border-bottom: 1px solid var(--brand-deep); font-size: .925rem; font-weight: 700; }

.hero-macbook { position: relative; z-index: 1; width: 104%; min-width: 0; margin: 0 0 0 1.5%; padding-bottom: 18px; }
.macbook-display {
  position: relative;
  padding: 17px 13px 13px;
  border: 1px solid #5e696c;
  border-radius: 19px 19px 7px 7px;
  background: linear-gradient(145deg, #273336, #111c1f 54%, #344044);
  box-shadow: 0 28px 52px rgba(8, 47, 51, .2), inset 0 0 0 1px rgba(255,255,255,.08);
}
.macbook-camera {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #020708;
  box-shadow: inset 0 0 0 1px #53676c, 0 0 0 1px rgba(255,255,255,.05);
  transform: translateX(-50%);
}
.macbook-base {
  position: absolute;
  right: -4%;
  bottom: 6px;
  left: -4%;
  height: 14px;
  border: 1px solid #98a3a6;
  border-top-color: #dce2e3;
  border-radius: 2px 2px 42% 42% / 2px 2px 100% 100%;
  background: linear-gradient(#edf1f2, #bdc6c8 45%, #8e999c);
  box-shadow: 0 12px 20px rgba(8, 47, 51, .16);
}
.macbook-base span { position: absolute; top: -1px; left: 50%; width: 17%; height: 4px; border-radius: 0 0 5px 5px; background: #aeb8ba; transform: translateX(-50%); }
.hero-product-ui {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid #0b1719;
  border-radius: 7px 7px 3px 3px;
  color: #16383c;
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(6px, .58vw, 8.5px);
  line-height: 1.48;
}
.hero-product-ui *, .hero-product-ui *::before, .hero-product-ui *::after { box-sizing: border-box; }
.hero-product-bar { display: flex; align-items: center; gap: 1.3em; height: 5.2em; padding: 0 1.5em; border-bottom: 1px solid #dce8e6; background: #f8fbfa; }
.hero-product-brand { display: flex; align-items: center; gap: .65em; }
.hero-product-brand img { width: 2.5em; height: 2.5em; }
.hero-product-brand strong { font-size: 1.12em; }
.hero-product-bar > span { margin-left: auto; color: #6e8588; }
.hero-product-bar > em { color: #00848d; font-family: Inter, sans-serif; font-style: normal; font-weight: 700; }
.hero-product-body { display: grid; grid-template-columns: .96fr 1.04fr; gap: 1.25em; height: calc(100% - 5.2em); padding: 1.35em; background: #f6faf9; }
.hero-compose-panel, .hero-analysis-panel { min-width: 0; border: 1px solid #d7e5e3; background: #fff; }
.hero-compose-panel { overflow: hidden; padding: 1em; }
.hero-company-head, .hero-analysis-head { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.hero-company-head small, .hero-company-head strong, .hero-analysis-head small, .hero-analysis-head strong { display: block; }
.hero-company-head small, .hero-analysis-head small { margin-bottom: .25em; color: #758a8d; font-weight: 700; }
.hero-company-head > span, .hero-analysis-head > span { padding: .45em .7em; color: #176e62; background: #dff3ed; font-weight: 700; }
.hero-compose-tabs { display: flex; align-items: center; margin: .5em 0; border-bottom: 1px solid #dbe8e6; }
.hero-compose-tabs strong { padding: .4em .5em; color: #006f77; border-bottom: .3em solid #00848d; font-size: 1.08em; }
.hero-compose-tabs span { margin-left: auto; color: #71878a; }
.hero-reflected-data { display: flex; align-items: center; gap: .65em; padding: .4em .6em; color: #587276; background: #eff7f6; }
.hero-reflected-data span { color: #007780; font-weight: 700; }
.hero-reflected-data strong { font-size: .92em; }
.hero-compose-panel label { display: block; margin: .35em 0 .2em; color: #657d80; font-weight: 700; }
.hero-demo-input, .hero-demo-textarea { border: 1px solid #dce7e5; background: #fff; }
.hero-demo-input { padding: .6em .8em; }
.hero-demo-textarea { height: 8.8em; overflow: hidden; padding: .65em .75em; color: #4b676a; }
.hero-recipient-line { display: block; color: #173a3e; font-weight: 400; }
.hero-demo-textarea p { margin: .45em 0; }
.hero-compose-foot { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-top: .5em; color: #448579; }
.hero-compose-foot button { padding: .7em 1.1em; color: #fff; border: 0; background: #00848d; font: inherit; font-weight: 700; }
.hero-analysis-panel { overflow: hidden; padding: 1em; }
.hero-analysis-head { padding-bottom: .55em; border-bottom: 1px solid #dbe8e6; }
.hero-analysis-source { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: .35em 0; color: #648084; border-bottom: 1px solid #e2ecea; }
.hero-analysis-source strong { color: #00848d; }
.hero-company-profile { margin: .15em 0 0; }
.hero-company-profile > div { display: grid; grid-template-columns: 5.5em 1fr; gap: .7em; padding: .35em 0; border-bottom: 1px solid #e2ecea; }
.hero-company-profile dt { color: #708588; font-weight: 700; }
.hero-company-profile dd { margin: 0; color: #1e4246; font-weight: 700; }
.hero-analysis-section { padding: .4em 0; border-bottom: 1px solid #e2ecea; }
.hero-analysis-section small, .hero-analysis-angle small { display: block; color: #007780; font-weight: 700; }
.hero-analysis-section p { margin: .25em 0 0; color: #536e72; }
.hero-analysis-section ul { display: grid; gap: .2em; margin: .3em 0 0; padding: 0; color: #536e72; list-style: none; }
.hero-analysis-section li { position: relative; padding-left: 1.1em; }
.hero-analysis-section li::before { content: ""; position: absolute; top: .68em; left: 0; width: .45em; height: .45em; background: #00848d; transform: translateY(-50%); }
.hero-analysis-angle { margin-top: .45em; padding: .5em .65em; border-left: .35em solid #00848d; background: #eff9f7; }
.hero-analysis-angle strong { display: block; margin-top: .25em; color: #17474b; line-height: 1.45; }

.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head h2, .solution-intro h2, .assurance h2, .cta-final h2 { margin: 0 0 20px; font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 900; line-height: 1.35; }
.section-lead { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.fixed-line { display: block; white-space: nowrap; }
.desktop-single-line { white-space: nowrap; }

.problem { background: #fff; }
.problem-grid { display: grid; grid-template-columns: minmax(570px, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: start; }
.problem .section-head { position: sticky; top: 104px; margin-bottom: 0; }
.problem .section-head h2 { font-size: clamp(2rem, 2.25vw, 2.2rem); }
.problem-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.problem-item { display: grid; grid-template-columns: 52px 1fr; gap: 24px; padding-block: 29px; border-bottom: 1px solid var(--line); }
.problem-item > span { color: var(--brand); font-family: Inter, sans-serif; font-size: .8rem; font-weight: 700; letter-spacing: .08em; }
.problem-item h3 { margin: -5px 0 8px; font-size: 1.25rem; line-height: 1.5; }
.problem-item p { margin: 0; color: var(--ink-soft); }

.solution { background: var(--paper-mint); border-block: 1px solid var(--line); }
.solution-intro { margin-bottom: 16px; }
.solution-intro h2 { font-size: clamp(2rem, 2.3vw, 2.2rem); }
.solution-intro h2 { margin-bottom: 0; }
.process-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-block: 1px solid #8db9b3; }
.process-list li { position: relative; min-height: 164px; padding: 24px 18px 22px; border-right: 1px solid #b7d4d0; }
.process-list li:last-child { border-right: 0; }
.process-list li:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -10px; z-index: 2; width: 20px; color: var(--brand-deep); background: var(--paper-mint); font-weight: 700; text-align: center; transform: translateY(-50%); }
.process-list span { display: block; margin-bottom: 20px; color: var(--brand); font-family: Inter, sans-serif; font-size: .75rem; font-weight: 700; }
.process-list strong { display: block; margin-bottom: 6px; font-family: var(--font-brand); font-size: 1rem; line-height: 1.45; }
.process-list small { display: block; color: #587377; font-size: .75rem; line-height: 1.6; }
.process-note { max-width: 760px; margin: 0 0 34px; color: #587377; font-size: .8rem; line-height: 1.8; }
.features { padding-top: 0; background: #fff; }
.feature-showcases { border-top: 0; }
.feature-showcase {
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  gap: 64px;
  align-items: center;
  padding-block: 72px;
  border-bottom: 1px solid var(--line);
}
.feature-showcase-reverse .feature-showcase-copy { grid-column: 2; }
.feature-showcase-reverse .feature-product-shot { grid-row: 1; grid-column: 1; }
.feature-showcase-reverse { grid-template-columns: minmax(0, 1.24fr) minmax(0, .76fr); }
.feature-showcase-sending { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); }
.feature-showcase-copy { max-width: 34rem; }
.feature-no {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-family: Inter, sans-serif;
  font-size: .78rem;
  font-weight: 700;
}
.feature-no::after { content: ""; width: 34px; height: 1px; background: var(--brand); }
.feature-showcase h3 { margin: 14px 0 16px; font-size: clamp(1.65rem, 2.6vw, 2.2rem); line-height: 1.45; }
.feature-title-two-lines { font-size: clamp(1.65rem, 2.35vw, 2.05rem) !important; }
.feature-title-two-lines span { display: block; white-space: nowrap; }
.feature-showcase-copy > p { margin: 0; color: var(--ink-soft); }
.feature-benefits { display: grid; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; }
.feature-benefits li { position: relative; padding-left: 20px; color: #24494d; font-size: .9rem; font-weight: 700; }
.feature-benefits li::before { content: ""; position: absolute; top: .72em; left: 0; width: 7px; height: 7px; background: var(--brand); transform: translateY(-50%); }
.feature-product-shot {
  position: relative;
  container-type: inline-size;
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid #9fc7c2;
  background: #f5faf9;
  box-shadow: 12px 12px 0 var(--paper-mint-strong);
}
.feature-product-shot img { width: 100%; border: 1px solid var(--line); background: #fff; }

/* Product demos: real workflow, fully fictional display data */
.product-demo {
  --demo-ink: #15383c;
  --demo-muted: #587478;
  --demo-line: #cbdedb;
  --demo-teal: #00848d;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  color: var(--demo-ink);
  border: 1px solid var(--line);
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(5px, 1.08cqw, 8.6px);
  line-height: 1.5;
}
.product-demo *, .product-demo *::before, .product-demo *::after { box-sizing: border-box; }
.product-demo * { animation-play-state: paused !important; }
.product-demo.is-playing * { animation-play-state: running !important; }
.product-demo h4, .product-demo p { margin: 0; font-family: inherit; overflow-wrap: normal; }
.product-demo small { font-size: .94em; }
.product-demo button { appearance: none; border: 0; font: inherit; }
.demo-chrome {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  height: 3.8em;
  padding: 0 1.5em;
  color: #5b7376;
  border-bottom: 1px solid var(--demo-line);
  background: #f8fbfa;
  font-size: .95em;
  font-weight: 700;
}
.demo-chrome small { margin-left: auto; color: var(--demo-teal); font-family: Inter, sans-serif; font-weight: 700; }
.demo-window-dots { display: flex; gap: .5em; margin-right: 1.2em; }
.demo-window-dots i { width: .65em; height: .65em; background: #bad5d1; border-radius: 50%; }
.demo-window-dots i:nth-child(2) { background: #85c3bd; }
.demo-window-dots i:nth-child(3) { background: #38a99f; }
.demo-scene {
  position: absolute;
  inset: 3.8em 0 0;
  display: flex;
  overflow: hidden;
  background: #fff;
  will-change: opacity, transform;
}
.demo-sidebar {
  flex: 0 0 18%;
  display: flex;
  flex-direction: column;
  gap: 1.3em;
  padding: 2em 1.25em;
  color: #8ba0a3;
  border-right: 1px solid var(--demo-line);
  background: #fbfdfd;
}
.demo-sidebar img { width: 2.5em; height: 2.5em; margin-bottom: .8em; object-fit: contain; }
.demo-sidebar b { color: #a5b5b7; font-size: .85em; }
.demo-sidebar span { display: block; padding: .75em .8em; white-space: nowrap; }
.demo-sidebar span.active { color: var(--demo-ink); background: #e9f5f3; box-shadow: inset .3em 0 var(--demo-teal); font-weight: 700; }
.demo-workspace, .demo-full-workspace { min-width: 0; flex: 1; padding: 2.2em 2.4em; background: #fff; }
.demo-full-workspace { width: 100%; }
.demo-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2em;
  margin: 0 0 2.4em;
  padding: 0;
  list-style: none;
}
.demo-stepper li {
  position: relative;
  display: flex;
  align-items: center;
  gap: .7em;
  min-width: 0;
  color: #acbbbd;
  font-family: Inter, sans-serif;
  font-weight: 700;
}
.demo-stepper li::after { content: ""; position: absolute; top: 50%; left: 2.4em; right: -.6em; height: 1px; background: #d9e5e4; }
.demo-stepper li:last-child::after { display: none; }
.demo-stepper li b { position: relative; z-index: 2; padding-right: .6em; color: inherit; background: #fff; font-family: "Noto Sans JP", sans-serif; font-size: .88em; white-space: nowrap; }
.demo-stepper li.done, .demo-stepper li.current { color: var(--demo-teal); }
.demo-stepper li.current { width: 2em; height: 2em; justify-content: center; border: .25em solid #87d2cc; border-radius: 50%; }
.demo-stepper li.current b { position: absolute; left: 2.6em; }
.demo-workspace > h4 { margin-bottom: 1.3em; font-size: 2em; }
.demo-modal { overflow: hidden; border: 1px solid var(--demo-line); background: #fff; box-shadow: 0 1.2em 3.4em rgba(8,47,51,.13); }
.demo-modal-head { display: flex; align-items: baseline; gap: 1.3em; padding: 1.3em 1.5em; border-bottom: 1px solid var(--demo-line); }
.demo-modal-head strong { font-size: 1.25em; }
.demo-modal-head small { color: var(--demo-muted); }
.demo-filter-row { display: grid; grid-template-columns: .85fr 1fr 1fr; gap: .9em; padding: 1.1em 1.4em; border-bottom: 1px solid var(--demo-line); }
.demo-filter-row span { padding: .8em 1em; color: #91a3a5; border: 1px solid var(--demo-line); }
.demo-filter-row span:first-child { color: var(--demo-teal); background: #dff4f1; font-weight: 700; }
.demo-table-row { display: grid; grid-template-columns: 2.5em 1.2fr 1.4fr .65fr; align-items: center; gap: 1em; margin: 1.2em 1.4em; padding: 1.2em; border: 1px solid var(--demo-line); }
.demo-table-row small { color: var(--demo-muted); }
.demo-table-row em { color: var(--demo-teal); font-style: normal; text-align: right; }
.demo-checkbox { display: grid; width: 1.7em; height: 1.7em; place-items: center; color: #fff; background: var(--demo-teal); border-radius: .25em; font-style: normal; }
.demo-company-list { margin: .75em 1.4em; overflow: hidden; border: 1px solid var(--demo-line); }
.demo-company-list .demo-table-row { margin: 0; padding: .52em .9em; border: 0; border-bottom: 1px solid var(--demo-line); }
.demo-company-list .demo-table-row:last-child { border-bottom: 0; }
.demo-company-list .demo-table-row.selected { background: #f0faf8; }
.demo-checkbox.empty { color: transparent; background: #fff; border: 1px solid #b7cbc8; }
.demo-modal-foot { display: flex; align-items: center; justify-content: flex-end; gap: 1.2em; padding: 1.1em 1.4em; border-top: 1px solid var(--demo-line); }
.demo-modal-foot span { color: var(--demo-muted); }
.demo-modal-foot button, .demo-next, .message-side button, .send-action button { padding: .85em 1.45em; color: #fff; background: var(--demo-teal); border-radius: .3em; font-weight: 700; }
.demo-cursor {
  position: absolute;
  z-index: 12;
  width: 1.9em;
  height: 2.35em;
  filter:
    drop-shadow(-1px 0 #fff)
    drop-shadow(1px 0 #fff)
    drop-shadow(0 -1px #fff)
    drop-shadow(0 1px #fff)
    drop-shadow(0 .25em .18em rgba(0,0,0,.22));
  transform: scale(1);
  transform-origin: .12em .12em;
  will-change: left, top, opacity, transform;
}
.demo-cursor::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #123f43;
  clip-path: polygon(0 0, 0 78%, 27% 57%, 44% 94%, 59% 87%, 42% 52%, 72% 52%);
}
.demo-page-head { display: flex; align-items: center; justify-content: space-between; gap: 2em; margin-bottom: 1.6em; }
.demo-page-head small { display: block; margin-bottom: .3em; color: var(--demo-muted); font-weight: 700; }
.demo-page-head h4 { font-size: 1.85em; }
.demo-page-head > span:not(.demo-status) { color: var(--demo-muted); }
.demo-status { display: inline-flex; align-items: center; padding: .45em .8em; color: #1d6e5e; background: #def3eb; border-radius: .25em; font-weight: 700; }
.demo-status::before { content: "✓"; margin-right: .4em; }
.demo-status.waiting { color: #657a7d; background: #eef3f2; }
.demo-status.waiting::before { content: "○"; }
.analysis-ready-card { padding: 1.6em; border: 1px solid var(--demo-line); box-shadow: 0 .8em 2.6em rgba(8,47,51,.08); }
.analysis-company-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; }
.analysis-company-row > div, .analysis-preview { padding: 1.2em; background: #f7fbfa; }
.analysis-company-row small, .analysis-preview > small { display: block; margin-bottom: .55em; color: var(--demo-muted); font-weight: 700; }
.analysis-company-row strong, .analysis-company-row span { display: block; margin-bottom: .4em; }
.analysis-company-row span { color: var(--demo-muted); }
.analysis-preview { margin-top: 1em; }
.analysis-start { display: block; min-width: 20em; margin: 1.35em 0 0 auto; padding: 1em 1.5em; color: #fff; background: var(--demo-teal); border-radius: .3em; font-weight: 700; }
.demo-process-screen { display: grid; place-content: center; justify-items: center; width: 100%; text-align: center; background: #f8fcfb; }
.demo-process-screen > strong { margin: 1.5em 0 .55em; font-size: 1.7em; }
.demo-process-screen > p { color: var(--demo-muted); }
.demo-process-ring { position: relative; width: 7em; height: 7em; }
.demo-process-ring i { position: absolute; inset: 0; border: .35em solid #d9ece9; border-top-color: var(--demo-teal); border-radius: 50%; animation: demoSpin 1.1s linear infinite; }
.demo-process-ring i:nth-child(2) { inset: 1.2em; border-width: .3em; border-top-color: #51b8ae; animation-duration: .8s; animation-direction: reverse; }
.demo-process-ring i:nth-child(3) { inset: 2.4em; border-width: .25em; border-top-color: #93d6cf; animation-duration: .6s; }
.demo-process-steps { display: flex; gap: 1em; margin-top: 2em; color: #557174; }
.demo-process-steps span { padding: .55em .8em; border: 1px solid var(--demo-line); background: #fff; }
.analysis-progress { height: .45em; margin-bottom: 1em; overflow: hidden; background: #edf3f2; }
.analysis-progress span { display: block; width: 0; height: 100%; background: var(--demo-teal); animation: analysisProgress 20s ease infinite; }
.analysis-scroll { height: 47em; overflow: hidden; animation: none; }
.analysis-source-note { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-bottom: .55em; padding: .48em .8em; color: #5f777a; border-left: .3em solid var(--demo-teal); background: #f3f9f8; }
.analysis-source-note strong { color: var(--demo-teal); }
.analysis-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55em; margin-bottom: .55em; }
.analysis-summary span { padding: .52em .75em; border: 1px solid var(--demo-line); background: #f8fbfa; }
.analysis-summary small, .analysis-summary strong { display: block; }
.analysis-summary small { color: var(--demo-muted); }
.analysis-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7em; }
.analysis-grid section { min-height: 8.3em; padding: .82em 1em; border: 1px solid var(--demo-line); background: #fff; opacity: 0; transform: translateY(.8em); animation: analysisCard 20s ease infinite; }
.analysis-grid section:nth-child(2) { animation-delay: .12s; }
.analysis-grid section:nth-child(3) { animation-delay: .24s; }
.analysis-grid section:nth-child(4) { animation-delay: .36s; }
.analysis-grid section:nth-child(5) { animation-delay: .48s; }
.analysis-grid section:nth-child(6) { animation-delay: .60s; }
.analysis-grid section:nth-child(7) { animation-delay: .72s; }
.analysis-grid section small, .message-side small, .send-preview small, .send-action small, .history-summary-cards small, .history-message-detail small { display: block; margin-bottom: .25em; color: var(--demo-muted); font-weight: 700; }
.analysis-grid section strong { display: block; margin-bottom: .22em; font-size: 1.02em; }
.analysis-grid section p { margin: 0; color: #60777a; line-height: 1.42; }
.analysis-grid .analysis-wide { grid-column: 1 / -1; min-height: 7em; }
.analysis-angle { border-left: .35em solid var(--demo-teal) !important; background: #f7fbfa !important; }
.analysis-detail-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65em; margin-top: .75em; }
.analysis-detail-points span { padding: .55em .65em; color: #587174; border: 1px solid #cfe3e0; background: #fff; line-height: 1.4; }
.analysis-detail-points b { display: block; margin-bottom: .18em; color: var(--demo-teal); }
.demo-tags { display: flex; gap: .4em; flex-wrap: wrap; }
.demo-tags span { padding: .26em .52em; color: var(--demo-teal); background: #e2f5f2; border-radius: .2em; }

.demo-stepper-wide { margin-bottom: 1.8em; }
.demo-page-head.compact { margin-bottom: 1.2em; }
.demo-page-head.compact h4 { font-size: 1.7em; }
.template-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 1.2em; color: #84999b; border: 1px solid var(--demo-line); text-align: center; }
.template-tabs > * { padding: .75em; }
.template-tabs strong { color: var(--demo-ink); background: #f7fbfa; box-shadow: inset 0 -.25em var(--demo-teal); }
.template-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4em; }
.template-grid section { position: relative; min-height: 12.5em; padding: 1.4em; border: 1px solid var(--demo-line); background: #fff; }
.template-grid section.selected { border: 2px solid var(--demo-teal); background: #e4f5f3; animation: selectedTemplate 20s ease infinite; }
.template-grid section > i { position: absolute; top: 1em; right: 1em; padding: .35em .65em; color: #fff; background: var(--demo-teal); border-radius: .2em; font-style: normal; font-size: .8em; }
.template-grid section small, .template-grid section strong { display: block; margin-bottom: 1em; }
.template-grid section small { font-size: 1.12em; font-weight: 700; }
.template-grid section p { color: #5b7376; line-height: 1.85; }
.template-grid mark { padding: .05em .25em; color: #9c6419; background: #fff0ca; }
.demo-next { float: right; margin-top: 1.2em; }
.demo-generation-lines { display: grid; gap: .7em; width: 31em; margin-top: 2.2em; }
.demo-generation-lines span { height: .8em; background: linear-gradient(90deg, #dfecea 20%, #b9dfda 45%, #dfecea 70%); background-size: 220% 100%; animation: generationShimmer 1.25s linear infinite; }
.demo-generation-lines span:nth-child(2) { width: 92%; }
.demo-generation-lines span:nth-child(3) { width: 76%; }
.demo-generation-lines span:nth-child(4) { width: 58%; }
.message-layout, .send-layout { display: grid; grid-template-columns: minmax(0, 1fr) 15em; gap: 1.4em; }
.message-editor, .message-side, .send-preview, .send-action { border: 1px solid var(--demo-line); background: #fff; }
.message-editor { padding: 1.2em; }
.message-editor label { display: block; margin: 0 0 .45em; color: var(--demo-muted); font-weight: 700; }
.demo-input, .demo-textarea { padding: .85em 1em; border: 1px solid var(--demo-line); background: #fff; }
.demo-input { margin-bottom: 1em; }
.demo-textarea { min-height: 34em; max-height: 34em; overflow: hidden; color: #486467; line-height: 1.55; }
.demo-textarea strong { color: var(--demo-ink); }
.demo-long-message { font-size: .98em; }
.demo-long-message p { margin: 0 0 .62em; }
.manual-edit-line { position: relative; display: inline-block; min-width: 20em; background: linear-gradient(transparent 55%, #bcebe5 55%); }
.manual-edit-line > span { transition: none; }
.edit-after { position: absolute; inset: 0 auto auto 0; opacity: 0; animation: editAfter 20s ease infinite; }
.edit-before { opacity: 1; animation: editBefore 20s ease infinite; }
.manual-edit-line > i { display: inline-block; width: 1px; height: 1.2em; margin-left: .15em; background: var(--demo-teal); vertical-align: -.2em; opacity: 0; animation: editCaret 20s steps(1,end) infinite; }
.message-side, .send-action { display: flex; flex-direction: column; padding: 1.35em; }
.message-side strong { margin-bottom: 1.2em; }
.message-side > span { margin-bottom: 1.5em; color: var(--demo-muted); line-height: 1.7; }
.message-side button { position: relative; min-height: 3.2em; margin-top: 0; overflow: hidden; }
.message-side button i, .message-side button b { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; }
.message-side button i { opacity: 1; animation: confirmBefore 20s ease infinite; }
.message-side button b { opacity: 0; animation: confirmAfter 20s ease infinite; }
.message-confirmed-toast { position: absolute; right: 2.4em; bottom: 1.5em; padding: .8em 1.15em; color: #176b5a; border: 1px solid #a8d9cf; background: #e5f7f1; box-shadow: 0 .6em 1.8em rgba(8,47,51,.12); opacity: 0; transform: translateY(1em); animation: messageConfirmed 20s ease infinite; }

.demo-status.ready { color: var(--demo-teal); background: #e0f3f1; }
.send-preview { display: grid; grid-template-columns: .82fr 1.18fr; gap: 1.2em; padding: 1.2em; }
.send-preview > div { min-width: 0; padding: 1.1em; background: #f8fbfa; }
.send-preview strong, .send-preview span { display: block; margin-bottom: .7em; }
.send-preview span, .send-preview p { color: var(--demo-muted); }
.send-company-list > span { display: flex; align-items: center; justify-content: space-between; gap: .6em; padding: .55em 0; border-bottom: 1px solid var(--demo-line); }
.send-company-list > span:last-child { border-bottom: 0; }
.send-company-list > span strong { margin: 0; color: var(--demo-ink); }
.send-company-list > span em { flex: none; color: var(--success); font-style: normal; font-size: .78em; }
.send-message-preview > strong { color: var(--demo-ink); line-height: 1.45; }
.send-message-preview p { margin: .55em 0; line-height: 1.5; }
.send-action strong { margin-bottom: .5em; font-size: 2.1em; }
.send-action span { margin-bottom: auto; color: var(--success); }
.send-action button { margin-top: 2em; }
.send-toast { position: absolute; left: 50%; bottom: 3em; z-index: 10; width: 28em; height: 4.5em; color: #fff; background: #063e43; box-shadow: 0 1em 2.8em rgba(8,47,51,.22); transform: translate(-50%, 7em); animation: sendToast 20s ease infinite; }
.send-toast > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .8em; opacity: 0; }
.toast-progress { animation: toastProgress 20s ease infinite; }
.toast-complete { color: #d5fff5; animation: toastComplete 20s ease infinite; }
.toast-progress i { width: 1.2em; height: 1.2em; border: .2em solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: demoSpin .8s linear infinite; }
.history-workspace { padding-top: 2.4em; }
.history-list-head { display: grid; grid-template-columns: 1.3fr .8fr 1fr .5fr; gap: 1em; padding: .8em 1.4em; color: var(--demo-muted); background: #f6faf9; border: 1px solid var(--demo-line); border-bottom: 0; }
.history-row { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: .75em 1.1em; border: 1px solid var(--demo-line); box-shadow: 0 .25em .7em rgba(8,47,51,.05); opacity: 0; transform: translateY(-.7em); animation: historyRow 20s ease infinite; }
.history-row + .history-row { border-top: 0; }
.history-row > div { display: grid; grid-template-columns: 1.3fr .8fr 1fr; align-items: center; gap: 1.1em; flex: 1; }
.history-row button, .history-back { padding: .5em .85em; color: var(--demo-teal); background: transparent; border: 1px solid #9ecac5; }
.history-breadcrumb { margin-bottom: .7em; color: var(--demo-muted); }
.history-detail-workspace { padding-top: 1.7em; }
.history-summary-cards { display: grid; grid-template-columns: .8fr 1.35fr 1fr; gap: .9em; }
.history-summary-cards > div { padding: 1.1em; border: 1px solid var(--demo-line); background: #f8fbfa; }
.history-summary-cards strong { display: block; font-size: .95em; }
.history-message-detail { height: 40em; margin-top: 1em; padding: 1.2em; overflow: hidden; border: 1px solid var(--demo-line); }
.history-message-detail > strong { display: block; margin-bottom: .7em; }
.history-message-detail p { color: #526d70; line-height: 1.65; }
.history-message-body { max-width: 92%; font-size: .94em; }
.history-message-body p { margin: 0 0 .68em; line-height: 1.52; }
.success-text { color: var(--success); }

.demo-analysis .demo-scene-target { opacity: 1; animation: analysisTargetScene 20s ease infinite; }
.demo-analysis .demo-scene-analysis-ready { opacity: 0; animation: analysisReadyScene 20s ease infinite; }
.demo-analysis .demo-scene-analysis-running { opacity: 0; animation: analysisRunningScene 20s ease infinite; }
.demo-analysis .demo-scene-analysis { opacity: 0; animation: analysisResultScene 20s ease infinite; }
.demo-writing .demo-scene-template { opacity: 1; animation: writingTemplateScene 20s ease infinite; }
.demo-writing .demo-scene-generating { opacity: 0; animation: writingGeneratingScene 20s ease infinite; }
.demo-writing .demo-scene-message { opacity: 0; animation: writingMessageScene 20s ease infinite; }
.demo-sending .demo-scene-send { opacity: 1; animation: sendingScene 20s ease infinite; }
.demo-sending .demo-scene-history { opacity: 0; animation: sendingHistoryScene 20s ease infinite; }
.demo-sending .demo-scene-history-detail { opacity: 0; animation: sendingDetailScene 20s ease infinite; }
.demo-cursor-target {
  --cursor-start-x: 55%; --cursor-start-y: 25%;
  --cursor-point-1-x: 22.76%; --cursor-point-1-y: 38.17%;
  --cursor-pre-point-2-x: 82%; --cursor-pre-point-2-y: 58%;
  --cursor-point-2-x: 92.83%; --cursor-point-2-y: 68.2%;
  left: var(--cursor-start-x); top: var(--cursor-start-y); animation: cursorTarget 20s linear infinite;
}
.demo-cursor-analysis {
  --cursor-start-x: 68%; --cursor-start-y: 23%;
  --cursor-point-1-x: 88.65%; --cursor-point-1-y: 42.6%;
  left: var(--cursor-start-x); top: var(--cursor-start-y); animation: cursorAnalysis 20s linear infinite;
}
.demo-cursor-template {
  --cursor-start-x: 55%; --cursor-start-y: 16%;
  --cursor-point-1-x: 74.32%; --cursor-point-1-y: 33.37%;
  --cursor-pre-point-2-x: 83%; --cursor-pre-point-2-y: 39%;
  --cursor-point-2-x: 94.11%; --cursor-point-2-y: 47.05%;
  left: var(--cursor-start-x); top: var(--cursor-start-y); animation: cursorTemplate 20s linear infinite;
}
.demo-cursor-message {
  --cursor-start-x: 50%; --cursor-start-y: 30%;
  --cursor-point-1-x: 14.18%; --cursor-point-1-y: 47.5%;
  --cursor-pre-point-2-x: 82%; --cursor-pre-point-2-y: 35%;
  --cursor-point-2-x: 92.06%; --cursor-point-2-y: 38.02%;
  left: var(--cursor-start-x); top: var(--cursor-start-y); animation: cursorMessage 20s linear infinite;
}
.demo-cursor-send {
  --cursor-start-x: 82%; --cursor-start-y: 20%;
  --cursor-point-1-x: 92.06%; --cursor-point-1-y: 42.99%;
  left: var(--cursor-start-x); top: var(--cursor-start-y); animation: cursorSend 20s linear infinite;
}
.demo-cursor-history {
  --cursor-start-x: 82%; --cursor-start-y: 10%;
  --cursor-point-1-x: 94.19%; --cursor-point-1-y: 20.02%;
  left: var(--cursor-start-x); top: var(--cursor-start-y); animation: cursorHistory 20s linear infinite;
}

@keyframes analysisTargetScene { 0%, 23% { opacity: 1; transform: translateX(0); } 27%, 96% { opacity: 0; transform: translateX(-2%); } 100% { opacity: 1; transform: translateX(0); } }
@keyframes analysisReadyScene { 0%, 21% { opacity: 0; transform: translateX(2%); } 26%, 40% { opacity: 1; transform: translateX(0); } 44%, 100% { opacity: 0; transform: translateX(-2%); } }
@keyframes analysisRunningScene { 0%, 39% { opacity: 0; } 43%, 55% { opacity: 1; } 59%, 100% { opacity: 0; } }
@keyframes analysisResultScene { 0%, 54% { opacity: 0; transform: translateX(2%); } 59%, 96% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; } }
@keyframes writingTemplateScene { 0%, 30% { opacity: 1; transform: translateX(0); } 35%, 96% { opacity: 0; transform: translateX(-2%); } 100% { opacity: 1; } }
@keyframes writingGeneratingScene { 0%, 29% { opacity: 0; } 34%, 49% { opacity: 1; } 54%, 100% { opacity: 0; } }
@keyframes writingMessageScene { 0%, 49% { opacity: 0; transform: translateX(2%); } 54%, 96% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; } }
@keyframes sendingScene { 0%, 35% { opacity: 1; transform: translateX(0); } 40%, 96% { opacity: 0; transform: translateX(-2%); } 100% { opacity: 1; } }
@keyframes sendingHistoryScene { 0%, 34% { opacity: 0; transform: translateX(2%); } 39%, 64% { opacity: 1; transform: translateX(0); } 69%, 100% { opacity: 0; transform: translateX(-2%); } }
@keyframes sendingDetailScene { 0%, 64% { opacity: 0; transform: translateX(2%); } 69%, 96% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; } }
@keyframes cursorTarget {
  0%, 5% { left: var(--cursor-start-x); top: var(--cursor-start-y); opacity: 0; transform: scale(1); }
  7% { opacity: 1; }
  9% { left: var(--cursor-point-1-x); top: var(--cursor-point-1-y); opacity: 1; transform: scale(1); }
  10% { transform: scale(.78); }
  11%, 13% { left: var(--cursor-point-1-x); top: var(--cursor-point-1-y); opacity: 1; transform: scale(1); }
  14% { opacity: 0; }
  15% { left: var(--cursor-pre-point-2-x); top: var(--cursor-pre-point-2-y); opacity: 0; }
  17% { opacity: 1; }
  19% { left: var(--cursor-point-2-x); top: var(--cursor-point-2-y); opacity: 1; transform: scale(1); }
  20% { transform: scale(.78); }
  21% { transform: scale(1); }
  22%, 100% { opacity: 0; }
}
@keyframes cursorAnalysis {
  0%, 29% { left: var(--cursor-start-x); top: var(--cursor-start-y); opacity: 0; transform: scale(1); }
  32% { opacity: 1; }
  34% { left: var(--cursor-point-1-x); top: var(--cursor-point-1-y); opacity: 1; transform: scale(1); }
  35% { transform: scale(.78); }
  36% { transform: scale(1); }
  38%, 100% { opacity: 0; }
}
@keyframes cursorTemplate {
  0%, 5% { left: var(--cursor-start-x); top: var(--cursor-start-y); opacity: 0; transform: scale(1); }
  8% { opacity: 1; }
  10% { left: var(--cursor-point-1-x); top: var(--cursor-point-1-y); opacity: 1; transform: scale(1); }
  11% { transform: scale(.78); }
  12%, 17% { left: var(--cursor-point-1-x); top: var(--cursor-point-1-y); opacity: 1; transform: scale(1); }
  18% { opacity: 0; }
  19% { left: var(--cursor-pre-point-2-x); top: var(--cursor-pre-point-2-y); opacity: 0; }
  22% { opacity: 1; }
  24% { left: var(--cursor-point-2-x); top: var(--cursor-point-2-y); opacity: 1; transform: scale(1); }
  25% { transform: scale(.78); }
  26% { transform: scale(1); }
  28%, 100% { opacity: 0; }
}
@keyframes cursorMessage {
  0%, 60% { left: var(--cursor-start-x); top: var(--cursor-start-y); opacity: 0; transform: scale(1); }
  63% { opacity: 1; }
  65% { left: var(--cursor-point-1-x); top: var(--cursor-point-1-y); opacity: 1; transform: scale(1); }
  66% { transform: scale(.78); }
  67% { transform: scale(1); }
  69% { opacity: 0; }
  78% { left: var(--cursor-pre-point-2-x); top: var(--cursor-pre-point-2-y); opacity: 0; }
  81% { opacity: 1; }
  83% { left: var(--cursor-point-2-x); top: var(--cursor-point-2-y); opacity: 1; transform: scale(1); }
  85% { transform: scale(.78); }
  86% { transform: scale(1); }
  89%, 100% { opacity: 0; }
}
@keyframes cursorSend {
  0%, 9% { left: var(--cursor-start-x); top: var(--cursor-start-y); opacity: 0; transform: scale(1); }
  12% { opacity: 1; }
  14% { left: var(--cursor-point-1-x); top: var(--cursor-point-1-y); opacity: 1; transform: scale(1); }
  15% { transform: scale(.78); }
  16% { transform: scale(1); }
  19%, 100% { opacity: 0; }
}
@keyframes cursorHistory {
  0%, 47% { left: var(--cursor-start-x); top: var(--cursor-start-y); opacity: 0; transform: scale(1); }
  50% { opacity: 1; }
  52% { left: var(--cursor-point-1-x); top: var(--cursor-point-1-y); opacity: 1; transform: scale(1); }
  53% { transform: scale(.78); }
  54% { transform: scale(1); }
  57%, 100% { opacity: 0; }
}
@keyframes analysisProgress { 0%, 56% { width: 0; } 65%, 100% { width: 100%; } }
@keyframes analysisCard { 0%, 57% { opacity: 0; transform: translateY(.8em); } 66%, 100% { opacity: 1; transform: translateY(0); } }
@keyframes analysisScroll { 0%, 76% { transform: translateY(0); } 88%, 96% { transform: translateY(-11.5em); } 100% { transform: translateY(0); } }
@keyframes selectedTemplate { 0%, 7% { box-shadow: none; } 12%, 20% { box-shadow: 0 0 0 .45em rgba(0,132,141,.12); } 27%, 100% { box-shadow: none; } }
@keyframes generationShimmer { to { background-position: -220% 0; } }
@keyframes editBefore { 0%, 66% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes editAfter { 0%, 66% { opacity: 0; } 72%, 100% { opacity: 1; } }
@keyframes editCaret { 0%, 62% { opacity: 0; } 64%, 74% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes confirmBefore { 0%, 85% { opacity: 1; } 88%, 100% { opacity: 0; } }
@keyframes confirmAfter { 0%, 85% { opacity: 0; } 88%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes messageConfirmed { 0%, 86% { opacity: 0; transform: translateY(1em); } 90%, 96% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; } }
@keyframes sendToast { 0%, 17% { transform: translate(-50%, 7em); } 22%, 34% { transform: translate(-50%, 0); } 38%, 100% { transform: translate(-50%, 7em); } }
@keyframes toastProgress { 0%, 20% { opacity: 0; } 23%, 28% { opacity: 1; } 30%, 100% { opacity: 0; } }
@keyframes toastComplete { 0%, 28% { opacity: 0; } 30%, 35% { opacity: 1; } 38%, 100% { opacity: 0; } }
@keyframes demoSpin { to { transform: rotate(360deg); } }
@keyframes historyRow { 0%, 36% { opacity: 0; transform: translateY(-.7em); } 42%, 100% { opacity: 1; transform: translateY(0); } }

.difference { background: #f5f9f8; border-block: 1px solid var(--line); }
.difference-grid { display: grid; grid-template-columns: minmax(480px, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.difference .section-head { margin-bottom: 0; }
.difference .section-head h2 { font-size: clamp(2rem, 2.35vw, 2.2rem); }
.comparison { border-top: 2px solid var(--ink); background: #fff; }
.comparison-row { display: grid; grid-template-columns: .65fr 1fr 1.15fr; border-bottom: 1px solid var(--line); }
.comparison-row > * { padding: 17px 18px; border-right: 1px solid var(--line); }
.comparison-row > *:last-child { border-right: 0; }
.comparison-row > span:first-child { color: var(--ink); font-weight: 700; }
.comparison-row > span:nth-child(2) { color: #6a7d7f; }
.comparison-row > strong { color: var(--brand-deep); background: #f0faf8; }
.comparison-head { color: #fff; background: var(--ink); font-size: .8rem; }
.comparison-head > * { color: #fff !important; background: transparent !important; }

.assurance { color: #fff; background: var(--ink); }
.assurance-grid { display: grid; grid-template-columns: minmax(500px, .9fr) minmax(0, 1.1fr); gap: 64px; }
.assurance-title h2 { color: #fff; }
.assurance-title h2 { font-size: clamp(2rem, 2.35vw, 2.2rem); }
.assurance-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #3c6568; }
.assurance-body > div { padding: 28px 28px 30px 0; border-bottom: 1px solid #3c6568; }
.assurance-body > div + div { padding-left: 28px; border-left: 1px solid #3c6568; }
.assurance-body span { color: #8edbd6; font-family: Inter, sans-serif; font-size: .75rem; font-weight: 700; }
.assurance-body h3 { margin: 14px 0 8px; font-size: 1.25rem; }
.assurance-body p { margin: 0; color: #c6d7d8; font-size: .9rem; }
.assurance-note { grid-column: 1 / -1; margin: 24px 0 0 !important; padding-left: 18px; border-left: 3px solid #78d0ca; color: #9eb7b9 !important; font-size: .8rem !important; }

.usecase { background: #fff; }
.usecase .section-head { max-width: none; }
.usecase .section-head h2 { font-size: clamp(2rem, 3vw, 2.7rem); }
.usecase .section-lead { font-size: clamp(.85rem, 1.25vw, 1.05rem); }
.usecase-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 2px solid var(--ink); }
.usecase-item { padding: 34px 30px; border-right: 1px solid var(--line); }
.usecase-item:last-child { border-right: 0; }
.usecase-item > span { display: inline-block; margin-bottom: 24px; padding: 5px 9px; color: var(--brand-deep); background: var(--paper-mint); border-radius: 3px; font-size: .75rem; font-weight: 700; }
.usecase-item h3 { margin: 0 0 12px; font-size: 1.3rem; }
.usecase-item p { margin: 0; color: var(--ink-soft); }

.cta-final { position: relative; overflow: hidden; color: #fff; background: var(--brand-deep); }
.cta-angle { position: absolute; top: -45%; right: -8%; width: 38%; height: 190%; background: #08757c; transform: skewX(-12deg); }
.cta-grid { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: 64px; align-items: center; }
.cta-final h2 { margin-bottom: 0; color: #fff; }
.cta-final h2 { font-size: clamp(2rem, 2.4vw, 2.25rem); }
.cta-action { padding-left: 36px; border-left: 1px solid rgba(255,255,255,.32); }
.cta-action p { margin: 0 0 24px; color: #d5eeee; }

.site-footer { padding-block: 42px; color: #becdce; background: #061f22; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.brand-footer { color: #fff; }
.brand-footer .brand-mark { width: 40px; height: 40px; }
.footer-brand > p { margin: 12px 0 0; font-size: .825rem; }
.footer-links { display: flex; align-items: center; gap: 22px; color: #fff; font-size: .875rem; font-weight: 700; }
.footer-links a { color: #fff; }
.footer-links a:hover,
.footer-links a[aria-current="page"] { color: #8edbd6; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .product-demo * { animation: none !important; }
  .demo-scene-target, .demo-scene-analysis-ready, .demo-scene-analysis-running,
  .demo-scene-template, .demo-scene-generating, .demo-scene-send, .demo-scene-history { display: none; }
  .demo-scene-analysis, .demo-scene-message, .demo-scene-history-detail { opacity: 1; transform: none; }
  .analysis-progress span { width: 100%; }
  .analysis-scroll { transform: none; }
  .analysis-grid section, .history-row { opacity: 1; transform: none; }
  .edit-before { opacity: 0; }
  .edit-after, .message-side button b { opacity: 1; }
  .message-side button i { opacity: 0; }
  .demo-cursor, .send-toast { display: none; }
}

@media (max-width: 1180px) {
  .problem-grid, .difference-grid, .assurance-grid, .cta-grid { grid-template-columns: 1fr; gap: 46px; }
  .problem .section-head { position: static; }
  .problem .section-head h2,
  .difference .section-head h2,
  .assurance-title h2,
  .solution-intro h2,
  .cta-final h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
  .cta-action { padding-left: 0; border-left: 0; }
}

@media (max-width: 1000px) {
  .header-nav { display: none; }
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-angle { width: 76%; }
  .hero-copy { max-width: 760px; }
  .hero-macbook { width: min(100%, 720px); margin-left: 0; }
  .process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-list li:nth-child(3) { border-right: 0; }
  .process-list li:nth-child(-n+3) { border-bottom: 1px solid #b7d4d0; }
  .process-list li:nth-child(3)::after { display: none; }
  .feature-showcase { grid-template-columns: 1fr; gap: 30px; padding-block: 56px; }
  .feature-showcase-reverse { grid-template-columns: 1fr; }
  .feature-showcase-reverse .feature-showcase-copy,
  .feature-showcase-reverse .feature-product-shot { grid-row: auto; grid-column: auto; }
  .feature-showcase-copy { max-width: 44rem; }
  .comparison { font-size: .9rem; }
  .assurance-grid { gap: 24px; }
}

@media (max-width: 700px) {
  .wrap { padding-inline: 20px; }
  .section { padding-block: 72px; }
  .header-inner { min-height: 68px; padding-inline: 20px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-footer .brand-mark { width: 36px; height: 36px; }
  .brand-logo { width: 170px; height: 40px; }
  .brand-name { font-size: 1.05rem; }
  .header-cta { min-height: 42px; padding-inline: 14px; font-size: .78rem; }
  .hero { padding-block: 64px 66px; }
  .hero-angle { top: -6%; left: -34%; width: 115%; height: 75%; }
  .hero-title { font-size: 2.25rem; line-height: 1.24; letter-spacing: 0; }
  .hero-line { white-space: normal; }
  .hero-sub { font-size: .98rem; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .text-link { margin-inline: auto; }
  .hero-macbook { padding-bottom: 12px; }
  .macbook-display { padding: 11px 8px 8px; border-radius: 13px 13px 5px 5px; }
  .macbook-camera { top: 4px; width: 3px; height: 3px; }
  .macbook-base { right: -3%; bottom: 4px; left: -3%; height: 9px; }
  .hero-product-ui { font-size: clamp(4px, 1.35vw, 6.4px); }
  .section-head h2, .solution-intro h2, .assurance h2, .cta-final h2 { font-size: 2rem; }
  .fixed-line { white-space: normal; }
  .desktop-single-line { white-space: normal; }
  .problem-item { grid-template-columns: 38px 1fr; gap: 14px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: 0; padding: 20px 16px 20px 58px; border-right: 0; border-bottom: 1px solid #b7d4d0; }
  .process-list li:last-child { border-bottom: 0; }
  .process-list li:nth-child(-n+3) { border-bottom: 1px solid #b7d4d0; }
  .process-list li::after { content: "↓" !important; top: auto !important; right: auto !important; bottom: -12px !important; left: 20px !important; width: 24px !important; transform: none !important; }
  .process-list li:last-child::after { display: none; }
  .process-list span { position: absolute; top: 21px; left: 17px; }
  .process-list strong { margin-bottom: 3px; }
  .feature-showcase { gap: 26px; padding-block: 42px; }
  .feature-showcase h3 { font-size: 1.65rem; }
  .feature-title-two-lines { font-size: 1.5rem !important; }
  .feature-product-shot { padding: 8px; box-shadow: 7px 7px 0 var(--paper-mint-strong); }
  .product-demo {
    aspect-ratio: 4 / 3;
    font-size: clamp(4.6px, 1.4cqw, 5.6px);
  }
  .demo-cursor { width: 2.5em; height: 3.1em; }
  .demo-cursor-target {
    --cursor-start-x: 52%; --cursor-start-y: 45%;
    --cursor-point-1-x: 25.2%; --cursor-point-1-y: 46.99%;
    --cursor-pre-point-2-x: 76%; --cursor-pre-point-2-y: 75%;
    --cursor-point-2-x: 92%; --cursor-point-2-y: 85.31%;
  }
  .demo-cursor-analysis {
    --cursor-start-x: 65%; --cursor-start-y: 45%;
    --cursor-point-1-x: 86.9%; --cursor-point-1-y: 51.43%;
  }
  .demo-cursor-template {
    --cursor-start-x: 55%; --cursor-start-y: 36%;
    --cursor-point-1-x: 74.56%; --cursor-point-1-y: 40.23%;
    --cursor-pre-point-2-x: 80%; --cursor-pre-point-2-y: 65%;
    --cursor-point-2-x: 93.66%; --cursor-point-2-y: 57%;
  }
  .demo-cursor-message {
    --cursor-start-x: 42%; --cursor-start-y: 50%;
    --cursor-point-1-x: 16.59%; --cursor-point-1-y: 57.97%;
    --cursor-pre-point-2-x: 78%; --cursor-pre-point-2-y: 43%;
    --cursor-point-2-x: 92.15%; --cursor-point-2-y: 45.72%;
  }
  .demo-cursor-send {
    --cursor-start-x: 78%; --cursor-start-y: 40%;
    --cursor-point-1-x: 92.15%; --cursor-point-1-y: 51.03%;
  }
  .demo-cursor-history {
    --cursor-start-x: 78%; --cursor-start-y: 18%;
    --cursor-point-1-x: 93.53%; --cursor-point-1-y: 23.71%;
  }
  .demo-sidebar { flex-basis: 20%; padding-inline: .8em; }
  .demo-sidebar span { padding-inline: .5em; }
  .demo-workspace, .demo-full-workspace { padding: 1.6em; }
  .demo-stepper { gap: .6em; }
  .message-layout, .send-layout { grid-template-columns: minmax(0, 1fr) 13em; }
  .comparison-row { grid-template-columns: 1fr 1fr; }
  .comparison-row > * { padding: 14px 12px; }
  .comparison-row > span:first-child { grid-column: 1 / -1; padding-block: 9px; border-right: 0; background: #eaf5f3; font-size: .75rem; }
  .comparison-head > :first-child { display: none; }
  .comparison-head > span:nth-child(2),
  .comparison-head > strong { grid-column: auto; padding-block: 13px; background: var(--ink) !important; }
  .assurance-body { grid-template-columns: 1fr; }
  .assurance-body > div + div { padding-left: 0; border-left: 0; }
  .assurance-note { grid-column: auto; }
  .usecase-list { grid-template-columns: 1fr; }
  .usecase-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .usecase-item:last-child { border-bottom: 0; }
  .cta-angle { right: -55%; width: 100%; }
  .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-action { padding: 0; border-left: 0; }
  .cta-action .btn { width: 100%; }
  .footer-inner { display: grid; }
  .footer-links { align-items: flex-start; flex-direction: column; gap: 10px; }
}
