*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #1769ff;
  --blue-hover: #0f5ae6;
  --blue-logo: #0090ff;
  --blue-soft: #eaf4ff;
  --blue-icon: #eef5ff;
  --blue-mark: #8ec8ff;
  --text: #111111;
  --text-body: #8b8f96;
  --text-nav: #6b7280;
  --text-footer: #c5c5c5;
  --border: #ececec;
  --border-strong: #e4e4e4;
  --white: #ffffff;
  --container: 1120px;
  --container-pad: 32px;
  --header-h: 76px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--text);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Header */

.header {
  border-bottom: 1px solid #f0f0f0;
  background: var(--white);
}

.header-inner {
  padding-top: 12px;
  padding-bottom: 12px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  justify-self: start;
}

.brand-name {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #222;
  line-height: 1;
}

.brand-mark {
  width: 30px;
  height: 24px;
  flex-shrink: 0;
  color: #1769ff;
}

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

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #777;
  padding: 8px 16px 7px 16px;
  border-radius: 999px;
  line-height: 1;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.is-active {
  color: var(--blue);
  background: #f6faff;
  border: 1px solid #bdd3ec;
}

.header-cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-talk {
  background: var(--blue);
  color: var(--white);
  padding: 10px 20px;
}

.btn-talk:hover {
  background: var(--blue-hover);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 9px 14px 8px 25px;
  font-size: 18px;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--blue-hover);
}

.btn-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.btn-arrow svg {
  width: 16px;
  height: 16px;
}

.btn-outline {
  background: var(--white);
  color: #222;
  border: 2px solid #e1e1e1;
  padding: 14px 27px 12px 27px;
  font-weight: 600;
  font-size: 18px;
}

.btn-outline:hover {
  border-color: #cfd3d8;
  background: #fafafa;
}

.about-us-svg {
    width: 30px;
    height: 30px;
}

/* Hero */

.hero {
  padding: 55px 0 0;
  text-align: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: #222;
  max-width: 740px;
  margin: 0 auto;
}

.hero-title .line {
  display: block;
}

.mark {
  position: relative;
  display: inline-block;
}

