:root {
  color-scheme: light;
  --white-rgb: 255, 255, 255;
  --page: #e5e5e5;
  --paper: #f6f2ec;
  --paper-rgb: 246, 242, 236;
  --ink: #252b35;
  --muted: #69717e;
  --soft: #eaf4f7;
  --soft-rgb: 234, 244, 247;
  --line: rgba(37, 43, 53, 0.16);
  --blue: #365fcf;
  --blue-deep: #07165f;
  --sky: #6ec7f2;
  --badge: #f9eeb7;
  --focus: #1e56ff;
  --shadow: 0 2px 0px rgba(0, 0, 0, 0.1);
  --content: 1020px;
  --display: "Funnel Display", "Geist", ui-sans-serif, system-ui, sans-serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.35;
  background: var(--page);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  padding: 0.65rem 0.85rem;
  color: #ffffff;
  background: var(--blue);
  border-radius: 6px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: 100%;
  min-height: 100svh;
  margin: 0 auto;
  background: var(--paper);
}

.hero-band {
  padding: 32px max(24px, calc((100vw - var(--content)) / 2)) 0;
  background:
    linear-gradient(
      180deg,
      var(--blue-deep) 0%,
      #284ccc 34%,
      var(--sky) 72%,
      rgba(var(--paper-rgb), 0.96) 90%
    );
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand {
  font-weight: 700;
}

.header-contact {
  font-weight: 500;
}

.site-main {
  display: block;
}

.hero {
  padding: 136px 0 104px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin: 0;
  color: #ffffff;
  font-family: var(--display);
  font-size: 54px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -1px;
}

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

.project-card {
  display: flex;
  min-height: 350px;
  min-width: 0;
  flex-direction: column;
  padding: 24px;
  border: 0;
  border-radius: 20px;
  background: var(--white);
  background: rgba(var(--white-rgb), 0.9);
  box-shadow: var(--shadow);
}

.project-card-link {
  cursor: pointer;
  transition: background-color 160ms ease;
}

.project-card-link:hover,
.project-card-link:focus-visible {
  background-color: rgba(var(--white-rgb), 1);
}

.project-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.project-card h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.status-badge {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #30343b;
  border: 0;
  border-radius: 999px;
  background: var(--badge);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.icon-chip {
  display: inline-grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 10px;
  overflow: hidden;
}

.icon-chip img {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.icon-chip img.app {
  transform: scale(1.15);
}


.project-card p {
  max-width: 500px;
  margin: auto 0 0;
  color: #313842;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}

.contact-section {
  padding: 80px max(24px, calc((100vw - var(--content)) / 2)) 150px;
  background: var(--paper);
}

.contact-section h2 {
  max-width: 635px;
  margin: 0;
  color: #252b35;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -1px;
}

.contact-section p {
  margin: 0 0 20px;
  color: #8792a2;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -1px;
}

.contact-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  color: #ffffff;
  border-radius: 10px;
  background: var(--blue);
  font-size: 16px;
  font-weight: 500;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.contact-button:hover {
  background: #244fc4;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - var(--content)) / 2)) 54px;
  color: #545d6a;
  background: var(--paper);
  font-size: 14px;
  font-weight: 500;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #8792a2;
}

.site-footer a:hover {
  color: var(--blue);
}

@media (max-width: 900px) {
  .hero-band,
  .contact-section,
  .site-footer {
    padding-left: 52px;
    padding-right: 52px;
  }

  h1 {
    font-size: 42px;
  }
}

@media (max-width: 680px) {
  .site-shell {
    width: 100%;
  }

  .hero-band {
    min-height: auto;
    padding: 24px 24px 0;
    background:
      linear-gradient(
        180deg,
        #07101c 0%,
        #142d82 31%,
        #4379dc 58%,
        rgba(var(--paper-rgb), 0.98) 93%
      );
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    font-size: 12px;
  }

  .hero {
    padding: 82px 0 64px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(34px, 10.5vw, 46px);
    line-height: 1.08;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-card {
    min-height: 350px;
    padding: 18px;
  }

  .project-card p {
    max-width: 100%;
    font-size: 12px;
  }

  .contact-section {
    padding: 58px 24px 90px;
  }

  .contact-section h2,
  .contact-section p {
    font-size: 25px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 0 24px 34px;
  }
}

@media (max-width: 380px) {
  .hero-band,
  .contact-section,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .project-card-header {
    gap: 10px;
  }

  .status-badge {
    padding: 0 10px;
  }
}

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