:root {
  --bg: #f8f9ff;
  --surface: #ffffff;
  --surface-soft: #f5f6ff;
  --accent: #7669f5;
  --accent-strong: #5f52df;
  --accent-soft: #eeebff;
  --accent-wash: #f1f0ff;
  --ink: #0b1c30;
  --muted: #44474d;
  --subtle: #6b7280;
  --border: rgba(197, 198, 205, 0.55);
  --border-soft: rgba(197, 198, 205, 0.3);
  --black: #02030a;
  --success: #22c55e;
  --danger: #ba1a1a;
  --shadow: 0 4px 20px rgba(10, 25, 47, 0.05);
  --shadow-tight: 0 1px 2px rgba(0, 0, 0, 0.05);
  --max: 1200px;
  --wide: 1280px;
  --header: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

img,
svg,
canvas {
  display: block;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

main {
  min-height: calc(100vh - var(--header));
  padding-top: var(--header);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 3.125vw, 40px);
  border-bottom: 1px solid var(--border-soft);
  background: rgba(248, 249, 255, 0.84);
  box-shadow: var(--shadow-tight);
  backdrop-filter: blur(6px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: 128px;
  height: auto;
}

.site-nav {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 24px;
  transform: translateX(-50%);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 16px;
}

.site-nav a::after {
  position: absolute;
  right: 12px;
  bottom: 3px;
  left: 12px;
  height: 2px;
  background: var(--accent-strong);
  content: "";
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--accent-strong);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-action,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 20px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.header-action {
  min-height: 36px;
  padding: 8px 24px;
  background: var(--black);
  color: #fff;
}

.header-action:hover,
.header-action:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  padding: 13px 32px;
  background: var(--black);
  color: #fff;
}

.button-outline {
  padding: 13px 32px;
  border-color: var(--accent-strong);
  background: transparent;
  color: var(--accent-strong);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.eyebrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.home-hero {
  padding: 112px clamp(24px, 3.125vw, 40px) 96px;
  background: var(--bg);
}

.home-hero-inner {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  align-items: center;
  gap: 48px;
}

.home-hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.home-hero-copy h1,
.services-hero h1,
.legal-article h1,
.notice-detail-head h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 4.7vw, 60px);
  font-weight: 800;
  line-height: 1.2;
}

.home-hero-copy h1 span,
.services-hero h1 {
  color: transparent;
  background: linear-gradient(120deg, var(--ink), var(--accent-strong));
  background-clip: text;
  -webkit-background-clip: text;
}

.home-hero-copy > p:not(.eyebrow),
.services-hero p,
.section-head p,
.legal-article-head > p:not(.eyebrow),
.notice-detail-head > p {
  max-width: 576px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 16px;
}

.hero-media {
  position: relative;
  height: 500px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #0c1726;
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 220ms ease;
}

.hero-media > img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  transform: translateY(-7%);
}

.hero-webgl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.42;
  mix-blend-mode: screen;
  pointer-events: none;
}

.status-panel {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  backdrop-filter: blur(6px);
}

.status-panel span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.status-panel strong {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  line-height: 20px;
}

.status-panel em {
  color: var(--muted);
  font-size: 16px;
  font-style: normal;
  line-height: 24px;
}

.status-panel i {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--success);
}

.core-section {
  padding: 80px clamp(24px, 3.125vw, 40px);
  background: var(--surface);
}

.section-head {
  display: flex;
  max-width: var(--wide);
  margin: 0 auto 48px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 2.8vw, 36px);
  font-weight: 750;
  line-height: 44px;
}

.core-grid {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.core-card {
  display: flex;
  min-height: 326px;
  flex-direction: column;
  align-items: flex-start;
  padding: 33px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.service-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.core-card h3 {
  margin: 28px 0 12px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 750;
  line-height: 32px;
}

.core-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 28px;
  color: var(--accent-strong);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.text-link::after {
  content: "->";
}

.services-hero {
  display: flex;
  max-width: var(--wide);
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 96px clamp(24px, 3.125vw, 40px) 144px;
  text-align: center;
}

.services-hero p {
  max-width: 768px;
}

.service-showcases {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding: 0 clamp(24px, 3.125vw, 40px) 80px;
}

.service-showcase {
  display: grid;
  width: 100%;
  max-width: var(--max);
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 64px;
}

.service-showcase.is-highlight {
  max-width: var(--wide);
  padding: 80px 88px;
  border-radius: 8px;
  background: var(--accent-wash);
}

.showcase-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.showcase-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 2.8vw, 36px);
  font-weight: 750;
  line-height: 44px;
}

.showcase-copy > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.feature-mini-list {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 8px 0 0;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.feature-mini-list li {
  display: flex;
  gap: 12px;
}

.feature-mini-list li > span {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--accent-strong);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-weight: 700;
}

.feature-mini-list strong {
  color: var(--ink);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  line-height: 20px;
}

.feature-mini-list p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.platform-row {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
}

