/* 防災口袋 Rescue Pocket — 公開網站設計系統
   純 HTML/CSS、系統字型、無 CDN、無 JavaScript、無追蹤。 */

:root {
  color-scheme: light;
  --canvas: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #edf4f3;
  --surface-deep: #e1f0ef;
  --ink: #1d1d1f;
  --ink-soft: #4f5557;
  --muted: #6e6e73;
  --line: #dedee2;
  --brand: #00696d;
  --brand-strong: #004f52;
  --brand-action: #00696d;
  --brand-action-hover: #004f52;
  --brand-tint: #e1f0ef;
  --brand-on-dark: #7bd9d7;
  --critical: #d70015;
  --critical-tint: #fdebec;
  --urgent: #b45309;
  --black: #080b0c;
  --black-card: #151a1b;
  --focus: #007aff;
  --radius-card: 16px;
  --radius-button: 14px;
  --shell: 1120px;
  --reading: 760px;
  --shadow-card: 0 18px 42px rgba(0, 55, 58, 0.12);
  --shadow-phone: 0 40px 80px rgba(0, 55, 58, 0.22);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --canvas: #000000;
    --surface: #1c1c1e;
    --surface-soft: #151a1b;
    --surface-deep: #153033;
    --ink: #f5f5f7;
    --ink-soft: #d1d1d6;
    --muted: #a1a1a6;
    --line: #363638;
    --brand: #6fd2d0;
    --brand-strong: #93e5e3;
    --brand-action: #00696d;
    --brand-action-hover: #005b5f;
    --brand-tint: #153033;
    --critical: #ff6961;
    --critical-tint: #3a1512;
    --urgent: #ffd60a;
    --black: #000000;
    --black-card: #1c1c1e;
    --focus: #64d2ff;
    --shadow-card: 0 18px 42px rgba(0, 0, 0, 0.35);
    --shadow-phone: 0 40px 90px rgba(0, 0, 0, 0.7);
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC",
    "PingFang TC", "Microsoft JhengHei", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--brand);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

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

.narrow {
  max-width: var(--reading);
}

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: var(--canvas);
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.site-nav {
  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(--ink);
  text-decoration: none;
}

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

.brand-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
}

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

.brand-copy strong {
  font-size: 16px;
  letter-spacing: 0.03em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.nav-links a,
.footer-links a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

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

.nav-language {
  min-width: 38px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-align: center;
}

.emergency-strip {
  background: var(--critical-tint);
  color: var(--ink);
}

.emergency-strip .shell {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.emergency-strip p {
  margin: 6px 0;
  font-size: 13px;
  line-height: 1.5;
}

.emergency-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--critical);
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 64px;
  padding-block: 72px 88px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  margin-right: 6px;
  font-size: 9px;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(48px, 6.2vw, 78px);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.hero h1 span {
  display: inline-block;
  color: var(--brand);
  font-size: 0.72em;
  white-space: nowrap;
}

.hero-lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.75;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 150ms ease, background-color 150ms ease;
}

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

.button-primary {
  background: var(--brand-action);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--brand-action-hover);
  color: #ffffff;
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--surface-soft);
  color: var(--ink);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.trust-list span {
  color: var(--brand);
  font-weight: 800;
}

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

.signal-orbit {
  position: absolute;
  border: 1px solid rgba(0, 105, 109, 0.22);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  border-radius: 50%;
}

.orbit-one {
  width: 450px;
  height: 450px;
}

.orbit-two {
  width: 350px;
  height: 350px;
  background: var(--brand-tint);
  background: color-mix(in srgb, var(--brand-tint) 65%, transparent);
}

.phone-placeholder {
  position: relative;
  z-index: 2;
  width: 260px;
  padding: 10px;
  border: 2px solid var(--ink);
  border: 2px solid color-mix(in srgb, var(--ink) 84%, transparent);
  border-radius: 42px;
  background: var(--black);
  box-shadow: var(--shadow-phone);
  transform: rotate(2deg);
}

.phone-placeholder picture {
  display: block;
}

.phone-screen {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 32px;
}

.problem-section {
  padding: 84px 0;
  background: var(--surface);
}

.intro-block {
  max-width: 860px;
  text-align: center;
}

.intro-block h2,
.section-heading h2,
.offline-copy h2,
.trust-panel h2,
.english-summary h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1.22;
}

