:root {
  --canvas: #faf7ef;
  --surface: #fffdf8;
  --surface-blue: #eaf0ff;
  --ink: #19233b;
  --muted: #646d80;
  --line: #dcd9cf;
  --line-blue: #becbec;
  --cobalt: #3156a3;
  --cobalt-dark: #1f3e7f;
  --yellow: #f7d86a;
  --coral: #f38b72;
  --coral-ink: #9c4737;
  --green: #2f775c;
  --radius: 20px;
  --page: 1180px;
  --shadow-product: 0 26px 70px rgba(35, 54, 94, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cobalt-dark);
  outline-offset: 4px;
}

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

h1,
h2,
h3,
.story-ending {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.hero-lead,
.section-heading > p,
.safety-lead,
.story-intro > p:last-child,
.story-copy p,
.release-detail > p {
  text-wrap: balance;
}

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

.section-block {
  padding: 116px 0;
  scroll-margin-top: 92px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.eyebrow {
  margin-bottom: 18px;
  color: var(--cobalt);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(49, 86, 163, 0.1);
  background: rgba(250, 247, 239, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 28px;
}

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

.brand-avatar {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
}

.brand-avatar img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.08;
}

.brand-copy strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
}

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

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #4f586c;
  font-size: 0.88rem;
  font-weight: 650;
}

.site-nav a:hover,
.text-link:hover,
.footer-main nav a:hover {
  color: var(--cobalt);
}

.header-download {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--cobalt);
  color: white;
  font-size: 0.87rem;
  font-weight: 800;
}

.header-download:hover {
  background: var(--cobalt-dark);
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  display: grid;
  width: 44px;
  min-height: 44px;
  align-content: center;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.mobile-nav nav {
  position: absolute;
  top: 52px;
  right: 0;
  display: grid;
  width: min(280px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(25, 35, 59, 0.14);
}

.mobile-nav nav a {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  font-weight: 700;
}

.mobile-nav nav a:hover {
  background: var(--surface-blue);
}

.mobile-nav nav .download-cta {
  margin-top: 6px;
  justify-content: center;
  background: var(--cobalt);
  color: white;
}

.hero {
  min-height: min(780px, calc(100vh - 72px));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  padding-top: 72px;
  padding-bottom: 80px;
  scroll-margin-top: 92px;
}

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

.hero h1 {
  max-width: 730px;
  margin-bottom: 28px;
  font-size: clamp(3.65rem, 6vw, 6.4rem);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 30px;
  color: #4f586b;
  font-size: 1.12rem;
  line-height: 1.85;
}

.hero-actions,
.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button-primary {
  background: var(--cobalt);
  color: white;
}

.button-primary:hover {
  background: var(--cobalt-dark);
}

.button-quiet {
  border: 1px solid var(--line-blue);
  background: transparent;
  color: var(--cobalt-dark);
}

.button-quiet:hover {
  background: var(--surface-blue);
}

.preview-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 34px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.trust-list li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--green);
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  width: 100%;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 76% 72% at 51% 50%, #000 58%, transparent 96%);
  mask-image: radial-gradient(ellipse 76% 72% at 51% 50%, #000 58%, transparent 96%);
}

.section-heading {
  margin-bottom: 62px;
}

.section-heading h2,
.story-intro h2,
.safety-copy h2,
.release-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2.55rem, 4.7vw, 4.75rem);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 1.06;
  text-wrap: balance;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.66fr);
  align-items: end;
  gap: 80px;
}

.split-heading > p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.85;
}

