:root {
  --ink: #111318;
  --ink-soft: #333945;
  --paper: #f7f4ee;
  --paper-strong: #fffaf0;
  --line: rgba(17, 19, 24, 0.14);
  --teal: #11a7a2;
  --amber: #d98a24;
  --coral: #cf4f44;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
  color: var(--white);
}

.site-header.compact {
  position: sticky;
  background: rgba(17, 19, 24, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.site-nav a {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 19, 24, 0.88) 0%, rgba(17, 19, 24, 0.58) 44%, rgba(17, 19, 24, 0.28) 100%),
    linear-gradient(180deg, rgba(17, 19, 24, 0.62) 0%, rgba(17, 19, 24, 0.02) 44%, rgba(17, 19, 24, 0.84) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 5vw, 72px);
  padding-top: 88px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
}

.button.primary {
  background: var(--amber);
  color: #170f07;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--white);
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  gap: 10px;
  margin-bottom: 34px;
}

.section h2,
.legal-hero h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.card-index {
  display: block;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3 {
  margin: 46px 0 12px;
  font-size: 24px;
}

.service-card p,
.copy-block p,
.contact-band p,
.compliance-grid p,
.legal-content p {
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  background: var(--ink);
  color: var(--white);
}

.split .copy-block p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.copy-block p:first-child {
  margin-top: 0;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-band h2 {
  margin: 0 0 14px;
}

.contact-band p {
  max-width: 650px;
  margin: 0;
}

.contact-link {
  border: 1px solid rgba(17, 19, 24, 0.18);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(17, 19, 24, 0.08);
}

.compliance-section {
  background: var(--paper-strong);
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.compliance-grid article {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.compliance-grid h3 {
  margin: 0 0 12px;
  font-size: 23px;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.site-footer p {
  max-width: 520px;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

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

.legal-page {
  background: var(--paper);
}

.legal-hero {
  padding: clamp(64px, 9vw, 110px) clamp(20px, 5vw, 72px) 40px;
}

.legal-hero p:last-child {
  margin: 16px 0 0;
  color: var(--ink-soft);
}

.legal-content {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto clamp(64px, 8vw, 100px);
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: 22px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0 0 14px;
}

.legal-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--ink-soft);
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-content a {
  color: #087d78;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice-box {
  padding: 18px;
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  background: rgba(217, 138, 36, 0.12);
}

.policy-table {
  width: 100%;
  margin: 18px 0 28px;
  border-collapse: collapse;
  overflow-wrap: anywhere;
  font-size: 15px;
}

.policy-table th,
.policy-table td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.policy-table th {
  background: rgba(17, 19, 24, 0.06);
  color: var(--ink);
}

@media (max-width: 820px) {
  .site-header,
  .site-header.compact {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
    background: var(--ink);
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    width: calc(100% - 40px);
    margin: 0 auto;
    padding-top: 0;
  }

  .service-grid,
  .compliance-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .contact-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 520px) {
  .hero {
    min-height: 680px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .service-card,
  .legal-content {
    padding: 24px;
  }

  .policy-table {
    display: block;
    overflow-x: auto;
  }

  .contact-link {
    width: 100%;
    overflow-wrap: anywhere;
  }
}
