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

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

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

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

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

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

:root {
  --color-sinipurppura: #4f55e2;
  --color-primary-hover: #4141cd;
  --color-primary-press: #3432b8;
  --color-vihrea: #84eda6;
  --color-success-strong: #25804b;
  --color-terva: #231f20;
  --color-keltainen: #f4ea8d;
  --color-vaalea-harmaa: #f1eeef;
  --color-taivas: #b0d4ee;
  --color-neutral-0: #ffffff;
  --color-neutral-50: #f8f7f7;
  --color-neutral-200: #e4e0e1;
  --color-neutral-300: #cac5c6;
  --color-neutral-500: #7c7677;
  --color-neutral-600: #5c5758;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;
  --shadow-sm: 0 2px 8px rgba(35, 31, 32, 0.07);
  --shadow-lg: 0 16px 48px rgba(35, 31, 32, 0.14);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 120ms;
  --duration-base: 200ms;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--color-vaalea-harmaa);
  color: var(--color-terva);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-keltainen);
  outline-offset: 4px;
}

.rh-skip {
  position: absolute;
  top: 10px;
  left: -9999px;
  z-index: 10;
  border-radius: var(--radius-full);
  background: var(--color-terva);
  color: #fff;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.rh-skip:focus {
  left: 16px;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.shell {
  width: calc(100% - 32px);
  max-width: 1200px;
  margin-inline: auto;
}

.site-header {
  padding-block: 24px;
}

.site-header__inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand__logo,
.brand__logo svg {
  width: 190px;
  height: auto;
  display: block;
}

.context-label {
  margin: 0;
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.58);
  color: var(--color-neutral-600);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

main {
  min-width: 0;
  flex: 1;
  display: grid;
  align-items: center;
  padding-block: 40px 72px;
}

.rh-notch {
  position: relative;
  filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
}

.rh-notch__clip {
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.hero {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 510px;
}

.hero .rh-notch__clip {
  background: var(--color-sinipurppura);
  color: #fff;
}

.hero__content {
  min-height: 510px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: clamp(36px, 7vw, 96px);
  align-items: end;
  padding: clamp(40px, 7vw, 88px);
}

.hero__copy {
  min-width: 0;
  align-self: center;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--color-vihrea);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1 {
  max-width: 14ch;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
  overflow-wrap: break-word;
  hyphens: auto;
  text-wrap: balance;
}

.lead {
  max-width: 58ch;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 19px);
  font-weight: 400;
  line-height: 1.55;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

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

.rh-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
}

.rh-btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.rh-btn--light {
  background: #fff;
  color: var(--color-sinipurppura);
}

.rh-btn--light:hover {
  background: var(--color-neutral-50);
}

.rh-btn--ghost {
  border-color: rgba(255, 255, 255, 0.46);
  background: transparent;
  color: #fff;
}

.rh-btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.rh-btn:active {
  transform: translateY(1px);
}

.status-panel {
  min-width: 0;
  position: relative;
  align-self: stretch;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: var(--color-terva);
  padding: 28px;
}

.status-panel::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -32px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: var(--status-accent, var(--color-vihrea));
}

.status-panel__mark {
  width: 50px;
  height: auto;
  display: block;
}

.status-panel__mark svg {
  width: 100%;
  height: auto;
  display: block;
}

.status-panel__bottom {
  position: relative;
  z-index: 1;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--color-neutral-50);
  font-size: 13px;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--status-accent, var(--color-vihrea));
}

.status-panel__title {
  max-width: 12ch;
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  text-wrap: balance;
}

.page--coming-soon {
  --status-accent: var(--color-keltainen);
}

.page--maintenance {
  --status-accent: var(--color-taivas);
}

.site-footer {
  padding-block: 22px 30px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--color-neutral-300);
  padding-top: 22px;
  color: var(--color-neutral-600);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--color-sinipurppura);
  font-weight: 700;
  text-underline-offset: 3px;
}

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

@media (max-width: 760px) {
  .site-header {
    padding-block: 18px;
  }

  .brand__logo,
  .brand__logo svg {
    width: 152px;
  }

  .context-label {
    display: none;
  }

  main {
    align-items: start;
    padding-block: 24px 48px;
  }

  .hero,
  .hero__content {
    min-height: auto;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 46px 26px 26px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .lead {
    margin-top: 20px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 28px;
  }

  .rh-btn {
    width: 100%;
  }

  .status-panel {
    min-height: 220px;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .shell {
    width: calc(100% - 24px);
  }

  .hero__content {
    padding-inline: 22px;
  }

  .status-panel {
    padding: 24px;
  }
}

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