.transformation-section {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.before-after-demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
  align-items: stretch;
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.file-panel {
  min-width: 0;
  padding: clamp(28px, 4vw, 52px);
}

.before-panel {
  background: #fffaf6;
}

.after-panel {
  background: #f5f8ff;
}

.panel-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-label i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.after-panel .panel-label i {
  background: var(--cobalt);
}

.file-panel h3 {
  margin-bottom: 30px;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.file-list,
.timeline-tree {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.file-list li,
.timeline-tree li {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(100, 109, 128, 0.13);
  font-size: 0.9rem;
}

.file-list .faded {
  opacity: 0.45;
  text-decoration: line-through;
}

.file-icon,
.tree-file {
  position: relative;
  width: 18px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 3px;
  background: var(--coral);
}

.file-icon::after,
.tree-file::after {
  content: "";
  position: absolute;
  top: 4px;
  right: -1px;
  border-width: 4px 0 0 4px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.75);
}

.file-icon.folder,
.tree-folder {
  width: 23px;
  height: 17px;
  border-radius: 3px;
  background: var(--cobalt);
}

.file-icon.folder::before,
.tree-folder::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 2px;
  width: 10px;
  height: 5px;
  border-radius: 3px 3px 0 0;
  background: inherit;
}

.file-icon.folder::after {
  display: none;
}

.tree-folder {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
}

.tree-file {
  width: 15px;
  height: 19px;
  background: #8498ca;
}

.timeline-tree .depth-one {
  padding-left: 30px;
}

.timeline-tree .depth-two {
  padding-left: 54px;
}

.timeline-tree .depth-three {
  padding-left: 80px;
  color: var(--muted);
}

.stays-note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-blue);
  color: var(--cobalt-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.confirm-bridge {
  display: grid;
  place-content: center;
  gap: 4px;
  border-inline: 1px solid var(--line);
  background: var(--canvas);
  color: var(--cobalt);
  text-align: center;
}

.confirm-bridge span {
  font-size: 0.7rem;
  font-weight: 800;
}

.confirm-bridge i {
  font-size: 2rem;
  font-style: normal;
}

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

.outcome-list div {
  padding: 24px 30px;
}

.outcome-list div + div {
  border-left: 1px solid var(--line);
}

.outcome-list dt {
  margin-bottom: 4px;
  font-weight: 800;
}

.outcome-list dd {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.workflow-section {
  background: var(--canvas);
}

.centered-heading {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.centered-heading > p:last-child {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--muted);
}

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

.workflow-list li {
  min-width: 0;
  padding: 32px 28px 38px;
}

.workflow-mascot {
  width: 112px;
  height: 112px;
  margin: 0 auto 22px;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(31, 62, 127, 0.09));
  transition: transform 180ms ease;
}

.workflow-list li:hover .workflow-mascot {
  transform: translateY(-4px);
}

.workflow-list li + li {
  border-left: 1px solid var(--line);
}

.workflow-list span {
  color: var(--cobalt);
  font-size: 0.73rem;
  font-weight: 850;
}

.workflow-list p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow-list h3 {
  margin: 4px 0 14px;
  font-size: 1.5rem;
}

.workflow-list small {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.75;
}

.product-section {
  background: var(--surface);
}

.app-window {
  overflow: clip;
  margin: 0;
  border: 1px solid #cfd5e1;
  border-radius: var(--radius);
  background: #f7f8fb;
  box-shadow: var(--shadow-product);
}

.window-bar {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid #d9dce4;
  background: #eff0f3;
}

.window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff6257;
}

.window-bar span:nth-child(2) {
  background: #ffc04c;
}

.window-bar span:nth-child(3) {
  background: #30c750;
}

.window-bar strong {
  position: absolute;
  left: 50%;
  color: #5e6572;
  font-size: 0.76rem;
  transform: translateX(-50%);
}

.product-shot-link {
  display: block;
  background: white;
}

.product-shot-link img {
  width: 100%;
}

.app-window figcaption {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 22px;
  padding: 10px 18px;
  color: var(--muted);
  font-size: 0.75rem;
}

.app-window figcaption span {
  color: var(--green);
  font-weight: 800;
}

.app-window figcaption strong {
  margin-right: auto;
}

.app-window figcaption a {
  color: var(--cobalt);
  font-weight: 800;
}

.product-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 36px 0 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.product-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 18px;
  padding: 0 24px 28px;
}

.product-points li + li {
  border-left: 1px solid var(--line);
}

.product-points strong {
  color: var(--cobalt);
}

.product-points span {
  color: var(--muted);
}

.safety-section {
  background: var(--cobalt-dark);
  color: white;
}

.safety-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(52px, 8vw, 112px);
}

.organizing-visual {
  margin: 0;
}

