:root {
  color-scheme: dark;
  --bg: #0b1220;
  --bg-soft: #10192b;
  --surface: #141f33;
  --surface-strong: #19263c;
  --surface-light: #f6f8fc;
  --line: #263550;
  --line-light: #dce3ee;
  --text: #f5f7fb;
  --text-soft: #acb9cf;
  --ink: #172033;
  --ink-soft: #58657a;
  --brand: #5574e8;
  --brand-strong: #3457d5;
  --brand-soft: #dfe6ff;
  --mint: #58d49a;
  --warning: #f2bd5a;
  --shadow: 0 28px 80px rgb(2 8 23 / 38%);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

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

:focus-visible {
  outline: 3px solid #8fa6ff;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #0b1220;
  background: #ffffff;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  background: rgb(11 18 32 / 84%);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 10px 24px rgb(52 87 213 / 24%);
}

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

.site-nav a,
.site-footer nav a {
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 100px;
  background:
    radial-gradient(circle at 75% 10%, rgb(52 87 213 / 17%), transparent 34%),
    linear-gradient(180deg, #0b1220 0%, #0c1526 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 2.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2.5%) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: 54%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgb(82 112 230 / 13%);
  filter: blur(70px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  gap: 72px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: #9eb1f7;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid rgb(126 151 247 / 22%);
  border-radius: 999px;
  background: rgb(68 94 196 / 9%);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgb(88 212 154 / 11%);
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(3.4rem, 6vw, 5.55rem);
  font-weight: 850;
  letter-spacing: -0.064em;
  line-height: 0.96;
}

.hero h1 span {
  color: #8ea5ff;
}

.hero-lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: clamp(1.03rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  border-color: #5270e0;
  color: #ffffff;
  background: linear-gradient(135deg, #4465de, #3457d5);
  box-shadow: 0 12px 30px rgb(52 87 213 / 28%);
}

.button-primary[aria-disabled="true"] {
  cursor: default;
}

.button-secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgb(255 255 255 / 3%);
}

.button-secondary:hover {
  border-color: #566a8d;
  background: rgb(255 255 255 / 6%);
}

.button-light {
  color: #15213b;
  background: #ffffff;
  box-shadow: 0 10px 24px rgb(7 20 52 / 16%);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 25px 0 0;
  padding: 0;
  color: #8796ad;
  font-size: 0.76rem;
  font-weight: 650;
  list-style: none;
}

.trust-list span {
  margin-right: 4px;
  color: var(--mint);
}

.product-scene {
  position: relative;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid #2c3b57;
  border-radius: 18px;
  background: #0e1728;
  box-shadow: var(--shadow);
  transform: perspective(1100px) rotateY(-2deg) rotateX(1deg);
}

.browser-toolbar {
  display: flex;
  height: 46px;
  align-items: center;
  gap: 18px;
  padding: 0 15px;
  border-bottom: 1px solid #25344e;
  background: #172238;
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #53617a;
}

.browser-dots i:first-child {
  background: #e75f5f;
}

.browser-dots i:nth-child(2) {
  background: #e3b34d;
}

.browser-dots i:last-child {
  background: #54bb7d;
}

.browser-address {
  display: flex;
  width: 58%;
  height: 24px;
  align-items: center;
  padding: 0 11px;
  border-radius: 6px;
  color: #77869e;
  background: #101a2c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.57rem;
}

.browser-content {
  display: grid;
  min-height: 405px;
  grid-template-columns: minmax(0, 1fr) 205px;
}

.sample-page {
  position: relative;
  padding: 34px 30px;
  background: #f3f6fb;
}

.sample-nav,
.sample-title,
.sample-text,
.sample-image,
.sample-card-title,
.sample-card-text,
.sample-card-button {
  display: block;
  border-radius: 999px;
  background: #d9dfeb;
}

.sample-nav {
  width: 100%;
  height: 13px;
  margin-bottom: 42px;
}

.sample-title {
  width: 64%;
  height: 22px;
  background: #9daac0;
}

.sample-text {
  width: 83%;
  height: 9px;
  margin-top: 12px;
}

.selected-component {
  position: relative;
  width: min(100%, 255px);
  margin-top: 35px;
  padding: 16px;
  border: 2px solid #4c6fe9;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgb(49 69 111 / 14%);
}

.selector-label {
  position: absolute;
  bottom: calc(100% + 5px);
  left: -2px;
  padding: 4px 7px;
  border-radius: 4px;
  color: #ffffff;
  background: #3457d5;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.48rem;
}

.sample-image {
  height: 92px;
  border-radius: 8px;
  background: linear-gradient(135deg, #dbe4ff, #b8c7fb);
}

.sample-card-title {
  width: 63%;
  height: 11px;
  margin-top: 14px;
  background: #74839a;
}

.sample-card-text {
  width: 88%;
  height: 7px;
  margin-top: 9px;
}

.sample-card-button {
  width: 38%;
  height: 22px;
  margin-top: 14px;
  border-radius: 5px;
  background: #3457d5;
}

.panel-preview {
  padding: 22px 15px;
  border-left: 1px solid #263650;
  background: #111b2c;
}

.panel-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #eaf0fb;
  font-size: 0.64rem;
  font-weight: 800;
}

.mini-mark {
  width: 27px;
  height: 27px;
  border-radius: 7px;
  object-fit: contain;
}

.capture-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  color: #65d49a;
  font-size: 0.54rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capture-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #58d49a;
}

.panel-preview > strong {
  display: block;
  margin-top: 10px;
  font-size: 0.78rem;
}

.panel-preview > p {
  margin: 6px 0 0;
  color: #8797af;
  font-size: 0.56rem;
}

.format-tabs {
  display: grid;
  margin-top: 18px;
  padding: 3px;
  border-radius: 6px;
  background: #1a263a;
  grid-template-columns: repeat(4, 1fr);
}

.format-tabs span {
  padding: 5px 1px;
  border-radius: 4px;
  color: #8595ac;
  font-size: 0.43rem;
  font-weight: 750;
  text-align: center;
}

.format-tabs span:first-child {
  color: #ffffff;
  background: #3457d5;
}

.code-lines {
  margin-top: 15px;
  padding: 12px;
  border: 1px solid #283750;
  border-radius: 7px;
  background: #0d1625;
}

.code-lines i {
  display: block;
  width: 85%;
  height: 4px;
  margin-bottom: 7px;
  border-radius: 9px;
  background: #364864;
}

.code-lines i:nth-child(2) {
  width: 66%;
  margin-left: 9px;
  background: #4866bf;
}

.code-lines i:nth-child(3) {
  width: 76%;
  margin-left: 9px;
}

.code-lines i:nth-child(4) {
  width: 54%;
  margin-left: 18px;
  background: #3b8466;
}

.code-lines i:last-child {
  width: 34%;
  margin-bottom: 0;
}

.export-button {
  display: block;
  margin-top: 14px;
  padding: 8px 5px;
  border-radius: 6px;
  color: #ffffff;
  background: #3457d5;
  font-size: 0.5rem;
  font-weight: 800;
  text-align: center;
}

.scene-caption {
  margin: 18px 0 0;
  color: #74839a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.67rem;
  text-align: center;
}

.proof-strip {
  border-block: 1px solid #202f48;
  background: #0e1728;
}

.proof-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.proof-inner p {
  margin: 0;
  color: #7889a3;
  font-size: 0.75rem;
  font-weight: 700;
}

.proof-inner ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-inner li {
  padding: 7px 10px;
  border: 1px solid #2b3b56;
  border-radius: 7px;
  color: #bcc9dd;
  background: #121d30;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 700;
}

.section {
  padding: 112px 0;
}

.section-muted {
  border-block: 1px solid #e0e6ef;
  color: var(--ink);
  background: var(--surface-light);
}

.section-heading {
  max-width: 690px;
  margin-bottom: 48px;
}

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

.section-kicker {
  color: #6f89ef;
}

.section h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 3.65rem);
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.section-heading > p:last-child {
  margin: 19px 0 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.section-muted .section-heading > p:last-child {
  color: var(--ink-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, #141f33, #101a2b);
}

.feature-card-wide {
  grid-column: span 2;
}

.feature-number {
  color: #687b99;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 800;
}

.feature-card h3 {
  margin: 17px 0 0;
  font-size: 1.32rem;
  letter-spacing: -0.025em;
}

.feature-card > p {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 0.87rem;
  line-height: 1.65;
}

.feature-visual,
.diagnostic-list,
.format-stack,
.file-stack {
  margin-top: 30px;
}

.selector-visual {
  position: relative;
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border: 2px solid #4d6fe8;
  border-radius: 10px;
  background: #111c2f;
}

.selector-node {
  color: #bdcafa;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
}

.selector-size {
  padding: 5px 7px;
  border-radius: 5px;
  color: #ffffff;
  background: #3457d5;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
}

.diagnostic-list,
.file-stack {
  display: grid;
  gap: 8px;
}

.diagnostic-list span,
.file-stack span {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid #263650;
  border-radius: 7px;
  color: #aebbd0;
  background: #101a2b;
  font-size: 0.68rem;
}

.diagnostic-list i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}

.diagnostic-list .status-warn {
  background: var(--warning);
}

.format-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.format-stack span {
  padding: 12px 5px;
  border: 1px solid #2d3d58;
  border-radius: 8px;
  color: #bcc9e8;
  background: #111c2e;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.67rem;
  font-weight: 800;
  text-align: center;
}

.file-stack {
  max-width: 560px;
}

.file-stack i {
  min-width: 32px;
  padding: 4px 5px;
  border-radius: 4px;
  color: #c5d0fb;
  background: #263e8c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.51rem;
  font-style: normal;
  font-weight: 850;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 218px;
  padding: 25px;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgb(34 49 76 / 5%);
}

.step-index {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 9px;
  color: #ffffff;
  background: var(--brand-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 850;
}

.steps h3 {
  margin: 28px 0 0;
  font-size: 1.2rem;
}

.steps p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.65;
}

.privacy-section {
  background:
    radial-gradient(circle at 82% 45%, rgb(52 87 213 / 14%), transparent 30%),
    #0b1323;
}

.privacy-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 0.72fr);
  gap: 100px;
}