.platform-row strong {
  color: var(--muted);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  line-height: 20px;
}

.platform-row span {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-row i {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.service-capability-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.capability-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-soft);
}

.capability-head span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
}

.capability-head strong {
  max-width: 360px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 750;
  line-height: 30px;
  text-align: right;
}

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

.capability-item {
  min-height: 154px;
  padding: 20px;
  border: 1px solid rgba(197, 198, 205, 0.36);
  border-radius: 8px;
  background: var(--surface-soft);
}

.capability-item > span {
  color: var(--accent-strong);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
}

.capability-item h3 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  line-height: 26px;
}

.capability-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.service-closing {
  margin: 0;
  padding: 18px 20px;
  border-left: 2px solid var(--accent-strong);
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 24px;
}

.notices-page {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 48px clamp(24px, 3.125vw, 40px) 96px;
  background: var(--surface);
}

.page-notices main {
  background: var(--surface);
}

.notice-heading {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.notice-heading h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 2.8vw, 36px);
  font-weight: 750;
  line-height: 44px;
}

.notice-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.notice-search {
  position: relative;
  display: flex;
  width: min(384px, 100%);
  align-items: center;
}

.notice-search svg {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.notice-search input {
  width: 100%;
  height: 50px;
  padding: 0 17px 0 49px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-tight);
  outline: none;
}

.notice-search input:focus {
  border-color: var(--accent-strong);
}

.notice-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.notice-filters button {
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  box-shadow: var(--shadow-tight);
}

.notice-filters button.is-active {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #fff;
}

.notice-table-shell {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.notice-table-head,
.notice-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 160px 120px;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
}

.notice-table-head {
  border-bottom: 1px solid var(--border);
  background: var(--accent-soft);
  color: var(--muted);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-transform: uppercase;
}

.notice-table-head span:nth-child(3),
.notice-table-head span:nth-child(4) {
  text-align: right;
}

.notice-row {
  min-height: 62px;
  border-top: 1px solid rgba(197, 198, 205, 0.5);
  color: var(--ink);
  transition: background 160ms ease;
}

.notice-row:first-child {
  border-top: 0;
}

.notice-row:hover,
.notice-row:focus-visible {
  background: rgba(238, 235, 255, 0.52);
}

.notice-status i {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(118, 105, 245, 0.12);
  color: var(--accent-strong);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
}

.notice-status i.is-urgent {
  background: rgba(186, 26, 26, 0.1);
  color: var(--danger);
}

.notice-row strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-row time {
  justify-self: end;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.notice-views {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 6px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.notice-views svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.notice-empty,
.empty-copy {
  padding: 32px 24px;
  color: var(--muted);
}

.notice-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 25px;
  border-top: 1px solid var(--border-soft);
}

.notice-pagination p {
  margin: 0;
  color: var(--muted);
}

.notice-pagination strong {
  color: var(--ink);
}

.notice-pagination nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-pagination a,
.notice-pagination nav > span {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
}

.notice-pagination a:hover,
.notice-pagination a:focus-visible {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
}

.notice-pagination a.is-active {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #fff;
}

.notice-pagination nav > span.is-disabled {
  cursor: default;
  opacity: 0.48;
}

.notice-pagination nav > span:not(.is-disabled) {
  min-width: auto;
  border-color: transparent;
  background: transparent;
  padding: 0 8px;
  color: var(--muted);
}

.legal-layout {
  display: grid;
  max-width: var(--wide);
  margin: 0 auto;
  grid-template-columns: 282px minmax(0, 1fr);
  gap: 24px;
  padding: 40px clamp(24px, 3.125vw, 40px) 96px;
}

.legal-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-nav,
.service-nav {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 25px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: #fff;
}

.service-nav {
  top: 346px;
}

.legal-nav h2,
.service-nav h2 {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-transform: uppercase;
}

.legal-nav a,
.service-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--muted);
}

.legal-nav a.is-active,
.service-nav a.is-active {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.legal-nav svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.service-nav a {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.service-nav span {
  font-size: 16px;
  line-height: 24px;
}

.service-nav small {
  color: currentColor;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  opacity: 0.72;
}

.legal-article {
  min-width: 0;
  padding: 49px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.legal-article-head {
  display: flex;
  max-width: 800px;
  flex-direction: column;
  gap: 16px;
}

.legal-article-head h1 {
  margin: 0;
}

.company-grid {
  display: grid;
  margin: 48px 0;
  padding: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border: 1px solid rgba(197, 198, 205, 0.2);
  border-radius: 8px;
  background: var(--accent-soft);
}

.company-grid div {
  min-width: 0;
}

.company-grid .is-wide {
  grid-column: 1 / -1;
}

.company-grid dt {
  color: var(--accent-strong);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
}

.company-grid dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 22px;
}

.company-grid a {
  color: var(--accent-strong);
}

.legal-sections {
  display: flex;
  max-width: 800px;
  flex-direction: column;
  gap: 48px;
}

.legal-section h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 750;
  line-height: 32px;
}

.legal-section ul {
  display: flex;
  margin: 0;
  padding: 0;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
  list-style: none;
}

.legal-section li {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  line-height: 24px;
}

.legal-section li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent-strong);
  content: "";
}

