:root {
  --bg: #f3f4ee;
  --surface: rgba(255, 255, 255, 0.88);
  --text: #101820;
  --muted: #61707b;
  --line: rgba(16, 24, 32, 0.08);
  --accent: #0f766e;
  --accent-strong: #0b5f59;
  --shadow: 0 24px 60px rgba(16, 24, 32, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.14), transparent 32%),
    linear-gradient(180deg, #fafbf8 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 85%);
  pointer-events: none;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 20px auto 28px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px rgba(16, 24, 32, 0.05);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #16212a);
  color: #fff;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav {
  display: inline-flex;
  gap: 20px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.lang-button {
  min-width: 64px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.lang-button.is-active {
  background: var(--text);
  color: #fff;
}

.lang-panel {
  display: none;
}

.lang-panel.is-active {
  display: block;
}

.hero {
  padding: 92px 0 54px;
}

.eyebrow,
.section-kicker,
.access-label {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 10vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.lead {
  max-width: 34rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 18px 36px rgba(15, 118, 110, 0.2);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
  color: var(--text);
}

.section {
  padding: 34px 0 56px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading.narrow {
  max-width: 520px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.feature-grid,
.access-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.feature-card,
.access-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.feature-card p,
.access-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.qr-card {
  display: flex;
  align-items: stretch;
}

.qr-image-wrap {
  width: min(100%, 320px);
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 36px rgba(16, 24, 32, 0.08);
}

.qr-image {
  display: block;
  width: 100%;
  height: auto;
}

.access-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
  word-break: break-word;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 960px) {
  .feature-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    margin-top: 12px;
  }

  .topbar,
  .toolbar,
  .footer,
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar {
    position: static;
    border-radius: 24px;
  }

  .toolbar {
    width: 100%;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 56px;
  }

  .button {
    width: 100%;
  }
}