.intro-block > p:last-child {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.section {
  padding-block: 104px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 64px;
  margin-bottom: 48px;
}

.section-heading > p {
  margin: 0 0 6px;
  color: var(--muted);
}

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

.product-shots-section {
  padding: 88px 0 104px;
  overflow: hidden;
  background: var(--surface-soft);
}

.product-shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.product-shots figure {
  min-width: 0;
  margin: 0;
}

.product-shots img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.product-shots figcaption {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.feature-card {
  min-height: 280px;
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--surface);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 16px;
  font-weight: 800;
}

.feature-icon-critical {
  background: var(--critical-tint);
  color: var(--critical);
  font-size: 12px;
}

.feature-icon-dark {
  background: var(--black);
  color: #ff9f0a;
}

.feature-card h3 {
  margin: 30px 0 10px;
  font-size: 20px;
  line-height: 1.4;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.offline-section {
  padding: 108px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 105, 109, 0.42), transparent 36%),
    var(--black);
  color: #f5f5f7;
}

.offline-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 88px;
}

.section-kicker-light {
  color: var(--brand-on-dark);
}

.offline-copy p:not(.section-kicker) {
  color: #c7c7cc;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  transition: transform 150ms ease;
}

.text-link:hover span {
  transform: translateX(3px);
}

.text-link-light {
  color: var(--brand-on-dark);
}

.text-link-light:hover {
  color: #a4eeec;
}

.offline-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offline-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid #303637;
  border-radius: var(--radius-card);
  background: var(--black-card);
  background: color-mix(in srgb, var(--black-card) 88%, transparent);
}

.offline-steps > li > span {
  color: var(--brand-on-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.offline-steps div {
  display: grid;
  gap: 4px;
}

.offline-steps strong {
  font-size: 17px;
}

.offline-steps small {
  color: #aeb4b5;
  font-size: 14px;
  line-height: 1.65;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--line);
}

.fact {
  display: grid;
  gap: 6px;
  padding: 34px 28px;
  background: var(--surface);
  text-align: center;
}

.fact strong {
  color: var(--brand);
  font-size: clamp(38px, 5vw, 56px);
  letter-spacing: -0.045em;
  line-height: 1;
}

.fact span {
  color: var(--muted);
  font-size: 14px;
}

.trust-panel {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  align-items: center;
  gap: 72px;
  padding: 64px;
  border-radius: 24px;
  background: var(--brand-tint);
}

.trust-shield {
  min-height: 230px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-card);
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 62%, transparent);
}

.brand-logo-large {
  width: 120px;
  height: 120px;
  border-radius: 28px;
}

.trust-panel p:not(.section-kicker) {
  max-width: 620px;
  color: var(--ink-soft);
}

.disclaimer-section {
  padding-bottom: 104px;
}

.disclaimer-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border: 1px solid color-mix(in srgb, var(--urgent) 30%, var(--line));
  border-radius: var(--radius-card);
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 78%, var(--critical-tint));
}

.disclaimer-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--critical-tint);
  color: var(--critical);
  font-weight: 800;
}

.disclaimer-card h2 {
  margin: 0 0 8px;
  font-size: 21px;
}

.disclaimer-card p {
  margin: 0;
  color: var(--ink-soft);
}

.english-summary {
  padding-bottom: 112px;
}

.english-summary > p:not(.section-kicker) {
  color: var(--ink-soft);
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
}

.site-footer {
  padding: 54px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.brand-footer + p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

/* 長文件頁：Privacy / Support */

.document-page {
  background:
    linear-gradient(180deg, var(--surface-soft) 0, var(--canvas) 480px);
}

.page-hero {
  padding: 64px 0 42px;
}

.page-hero-inner {
  max-width: var(--reading);
  margin-inline: auto;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

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

.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 64px);
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.page-hero .page-subtitle {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

.lang-switch {
  margin: 0;
}

.lang-switch a {
  font-weight: 700;
  text-decoration: none;
}

.document-main {
  width: min(calc(100% - 40px), var(--reading));
  margin: 0 auto;
  padding: 0 0 104px;
}

.document-card {
  padding: 44px 48px;
  border-radius: 20px;
  background: var(--surface);
}

.document-main h2 {
  margin: 52px 0 14px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.document-main h2:first-of-type {
  margin-top: 36px;
}

.document-main h3 {
  margin: 32px 0 10px;
  font-size: 18px;
  line-height: 1.45;
}

.document-main p {
  margin: 12px 0;
}

.document-main ul,
.document-main ol {
  padding-left: 23px;
}

.document-main li {
  margin: 8px 0;
}

.document-main code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
}

.note {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
  background: var(--brand-tint);
}

.note strong:first-child {
  display: block;
  margin-bottom: 4px;
}

.note-critical {
  border-left-color: var(--critical);
  background: var(--critical-tint);
}

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

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.55;
}

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

th:last-child,
td:last-child {
  border-right: 0;
}

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

th {
  background: var(--surface-soft);
  font-weight: 700;
}

.language-divider {
  margin: 72px 0 0;
  padding-top: 64px;
  border-top: 2px solid var(--ink);
}

.language-divider h1 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: clamp(36px, 5vw, 52px);
}

