:root {
  --color-navy: #001249;
  --color-blue: #062f92;
  --color-gold: #db9d40;
  --color-ink: #111827;
  --color-muted: #596273;
  --color-paper: #ffffff;
  --color-soft: #f6f7f9;
  --color-line: #e6e8ee;
  --space-page: clamp(24px, 5vw, 72px);
  --content-width: 980px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--color-paper);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--color-ink);
  background:
    linear-gradient(135deg, rgba(0, 18, 73, 0.045), transparent 42%),
    linear-gradient(315deg, rgba(219, 157, 64, 0.08), transparent 36%),
    var(--color-paper);
  display: flex;
  flex-direction: column;
}

.home-page {
  color: rgba(255, 255, 255, 0.88);
  background:
    radial-gradient(circle at 20% 18%, rgba(6, 47, 146, 0.34), transparent 30%),
    radial-gradient(circle at 82% 42%, rgba(6, 47, 146, 0.28), transparent 33%),
    linear-gradient(150deg, rgba(219, 157, 64, 0.08), transparent 22%),
    linear-gradient(135deg, #001249 0%, #020a25 48%, #000514 100%);
}

a {
  color: var(--color-navy);
  text-decoration-color: rgba(219, 157, 64, 0.65);
  text-underline-offset: 0.22em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

a:hover,
a:focus-visible {
  color: var(--color-blue);
  text-decoration-color: var(--color-gold);
}

.site-shell {
  width: min(100%, calc(var(--content-width) + (var(--space-page) * 2)));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 54px) var(--space-page) var(--space-page);
  flex: 1;
  display: grid;
  align-items: center;
}

.home-header {
  width: min(100%, calc(var(--content-width) + (var(--space-page) * 2)));
  margin: 0 auto;
  padding: clamp(20px, 3vw, 34px) var(--space-page) 0;
}

.home-logo {
  display: inline-flex;
  align-items: center;
  width: min(310px, 62vw);
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 5, 20, 0.22);
}

.home-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.hero {
  min-height: 68vh;
  display: grid;
  align-content: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(66px, 9vw, 126px);
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 5vw, 62px);
  width: min(560px, 58vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(219, 157, 64, 0.34), transparent);
  z-index: -1;
}

.hero-mark {
  position: absolute;
  right: clamp(-250px, -13vw, -90px);
  top: 48%;
  width: clamp(440px, 58vw, 820px);
  aspect-ratio: 1 / 1;
  transform: translateY(-50%);
  background-image: url("KOLBINGER_Digital_Solutions.png");
  background-repeat: no-repeat;
  background-size: clamp(1750px, 205vw, 3060px) auto;
  background-position: left center;
  filter: brightness(1.25) saturate(1.18);
  opacity: 0.18;
  z-index: -2;
}

.hero-mark::after {
  content: "";
  position: absolute;
  inset: -12%;
  background: radial-gradient(circle, transparent 34%, rgba(0, 18, 73, 0.48) 72%);
}

.hero-content {
  width: min(100%, 780px);
  margin: 0 auto;
  text-align: center;
}

.gold-rule {
  display: block;
  width: 74px;
  height: 2px;
  margin: 0 auto clamp(36px, 5vw, 58px);
  background: var(--color-gold);
  box-shadow: 0 0 18px rgba(219, 157, 64, 0.22);
}

.gold-rule--small {
  width: 68px;
  margin: clamp(32px, 5vw, 54px) auto clamp(28px, 4vw, 40px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 1.02;
  font-weight: 720;
  letter-spacing: 0;
}

.home-page h1 {
  max-width: 790px;
  color: #eef5ff;
  font-size: clamp(2.2rem, 5.2vw, 4.85rem);
  line-height: 1.11;
  font-weight: 720;
  text-wrap: balance;
}

.subline {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--color-muted);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.55;
}

.home-page .subline {
  max-width: 700px;
  margin: 0 auto;
  color: var(--color-gold);
  font-size: clamp(1.35rem, 2.7vw, 2.05rem);
  font-weight: 700;
  line-height: 1.34;
  text-wrap: balance;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 36px;
  color: var(--color-navy);
  font-size: 1.02rem;
  font-weight: 700;
}

.home-page .contact-link {
  color: #ffffff;
  gap: 12px;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 44px);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: 600;
  text-decoration-color: rgba(219, 157, 64, 0.78);
}

.home-page .contact-link span {
  color: var(--color-gold);
  font-size: 1.08em;
  line-height: 1;
}

.home-page .contact-link:hover,
.home-page .contact-link:focus-visible {
  color: var(--color-gold);
}

.footer {
  width: min(100%, calc(var(--content-width) + (var(--space-page) * 2)));
  margin: 0 auto;
  padding: 26px var(--space-page) 34px;
  color: var(--color-muted);
  font-size: 0.92rem;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--color-line);
}

.home-footer {
  color: rgba(255, 255, 255, 0.62);
  border-top-color: rgba(255, 255, 255, 0.14);
}

.home-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration-color: rgba(219, 157, 64, 0.62);
}

.home-footer a:hover,
.home-footer a:focus-visible {
  color: #ffffff;
  text-decoration-color: var(--color-gold);
}

.footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
}

.page-header {
  width: min(100%, calc(var(--content-width) + (var(--space-page) * 2)));
  margin: 0 auto;
  padding: 34px var(--space-page) 0;
}

.brand-link {
  display: inline-block;
  text-decoration: none;
}

.brand-link img {
  display: block;
  width: min(320px, 72vw);
  height: auto;
}

.legal-page {
  width: min(100%, calc(var(--content-width) + (var(--space-page) * 2)));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 86px) var(--space-page) clamp(64px, 8vw, 104px);
  flex: 1;
}

.legal-content {
  max-width: 780px;
  padding: clamp(28px, 5vw, 58px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 18, 73, 0.08);
}

.legal-content h1 {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
}

.legal-content section {
  margin-top: clamp(34px, 5vw, 52px);
}

.legal-content h2 {
  margin: 0 0 12px;
  color: var(--color-navy);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.legal-content p {
  margin: 0;
  color: #323b4c;
  font-size: 1rem;
  line-height: 1.72;
}

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

@media (max-width: 720px) {
  .home-header {
    padding-top: 18px;
  }

  .home-logo {
    width: min(280px, 74vw);
    padding: 10px 12px;
  }

  .hero {
    min-height: 68vh;
    padding-block: 72px;
  }

  .hero-mark {
    right: -240px;
    top: 44%;
    width: 560px;
    background-size: 1980px auto;
    opacity: 0.17;
  }

  .hero-content {
    margin-left: 0;
  }

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

  .legal-content {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}