.privacy-lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: #9fb2ff;
  font-size: 0.86rem;
  font-weight: 800;
  text-underline-offset: 4px;
}

.privacy-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-points li {
  display: grid;
  align-items: start;
  padding: 17px;
  border: 1px solid #2a3b58;
  border-radius: 12px;
  background: rgb(22 34 54 / 74%);
  grid-template-columns: 42px 1fr;
  gap: 13px;
}

.privacy-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 9px;
  color: #aebeff;
  background: #223777;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.6rem;
  font-weight: 850;
}

.privacy-points strong {
  font-size: 0.9rem;
}

.privacy-points p {
  margin: 5px 0 0;
  color: #8fa0b9;
  font-size: 0.75rem;
  line-height: 1.5;
}

.limitations-section {
  padding-block: 72px;
  color: var(--ink);
  background: #ffffff;
}

.limitation-card {
  display: grid;
  align-items: center;
  padding: 38px;
  border: 1px solid #e1e6ef;
  border-radius: 18px;
  background: #f7f9fc;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1fr);
  gap: 70px;
}

.limitation-card h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
}

.limitation-card > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.75;
}

.final-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #3457d5, #253f9d);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-cta .section-kicker {
  color: #d8e0ff;
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.final-cta p:last-child {
  margin: 15px 0 0;
  color: #d3dcff;
}

