:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f3f7fb;
  --bg-blue: #edf5fc;
  --surface: #ffffff;
  --text: #102238;
  --text-soft: #526579;
  --text-faint: #76889a;
  --line: #d8e3ec;
  --line-strong: #bfd0df;
  --blue: #1769d2;
  --blue-dark: #1054ab;
  --teal: #087f91;
  --green: #108568;
  --navy: #0f2238;
  --shadow-sm: 0 12px 30px rgba(20, 49, 78, 0.08);
  --shadow-lg: 0 28px 70px rgba(20, 49, 78, 0.15);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-dark);
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(216, 227, 236, 0.9);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--navy);
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(15, 34, 56, 0.16);
}

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

.site-nav a {
  position: relative;
  padding: 23px 0 20px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.nav-contact {
  padding: 9px 14px !important;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}

.nav-contact::after {
  display: none;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 128px) 0 clamp(68px, 8vw, 108px);
  background:
    radial-gradient(circle at 88% 28%, rgba(23, 105, 210, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f3f8fd 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: 48%;
  bottom: -64px;
  height: 180px;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(23, 105, 210, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 105, 210, 0.16) 1px, transparent 1px);
  background-size: 32px 32px;
  transform: perspective(400px) rotateX(64deg) rotateZ(-8deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(90deg, #000, transparent 90%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

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

.hero h1,
.page-hero h1,
.legal-header h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(44px, 6.2vw, 76px);
  font-weight: 810;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero-lede {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 19px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.button-primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.button-primary:hover {
  background: var(--blue-dark);
  color: #fff;
}

.button svg,
.text-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.availability {
  margin: 18px 0 0;
  color: var(--text-faint);
  font-size: 13px;
}

.formula-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 38px;
  color: rgba(23, 105, 210, 0.55);
  font-family: "STIX Two Math", "Cambria Math", Georgia, serif;
  font-size: 18px;
}

.phone-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.phone-stage::before {
  content: "";
  position: absolute;
  inset: 10% -4% 8%;
  border-radius: 50%;
  background: rgba(23, 105, 210, 0.12);
  filter: blur(36px);
}

.phone,
.device-frame {
  --island-top: 3%;
  --island-width: 27.5%;
  --island-ratio: 3.45;
  --screen-safe-area: 11.5%;
  position: relative;
  isolation: isolate;
  padding: 2.25%;
  border: clamp(1px, 0.16vw, 2px) solid #555b62;
  border-radius: 14% / 6.5%;
  background: linear-gradient(145deg, #292c31, #08090b 58%, #3b3f45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.62),
    0 1px 0 rgba(255, 255, 255, 0.24) inset,
    0 28px 70px rgba(20, 49, 78, 0.15);
}

.phone {
  z-index: 1;
  width: min(100%, 350px);
}

.phone::before,
.device-frame::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: var(--island-top);
  left: 50%;
  width: var(--island-width);
  height: auto;
  aspect-ratio: var(--island-ratio);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background:
    radial-gradient(circle at 80% 50%, #14283c 0 3px, #050608 4px 7px, transparent 8px),
    #050608;
  box-shadow: 0 1px 2px rgba(255, 255, 255, 0.1) inset;
  transform: translateX(-50%);
}

.phone::after,
.device-frame::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 -5px;
  border-radius: inherit;
  background:
    linear-gradient(180deg, #7c8187, #25282d) left top 18% / clamp(2px, 0.28vw, 4px) 6% no-repeat,
    linear-gradient(180deg, #7c8187, #25282d) left top 27% / clamp(2px, 0.28vw, 4px) 8% no-repeat,
    linear-gradient(180deg, #7c8187, #25282d) left top 38% / clamp(2px, 0.28vw, 4px) 8% no-repeat,
    linear-gradient(180deg, #7c8187, #25282d) right top 25% / clamp(2px, 0.28vw, 4px) 12% no-repeat;
  pointer-events: none;
}

.device-screen {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-top: var(--screen-safe-area);
  border-radius: 11.2% / 5.25%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(8, 9, 11, 0.12) inset;
}

.phone img,
.device-frame img {
  display: block;
  width: 100%;
}

.phone-stage figcaption,
.product-visual figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  color: var(--text);
}

.phone-stage figcaption {
  z-index: 1;
  width: min(100%, 350px);
  margin-top: 14px;
}

.phone-stage figcaption strong,
.product-visual figcaption strong {
  font-size: 14px;
}

.phone-stage figcaption span,
.product-visual figcaption span {
  color: var(--text-faint);
  font-size: 12px;
}

.section {
  padding: clamp(78px, 9vw, 120px) 0;
}

.section-soft {
  background: var(--bg-soft);
}

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

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.content-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 780;
  line-height: 1.17;
  letter-spacing: -0.045em;
}

.section-heading p,
.content-subtitle {
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 17px;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.workflow-step {
  position: relative;
  min-height: 184px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
}

.workflow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 34px;
  right: -13px;
  z-index: 2;
  color: var(--blue);
  font-size: 19px;
}

.step-number {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 760;
}

.workflow-step h3 {
  margin: 20px 0 7px;
  font-size: 18px;
  line-height: 1.3;
}

.workflow-step p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(42px, 8vw, 112px);
}

.feature-split.reverse {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

.feature-split.reverse .feature-copy {
  order: 2;
}

.feature-split.reverse .product-visual {
  order: 1;
}

.feature-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.feature-copy > p {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 17px;
}

.feature-list {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.feature-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  align-items: start;
}

.feature-icon {
  --feature-icon-color: #1769d2;
  --feature-icon-soft: rgba(23, 105, 210, 0.12);
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--feature-icon-color) 22%, white);
  border-radius: 14px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.95), transparent 38%),
    linear-gradient(145deg, #fff, var(--feature-icon-soft));
  color: var(--feature-icon-color);
  box-shadow:
    0 8px 20px color-mix(in srgb, var(--feature-icon-color) 13%, transparent),
    0 1px 0 #fff inset,
    0 -1px 0 color-mix(in srgb, var(--feature-icon-color) 10%, transparent) inset;
}

.feature-icon::after {
  content: "";
  position: absolute;
  right: -9px;
  bottom: -11px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--feature-icon-soft);
}

.feature-icon-input {
  --feature-icon-color: #1769d2;
  --feature-icon-soft: rgba(23, 105, 210, 0.13);
}

.feature-icon-scan {
  --feature-icon-color: #087f91;
  --feature-icon-soft: rgba(8, 127, 145, 0.13);
}

.feature-icon-library {
  --feature-icon-color: #6854c7;
  --feature-icon-soft: rgba(104, 84, 199, 0.13);
}

.feature-icon svg {
  position: relative;
  z-index: 1;
  width: 25px;
  height: 25px;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.8));
}