.organizing-visual img {
  width: 100%;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse, #000 58%, transparent 96%);
  mask-image: radial-gradient(ellipse, #000 58%, transparent 96%);
}

.safety-copy .eyebrow {
  color: var(--yellow);
}

.safety-copy h2 {
  color: white;
}

.safety-lead {
  max-width: 660px;
  margin: 28px 0 36px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.safety-list {
  margin-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.safety-list div {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  padding: 21px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.safety-list dt {
  font-weight: 800;
}

.safety-list dd {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--yellow);
  font-weight: 800;
}

.story-section {
  overflow: clip;
  background: #fbf4df;
}

.story-intro {
  max-width: 780px;
  margin-bottom: 84px;
}

.story-intro > p:last-child {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.story-scene {
  position: relative;
  display: grid;
  min-height: 610px;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
  padding: 36px 0;
}

.story-scene:nth-child(even) {
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.15fr);
}

.story-scene:nth-child(even) .story-art {
  order: 2;
}

.story-scene:nth-child(even) .story-copy {
  order: 1;
}

.story-art {
  position: relative;
  margin: 0;
}

.story-art::after {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    linear-gradient(to bottom, #fbf4df 0%, transparent 18%, transparent 82%, #fbf4df 100%),
    linear-gradient(to right, #fbf4df 0%, transparent 16%, transparent 84%, #fbf4df 100%);
  pointer-events: none;
}

.story-art img {
  width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 70% 64% at 50% 50%, #000 52%, transparent 94%);
  mask-image: radial-gradient(ellipse 70% 64% at 50% 50%, #000 52%, transparent 94%);
}

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

.story-copy h3 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.story-copy p {
  margin-bottom: 0;
  color: #596174;
  font-size: 1rem;
  line-height: 1.9;
}

.story-product-bridge {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  margin-top: 76px;
  padding-top: 36px;
  border-top: 1px solid rgba(49, 86, 163, 0.24);
}

.story-product-bridge > img {
  width: 150px;
  height: 150px;
  filter: drop-shadow(0 16px 18px rgba(31, 62, 127, 0.1));
}

.story-product-bridge .eyebrow {
  margin-bottom: 8px;
}

.story-ending {
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--cobalt-dark);
  font-size: clamp(1.55rem, 2.7vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.story-product-bridge > div > p:last-child {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
}

.release-section {
  background: var(--surface-blue);
}

.release-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(52px, 9vw, 130px);
}

.release-detail > p {
  margin-bottom: 30px;
  color: #4f5d7a;
  font-size: 1rem;
}

.release-status {
  display: grid;
  gap: 0;
  margin: 0 0 30px;
  padding: 0;
  border-top: 1px solid var(--line-blue);
  list-style: none;
}

.release-status li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-blue);
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 750;
}

.release-status .pending {
  color: var(--coral-ink);
}

.release-honesty {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.site-footer {
  padding: 64px 0 28px;
  background: var(--ink);
  color: white;
}

.footer-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
}

.footer-brand span {
  display: grid;
  line-height: 1.1;
}

.footer-brand small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-main > p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.86rem;
}

.footer-main nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-main nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.84rem;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
}

/* Shared documentation pages */

.local-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line-blue);
  border-radius: 999px;
  color: var(--cobalt-dark);
  font-size: 0.74rem;
  font-weight: 800;
}

.local-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.subpage-main {
  padding-top: 90px;
  padding-bottom: 110px;
}

.document-hero {
  max-width: 780px;
  margin-bottom: 70px;
}

.document-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 7vw, 6rem);
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.document-hero > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.document-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  justify-content: space-between;
  gap: 80px;
}

.document-toc {
  position: sticky;
  top: 104px;
  align-self: start;
  display: grid;
  gap: 4px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.document-toc strong {
  margin-bottom: 8px;
}

.document-toc a {
  display: flex;
  min-height: 40px;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.document-toc a:hover {
  color: var(--cobalt);
}

.document-content {
  min-width: 0;
}

.document-section {
  padding: 0 0 58px;
  scroll-margin-top: 110px;
}

.document-section + .document-section {
  padding-top: 58px;
  border-top: 1px solid var(--line);
}

.document-section h2 {
  margin-bottom: 24px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.04em;
}

.document-section h3 {
  margin: 30px 0 12px;
  font-size: 1.2rem;
}

.document-section p,
.document-section li {
  color: #515b70;
}

.document-section li + li {
  margin-top: 8px;
}

.document-section code {
  padding: 2px 6px;
  border-radius: 5px;
  background: #eeeae0;
  color: var(--cobalt-dark);
  font-size: 0.88em;
}

.document-callout {
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--cobalt);
  background: var(--surface-blue);
  color: var(--cobalt-dark);
  font-weight: 650;
}

.version-entry h3 {
  margin-top: 0;
  font-size: 2rem;
}

.version-meta {
  display: block;
  margin: -8px 0 24px;
  color: var(--muted);
  font-size: 0.82rem;
}

.document-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 18px;
  color: var(--cobalt);
  font-weight: 800;
}