.mark img,
.mark svg {
  position: absolute;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.mark-a img {
  width: 56px;
  height: 11px;
  bottom: 0;
}

.mark-d img {
  width: 122px;
  height: 12px;
  left: -6px;
  bottom: 0;
}

.mark-hero svg {
    left: -8px;
    bottom: -2px;
    width: 58px;
    height: auto;
    z-index: -1;
    max-width: unset;
    transform: rotate(10deg);
    color: #1769ff;
}

.mark-solutions svg {
    left: -10px;
    bottom: -4px;
    width: 118px;
    height: auto;
    z-index: -1;
    max-width: unset;
    transform: rotate(3deg);
    color: #1769ff;
}

.mark-doing svg {
    left: 50%;
    bottom: -16px;
    width: 84px;
    height: auto;
    z-index: -1;
    max-width: unset;
    transform: translateX(-50%) rotate(3deg);
    color: #bad3ff;
}

.hero-copy {
  margin: 17px auto 0;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.52;
  font-weight: 400;
  color: #888;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

/* What we do */

.doing {
  padding: 68px 0 0;
  text-align: center;
}

.section-title {
  position: relative;
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666;
}

.section-title img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  bottom: -12px;
  pointer-events: none;
}

.cards {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.card {
  border: 1px solid #e4e4e4;
  border-radius: 18px;
  padding: 28px 28px 32px;
  background: var(--white);
  min-height: 236px;
}

.card-icon {
  width: 60px;
  height: 56px;
  border-radius: 14px;
  background: #f4f9ff;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.card-icon svg {
  width: 33px;
  height: 33px;
  color: #1769ff;
}
.card-icon .ai-svg {
    width: 51px;
    height: 51px;
    color: #1769ff;
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: #222;
}

.card p {
  font-size: 16px;
  line-height: 1.44;
  color: #888;
  font-weight: 400;
}

/* Partners */

.partners {
  padding: 50px 0 42px;
}

.partners .container {
  position: relative;
}

.partners .container::before,
.partners .container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  pointer-events: none;
  z-index: 1;
}

.partners .container::before {
  left: var(--container-pad);
  background: linear-gradient(to right, var(--white), transparent);
}

.partners .container::after {
  right: var(--container-pad);
  background: linear-gradient(to left, var(--white), transparent);
}

.partners-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.partner {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.partner svg {
  display: block;
  width: auto;
  height: 32px;
  max-width: none;
}

.partner-openai svg {
  height: 35px;
  fill: #ccc;
}

.partner-aws svg {
  height: 40px;
  fill: #ccc;
}

.partner-google svg {
  height: 29px;
  fill: #ccc;
}

.partner-nvidia svg {
  height: 27px;
  fill: #ccc;
}

.partner-anthropic svg {
  height: 21px;
  fill: #ccc;
}

/* Footer */

.footer {
  margin-top: auto;
  background-image: linear-gradient(#f0f0f0, #f0f0f0);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: min(calc(100% - 64px), 1056px) 1px;
}

.footer-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer .brand-name,
.footer .brand-mark {
  color: #ddd;
}

.copyright {
  font-size: 15px;
  color: #ccc;
  font-weight: 400;
}

/* Responsive */

@media (max-width: 980px) {
  .hero-title {
    font-size: 40px;
  }

  .cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .partners .container {
    overflow: hidden;
  }

  .partners .container::before,
  .partners .container::after {
    display: block;
    width: 56px;
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .partners .container.can-scroll-left::before {
    opacity: 1;
  }

  .partners .container.can-scroll-right::after {
    opacity: 1;
  }

  .partners-row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 36px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 8px;
  }

  .partners-row::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --container-pad: 10px;
    --header-h: 64px;
  }

  .footer {
    background-size: calc(100% - 20px) 1px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand-name {
    font-size: 22px;
  }

  .brand-mark {
    width: 26px;
    height: 21px;
  }

  .btn-talk {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    justify-self: end;
  }

  .header-cta {
    gap: 0;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 10px 16px;
    gap: 4px;
    z-index: 20;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 12px 14px;
  }

  .header {
    position: relative;
  }

  .hero {
    padding: 48px 0 0;
  }

  .hero-title {
    font-size: 31px;
    line-height: 1.28;
    letter-spacing: -0.025em;
    max-width: 100%;
  }

  .mark-hero svg {
    left: -6px;
    bottom: -1px;
    width: 42px;
    transform: rotate(8deg);
  }

  .mark-solutions svg {
    left: -8px;
    bottom: -3px;
    width: 78px;
    transform: rotate(2deg);
  }

  .hero-copy {
    margin-top: 22px;
    max-width: 100%;
    font-size: 17px;
    line-height: 1.55;
    color: #888;
  }

  .hero-copy br {
    display: none;
  }

  .hero-actions {
    margin-top: 28px;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 12px;
  }

  .btn-primary {
    padding: 8px 10px 8px 18px;
    font-size: 15px;
    gap: 8px;
  }

  .btn-primary .about-us-svg {
    width: 26px;
    height: 26px;
  }

  .btn-outline {
    padding: 12px 20px 11px;
    font-size: 15px;
    border-width: 1.5px;
  }

  .doing {
    padding-top: 56px;
  }

  .card {
    padding: 25px 29px 28px;
    min-height: 208px;
  }

  .card-icon {
    width: 52px;
    height: 48px;
  }

  .card-icon svg {
    width: 30px;
    height: 30px;
  }

  .card-icon .ai-svg {
    width: 48px;
    height: 48px;
  }

  .card h3 {
    font-size: 19px;
    margin-bottom: 6px;
  }

  .partners {
    padding: 29px 0 22px;
  }

  .partners .container::before,
  .partners .container::after {
    width: 64px;
  }

  .partners .container::before {
    left: 0;
  }

  .partners .container::after {
    right: 0;
  }

  .partners-row {
    gap: 40px;
    padding: 6px 12px;
  }

  .partner-openai svg {
    height: 32px;
  }

  .partner-aws svg {
    height: 30px;
  }

  .partner-google svg {
    height: 26px;
  }

  .partner-nvidia svg {
    height: 22px;
  }

  .partner-anthropic svg {
    height: 16px;
  }

  .footer-inner {
    min-height: 64px;
  }
}
