@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-2: #0b1728;
  --surface: rgba(11, 21, 36, 0.82);
  --surface-strong: #0e1a2d;
  --line: rgba(180, 203, 229, 0.16);
  --text: #edf4ff;
  --muted: #a3b5cf;
  --primary: #2dd4bf;
  --primary-strong: #0ea5a6;
  --secondary: #8ad5ff;
  --accent: #f6c85f;
  --shadow: 0 28px 80px rgba(1, 7, 16, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(45, 212, 191, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(138, 213, 255, 0.15), transparent 28%),
    radial-gradient(circle at bottom left, rgba(246, 200, 95, 0.12), transparent 30%),
    linear-gradient(180deg, #06101d 0%, #081322 55%, #06101d 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.16), transparent 72%);
  pointer-events: none;
}

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

img {
  max-width: 100%;
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 18px;
  margin-bottom: 28px;
  position: sticky;
  top: 16px;
  z-index: 10;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(7, 17, 31, 0.68);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #04101b;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 18px 35px rgba(45, 212, 191, 0.24);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong,
.hero h1,
.section-heading h2,
.panel-card h2,
.contact-card h2,
.policy-card h1,
.policy-card h2 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.03em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--muted);
  font-weight: 500;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  padding: 18px 0 12px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.content-card,
.service-card,
.step-card,
.contact-card,
.panel-card,
.policy-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 26, 45, 0.92), rgba(9, 18, 31, 0.88));
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: 30px;
  padding: 38px;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: '';
  position: absolute;
  inset: auto -8% -30% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.26), transparent 70%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.1rem);
  line-height: 0.98;
  max-width: 12ch;
}

.hero-text {
  margin: 22px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #031119;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 20px 36px rgba(45, 212, 191, 0.22);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.hero-highlights div,
.contact-list div {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.hero-highlights strong,
.contact-list strong,
.service-card h3,
.content-card h3,
.step-card h3 {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-highlights span,
.panel-card p,
.content-card p,
.service-card p,
.step-card p,
.contact-list span,
.contact-list a,
.site-footer {
  color: var(--muted);
  line-height: 1.7;
}

.hero-panel {
  border-radius: 30px;
  padding: 18px;
  display: grid;
  gap: 16px;
}

.panel-card-visual {
  display: grid;
  gap: 14px;
  overflow: hidden;
}

.panel-visual-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  align-items: stretch;
}

.panel-visual-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.panel-visual-grid img:first-child {
  grid-row: span 2;
  height: 100%;
  min-height: 210px;
}

.panel-visual-caption {
  display: grid;
  gap: 6px;
}

.panel-visual-caption strong {
  font-size: 1.05rem;
  line-height: 1.45;
}

.panel-card {
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.panel-card-main {
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.13), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.panel-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.panel-card h2 {
  margin: 0 0 10px;
  font-size: 2rem;
  line-height: 1.05;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.panel-grid strong {
  display: block;
  margin-bottom: 8px;
}

.section {
  padding: 28px 0 0;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.06;
}

.section-heading p {
  margin: 0;
}

.info-grid,
.service-grid,
.steps-grid {
  display: grid;
  gap: 16px;
}

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

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

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

.content-card,
.service-card,
.step-card,
.contact-card,
.policy-card {
  border-radius: 24px;
  padding: 22px;
}

.service-card,
.step-card {
  min-height: 190px;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(45, 212, 191, 0.12);
  color: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

.contact-card {
  display: grid;
  gap: 22px;
  background:
    linear-gradient(145deg, rgba(45, 212, 191, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(14, 26, 45, 0.96), rgba(9, 18, 31, 0.92));
}

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

.contact-list a {
  display: inline-block;
  word-break: break-word;
}

.site-footer {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 28px 0 12px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.site-footer a {
  transition: color 160ms ease;
}

.content-card,
.service-card,
.step-card,
.panel-card,
.contact-card,
.policy-card {
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.content-card:hover,
.service-card:hover,
.step-card:hover,
.panel-card:hover,
.contact-card:hover,
.policy-card:hover {
  transform: translateY(-3px);
  border-color: rgba(138, 213, 255, 0.28);
}

.policy-page .page-shell {
  padding-top: 32px;
}

.policy-layout {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.policy-card {
  padding: 28px;
  background: linear-gradient(180deg, rgba(14, 26, 45, 0.94), rgba(9, 18, 31, 0.9));
}

.policy-card h1 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
}

.policy-card h2 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.policy-card p,
.policy-card li {
  color: var(--muted);
  line-height: 1.75;
}

.policy-card ul {
  margin: 0;
  padding-left: 20px;
}

.policy-card li + li {
  margin-top: 10px;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

@media (max-width: 980px) {
  .hero,
  .info-grid,
  .service-grid,
  .steps-grid,
  .contact-list {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .panel-visual-grid img:first-child {
    grid-row: auto;
    min-height: 180px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1160px);
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 10px 14px;
  }

  .hero-copy,
  .hero-panel,
  .content-card,
  .service-card,
  .step-card,
  .contact-card,
  .policy-card {
    padding: 20px;
    border-radius: 22px;
  }

  .hero-highlights,
  .info-grid,
  .service-grid,
  .steps-grid,
  .panel-grid,
  .contact-list {
    grid-template-columns: 1fr;
  }

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

  .panel-visual-grid img,
  .panel-visual-grid img:first-child {
    height: 190px;
    min-height: 190px;
  }

  .hero h1 {
    max-width: none;
  }
}
