:root {
  --blue: #0798dc;
  --blue-dark: #0465a4;
  --ink: #182130;
  --muted: #657184;
  --line: #e4e9ef;
  --soft: #f6f8fa;
  --paper: #ffffff;
  --radius: 10px;
  --shadow: 0 14px 34px rgba(18, 40, 62, 0.12);
  font-family: Inter, Arial, Helvetica, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 64px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(228, 233, 239, 0);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled,
.site-header.is-open {
  border-color: var(--line);
  box-shadow: 0 8px 22px rgba(13, 34, 52, 0.08);
}

.brand,
.footer-brand,
.policy-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand {
  font-size: 22px;
}

.brand img,
.footer-brand img,
.policy-brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  object-fit: cover;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 700;
}

.main-nav a {
  color: #26374d;
}

.main-nav a:hover {
  color: var(--blue-dark);
}

.main-nav a,
.button,
.info-cards button,
.legal-links a,
.service-grid article,
.feature-photo img,
.hero-image img,
.wide-photo img {
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    color 180ms ease,
    filter 260ms ease;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: calc(100vh - 72px);
  background: var(--blue);
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px;
  color: #fff;
  animation: heroTextIn 700ms ease both;
}

.hero-text h1 {
  max-width: 620px;
  margin: 0 0 20px;
  font-size: clamp(42px, 5.3vw, 76px);
  line-height: 1.02;
  font-weight: 850;
}

.hero-text p {
  max-width: 500px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.5;
  font-weight: 600;
}

.hero-image {
  min-height: 520px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroImageIn 900ms ease both;
}

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

.button,
.info-cards button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 800;
}

.button.primary {
  background: #fff;
  color: var(--blue-dark);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: #fff;
}

.button:hover,
.info-cards button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(14, 67, 109, 0.16);
}

.intro,
.services,
.cards-section,
.legal,
.simple-band,
.policy-page {
  padding: 76px 64px;
}

.intro h2,
.section-title h2,
.feature-copy h2,
.simple-band h2,
.policy-card h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.12;
  font-weight: 850;
}

.intro p,
.section-title p,
.feature-copy p,
.simple-band p,
.info-cards p,
.legal-note,
.policy-card p,
.policy-card li {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.intro {
  max-width: 1100px;
}

.wide-photo img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.wide-photo:hover img,
.feature-photo:hover img,
.hero-image:hover img {
  transform: scale(1.025);
}

.feature-block {
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: 520px;
}

.feature-block.reverse {
  background: var(--soft);
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
}

.feature-photo img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.section-title {
  max-width: 760px;
  margin-bottom: 30px;
}

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

.service-grid article {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(18, 40, 62, 0.07);
  transform: translateZ(0);
}

.service-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(18, 40, 62, 0.16);
}

.service-grid article:hover img {
  transform: scale(1.035);
  filter: saturate(1.06);
}

.service-grid img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}

.service-grid h3 {
  margin: 0;
  padding: 16px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.simple-band {
  background: var(--blue);
  color: #fff;
}

.simple-band div {
  max-width: 920px;
}

.simple-band h2 {
  color: #fff;
}

.simple-band p {
  color: rgba(255, 255, 255, 0.86);
}

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

.info-cards article,
.legal-links a {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.info-cards article:hover,
.legal-links a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.info-cards span {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.info-cards h3 {
  margin: 10px 0 0;
  font-size: 21px;
  line-height: 1.2;
}

.info-cards button {
  margin-top: 18px;
  border: 0;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
}

.copy-status {
  min-height: 18px;
  color: #0c8f67;
  font-size: 13px;
  font-weight: 700;
}

.legal {
  background: #fff;
  border-top: 1px solid var(--line);
}

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

.legal-links a {
  display: flex;
  min-height: 92px;
  align-items: center;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-grid .reveal:nth-child(2),
.info-cards .reveal:nth-child(2),
.legal-links .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.service-grid .reveal:nth-child(3),
.info-cards .reveal:nth-child(3),
.legal-links .reveal:nth-child(3) {
  transition-delay: 140ms;
}

.service-grid .reveal:nth-child(4),
.legal-links .reveal:nth-child(4) {
  transition-delay: 200ms;
}

.service-grid .reveal:nth-child(5) {
  transition-delay: 260ms;
}

.service-grid .reveal:nth-child(6) {
  transition-delay: 320ms;
}

.service-grid .reveal:nth-child(7) {
  transition-delay: 380ms;
}

.service-grid .reveal:nth-child(8) {
  transition-delay: 440ms;
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageIn {
  from {
    opacity: 0;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.legal-note code {
  border-radius: 6px;
  background: var(--soft);
  padding: 2px 6px;
  color: var(--blue-dark);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 64px;
  background: #111d2d;
  color: #fff;
}

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

.policy-page {
  min-height: 100vh;
  background: var(--soft);
}

.policy-brand {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 18px;
}

.policy-card {
  max-width: 840px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 40px;
  box-shadow: var(--shadow);
}

.kicker {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.policy-card h2 {
  margin: 28px 0 0;
  font-size: 21px;
}

.policy-card a {
  color: var(--blue-dark);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    height: 68px;
    padding: 0 22px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .main-nav {
    display: none;
  }

  .site-header.is-open .main-nav {
    position: fixed;
    top: 68px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 2px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-header.is-open .main-nav a {
    padding: 12px;
  }

  .hero,
  .feature-block {
    grid-template-columns: 1fr;
  }

  .hero-text,
  .feature-copy,
  .intro,
  .services,
  .cards-section,
  .legal,
  .simple-band,
  .policy-page {
    padding: 46px 22px;
  }

  .hero-text h1 {
    font-size: clamp(38px, 10vw, 56px);
  }

  .hero-text p {
    font-size: 17px;
  }

  .hero-image {
    min-height: 340px;
  }

  .feature-photo img {
    min-height: 330px;
  }

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

  .info-cards,
  .legal-links {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .hero-text,
  .feature-copy,
  .intro,
  .services,
  .cards-section,
  .legal,
  .simple-band,
  .policy-page {
    padding: 34px 18px;
  }

  .hero-text h1,
  .intro h2,
  .section-title h2,
  .feature-copy h2,
  .simple-band h2,
  .policy-card h1 {
    font-size: 32px;
    line-height: 1.12;
  }

  .intro p,
  .section-title p,
  .feature-copy p,
  .simple-band p,
  .info-cards p,
  .legal-note,
  .policy-card p,
  .policy-card li {
    font-size: 15px;
    line-height: 1.58;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-grid img {
    aspect-ratio: 1.5 / 1;
  }

  .policy-card {
    padding: 24px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