.icon-box {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 105, 210, 0.2);
  border-radius: 10px;
  background: rgba(23, 105, 210, 0.08);
  color: var(--blue);
}

.icon-box.teal {
  border-color: rgba(16, 133, 104, 0.22);
  background: rgba(16, 133, 104, 0.09);
  color: var(--green);
}

.icon-box svg {
  width: 20px;
  height: 20px;
}

.feature-item strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
}

.feature-item-copy > span {
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 14px;
}

.product-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 350px));
  justify-content: center;
  gap: clamp(18px, 2.5vw, 28px);
  align-items: start;
  padding: 24px 0;
}

.product-visual .shot {
  position: relative;
  z-index: 1;
  margin: 0;
  min-width: 0;
}

.product-visual .shot-secondary {
  margin-top: 0;
}

.product-visual figcaption {
  display: grid;
  justify-content: initial;
  gap: 1px;
  padding: 13px 4px 4px;
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 14% 4% 12%;
  border-radius: 50%;
  background: rgba(23, 105, 210, 0.1);
  filter: blur(38px);
}

.output-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.output-item {
  min-height: 166px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.output-item strong {
  display: block;
  margin-bottom: 14px;
  font-size: 15px;
}

.output-item code,
.formula-sample {
  color: var(--text-soft);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.privacy-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.privacy-panel {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.privacy-panel.online {
  background: linear-gradient(145deg, #f4f8ff, #fff);
}

.privacy-panel.local {
  background: linear-gradient(145deg, #f0fbf8, #fff);
}

.privacy-panel h3 {
  margin: 20px 0 10px;
  color: var(--navy);
  font-size: 24px;
}

.privacy-panel p {
  margin: 0;
  color: var(--text-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 720;
}

.cta-section {
  padding: clamp(70px, 9vw, 110px) 0;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 70px);
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: #fff;
}

.cta-panel::after {
  content: "Σ  ∫  √  π  ∂";
  position: absolute;
  right: 4%;
  bottom: -22px;
  color: rgba(255, 255, 255, 0.1);
  font-family: Georgia, serif;
  font-size: clamp(70px, 13vw, 160px);
  line-height: 1;
}

.cta-panel h2 {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0;
  font-size: clamp(30px, 4.7vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.cta-panel p {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.cta-panel .hero-actions {
  position: relative;
  z-index: 1;
}

.page-hero {
  padding: clamp(68px, 9vw, 112px) 0 clamp(58px, 7vw, 90px);
  background:
    radial-gradient(circle at 82% 24%, rgba(23, 105, 210, 0.12), transparent 36%),
    linear-gradient(180deg, #fff, var(--bg-soft));
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(42px, 6vw, 68px);
}

.page-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 18px;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.support-main {
  min-width: 0;
}

.support-sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 16px;
}

.side-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.side-panel h2,
.side-panel h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.side-panel p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.side-panel .button {
  width: 100%;
  margin-top: 18px;
}

.help-topics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 30px 0 66px;
}

.help-topic {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--text);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.help-topic:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.help-topic h3 {
  margin: 17px 0 6px;
  font-size: 18px;
}

.help-topic p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.content-section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.content-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.content-section h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(27px, 3vw, 36px);
  letter-spacing: -0.035em;
}

.content-section h3 {
  margin: 28px 0 8px;
  color: var(--text);
  font-size: 19px;
}

.content-section p,
.content-section li {
  color: var(--text-soft);
}

.content-section ul,
.content-section ol {
  padding-left: 22px;
}

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

.callout {
  margin: 24px 0;
  padding: 20px 22px;
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--bg-blue);
  color: var(--text-soft);
}

.callout.warning {
  border-left-color: #b86b12;
  background: #fff8ee;
}

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

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

.faq-list summary {
  position: relative;
  padding: 18px 36px 18px 0;
  color: var(--text);
  font-weight: 680;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 15px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: -4px 0 20px;
  color: var(--text-soft);
}

.legal-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 820px);
  justify-content: center;
  gap: clamp(36px, 7vw, 88px);
  padding: clamp(64px, 8vw, 104px) 0;
}

.legal-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 124px);
  overflow: auto;
}

.legal-toc h2 {
  margin: 0 0 14px;
  font-size: 15px;
}

.legal-toc nav {
  display: grid;
  gap: 3px;
}

.legal-toc a {
  padding: 7px 10px;
  border-left: 2px solid var(--line);
  color: var(--text-soft);
  font-size: 13px;
}

.legal-toc a:hover {
  border-left-color: var(--blue);
  color: var(--blue);
}

.legal-header {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

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

.legal-header h1 {
  font-size: clamp(40px, 5vw, 62px);
}

.legal-meta {
  margin: 15px 0 0;
  color: var(--text-faint);
  font-size: 14px;
}

.legal-intro {
  margin: 24px 0 0;
  color: var(--text-soft);
}

.legal-section {
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 27px;
  letter-spacing: -0.03em;
}

.legal-section h3 {
  margin: 27px 0 8px;
  color: var(--text);
  font-size: 18px;
}

.legal-section p,
.legal-section li {
  color: var(--text-soft);
}

.legal-section ul {
  padding-left: 22px;
}

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

.data-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0 8px;
}

.data-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}