.language-divider .page-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
}

.language-divider .updated {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.faq-list h3 {
  position: relative;
  margin-top: 38px;
  padding-left: 25px;
}

.faq-list h3::before {
  content: "Q";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

/* 404 */

.error-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  background:
    radial-gradient(circle at 50% 28%, var(--surface-deep) 0, transparent 34%),
    var(--canvas);
}

.error-main {
  min-height: 580px;
  display: grid;
  place-items: center;
  padding-block: 72px 96px;
}

.error-card {
  width: min(100%, 680px);
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  text-align: center;
}

.error-logo {
  width: 88px;
  height: 88px;
  margin-inline: auto;
  border-radius: 20px;
}

.error-code {
  margin: 28px 0 8px;
  color: var(--brand);
  font-size: clamp(72px, 12vw, 112px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.error-card h1 {
  margin: 24px 0 0;
  font-size: clamp(30px, 5vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.error-message {
  max-width: 540px;
  margin: 20px auto 0;
  color: var(--ink-soft);
}

.error-actions {
  justify-content: center;
}

.error-english {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.error-english h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
}

.error-english p {
  margin: 12px 0 0;
}

.error-footer {
  margin-top: 0;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 64px;
  }

  .hero-copy {
    text-align: center;
  }

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

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

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

  .section-heading,
  .offline-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .product-shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-panel {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 38px;
    padding: 44px;
  }
}

@media (max-width: 640px) {
  .shell,
  .document-main {
    width: min(calc(100% - 32px), var(--shell));
  }

  .site-nav {
    min-height: 64px;
    gap: 16px;
  }

  .nav-links {
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .site-nav .brand-copy {
    display: none;
  }

  .nav-links a {
    font-size: 13px;
  }

  .emergency-strip .shell {
    align-items: flex-start;
    padding-block: 6px;
  }

  .emergency-dot {
    margin-top: 7px;
  }

  .hero {
    padding-block: 52px 72px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 52px);
  }

  .hero h1 span {
    display: block;
    font-size: 0.78em;
    white-space: normal;
    overflow-wrap: anywhere;
  }

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

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
    min-height: 56px;
  }

  .trust-list {
    display: grid;
    justify-content: start;
    max-width: 240px;
    margin-inline: auto;
    text-align: left;
  }

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

  .phone-placeholder {
    width: 230px;
  }

  .orbit-one {
    width: min(330px, calc(100vw - 16px));
    height: min(330px, calc(100vw - 16px));
  }

  .orbit-two {
    width: min(285px, calc(100vw - 48px));
    height: min(285px, calc(100vw - 48px));
  }

  .problem-section,
  .section,
  .offline-section {
    padding-block: 72px;
  }

  .intro-block {
    text-align: left;
  }

  .intro-block h2,
  .section-heading h2,
  .offline-copy h2,
  .trust-panel h2,
  .english-summary h2 {
    font-size: 32px;
  }

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

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

  .product-shots-section {
    padding-block: 64px 76px;
  }

  .product-shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .product-shots img {
    border-radius: 18px;
  }

  .feature-card {
    min-height: auto;
  }

  .offline-steps li {
    grid-template-columns: 38px 1fr;
    padding: 18px;
  }

  .trust-panel {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .trust-shield {
    min-height: 170px;
  }

  .brand-logo-large {
    width: 88px;
    height: 88px;
    border-radius: 20px;
  }

  .disclaimer-section {
    padding-bottom: 72px;
  }

  .disclaimer-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .english-summary {
    padding-bottom: 80px;
  }

  .footer-layout,
  .footer-meta {
    display: grid;
  }

  .footer-links {
    display: grid;
    justify-content: start;
  }

  .page-hero {
    padding: 44px 0 30px;
  }

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

  .document-card {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .document-main h2 {
    margin-top: 44px;
    font-size: 22px;
  }

  .table-wrap {
    width: calc(100% + 40px);
    margin-inline: -20px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .error-main {
    min-height: auto;
    padding-block: 48px 72px;
  }

  .error-card {
    padding: 36px 22px;
    border-radius: 18px;
  }

  .error-logo {
    width: 72px;
    height: 72px;
    border-radius: 17px;
  }
}

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

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

@media print {
  :root {
    color-scheme: light;
  }

  .site-header,
  .emergency-strip,
  .site-footer,
  .lang-switch,
  .skip-link {
    display: none;
  }

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

  .page-hero,
  .document-main {
    width: 100%;
    max-width: none;
  }

  .document-card {
    padding: 0;
  }

  a {
    color: #000000;
  }
}
