:root {
  color-scheme: light;
  color: #17242b;
  background: #ffffff;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "YuGothic",
    "Meiryo",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --color-ink: #17242b;
  --color-text: #35454d;
  --color-subtle: #687880;
  --color-line: #dbe4e8;
  --color-line-strong: #c8d5da;
  --color-soft: #f5f8f9;
  --color-blue: #1677e8;
  --color-blue-dark: #0e5fb9;
  --color-blue-soft: #eaf4ff;
  --color-cyan: #049eb7;
  --color-cyan-soft: #e9f8fa;
  --color-green: #159663;
  --color-green-soft: #edf9f4;
  --color-charcoal: #102a34;
  --content-width: 1180px;
  --narrow-width: 820px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  min-width: 0;
  background: #ffffff;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.9;
}

body,
a {
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-blue-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

:focus-visible {
  outline: 3px solid rgba(22, 119, 232, 0.35);
  outline-offset: 3px;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

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

.skip-link {
  position: fixed;
  top: -80px;
  left: 24px;
  z-index: 300;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--color-charcoal);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(219, 228, 232, 0.92);
  background: rgba(255, 255, 255, 0.97);
}

.site-header__inner,
.site-footer__inner,
.container {
  width: min(calc(100% - 48px), var(--content-width));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  position: relative;
  display: block;
  min-height: 44px;
  padding: 3px 0 0 56px;
  color: var(--color-blue);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  text-decoration: none;
}

.brand::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff url('/assets/tcym-icon.svg') center / cover no-repeat;
  box-shadow: 0 6px 18px rgba(29, 75, 91, 0.13);
  content: "";
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--color-subtle);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

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

.site-nav a {
  position: relative;
  color: #33434a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--color-blue);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

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

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

main {
  min-height: calc(100vh - var(--header-height) - 190px);
  padding: 0 0 92px;
  background: #ffffff;
}

.container--narrow {
  width: min(calc(100% - 48px), var(--narrow-width));
}

.hero {
  position: relative;
  padding: 66px 0 52px;
  border-bottom: 1px solid var(--color-line);
}

.hero::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 92px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-blue) 0 46%, var(--color-cyan) 46% 72%, var(--color-green) 72% 100%);
  content: "";
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--color-blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

h1,
h2,
h3 {
  color: var(--color-ink);
}

h1 {
  max-width: 880px;
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

h2 {
  margin: 46px 0 14px;
  padding-top: 2px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.5;
}

h3 {
  margin: 30px 0 10px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}

.lede {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--color-text);
  font-size: 16px;
  line-height: 2;
}

.updated {
  margin: 18px 0 0;
  color: var(--color-subtle);
  font-size: 12px;
  font-weight: 700;
}

.section-gap {
  margin-top: 68px;
  padding-top: 62px;
  border-top: 1px solid var(--color-line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid var(--color-line-strong);
  border-left: 1px solid var(--color-line-strong);
}

.card {
  display: flex;
  min-width: 0;
  min-height: 210px;
  flex-direction: column;
  padding: 30px 28px 28px;
  border-right: 1px solid var(--color-line-strong);
  border-bottom: 1px solid var(--color-line-strong);
  background: #ffffff;
  transition: background-color 160ms ease;
}

.card:hover {
  background: #f9fbfc;
}

.card:nth-child(1) {
  box-shadow: inset 0 3px 0 var(--color-blue);
}

.card:nth-child(2) {
  box-shadow: inset 0 3px 0 var(--color-cyan);
}

.card:nth-child(3) {
  box-shadow: inset 0 3px 0 var(--color-green);
}

.card h2 {
  margin: 0 0 12px;
  padding: 0;
  font-size: 19px;
  line-height: 1.5;
}

.card p {
  margin: 0 0 18px;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.9;
}

.card a {
  margin-top: auto;
  color: var(--color-blue-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.notice {
  margin: 30px 0 36px;
  padding: 20px 24px;
  border-left: 4px solid var(--color-blue);
  background: var(--color-blue-soft);
  color: #405058;
  font-size: 14px;
  line-height: 1.9;
}

.notice strong {
  color: var(--color-blue-dark);
}

.language-note {
  margin-top: 56px;
  padding: 28px 30px;
  border-top: 1px solid #d6ebe1;
  border-bottom: 1px solid #d6ebe1;
  background: var(--color-green-soft);
  color: var(--color-text);
  font-size: 13px;
  line-height: 1.9;
}

.language-note h2 {
  margin: 0 0 10px;
  padding: 0;
  font-size: 18px;
}

dl {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  margin: 22px 0 36px;
  border-top: 1px solid var(--color-line-strong);
}

dt,
dd {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-line);
}

dt {
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 800;
}

dd {
  color: var(--color-text);
  font-size: 14px;
}

ul {
  padding-left: 1.4rem;
}

li + li {
  margin-top: 7px;
}

.breadcrumbs {
  margin: 28px 0 0;
  color: var(--color-subtle);
  font-size: 12px;
}

.breadcrumbs a {
  color: var(--color-subtle);
  font-weight: 700;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--color-blue-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 26px 0 36px;
  border-top: 1px solid var(--color-line-strong);
  border-bottom: 1px solid var(--color-line-strong);
  background: #ffffff;
}

.product-nav a {
  padding: 13px 18px;
  border-right: 1px solid var(--color-line);
  color: var(--color-subtle);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.product-nav a:hover,
.product-nav a[aria-current="page"] {
  background: var(--color-blue-soft);
  color: var(--color-blue-dark);
}

.muted {
  color: var(--color-subtle);
}

.site-footer {
  background: var(--color-charcoal);
  color: #ffffff;
}

.site-footer__inner {
  display: flex;
  min-height: 132px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.site-footer p {
  margin: 0;
  color: #b8c9cf;
  font-size: 11px;
}

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

.footer-links a {
  color: #d7e3e7;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 880px) {
  :root {
    --header-height: 68px;
  }

  .site-header__inner {
    gap: 18px;
  }

  .site-nav {
    gap: 18px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: auto;
    min-height: var(--header-height);
  }

  .site-header__inner,
  .site-footer__inner,
  .container,
  .container--narrow {
    width: min(calc(100% - 32px), var(--content-width));
  }

  .site-header__inner {
    min-height: var(--header-height);
    align-items: center;
  }

  .brand {
    min-height: 38px;
    padding-top: 2px;
    padding-left: 48px;
    font-size: 16px;
  }

  .brand::before {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .brand small {
    font-size: 10px;
  }

  .site-nav {
    gap: 13px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .site-nav a::after {
    bottom: -6px;
  }

  main {
    padding-bottom: 64px;
  }

  .hero {
    padding-top: 46px;
    padding-bottom: 40px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.45;
  }

  h2 {
    margin-top: 38px;
    font-size: 21px;
  }

  .lede {
    font-size: 14px;
    line-height: 1.9;
  }

  .section-gap {
    margin-top: 50px;
    padding-top: 46px;
  }

  .cards {
    margin-top: 22px;
  }

  .card {
    padding: 24px 22px;
  }

  .language-note {
    margin-top: 44px;
    padding: 22px 20px;
  }

  dl {
    grid-template-columns: 1fr;
  }

  dt {
    padding-bottom: 0;
    border-bottom: 0;
  }

  dd {
    padding-top: 4px;
  }

  .product-nav {
    display: grid;
  }

  .product-nav a {
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .product-nav a:last-child {
    border-bottom: 0;
  }

  .site-footer__inner {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

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