.data-card.local {
  background: #f0fbf8;
}

.data-card.online {
  background: #f2f7ff;
}

.data-card h3 {
  margin: 14px 0 8px;
  color: var(--text);
}

.data-card p {
  margin: 0;
  font-size: 14px;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

th,
td {
  min-width: 150px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--text);
  font-weight: 700;
}

tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  padding: 42px 0;
}

.footer-copy p {
  max-width: 620px;
  margin: 13px 0 0;
  color: var(--text-faint);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.footer-links a {
  color: var(--text-soft);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--blue);
}

.not-found {
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: center;
  padding: 60px 20px;
  text-align: center;
}

.not-found strong {
  display: block;
  color: rgba(23, 105, 210, 0.18);
  font-family: Georgia, serif;
  font-size: clamp(90px, 18vw, 190px);
  line-height: 1;
}

.not-found h1 {
  margin: 12px 0 8px;
  font-size: clamp(30px, 5vw, 52px);
}

.not-found p {
  margin: 0 0 24px;
  color: var(--text-soft);
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-split,
  .feature-split.reverse,
  .support-grid {
    grid-template-columns: 1fr;
  }

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

  .phone-stage {
    justify-content: flex-start;
  }

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

  .workflow-step:not(:last-child)::after {
    display: none;
  }

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

  .feature-split.reverse .feature-copy,
  .feature-split.reverse .product-visual {
    order: initial;
  }

  .support-sidebar {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-toc {
    position: static;
    max-height: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
  }

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

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-shell {
    min-height: 64px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px 18px 22px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .site-nav.open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px 8px;
  }

  .site-nav a[aria-current="page"]::after {
    display: none;
  }

  .nav-contact {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    padding-top: 62px;
  }

  .hero h1,
  .page-hero h1,
  .legal-header h1 {
    letter-spacing: -0.045em;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .phone-stage {
    justify-content: center;
  }

  .phone {
    width: min(92%, 338px);
  }

  .product-visual {
    grid-template-columns: 1fr;
    gap: 52px;
    padding-block: 12px;
  }

  .product-visual .shot {
    width: min(92%, 338px);
    justify-self: center;
  }

  .workflow,
  .output-grid,
  .privacy-band,
  .help-topics,
  .support-sidebar,
  .data-pair {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-toc nav {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    display: none;
  }
}

@media (max-width: 430px) {
  body {
    font-size: 15px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 42px;
  }

  .formula-rail {
    font-size: 15px;
  }

  .product-visual figcaption {
    padding: 12px 4px 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
