:root {
  --scaffold: #1e212a;
  --primary: #ffca12;
  --fill: #2a3139;
  --mid: #161920;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-soft: rgba(255, 255, 255, 0.68);
  --border-glass: rgba(255, 255, 255, 0.22);
  --bg-glass: rgba(255, 255, 255, 0.08);
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background-color: var(--scaffold);
  background-image:
    radial-gradient(
      ellipse at 50% 18%,
      rgba(255, 202, 18, 0.14) 0%,
      rgba(255, 202, 18, 0.04) 28%,
      transparent 55%
    ),
    linear-gradient(180deg, var(--scaffold) 0%, var(--mid) 45%, var(--scaffold) 100%);
  background-attachment: fixed;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.brand-bg {
  position: relative;
  overflow: hidden;
}

.brand-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/v.svg") center 28% / min(70vw, 520px) no-repeat;
  opacity: 0.045;
  pointer-events: none;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100px;
  padding: 0 20px;
}

.site-header .logo {
  display: inline-flex;
  align-items: center;
}

.site-header .logo img {
  height: 36px;
  width: auto;
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

.wrap-narrow {
  width: min(720px, calc(100% - 48px));
}

.wrap-policy {
  width: min(800px, calc(100% - 48px));
}

.wrap-contact {
  width: min(920px, calc(100% - 48px));
}

.glass {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.glass-sm {
  border-radius: 16px;
}

.hero {
  min-height: clamp(520px, 90vh, 860px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0 56px;
  position: relative;
}

.hero-card {
  width: min(720px, 100%);
  padding: 36px 32px 40px;
  text-align: center;
}

.hero-logo {
  height: clamp(48px, 7vh, 72px);
  width: auto;
  margin: 0 auto 28px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
  white-space: pre-line;
}

.hero .support,
.invite .support {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 202, 18, 0.45);
  background: rgba(255, 202, 18, 0.14);
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
  transition: background 160ms ease, border-color 160ms ease;
}

.store-btn:hover {
  background: rgba(255, 202, 18, 0.22);
  border-color: rgba(255, 202, 18, 0.7);
}

.store-btn.is-disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.store-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.35;
  font-size: 28px;
  line-height: 1;
}

.section {
  padding: 64px 0;
}

.section-label {
  display: block;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--primary);
  text-align: center;
}

.section-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.4px;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 36px;
}

@media (min-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-card {
  padding: 24px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 202, 18, 0.14);
  border: 1px solid rgba(255, 202, 18, 0.35);
  color: var(--primary);
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-soft);
}

.value-band {
  background: var(--fill);
  padding: 72px 0;
}

.value-band .section-label,
.value-band .section-title {
  text-align: left;
}

.value-band .lede {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 800px;
}

.pillars {
  margin-top: 36px;
  display: grid;
  gap: 20px;
  max-width: 800px;
}

.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pillar-check {
  flex: 0 0 auto;
  margin-top: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 202, 18, 0.15);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pillar-check svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.pillar h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.pillar p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.65);
}

.cta {
  padding: 64px 0 48px;
  text-align: center;
}

.cta h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: rgba(255, 255, 255, 0.92);
}

.site-footer {
  background: rgba(42, 49, 57, 0.5);
  padding: 26px 0 18px;
  margin-top: 24px;
}

.footer-links {
  text-align: center;
}

.footer-links h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
}

.footer-links a {
  display: block;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

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

.footer-copy {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.policy-page {
  padding: 24px 0 48px;
}

.policy-card {
  padding: 32px;
}

.policy-card .section-label {
  text-align: left;
  margin-bottom: 8px;
}

.policy-card h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.15;
}

.policy-meta {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
  white-space: pre-line;
}

.policy-subtitle {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-soft);
}

.policy-body {
  margin-top: 24px;
}

.policy-body h2 {
  margin: 28px 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.policy-body h3 {
  margin: 16px 0 8px;
  font-size: 15px;
  font-weight: 600;
}

.policy-body p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  white-space: pre-line;
}

.policy-body ul {
  margin: 0 0 12px;
  padding-left: 1.2em;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.6;
}

.policy-body li {
  margin-bottom: 6px;
}

.policy-footer-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--primary);
  font-weight: 600;
}

.invite {
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0 48px;
}

.invite-card {
  width: min(560px, 100%);
  padding: 36px 32px 40px;
  text-align: center;
}

.invite h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
  white-space: pre-line;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-row {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .contact-row {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  font: inherit;
  padding: 14px;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(255, 202, 18, 0.45);
  outline-offset: 1px;
}

.field .error {
  margin-top: 6px;
  font-size: 12px;
  color: #ff8a80;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: #000;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: default;
}

.form-status {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
}

.form-status.is-error {
  color: #ff8a80;
}

.form-status.is-ok {
  color: #a5d6a7;
}
