:root {
  color-scheme: light;
  --bg: #f2f4f7;
  --bg-2: #eef2f6;
  --surface: #ffffff;
  --surface-soft: #f7f8fa;
  --text: #121417;
  --muted: #59616b;
  --line: #d8dde4;
  --line-strong: #bfc7d1;
  --accent: #243041;
  --accent-soft: #465a73;
  --primary: #5f6fff;
  --secondary: #28bff1;
  --tertiary: #1fc8a8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% -10%, #ffffff 0%, transparent 36%),
    radial-gradient(circle at 100% 12%, #e9edf3 0%, transparent 34%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 40;
  background: rgba(18, 20, 23, 0.08);
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--tertiary));
  transition: width 140ms linear;
}

.page {
  width: min(1080px, calc(100% - 4rem));
  margin: 0 auto;
  padding: 5.4rem 0 4.3rem;
}

.intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.4rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.9rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(250, 252, 255, 0.9));
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 40px rgba(18, 20, 23, 0.08);
}


.logo {
  width: clamp(88px, 10vw, 110px);
  height: auto;
  display: block;
  margin-bottom: 1rem;
  filter: grayscale(100%);
  transform: translateY(var(--logo-shift, 0px));
  transition: transform 280ms ease;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 0.9rem;
}

.intro p {
  max-width: 58ch;
  color: var(--muted);
}

.intro-image {
  width: min(100%, 360px);
  height: auto;
  margin-left: auto;
  border: 1px solid #d4dbef;
  border-radius: 14px;
  background: linear-gradient(160deg, #f8fbff, #f2f7ff);
  padding: 0.7rem;
}

.intro-badges {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.intro-badges span {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  background: linear-gradient(180deg, #ffffff, #f7f9ff);
}

.highlight-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0 0 1.2rem;
}

.highlight-strip article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff, #f7faff);
}

.chip-icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(130deg, var(--primary), var(--secondary));
  box-shadow: 0 8px 18px rgba(51, 103, 255, 0.25);
  margin-bottom: 0.55rem;
}

.highlight-strip h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 600;
}

.highlight-strip p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.double,
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-head {
  grid-column: 1 / -1;
  margin-bottom: 0.2rem;
}

.section-head h2 {
  margin-bottom: 0.45rem;
}

.section-head p {
  color: var(--muted);
  max-width: 68ch;
  font-size: 0.95rem;
}

.panel,
.service {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.35rem 1.25rem;
  background: var(--surface);
  margin-bottom: 1rem;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.compact {
  background: #f9fafb;
}

.panel h2,
.service h2 {
  font-size: 1.02rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.service-icon {
  display: inline-flex;
  width: 1.65rem;
  height: 1.65rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-right: 0.35rem;
  background: linear-gradient(135deg, #edf1ff, #e8f6ff);
  border: 1px solid #d8e3ff;
}

.panel p,
.service p {
  color: var(--muted);
  font-size: 0.95rem;
}

.panel:hover,
.service:hover,
.panel:focus-within,
.service:focus-within,
.panel.is-active,
.service.is-active {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  box-shadow: 0 10px 28px rgba(20, 24, 28, 0.08);
}

.list {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.list li::marker {
  color: #7f7f7f;
}

.list li + li {
  margin-top: 0.4rem;
}

.tech {
  margin: 1.2rem 0 1.8rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(165deg, #ffffff 0%, #f7fbff 100%);
}

.tech-visual {
  margin: 0.3rem 0 0.95rem;
}

.tech-visual img {
  width: min(100%, 560px);
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid #d9e0f1;
  background: #f7fbff;
}

.tech h2 {
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.tech-copy {
  max-width: 68ch;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.tech-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 1.05rem;
  transition: border-color 240ms ease, transform 240ms ease, background 240ms ease;
}

.tech-card:hover,
.tech-card.is-active {
  border-color: #c6d6ff;
  background: linear-gradient(180deg, #ffffff, #f4f9ff);
  transform: translateY(-2px);
}

.tech-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.tech-head h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.tech-head span {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tech-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.tech-meter {
  height: 5px;
  margin-top: 0.9rem;
  border-radius: 999px;
  background: #e7eaee;
  overflow: hidden;
}

.tech-meter span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 980ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tech-card.is-loaded .tech-meter span {
  width: var(--meter-width, 80%);
}

.footer {
  width: min(1080px, calc(100% - 4rem));
  margin: 0 auto;
  padding: 1.4rem 0 2.8rem;
  border-top: 1px solid var(--line);
}

.footer p {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 0.48rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 760px) {
  .page {
    width: min(1080px, calc(100% - 2.2rem));
    padding: 3.6rem 0 3rem;
  }

  .intro {
    grid-template-columns: 1fr;
    padding: 1.3rem;
  }

  .intro-image {
    margin-left: 0;
  }

  .double,
  .services,
  .highlight-strip,
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer {
    width: min(1080px, calc(100% - 2.2rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .panel,
  .service,
  .logo,
  .tech-card {
    transition: none;
  }

  .tech-meter span {
    transition: none;
  }
}