@font-face {
  font-family: "Centaur BSS";
  src: url("/assets/fonts/centaur.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page-bg: #060606;
  --page-surface: #11110f;
  --page-text: #f2f1ed;
  --page-muted: #b7b5ae;
  --page-line: rgba(242, 241, 237, .2);
  --page-accent: #d7bd7b;
  --page-width: 1180px;
}

* { box-sizing: border-box; }

html {
  background: var(--page-bg);
  scroll-behavior: smooth;
}

body {
  min-width: 280px;
  margin: 0;
  color: var(--page-text);
  background:
    radial-gradient(circle at 78% 14%, rgba(215, 189, 123, .08), transparent 30rem),
    linear-gradient(135deg, #090909, var(--page-bg) 58%);
  font: 16px/1.65 Arial, Helvetica, sans-serif;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--page-accent);
  outline-offset: 4px;
}

.seo-skip {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #000;
  background: var(--page-text);
  transform: translateY(-160%);
}

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

.seo-header,
.seo-footer,
.seo-main {
  width: min(calc(100% - 40px), var(--page-width));
  margin-inline: auto;
}

.seo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  border-bottom: 1px solid var(--page-line);
}

.seo-brand {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-decoration: none;
}

.seo-languages {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.seo-languages a {
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--page-line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
}

.seo-languages a[aria-current="page"] {
  color: #080808;
  background: var(--page-text);
}

.seo-main { padding-block: clamp(52px, 9vw, 120px); }

.seo-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 34px;
  color: var(--page-muted);
  font-size: 13px;
}

.seo-breadcrumbs a { text-underline-offset: 4px; }

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

.seo-hero { max-width: 920px; }

.seo-hero h1 {
  max-width: 18ch;
  margin: 0;
  font-family: "Centaur BSS", Georgia, serif;
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .92;
  text-wrap: balance;
}

html[lang="ja"] .seo-hero h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.seo-intro {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--page-muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
}

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

.seo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid var(--page-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

.seo-button--primary {
  color: #080808;
  background: var(--page-text);
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(60px, 10vw, 130px);
  border: 1px solid var(--page-line);
  background: var(--page-line);
}

.seo-card {
  min-height: 310px;
  padding: clamp(28px, 4vw, 54px);
  background: var(--page-surface);
}

.seo-card__number {
  color: var(--page-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.seo-card h2 {
  margin: 58px 0 16px;
  font-family: "Centaur BSS", Georgia, serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  line-height: 1;
}

html[lang="ja"] .seo-card h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.seo-card p { max-width: 50ch; color: var(--page-muted); }

.seo-card a {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 800;
  text-underline-offset: 5px;
}

.seo-content {
  display: grid;
  grid-template-columns: minmax(180px, .4fr) minmax(0, 1fr);
  gap: clamp(30px, 8vw, 120px);
  margin-top: clamp(70px, 11vw, 140px);
}

.seo-content__nav {
  position: sticky;
  top: 28px;
  align-self: start;
  padding-top: 8px;
  color: var(--page-muted);
  font-size: 13px;
}

.seo-content__nav a { text-underline-offset: 4px; }

.seo-section {
  padding: 0 0 56px;
  margin: 0 0 56px;
  border-bottom: 1px solid var(--page-line);
}

.seo-section:last-child { margin-bottom: 0; }

.seo-section h2 {
  margin: 0 0 22px;
  font-family: "Centaur BSS", Georgia, serif;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.05;
}

html[lang="ja"] .seo-section h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.seo-section p,
.seo-section li {
  max-width: 68ch;
  color: var(--page-muted);
}

.seo-section li + li { margin-top: 10px; }

.seo-related {
  margin-top: 80px;
  padding: clamp(30px, 5vw, 60px);
  border: 1px solid var(--page-line);
}

.seo-related h2 { margin-top: 0; }

.seo-related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 0;
  list-style: none;
}

.seo-related a { text-underline-offset: 5px; }

.seo-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding-block: 30px;
  border-top: 1px solid var(--page-line);
  color: var(--page-muted);
  font-size: 12px;
  letter-spacing: .08em;
}

.seo-footer a { text-underline-offset: 4px; }

@media (max-width: 760px) {
  .seo-header,
  .seo-footer,
  .seo-main { width: min(calc(100% - 28px), var(--page-width)); }

  .seo-header { align-items: flex-start; padding-block: 20px; }
  .seo-brand { max-width: 13ch; line-height: 1.35; }
  .seo-grid { grid-template-columns: 1fr; }
  .seo-card { min-height: 0; }
  .seo-card h2 { margin-top: 34px; }
  .seo-content { grid-template-columns: 1fr; }
  .seo-content__nav { position: static; }
}

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