:root {
  --bg: #eef2f7;
  --surface: #ffffff;
  --surface-2: #0f1728;
  --surface-3: #14213a;
  --text: #122033;
  --muted: #5b687c;
  --line: #d6deea;
  --line-strong: #a6b5cb;
  --brand: #1f6fff;
  --brand-deep: #103a88;
  --brand-soft: #e4efff;
  --accent: #18b7a4;
  --shadow: 0 18px 50px rgba(15, 23, 40, .08);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1240px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: linear-gradient(180deg, #eff4fa 0%, #e8eef7 100%);
  color: var(--text);
  line-height: 1.6
}

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

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

button,
input,
textarea {
  font: inherit
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(239, 244, 250, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(18, 32, 51, .06)
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0
}

.brand-badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), #5ca0ff);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: .1em;
  box-shadow: var(--shadow)
}

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

.brand-copy strong {
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase
}

.brand-copy span {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted)
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap
}

.nav a {
  padding: 11px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--muted)
}

.nav a:hover,
.nav a.is-active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 10px 26px rgba(18, 32, 51, .07)
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 11px 14px;
  border-radius: 14px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  transition: .2s ease;
  border: 1px solid transparent
}

.btn:hover {
  transform: translateY(-1px)
}

.btn-primary {
  background: var(--brand);
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(31, 111, 255, .24)
}

.btn-primary:hover { 
  color: var(--brand) !important;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line)
}

.btn-dark {
  background: var(--surface-2);
  color: #fff
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em
}

.kicker:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent)
}

.hero {
  padding: 28px 0 18px
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: stretch
}

.hero-panel {
  background: var(--surface-2);
  color: #f4f8ff;
  border-radius: 40px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow)
}

.hero-panel:before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 183, 164, .35), rgba(24, 183, 164, 0));
  pointer-events: none
}

.hero-panel h1,
.page-hero h1 {
  margin: 18px 0 18px;
  font-size: 40px;
  line-height: .94;
  letter-spacing: -.03em
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem)
}

.hero-panel p,
.page-hero .lead,
.dark-card p,
.info-card p,
.stack-card p,
.legal-panel p,
.contact-panel p,
.timeline-entry p,
.feature-box p {
  color: #c4d0e4
}
.contact-panel p, .feature-box p, .info-card p, .legal-panel p {
  color: #122033;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px
}

.meta-tile {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .09)
}

.meta-tile b,
.data-box b,
.strip-card b,
.keyline b {
  display: block;
  margin-bottom: 6px;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8bb7ff
}

.hero-side {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 18px
}

.visual-card {
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  min-height: 100%;
  box-shadow: var(--shadow)
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  filter: saturate(.95)
}

.floating-info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px
}

.data-box {
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--line)
}

.section {
  padding: 84px 0
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(228, 239, 255, .55))
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 26px
}

.section-head h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -.03em
}

.section-head p {
  max-width: 58ch;
  color: var(--muted)
}

.grid-2,
.grid-3,
.grid-4,
.storyline,
.contact-layout,
.footer-grid,
.intro-layout,
.service-columns,
.facts-grid {
  display: grid;
  gap: 18px
}

.grid-2,
.intro-layout,
.contact-layout {
  grid-template-columns: repeat(2, 1fr)
}

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

.grid-4,
.facts-grid {
  grid-template-columns: repeat(4, 1fr)
}

.panel,
.info-card,
.strip-card,
.stack-card,
.timeline-entry,
.legal-panel,
.contact-panel,
.footer-card,
.feature-box {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 28px
}

.panel,
.legal-panel {
  padding: 30px
}

.info-card,
.strip-card,
.stack-card,
.timeline-entry,
.contact-panel,
.footer-card,
.feature-box {
  padding: 26px
}

.dark-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface-3));
  color: #f3f7ff;
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--shadow)
}

.dark-card h3,
.info-card h3,
.stack-card h3,
.timeline-entry h3,
.legal-panel h3,
.contact-panel h3,
.feature-box h3 {
  margin: 0 0 12px;
  font-size: 1.34rem;
  letter-spacing: -.02em
}

.split-banner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch
}

.vertical-list {
  display: grid;
  gap: 14px
}

.keyline {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.keyline:last-child {
  border-bottom: 0;
  padding-bottom: 0
}

.strip-card {
  background: linear-gradient(180deg, #fff, #f9fbff)
}

.service-columns .feature-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%
}

.feature-index {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--line-strong);
  margin-bottom: 22px
}

.storyline {
  grid-template-columns: .9fr 1.1fr
}

.story-visual {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 100%
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 520px
}

.timeline {
  display: grid;
  gap: 14px
}

.timeline-entry {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start
}

.timeline-step {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  color: var(--brand-deep);
  font-weight: 800
}

.page-hero {
  padding: 28px 0 8px
}

.page-intro-card {
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  color: #f4f8ff;
  border-radius: 38px;
  padding: 34px;
  box-shadow: var(--shadow)
}

.page-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 28px;
  box-shadow: var(--shadow)
}

.page-summary strong {
  display: block;
  margin-bottom: 10px;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand)
}

.form-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 30px;
  box-shadow: var(--shadow)
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 14px
}

label {
  font-size: .92rem;
  font-weight: 700
}

input,
textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text)
}

textarea {
  min-height: 150px;
  resize: vertical
}

.inline-link {
  color: var(--brand-deep);
  text-decoration: underline;
  text-underline-offset: 3px
}

.site-footer {
  padding: 26px 0 34px;
  background: #dfe7f2;
  border-top: 1px solid rgba(18, 32, 51, .08)
}

.footer-grid {
  grid-template-columns: 1.1fr .8fr .9fr .8fr
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 12px
}

.footer-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: .82rem
}

.footer-list,
.footer-nav {
  display: grid;
  gap: 10px;
  color: var(--muted)
}

.footer-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid rgba(18, 32, 51, .08);
  color: var(--muted)
}

#cc-popup {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99;
  max-width: 760px;
  margin: auto;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid var(--line);
  box-shadow: var(--shadow)
}

#cc-popup p {
  margin: 0;
  color: var(--text)
}

#cc-popup.is-hidden {
  display: none !important
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px
}

.notice-bar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px
}

.notice-pill {
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #d5e1f5;
  font-weight: 700
}

@media (max-width:1120px) {

  .hero-grid,
  .split-banner,
  .storyline,
  .intro-layout,
  .contact-layout,
  .footer-grid,
  .grid-3,
  .grid-4,
  .service-columns,
  .facts-grid {
    grid-template-columns: 1fr 1fr
  }

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

@media (max-width:760px) {
  .nav-toggle {
    display: block
  }

  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    background: var(--surface);
    padding: 14px;
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow)
  }

  .nav.is-open {
    display: grid
  }

  .hero-grid,
  .split-banner,
  .storyline,
  .intro-layout,
  .contact-layout,
  .footer-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .service-columns,
  .facts-grid,
  .form-grid {
    grid-template-columns: 1fr
  }

  .hero-panel,
  .page-intro-card,
  .panel,
  .legal-panel,
  .form-shell {
    padding: 24px
  }

  .hero-panel h1,
  .page-hero h1 {
    font-size: 2.55rem
  }

  .visual-card img,
  .story-visual img {
    min-height: 300px
  }
}