.final-cta-actions {
  display: grid;
  justify-items: stretch;
  width: min(100%, 330px);
  gap: 10px;
}

.final-cta-link {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 750;
  text-align: center;
  text-underline-offset: 3px;
}

.final-cta .final-cta-note {
  max-width: 330px;
  margin: 2px 0 0;
  color: #c7d2fb;
  font-size: 0.69rem;
  line-height: 1.55;
  text-align: center;
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid #1e2c43;
  background: #090f1b;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand div {
  display: grid;
  gap: 3px;
}

.footer-brand strong {
  font-size: 0.82rem;
}

.footer-brand span,
.footer-inner > p {
  color: #76869e;
  font-size: 0.68rem;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

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

/* Policy and support pages */
.page-hero {
  padding: 82px 0 54px;
  border-bottom: 1px solid #202f48;
  background:
    radial-gradient(circle at 72% 0%, rgb(52 87 213 / 17%), transparent 32%),
    #0b1220;
}

.page-hero-inner {
  max-width: 780px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.page-hero p:last-child {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.document-layout {
  padding: 70px 0 110px;
  color: var(--ink);
  background: #ffffff;
}

.document-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 220px minmax(0, 720px);
  gap: 70px;
}

.document-nav {
  position: sticky;
  top: 105px;
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid #e1e6ef;
  border-radius: 12px;
  background: #f8f9fc;
}

.document-nav strong {
  margin-bottom: 6px;
  color: #25314a;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.document-nav a {
  padding: 5px 0;
  color: #627087;
  font-size: 0.77rem;
  text-decoration: none;
}

.document-nav a:hover {
  color: var(--brand-strong);
}

.document-content > p:first-child {
  margin-top: 0;
}

.document-content h2 {
  margin: 52px 0 16px;
  color: #172033;
  font-size: 1.65rem;
  letter-spacing: -0.025em;
}

.document-content h3 {
  margin: 28px 0 10px;
  font-size: 1.05rem;
}

.document-content p,
.document-content li {
  color: #536177;
  font-size: 0.93rem;
  line-height: 1.78;
}

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

.document-content strong {
  color: #243149;
}

.document-note {
  margin: 26px 0;
  padding: 18px 20px;
  border: 1px solid #cdd9fb;
  border-radius: 10px;
  color: #334876;
  background: #f2f5ff;
  font-size: 0.86rem;
  line-height: 1.65;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin: 30px 0 48px;
}

.support-card {
  padding: 22px;
  border: 1px solid #e0e6ef;
  border-radius: 13px;
  background: #f8f9fc;
}

.support-card h2 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.support-card p {
  margin: 0;
  font-size: 0.84rem;
}

.support-card .button {
  margin-top: 18px;
  color: #ffffff;
}

.support-card .support-disclaimer {
  margin-top: 14px;
  color: #65728a;
  font-size: 0.72rem;
  line-height: 1.55;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 17px 19px;
  border: 1px solid #dfe5ee;
  border-radius: 10px;
  background: #ffffff;
}

.faq-list summary {
  color: #243149;
  font-weight: 750;
  cursor: pointer;
}

.faq-list details p {
  margin-bottom: 0;
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px 20px;
  text-align: center;
}

.error-card {
  max-width: 560px;
}

.error-card img {
  margin-inline: auto;
}

.error-code {
  color: #8ea5ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.error-card h1 {
  margin: 18px 0 0;
  font-size: clamp(2.6rem, 8vw, 5rem);
  letter-spacing: -0.06em;
}

.error-card p {
  margin: 18px 0 28px;
  color: var(--text-soft);
  line-height: 1.7;
}

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

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

  .product-scene {
    width: min(100%, 700px);
  }

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

  .feature-card-wide {
    grid-column: span 1;
  }

  .privacy-grid,
  .limitation-card {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .privacy-points {
    max-width: 650px;
  }
}

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

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

  .brand span {
    display: none;
  }

  .site-nav {
    gap: 15px;
  }

  .site-nav a {
    font-size: 0.75rem;
  }

  .site-nav a:nth-child(2) {
    display: none;
  }

  .hero {
    padding: 68px 0 74px;
  }

  .hero-grid {
    gap: 50px;
  }

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

  .browser-frame {
    transform: none;
  }

  .browser-content {
    min-height: 340px;
    grid-template-columns: minmax(0, 1fr) 165px;
  }

  .sample-page {
    padding: 28px 20px;
  }

  .panel-preview {
    padding-inline: 12px;
  }

  .proof-inner,
  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 22px;
  }

  .proof-inner ul {
    justify-content: flex-start;
  }

  .section {
    padding: 84px 0;
  }

  .feature-grid,
  .steps,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .steps li,
  .feature-card {
    min-height: auto;
  }

  .limitation-card {
    padding: 28px 23px;
  }

  .final-cta {
    padding-block: 52px;
  }

  .footer-inner {
    align-items: flex-start;
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

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

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

@media (max-width: 520px) {
  .site-nav a:first-child {
    display: none;
  }

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

  .trust-list {
    display: grid;
    gap: 9px;
  }

  .browser-content {
    grid-template-columns: 1fr;
  }

  .sample-page {
    min-height: 315px;
  }

  .panel-preview {
    display: none;
  }

  .proof-inner ul {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-inner li {
    text-align: center;
  }

  .privacy-points li {
    grid-template-columns: 38px 1fr;
  }
}

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

@media print {
  .site-header,
  .site-footer,
  .document-nav {
    display: none;
  }

  body,
  .document-layout {
    color: #000000;
    background: #ffffff;
  }

  .document-grid {
    display: block;
  }
}
