@font-face {
  font-family: "Silka";
  src: url("../fonts/Silka-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Silka";
  src: url("../fonts/Silka-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Silka";
  src: url("../fonts/Silka-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --wsip-brand: #005abe;
  --wsip-brand-dark: #004898;
  --wsip-heading: #1a1f25;
  --wsip-copy: #495564;
  --wsip-muted: #65778c;
  --wsip-canvas: #f4f7fa;
  --wsip-surface: #ffffff;
  --wsip-border: #cad6e5;
  --wsip-surface-radius: 1.5rem;
  --wsip-surface-radius-mobile: 1.125rem;
  --wsip-shadow: 0 10px 32px rgba(1, 30, 51, 0.06);
  --wsip-focus-width: 3px;
  font-family: "Silka", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--wsip-canvas);
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--wsip-canvas);
  color: var(--wsip-copy);
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.landing-page {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  padding: clamp(1.25rem, 4vw, 3.5rem) 1rem;
}

.landing-page__content {
  width: min(100%, 42rem);
  margin: 0 auto;
}

.landing-header {
  max-width: 46rem;
  margin: 0 auto clamp(1.5rem, 3vw, 2rem);
  text-align: center;
}

.landing-header__logo {
  display: block;
  width: 5.75rem;
  height: auto;
  margin: 0 auto 0.75rem;
}

.landing-header h1 {
  margin: 0;
  color: var(--wsip-heading);
  font-size: clamp(1.75rem, 1.1rem + 2vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.landing-header__account {
  margin: 0.625rem 0 0;
  color: var(--wsip-copy);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.service-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  min-width: 0;
}

.service-card {
  --product-accent: var(--wsip-brand);
  --product-soft: #f5f9fe;
  position: relative;
  display: grid;
  min-height: 7rem;
  grid-template-areas:
    "brand description"
    "brand cta";
  grid-template-columns: clamp(6.75rem, 30vw, 8rem) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: stretch;
  column-gap: 1rem;
  row-gap: 0.125rem;
  padding: 0.875rem 1.125rem;
  border: 1px solid var(--wsip-border);
  border-radius: var(--wsip-surface-radius-mobile);
  background: var(--wsip-surface);
  box-shadow: 0 6px 20px rgba(1, 30, 51, 0.05);
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.service-card::before {
  position: absolute;
  top: 0.875rem;
  bottom: 0.875rem;
  left: 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: var(--product-accent);
  content: "";
}

.service-card--eduranga {
  --product-accent: #762fa5;
  --product-soft: #fbf8fd;
}

.service-card--esklep,
.service-card--ecok {
  --product-accent: var(--wsip-brand);
}

.service-card__brand {
  display: flex;
  width: 100%;
  height: 4.75rem;
  grid-area: brand;
  align-items: center;
  align-self: center;
  justify-content: center;
}

.service-card__logo {
  display: block;
  max-width: 100%;
  height: auto;
}

.service-card__logo--eduranga {
  width: 8.5rem;
}

.service-card__logo--esklep {
  width: 5.5rem;
  max-height: 3rem;
}

.service-card__wordmark {
  color: var(--wsip-brand);
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.service-card__wordmark span {
  color: var(--wsip-heading);
}

.service-card__description {
  width: 100%;
  grid-area: description;
  align-self: end;
  margin: 0;
  color: var(--wsip-copy);
  font-size: 0.875rem;
  line-height: 1.4;
}

.service-card__cta {
  display: inline-flex;
  min-height: 2.75rem;
  grid-area: cta;
  align-items: center;
  align-self: start;
  gap: 0.5rem;
  justify-self: start;
  padding-top: 0.25rem;
  color: var(--product-accent);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.service-card__arrow {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 160ms ease;
}

.service-card:focus-visible {
  z-index: 1;
  border-color: var(--product-accent);
  outline: var(--wsip-focus-width) solid var(--wsip-brand);
  outline-offset: 3px;
  background: var(--product-soft);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    background: var(--product-soft);
    border-color: var(--product-accent);
    box-shadow: 0 10px 26px rgba(1, 30, 51, 0.075);
  }

  .service-card:hover .service-card__arrow {
    transform: translateX(2px);
  }
}

.service-card:active {
  background: var(--product-soft);
  box-shadow: 0 4px 14px rgba(1, 30, 51, 0.045);
}

@media (min-width: 60rem) {
  .landing-page__content {
    width: min(100%, 70rem);
  }

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

  .service-card {
    display: flex;
    min-height: 13.5rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.375rem 1.25rem;
    border-radius: var(--wsip-surface-radius);
  }

  .service-card::before {
    top: 0;
    right: 1.5rem;
    bottom: auto;
    left: 1.5rem;
    width: auto;
    height: 3px;
    border-radius: 0 0 999px 999px;
  }

  .service-card__brand {
    height: 5rem;
    justify-content: center;
  }

  .service-card__logo--eduranga {
    width: 10.25rem;
  }

  .service-card__logo--esklep {
    width: 7.75rem;
    max-height: 3.875rem;
  }

  .service-card__wordmark {
    font-size: 2.125rem;
  }

  .service-card__description {
    display: grid;
    min-height: 3rem;
    align-items: center;
    align-self: center;
    margin-top: 0.875rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    text-align: center;
  }

  .service-card__cta {
    align-self: center;
    margin-top: auto;
    padding-top: 1rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 40rem) and (max-height: 40rem) and (orientation: landscape) {
  .landing-page {
    padding-block: 0.75rem;
  }

  .landing-header {
    margin-bottom: 1rem;
  }

  .landing-header__logo {
    width: 5.25rem;
    margin-bottom: 0.25rem;
  }

  .landing-header h1 {
    font-size: 1.75rem;
  }

  .landing-header__account {
    margin-top: 0.25rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 60rem) and (max-height: 40rem) and (orientation: landscape) {
  .service-card {
    min-height: 10.75rem;
    padding-block: 1rem 0.75rem;
  }

  .service-card__brand {
    height: 3.75rem;
  }

  .service-card__description {
    min-height: 2.5rem;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
  }

  .service-card__cta {
    padding-top: 0.5rem;
    font-size: 0.8125rem;
  }
}

@media (max-width: 35rem) {
  .landing-page {
    padding: 1rem;
  }

  .landing-header {
    margin-bottom: 1.25rem;
  }

  .landing-header__logo {
    width: 5.25rem;
    margin-bottom: 0.5rem;
  }

  .landing-header h1 {
    font-size: 1.75rem;
    line-height: 1.18;
  }

  .landing-header__account {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.4;
  }

  .service-card {
    min-height: 6.75rem;
    grid-template-columns: clamp(6.5rem, 31vw, 7.5rem) minmax(0, 1fr);
    column-gap: 0.75rem;
    padding: 0.75rem 1rem;
  }

  .service-card::before {
    top: 0.75rem;
    bottom: 0.75rem;
  }

  .service-card__brand {
    height: 4.5rem;
  }

  .service-card__logo--eduranga {
    width: 7.5rem;
  }

  .service-card__logo--esklep {
    width: 4.75rem;
    max-height: 2.625rem;
  }

  .service-card__wordmark {
    font-size: 1.75rem;
  }

  .service-card__description,
  .service-card__cta {
    font-size: 0.875rem;
  }

  .service-card__description {
    line-height: 1.3;
  }
}

@media (max-width: 35rem) and (max-height: 40rem) {
  .landing-page {
    padding-block: 0.75rem;
  }

  .landing-header {
    margin-bottom: 1rem;
  }

  .landing-header__logo {
    width: 4.875rem;
    margin-bottom: 0.25rem;
  }

  .landing-header__account {
    margin-top: 0.375rem;
  }

  .service-card {
    min-height: 6.25rem;
    padding-block: 0.5rem;
  }

  .service-card__brand {
    height: 4.125rem;
  }
}

@media (max-width: 22rem) {
  .service-card {
    min-height: 7rem;
    grid-template-columns: 6rem minmax(0, 1fr);
    column-gap: 0.625rem;
    padding-inline: 0.75rem;
  }

  .service-card__description {
    font-size: 0.8125rem;
  }

  .service-card__cta {
    gap: 0.25rem;
    font-size: 0.8125rem;
  }
}

.setup-page {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 1rem;
}

.setup-panel {
  width: min(100%, 30rem);
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid var(--wsip-border);
  border-radius: var(--wsip-surface-radius);
  background: var(--wsip-surface);
  box-shadow: var(--wsip-shadow);
}

.setup-panel__logo {
  display: block;
  width: 5.75rem;
  height: auto;
  margin-bottom: 1.25rem;
}

.setup-panel h1 {
  margin: 0 0 0.75rem;
  color: var(--wsip-heading);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
}

.setup-panel p {
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.setup-alert {
  padding: 0.75rem;
  border: 1px solid #b42318;
  border-radius: 0.5rem;
  color: #912018;
}

.setup-form {
  display: grid;
  gap: 0.625rem;
}

.setup-form label {
  margin-top: 0.375rem;
  color: var(--wsip-heading);
  font-weight: 500;
}

.setup-form input {
  min-height: 2.75rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--wsip-border);
  border-radius: 999px;
  font: inherit;
}

.setup-form input:focus-visible,
.setup-form button:focus-visible {
  outline: var(--wsip-focus-width) solid var(--wsip-brand);
  outline-offset: 2px;
}

.setup-form button {
  min-height: 2.75rem;
  margin-top: 0.75rem;
  padding: 0.625rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--wsip-brand);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
}

.setup-form button:hover {
  background: var(--wsip-brand-dark);
}

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

@media (forced-colors: active) {
  .service-card,
  .service-card:focus-visible,
  .setup-panel {
    border: 2px solid ButtonText;
  }

  .service-card::before {
    background: Highlight;
  }

  .service-card__cta {
    color: LinkText;
  }
}
