:root {
  --ink: #151515;
  --muted: #5d6168;
  --line: #ded8cf;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --red: #dc1734;
  --orange: #f28b2e;
  --teal: #0a7f86;
  --green: #54764c;
  --shadow: 0 18px 60px rgba(21, 21, 21, 0.08);
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  background: rgba(251, 250, 247, 0.88);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--red);
}

.brand-mark::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 5px solid #fff;
  border-radius: 50%;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 720;
  white-space: nowrap;
}

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

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: calc(100vh - 72px);
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 760;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--red);
  border-radius: 50%;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 880px;
  font-size: clamp(3.15rem, 7vw, 6.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.65rem);
}

h3 {
  font-size: 1.15rem;
}

.lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.hero-note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.system-visual {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(130deg, rgba(220, 23, 52, 0.08), transparent 38%),
    linear-gradient(220deg, rgba(10, 127, 134, 0.1), transparent 42%),
    #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.system-visual::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: 8px;
}

.visual-topbar {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
}

.dot:nth-child(2) {
  background: var(--orange);
}

.dot:nth-child(3) {
  background: var(--teal);
}

.visual-grid {
  position: relative;
  z-index: 1;
  padding: 30px;
  display: grid;
  gap: 16px;
}

.visual-row {
  min-height: 86px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: stretch;
}

.visual-label {
  display: flex;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(251, 250, 247, 0.88);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 720;
  text-transform: uppercase;
}

.visual-card {
  padding: 16px;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.visual-card strong {
  display: block;
  margin-bottom: 8px;
}

.visual-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

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

.section-heading {
  max-width: 760px;
}

.section-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

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

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

.card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.card p {
  margin: 14px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.tag {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 780;
  text-transform: uppercase;
}

.portfolio-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proof-card {
  overflow: hidden;
  padding: 0;
}

.proof-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f0eee9;
  border-bottom: 1px solid var(--line);
}

.proof-card .proof-body {
  padding: 22px;
}

.proof-card p {
  margin-top: 12px;
}

.portfolio-meta {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.9rem;
}

.split-band {
  background: #1d1e1f;
  color: #fff;
}

.split-band .section-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.split-band p,
.split-band li {
  color: rgba(255, 255, 255, 0.72);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 22px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .system-visual {
    min-height: auto;
  }

  .grid.four,
  .grid.three,
  .split-band .section-inner,
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 3.1rem;
  }

  .visual-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .footer-inner {
    flex-direction: column;
  }
}
