:root {
  color-scheme: light;
  --trust-bg: #f4f6f8;
  --trust-panel: #ffffff;
  --trust-ink: #17202a;
  --trust-muted: #66717f;
  --trust-faint: #7e8996;
  --trust-line: #dce1e7;
  --trust-brand: #182b49;
  --trust-accent: #2877c7;
  --trust-soft: #eef5fc;
  --trust-warm: #fff8ee;
  --trust-shadow: 0 12px 30px rgba(18, 38, 63, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--trust-bg);
  color: var(--trust-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", "Apple SD Gothic Neo", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible {
  outline: 2px solid var(--trust-accent);
  outline-offset: 3px;
}

.trust-site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--trust-line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.trust-header-inner,
.trust-main,
.trust-site-footer {
  width: min(100% - 40px, 960px);
  margin: 0 auto;
}

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

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

.trust-brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: var(--trust-brand);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.trust-brand-name { font-size: 17px; }

.trust-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 16px;
  font-size: 13px;
}

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

.trust-nav a:hover,
.trust-nav a[aria-current="page"] {
  color: var(--trust-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.trust-main { padding: 34px 0 64px; }

.trust-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0 0 22px;
  color: var(--trust-faint);
  font-size: 13px;
}

.trust-breadcrumb a { color: var(--trust-muted); }

.trust-card {
  overflow: hidden;
  border: 1px solid var(--trust-line);
  border-radius: 18px;
  background: var(--trust-panel);
  box-shadow: var(--trust-shadow);
}

.trust-hero {
  padding: clamp(28px, 6vw, 58px);
  background: linear-gradient(135deg, #f7fbff 0%, #fff 64%);
  border-bottom: 1px solid var(--trust-line);
}

.trust-eyebrow {
  margin: 0 0 12px;
  color: var(--trust-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 { color: var(--trust-brand); line-height: 1.35; }

h1 {
  max-width: 18ch;
  margin: 0 0 18px;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: -0.045em;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(21px, 3vw, 28px);
  letter-spacing: -0.025em;
}

h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.trust-lead {
  max-width: 720px;
  margin: 0;
  color: var(--trust-muted);
  font-size: clamp(16px, 2vw, 19px);
}

.trust-updated {
  margin-top: 18px;
  color: var(--trust-faint);
  font-size: 12px;
}

.trust-content {
  display: grid;
  gap: 34px;
  padding: clamp(26px, 5vw, 52px);
}

.trust-section { min-width: 0; }
.trust-section + .trust-section { padding-top: 34px; border-top: 1px solid var(--trust-line); }

.trust-section > p,
.trust-section > ul,
.trust-section > ol,
.trust-section > dl,
.trust-section > .trust-table-wrap,
.trust-section > .trust-callout,
.trust-section > .trust-grid { max-width: 820px; }

.trust-list,
.trust-steps {
  margin: 0;
  padding-left: 1.45em;
}

.trust-list li,
.trust-steps li { margin: 7px 0; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.trust-mini-card {
  padding: 20px;
  border: 1px solid var(--trust-line);
  border-radius: 12px;
  background: #fbfcfd;
}

.trust-mini-card p { color: var(--trust-muted); font-size: 14px; }
.trust-mini-card p:last-child { margin-bottom: 0; }

.trust-callout {
  padding: 18px 20px;
  border: 1px solid #d7e7f8;
  border-left: 4px solid var(--trust-accent);
  border-radius: 10px;
  background: var(--trust-soft);
  color: #37516b;
}

.trust-callout.warm {
  border-color: #f0d7af;
  border-left-color: #c57920;
  background: var(--trust-warm);
  color: #68451f;
}

.trust-callout strong { color: inherit; }

.trust-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--trust-line);
  border-radius: 10px;
}

.trust-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

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

.trust-table th {
  background: #f7f9fb;
  color: var(--trust-brand);
  font-weight: 800;
}

.trust-table tr:last-child th,
.trust-table tr:last-child td { border-bottom: 0; }

.trust-definition {
  display: grid;
  grid-template-columns: minmax(145px, 0.35fr) minmax(0, 1fr);
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--trust-line);
}

.trust-definition dt,
.trust-definition dd {
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--trust-line);
}

.trust-definition dt {
  color: var(--trust-brand);
  font-weight: 800;
}

.trust-definition dd { color: var(--trust-muted); }

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

.trust-link-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  border: 1px solid var(--trust-line);
  border-radius: 10px;
  color: var(--trust-brand);
  text-decoration: none;
  background: #fbfcfd;
}

.trust-link-list a:hover { border-color: var(--trust-accent); background: var(--trust-soft); }
.trust-link-list small { color: var(--trust-muted); }

.trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.trust-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--trust-brand);
  border-radius: 9px;
  background: var(--trust-brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.trust-button:hover { background: #25436d; color: #fff; }

.trust-button.secondary {
  border-color: var(--trust-line);
  background: #fff;
  color: var(--trust-brand);
}

.trust-button.secondary:hover { border-color: var(--trust-accent); background: var(--trust-soft); }

.trust-site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 22px 0 34px;
  border-top: 1px solid var(--trust-line);
  color: var(--trust-faint);
  font-size: 12px;
}

.trust-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.trust-footer-links a { color: var(--trust-muted); }

@media (max-width: 680px) {
  .trust-header-inner,
  .trust-main,
  .trust-site-footer { width: min(100% - 28px, 960px); }

  .trust-header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 13px 0 14px;
  }

  .trust-nav { justify-content: flex-start; gap: 3px 13px; }
  .trust-main { padding-top: 24px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-definition { grid-template-columns: 1fr; }
  .trust-definition dt { padding-bottom: 3px; border-bottom: 0; }
  .trust-definition dd { padding-top: 3px; }
  .trust-link-list a { align-items: flex-start; flex-direction: column; gap: 2px; }
}

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

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --trust-bg: #101923;
    --trust-panel: #172331;
    --trust-ink: #e7edf4;
    --trust-muted: #afbac7;
    --trust-faint: #8d9aaa;
    --trust-line: #304050;
    --trust-brand: #d7e7f8;
    --trust-accent: #75b7f2;
    --trust-soft: #1b324a;
    --trust-warm: #3a2d1d;
    --trust-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  }

  .trust-site-header { background: rgba(23, 35, 49, 0.94); }
  .trust-hero { background: linear-gradient(135deg, #1a3047 0%, var(--trust-panel) 70%); }
  .trust-mini-card,
  .trust-link-list a { background: #1b2a39; }
  .trust-table th { background: #1d2c3b; }
  .trust-button.secondary { background: var(--trust-panel); }
  .trust-callout { color: #c2dcf2; }
  .trust-callout.warm { color: #f2d8af; }
}