.legal-section ul.is-highlight {
  padding: 25px;
  border: 1px solid rgba(197, 198, 205, 0.2);
  border-radius: 8px;
  background: var(--accent-soft);
}

.notice-detail-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 64px clamp(24px, 3.125vw, 40px) 96px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--accent-strong);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
}

.back-link::before {
  margin-right: 8px;
  content: "<-";
}

.notice-detail-head,
.notice-body {
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.notice-detail-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 49px;
}

.notice-detail-head time {
  color: var(--muted);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  line-height: 20px;
}

.notice-body {
  margin-top: 24px;
  padding: 40px 49px;
  color: var(--muted);
  font-size: 17px;
  line-height: 28px;
}

.notice-body p {
  margin: 0 0 18px;
}

.notice-body p:last-child {
  margin-bottom: 0;
}

.notice-back-button {
  margin-top: 24px;
}

.site-footer {
  display: grid;
  width: 100%;
  padding: 48px clamp(24px, 3.125vw, 40px);
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 1fr);
  gap: 32px;
  border-top: 1px solid rgba(197, 198, 205, 0.16);
  background: #fff;
}

.footer-brand {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-logo {
  width: 126px;
  height: auto;
}

.footer-company {
  display: flex;
  max-width: 620px;
  flex-wrap: wrap;
  gap: 6px 18px;
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
  line-height: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 32px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent-strong);
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

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

@media (max-width: 1024px) {
  .site-nav {
    gap: 10px;
  }

  .home-hero-inner,
  .service-showcase,
  .service-showcase.is-highlight {
    grid-template-columns: 1fr;
  }

  .home-hero-inner {
    max-width: 720px;
  }

  .hero-media {
    width: 100%;
  }

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

  .service-showcase,
  .service-showcase.is-highlight {
    max-width: 720px;
  }

  .service-showcase.is-highlight {
    padding: 48px;
  }

  .capability-head {
    align-items: flex-start;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-nav,
  .service-nav {
    position: static;
  }
}

@media (max-width: 760px) {
  :root {
    --header: 116px;
  }

  .site-header {
    min-height: var(--header);
    height: auto;
    flex-wrap: wrap;
    align-content: center;
    gap: 8px;
    padding: 10px 18px;
  }

  .brand-logo {
    width: 104px;
  }

  .site-nav {
    position: static;
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 4px;
    overflow-x: auto;
    transform: none;
  }

  .site-nav a {
    min-height: 34px;
    padding: 5px 8px;
    font-size: 14px;
  }

  .site-nav a::after {
    right: 8px;
    left: 8px;
  }

  .header-action {
    display: none;
  }

  .home-hero {
    padding: 48px 20px 64px;
  }

  .home-hero-inner {
    gap: 36px;
  }

  .home-hero-copy h1,
  .services-hero h1,
  .legal-article h1,
  .notice-detail-head h1 {
    font-size: clamp(38px, 12vw, 48px);
    line-height: 1.15;
  }

  .home-hero-copy > p:not(.eyebrow),
  .services-hero p,
  .section-head p,
  .legal-article-head > p:not(.eyebrow),
  .notice-detail-head > p {
    font-size: 16px;
    line-height: 25px;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-media {
    height: min(430px, 105vw);
  }

  .status-panel {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 18px;
  }

  .core-section,
  .service-showcases,
  .notices-page,
  .legal-layout,
  .notice-detail-page,
  .site-footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .core-card {
    min-height: auto;
    padding: 26px;
  }

  .services-hero {
    padding: 64px 20px 88px;
  }

  .service-showcases {
    gap: 56px;
    padding-bottom: 64px;
  }

  .service-showcase {
    gap: 32px;
  }

  .service-showcase.is-highlight {
    padding: 32px 20px;
  }

  .service-capability-panel {
    padding: 24px;
  }

  .capability-head {
    flex-direction: column;
    gap: 14px;
  }

  .capability-head strong {
    max-width: none;
    text-align: left;
  }

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

  .notice-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .notice-search {
    width: 100%;
  }

  .notice-filters {
    justify-content: flex-start;
  }

  .notice-table-head {
    display: none;
  }

  .notice-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }

  .notice-row strong {
    white-space: normal;
  }

  .notice-row time,
  .notice-views {
    justify-self: start;
  }

  .notice-pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .notice-pagination nav {
    flex-wrap: wrap;
  }

  .legal-aside {
    grid-template-columns: 1fr;
    order: 2;
  }

  .legal-article {
    order: 1;
  }

  .legal-article,
  .notice-detail-head,
  .notice-body {
    padding: 28px;
  }

  .company-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

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