:root {
  color-scheme: dark;
  --ink: #f8f7ff;
  --muted: #c7c1e4;
  --night: #0d102d;
  --night-soft: #17143c;
  --panel: rgba(49, 40, 78, 0.82);
  --line: rgba(145, 125, 232, 0.42);
  --mint: #79efbb;
  --cyan: #54d8ff;
  --pink: #ff69bd;
  --gold: #ffd763;
  --violet: #9a7cff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(84, 216, 255, 0.13), transparent 25rem),
    radial-gradient(circle at 85% 18%, rgba(255, 105, 189, 0.13), transparent 28rem),
    linear-gradient(155deg, var(--night-soft), var(--night) 56%);
  font-family: Nunito, ui-rounded, "Segoe UI", system-ui, sans-serif;
  line-height: 1.65;
}

body.arrowza {
  color-scheme: light;
  --ink: #143775;
  --muted: #4f6d91;
  --night: #f5fcff;
  --night-soft: #e8f8ff;
  --panel: rgba(255, 255, 255, 0.9);
  --line: rgba(52, 146, 225, 0.2);
  --mint: #168c70;
  --cyan: #0876dc;
  --pink: #ff6f61;
  --gold: #9b6a00;
  --violet: #3869ce;
  background:
    radial-gradient(ellipse at 6% 12%, rgba(95, 207, 121, 0.2), transparent 15rem),
    radial-gradient(ellipse at 92% 28%, rgba(44, 158, 244, 0.14), transparent 24rem),
    linear-gradient(155deg, var(--night), var(--night-soft) 58%, #f9fffb);
}

body.arrowza .hero,
body.arrowza .card {
  box-shadow: 0 22px 60px rgba(40, 107, 151, 0.14);
}

body.arrowza .brand-word {
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

body.arrowza .hero::after {
  background: linear-gradient(145deg, rgba(95, 207, 121, 0.24), rgba(44, 158, 244, 0.2));
}

body.arrowza .nav a:hover,
body.arrowza .nav a:focus-visible,
body.arrowza .language-links a:hover,
body.arrowza .language-links a:focus-visible {
  background: rgba(20, 97, 166, 0.07);
}

body.arrowza .button {
  color: #fff;
  border-color: rgba(0, 85, 170, 0.2);
  background: linear-gradient(145deg, #36a7ff, #0878e7);
  box-shadow: 0 6px 0 rgba(8, 93, 178, 0.32);
}

body.arrowza .button.secondary {
  color: #0f583f;
  background: linear-gradient(145deg, #a9f0b4, #76d88e);
  box-shadow: 0 6px 0 rgba(51, 142, 78, 0.24);
}

body.arrowza .notice {
  background: rgba(255, 205, 66, 0.15);
}

a {
  color: var(--mint);
}

a:hover,
a:focus-visible {
  color: var(--gold);
}

.shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.blob-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 46% 54% 52% 48%;
  color: #102444;
  background: linear-gradient(145deg, #a2ffda, #46d5ff 55%, #8d72ff);
  box-shadow: 0 7px 0 rgba(5, 8, 30, 0.42), 0 0 22px rgba(84, 216, 255, 0.25);
  font-weight: 1000;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a,
.language-links a {
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}

.nav a:hover,
.nav a:focus-visible,
.language-links a:hover,
.language-links a:focus-visible {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.hero,
.card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 22px 60px rgba(4, 5, 24, 0.35);
  backdrop-filter: blur(12px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 72px);
  border-radius: 34px;
}

.hero::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 48% 52% 44% 56%;
  background: linear-gradient(145deg, rgba(121, 239, 187, 0.2), rgba(154, 124, 255, 0.18));
  content: "";
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.18;
}

h1 {
  max-width: 720px;
  margin: 0 0 18px;
  font-size: clamp(2.35rem, 8vw, 4.8rem);
  letter-spacing: -0.035em;
}

h2 {
  margin-top: 2.25rem;
  color: var(--mint);
}

h3 {
  color: var(--gold);
}

.lead {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.8vw, 1.26rem);
}

.actions,
.language-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  color: #0a2d2b;
  background: linear-gradient(145deg, #a5ffd7, #63e7b3);
  box-shadow: 0 6px 0 rgba(17, 101, 88, 0.6);
  text-decoration: none;
  font-weight: 1000;
}

.button.secondary {
  color: var(--ink);
  background: linear-gradient(145deg, #8c72e8, #6651ae);
  box-shadow: 0 6px 0 rgba(35, 27, 78, 0.72);
}

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

.card {
  padding: clamp(22px, 5vw, 38px);
  border-radius: 26px;
}

.card h2:first-child,
.card h3:first-child {
  margin-top: 0;
}

.document {
  margin-bottom: 30px;
}

.document p,
.document li {
  color: var(--muted);
}

.document strong {
  color: var(--ink);
}

.notice {
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  background: rgba(255, 215, 99, 0.09);
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 28px 0 40px;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    border-radius: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
