:root {
  --ink: #14223b;
  --muted: #667083;
  --paper: #f7f7f1;
  --line: rgba(20, 34, 59, 0.12);
  --lime: #d9ee7b;
  --sky: #a9d8e7;
  --peach: #f1b59d;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 10%, rgba(217, 238, 123, 0.35) 0, rgba(217, 238, 123, 0) 31%),
    radial-gradient(circle at 92% 74%, rgba(169, 216, 231, 0.42) 0, rgba(169, 216, 231, 0) 35%),
    radial-gradient(circle at 10% 90%, rgba(241, 181, 157, 0.25) 0, rgba(241, 181, 157, 0) 31%),
    linear-gradient(135deg, #fbfaf6 0%, #f5f7f1 52%, #f8f5ef 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.page-shell {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  padding: 30px clamp(24px, 5vw, 76px) 26px;
  isolation: isolate;
}

.ambient {
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.48;
  pointer-events: none;
}

.ambient-one {
  width: 520px;
  height: 520px;
  top: -300px;
  right: -90px;
  background: rgba(217, 238, 123, 0.5);
}

.ambient-two {
  width: 470px;
  height: 470px;
  bottom: -300px;
  left: -150px;
  background: rgba(169, 216, 231, 0.42);
}

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header { min-height: 40px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 5px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 2px 3px 0 var(--ink);
}

.brand-mark i { display: block; border-radius: 2px; background: var(--ink); }
.brand-mark i:first-child { grid-row: span 2; background: var(--lime); border: 1px solid var(--ink); }

.site-header { position: relative; z-index: 10; }

.language-switcher {
  position: relative;
}

.language-switcher summary {
  display: flex;
  width: 76px;
  height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(12px);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary:hover { border-color: rgba(20, 34, 59, 0.25); background: rgba(255, 255, 255, 0.78); }
.language-switcher summary:focus-visible { outline: 3px solid rgba(169, 216, 231, 0.72); outline-offset: 3px; }

.language-current-code,
.language-code {
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.language-chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.language-switcher[open] .language-chevron { transform: translateY(2px) rotate(225deg); }

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 88px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 252, 0.96);
  box-shadow: 0 18px 55px rgba(20, 34, 59, 0.14);
  backdrop-filter: blur(18px);
  animation: menu-in 150ms ease-out;
}

.language-menu a {
  display: grid;
  min-height: 40px;
  grid-template-columns: 1fr 8px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 630;
  transition: background 140ms ease;
}

.language-menu .language-code { justify-self: center; }

.language-menu a:hover { background: rgba(20, 34, 59, 0.055); }
.language-menu a:focus-visible { outline: 2px solid var(--sky); outline-offset: -2px; }
.language-menu a.active { background: rgba(217, 238, 123, 0.34); }
.language-check { width: 7px; height: 7px; border-radius: 50%; background: #93aa35; }

.hero {
  display: grid;
  width: 100%;
  max-width: 1240px;
  flex: 1;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(44px, 8vw, 130px);
  margin: 0 auto;
  padding: 56px 0 60px;
}

.hero-copy { max-width: 690px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #93aa35;
  box-shadow: 0 0 0 5px rgba(147, 170, 53, 0.13);
  animation: pulse 2.4s ease-in-out infinite;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(46px, 5.8vw, 80px);
  font-weight: 780;
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-wrap: balance;
}

.lead {
  max-width: 610px;
  margin: 30px 0 34px;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.55;
  text-wrap: balance;
}

.progress-card {
  width: min(100%, 420px);
  padding: 16px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 20px 50px rgba(20, 34, 59, 0.06);
  backdrop-filter: blur(12px);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 690;
}

.progress-label span:last-child { color: #9cad46; letter-spacing: 0.18em; }

.progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(20, 34, 59, 0.08);
}

.progress-track span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #bcd04f, var(--lime));
  animation: breathe 4s ease-in-out infinite;
}

.bundle-art {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1 / 1;
  justify-self: center;
}

.bundle-art::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 80px rgba(169, 216, 231, 0.23);
}

.orbit { position: absolute; border: 1px dashed rgba(20, 34, 59, 0.21); border-radius: 50%; }
.orbit-large { inset: 1%; animation: spin 30s linear infinite; }

.orbit-large::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  top: 50%;
  right: -0.5px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--peach);
  transform: translate(50%, -50%);
}

.orbit-small { inset: 18%; animation: spin 24s linear infinite reverse; }

.bundle-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  box-shadow: 8px 10px 0 rgba(20, 34, 59, 0.98);
}

.card-back { width: 42%; height: 51%; top: 18%; left: 10%; background: var(--sky); transform: rotate(-12deg); }
.card-middle { width: 44%; height: 55%; top: 28%; right: 8%; background: var(--peach); transform: rotate(11deg); }
.card-front { width: 48%; height: 59%; top: 17%; left: 29%; justify-content: space-between; background: var(--lime); transform: rotate(-1.5deg); }

.card-number { font-size: clamp(28px, 4vw, 52px); font-weight: 820; letter-spacing: -0.06em; }
.card-chip { width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); }

.card-line {
  display: block;
  width: 100%;
  height: 7px;
  margin-top: auto;
  border-radius: 9px;
  background: var(--ink);
  opacity: 0.82;
}

.card-line.short { width: 62%; margin-top: 9px; }
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.card-grid i { aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 7px; background: rgba(255, 255, 255, 0.42); }
.card-grid i:nth-child(2), .card-grid i:nth-child(3) { background: var(--ink); }

.site-footer {
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.78); opacity: 0.7; } }
@keyframes breathe { 0%, 100% { width: 64%; } 50% { width: 71%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .page-shell { padding-inline: 22px; }
  .site-header { align-items: flex-start; }
  .hero { grid-template-columns: 1fr; gap: 26px; padding: 70px 0 48px; }
  .hero-copy { max-width: 760px; }
  .bundle-art { width: min(86vw, 410px); }
}

@media (max-width: 560px) {
  .page-shell { padding-top: 20px; }
  .brand span:last-child { display: none; }
  .hero { padding-top: 54px; }
  h1 { font-size: clamp(40px, 12vw, 56px); }
  .lead { margin-top: 24px; }
  .bundle-art { width: min(92vw, 360px); }
  .site-footer { align-items: flex-start; flex-direction: column-reverse; gap: 8px; }
}

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