:root {
  --charcoal: #2d2d2d;
  --gold: #dd9e3c;
  --paper: #f7f5f1;
  --island: rgba(255, 255, 255, 0.86);
  --muted: #797773;
  --shadow: 0 30px 80px rgba(53, 47, 38, 0.09), 0 8px 24px rgba(53, 47, 38, 0.05);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--charcoal);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(247, 245, 241, 0.25), rgba(247, 245, 241, 0.25)),
    url("assets/contours.png");
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.page {
  width: min(1040px, calc(100% - 40px));
  height: 100svh;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-rows: 10% 30% 10% 40% 10%;
}

.hero {
  grid-row: 2;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 70px;
}

.language-switch {
  position: fixed;
  top: 22px;
  right: 26px;
  z-index: 10;
  border: 1px solid rgba(45, 45, 45, 0.1);
  border-radius: 999px;
  padding: 9px 13px;
  color: #8c8984;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(53, 47, 38, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.language-switch span {
  transition: color 160ms ease;
}

.language-switch .active,
.language-switch:hover {
  color: var(--charcoal);
}

.logo {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 30svh;
  object-fit: contain;
  object-position: center top;
  filter: drop-shadow(0 14px 24px rgba(45, 45, 45, 0.05));
}

.island-grid {
  grid-row: 4;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  min-height: 0;
}

.island {
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 26px;
  padding: 20px 24px;
  background: var(--island);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.island-heading {
  display: flex;
  align-items: baseline;
  margin-bottom: 5px;
}

.island h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 540;
  letter-spacing: -0.025em;
}

.data-list {
  display: grid;
  gap: 0;
  flex: 1;
  min-height: 0;
  grid-auto-rows: minmax(0, 1fr);
}

.data-row {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 13px;
  padding: 7px 12px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: copy;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

a.data-row {
  cursor: pointer;
}

.data-row:hover {
  background: rgba(221, 158, 60, 0.095);
  transform: translateX(2px);
}

.data-row:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.data-row.copied {
  background: rgba(221, 158, 60, 0.16);
}

.data-label {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 670;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.data-value {
  display: block;
  color: var(--charcoal);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 20;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 11px 17px;
  color: #f8f7f4;
  background: rgba(45, 45, 45, 0.94);
  box-shadow: 0 12px 30px rgba(45, 45, 45, 0.18);
  font-size: 13px;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (max-width: 760px) {
  body {
    background-attachment: scroll;
    background-size: auto 1200px;
  }

  .page {
    width: min(100% - 24px, 600px);
    height: auto;
    min-height: 100svh;
    padding: 12px 0 20px;
    display: block;
  }

  .hero {
    padding: 74px 0 46px;
  }

  .language-switch {
    top: 13px;
    right: 13px;
    padding: 8px 11px;
  }

  .logo {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-position: center;
  }

  .island-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .island {
    border-radius: 25px;
    padding: 24px 19px;
    height: auto;
    overflow: visible;
  }

  .data-row {
    min-height: 68px;
    padding: 12px 13px 13px;
  }

  .data-row:hover {
    transform: none;
  }

  .data-value {
    font-size: 16px;
  }

}

@media (min-width: 761px) and (max-height: 760px) {
  .logo {
    width: min(760px, 78vw);
  }

  .island {
    padding: 14px 20px;
  }

  .data-row {
    padding-top: 4px;
    padding-bottom: 5px;
  }

  .data-label {
    margin-bottom: 1px;
  }

  .data-value {
    font-size: 14px;
    line-height: 1.28;
  }

}

@media (max-width: 380px) {
  .page {
    width: calc(100% - 16px);
  }

  .hero {
    padding-left: 10px;
    padding-right: 10px;
  }

  .island {
    padding-left: 14px;
    padding-right: 14px;
  }

}

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