:root {
  --bg: #f7f9fb;
  --surface: #ffffff;
  --ink: #18202a;
  --muted: #5d6878;
  --line: #dce3eb;
  --blue: #295cff;
  --green: #0f8b72;
  --rust: #b65733;
  --navy: #111827;
  --shadow: 0 18px 55px rgba(24, 32, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(247, 249, 251, 0.86);
  border-bottom: 1px solid rgba(220, 227, 235, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 0 0 4px rgba(41, 92, 255, 0.10);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

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

.button.text {
  border-color: transparent;
  padding-inline: 0;
  color: var(--blue);
}

.hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  color: #ffffff;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 35%;
  opacity: 0.42;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.96) 0%, rgba(17, 24, 39, 0.76) 48%, rgba(17, 24, 39, 0.30) 100%),
    linear-gradient(0deg, rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.08));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 104px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
}

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

h1 {
  max-width: 720px;
  margin: 22px 0 18px;
  font-size: clamp(3.4rem, 10vw, 6.7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.lede {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.hero-meta span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 10px;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 66px 0;
}

.section.compact {
  padding: 46px 0;
}

.section-title {
  max-width: 740px;
}

.section-title h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.section-title p {
  color: var(--muted);
  font-size: 1.06rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  min-height: 210px;
}

.card h3 {
  margin-bottom: 9px;
  font-size: 1.04rem;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid #f0c68a;
  border-left: 5px solid var(--rust);
  border-radius: 8px;
  background: #fff8ec;
  color: #51371f;
}

.notice strong {
  white-space: nowrap;
}

.notice span {
  color: #65482b;
}

.legal-grid .card {
  min-height: 240px;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.source-links a {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.source-links a:hover {
  color: var(--ink);
  border-color: #b9c5d4;
}

.tool-section {
  padding-top: 24px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.tool-card {
  display: grid;
  align-content: start;
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.tool-card h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.tool-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.tool-card h3 a:hover {
  color: var(--blue);
}

.tool-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.tool-platform {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e9f1ff;
  color: #2447a5;
  font-size: 0.78rem;
  font-weight: 800;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
}

.tag.blue {
  background: var(--blue);
}

.tag.green {
  background: var(--green);
}

.tag.rust {
  background: var(--rust);
}

.product-shot {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 30px;
  align-items: center;
  padding-top: 22px;
}

.shot-copy p {
  color: var(--muted);
}

.shot-frame {
  margin: 0;
}

.shot-frame img {
  display: block;
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #e8edf4;
  box-shadow: var(--shadow);
}

.status-band {
  background: #14231f;
  color: #ffffff;
}

.status-band .section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.status-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.page-main {
  width: min(840px, calc(100% - 32px));
  margin: 0 auto;
  padding: 118px 0 70px;
}

.page-main h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  line-height: 0.98;
}

.page-main h2 {
  margin-top: 34px;
  font-size: 1.35rem;
}

.page-main p,
.page-main li {
  color: var(--muted);
}

.page-main code {
  color: var(--ink);
  background: #e9eef5;
  border-radius: 6px;
  padding: 2px 5px;
}

.list {
  padding-left: 22px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.92rem;
}

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

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

.footer-links a:hover {
  color: var(--ink);
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 74vh;
  }

  .hero-inner {
    padding-top: 58px;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.68));
  }

  .grid,
  .grid.four,
  .tool-grid,
  .product-shot,
  .status-band .section {
    grid-template-columns: 1fr;
  }

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

  .card {
    min-height: 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 0;
  }
}