.subpage-main + .site-footer .footer-bottom {
  margin-top: 0;
}

@media (max-width: 1120px) {
  .site-nav {
    gap: 18px;
  }

  .local-pill {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  }

  .safety-layout {
    gap: 52px;
  }
}

@media (max-width: 920px) {
  .page-width {
    width: min(calc(100% - 40px), var(--page));
  }

  .section-block {
    padding: 92px 0;
  }

  .site-nav {
    display: none;
  }

  .header-download {
    margin-left: auto;
  }

  .mobile-nav {
    display: block;
    margin-left: auto;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 72px;
    text-align: center;
  }

  .hero-copy {
    max-width: 720px;
    margin-inline: auto;
  }

  .hero h1,
  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .trust-list {
    justify-content: center;
  }

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

  .split-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .split-heading > p {
    max-width: 680px;
  }

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

  .workflow-list li:nth-child(3) {
    border-left: 0;
  }

  .workflow-list li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

  .organizing-visual {
    width: min(660px, 100%);
    margin-inline: auto;
  }

  .story-scene,
  .story-scene:nth-child(even) {
    min-height: 0;
    grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.72fr);
    gap: 34px;
    padding: 56px 0;
  }

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

  .release-copy {
    max-width: 650px;
  }

  .document-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .document-toc {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }

  .document-toc strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .page-width {
    width: min(calc(100% - 32px), var(--page));
  }

  .section-block {
    padding: 76px 0;
  }

  .header-inner {
    min-height: 64px;
    gap: 8px;
  }

  .brand-avatar,
  .brand-avatar img {
    width: 42px;
    height: 42px;
  }

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

  .hero {
    padding-top: 54px;
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.75;
  }

  .hero-actions .button {
    flex: 1 1 170px;
  }

  .trust-list {
    display: grid;
    grid-template-columns: repeat(2, max-content);
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .story-intro h2,
  .safety-copy h2,
  .release-copy h2 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .before-after-demo {
    grid-template-columns: 1fr;
  }

  .confirm-bridge {
    min-height: 74px;
    border-inline: 0;
    border-block: 1px solid var(--line);
  }

  .confirm-bridge i {
    line-height: 1;
    transform: rotate(90deg);
  }

  .outcome-list {
    grid-template-columns: 1fr;
  }

  .outcome-list div {
    padding: 18px 0;
  }

  .outcome-list div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .workflow-list li {
    padding-inline: 0;
  }

  .workflow-list li + li,
  .workflow-list li:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .window-bar strong {
    display: none;
  }

  .app-window figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding-block: 14px;
  }

  .product-points {
    grid-template-columns: 1fr;
  }

  .product-points li {
    padding: 17px 0;
  }

  .product-points li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .safety-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .story-intro {
    margin-bottom: 30px;
  }

  .story-scene,
  .story-scene:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 46px 0;
  }

  .story-scene + .story-scene {
    border-top: 1px solid rgba(49, 86, 163, 0.14);
  }

  .story-scene:nth-child(even) .story-art,
  .story-scene:nth-child(even) .story-copy {
    order: initial;
  }

  .story-art {
    width: calc(100% + 24px);
    margin-left: -12px;
  }

  .story-copy {
    padding-inline: 4px;
  }

  .story-product-bridge {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 22px;
    margin-top: 34px;
    padding-top: 28px;
  }

  .story-product-bridge > img {
    width: 96px;
    height: 96px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-main nav {
    gap: 18px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .subpage-main {
    padding-top: 66px;
    padding-bottom: 80px;
  }

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

@media (max-width: 390px) {
  .brand-copy small {
    display: none;
  }

  .brand-copy strong {
    font-size: 0.96rem;
  }

  .header-download {
    padding-inline: 13px;
    font-size: 0.8rem;
  }

  .hero h1 {
    font-size: 2.9rem;
  }

  .trust-list {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .file-panel {
    padding: 25px 20px;
  }

  .timeline-tree .depth-three {
    padding-left: 58px;
  }

  .story-product-bridge {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .story-product-bridge > img {
    margin-inline: auto;
  }

  .story-product-bridge > div > p:last-child {
    margin-inline: auto;
  }

  .footer-main nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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