@font-face {
  font-family: "Inter";
  src: url("./InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f5f1;
  --card: #ffffff;
  --text: #111111;
  --muted: #6b6b6b;
  --line: #e7e1d8;
  --accent: #111111;
  --highlight: #c68a2b;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --modal-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  --error: #c85d5d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

html.modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body.modal-open {
  position: fixed;
  overflow: hidden;
  width: 100%;
  left: 0;
  right: 0;
}

.page {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 14px 14px 24px;
}

.page-policy {
  max-width: 760px;
}

.section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.header,
.hero,
.policy-hero,
.policy-card {
  margin-bottom: 14px;
}

.header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
}

.brand-line {
  flex-shrink: 0;
  width: 2px;
  height: 22px;
  background: var(--text);
}

.brand-logo {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  padding: 22px 16px 18px;
}

.hero-title {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.hero-amount {
  font-size: 20px;
  font-weight: 700;
  color: var(--highlight);
  letter-spacing: -0.03em;
}

.hero-subtitle {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.content-wrap {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.video-wrap {
  margin-bottom: 18px;
}

.video-box {
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0f0f0f;
}

.video-shell {
  isolation: isolate;
}

.video-player-layer,
.video-cover-button {
  position: absolute;
  inset: 0;
}

.video-player-layer {
  z-index: 1;
}

.video-player-layer mux-player {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  background: #0f0f0f;
  --media-object-fit: cover;
  --media-object-position: center;
  --bottom-play-button: inline-flex;
  --seek-backward-button: none;
  --seek-forward-button: none;
  --mute-button: none;
  --captions-button: none;
  --airplay-button: none;
  --pip-button: none;
  --cast-button: none;
  --playback-rate-button: none;
  --volume-range: none;
  --time-display: none;
  --duration-display: none;
  --rendition-menu-button: none;
  --controls-backdrop-color: rgb(0 0 0 / 46%);
}

.video-cover-button {
  z-index: 3;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.video-cover-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-cover-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
  transform: translateY(clamp(72px, 18vw, 96px));
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.24) 100%);
}

.video-center-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(198, 138, 43, 0.45);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.video-play-icon {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 18px solid var(--highlight);
}

.video-loading-spinner {
  display: none;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: heroSpin 0.82s linear infinite;
}

.video-status-text,
.video-duration-note {
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.32);
}

.video-status-text {
  display: none;
  font-weight: 600;
}

.video-duration-note {
  max-width: 220px;
}

.video-shell.is-loading .video-play-icon {
  display: none;
}

.video-shell.is-loading .video-loading-spinner {
  display: block;
}

.video-shell.is-loading .video-status-text {
  display: block;
}

.video-shell.is-loading .video-duration-note,
.video-shell.is-error .video-duration-note {
  display: none;
}

.video-shell.is-error .video-status-text {
  display: block;
}

.video-shell.is-error .video-loading-spinner {
  display: none;
}

.video-shell.is-error .video-center-badge {
  width: auto;
  height: auto;
  padding: 12px 16px;
  border-color: rgba(255, 255, 255, 0.18);
}

.video-shell.is-error .video-play-icon {
  display: none;
}

.video-shell.is-revealed .video-cover-button {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0s linear 0.22s;
}

.video-shell.is-revealed .video-cover-overlay,
.video-shell.is-revealed .video-duration-note,
.video-shell.is-revealed .video-status-text,
.video-shell.is-revealed .video-center-badge {
  opacity: 0;
  visibility: hidden;
}

.video-mute-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.video-mute-toggle[hidden] {
  display: none;
}

.video-mute-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes heroSpin {
  to {
    transform: rotate(360deg);
  }
}

.cta-area {
  display: grid;
  gap: 10px;
}

.cta-button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.cta-button:active,
.modal-submit:active,
.modal-secondary:active {
  transform: translateY(1px);
}

.cta-note {
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}

.policy-hero {
  padding: 24px 20px 22px;
}

.policy-title {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.policy-subtitle {
  max-width: 620px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.policy-meta {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
}

.policy-card {
  padding: 10px;
}

.policy-grid {
  display: grid;
  gap: 10px;
}

.policy-block {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(247, 245, 241, 0.62) 0%, rgba(255, 255, 255, 1) 100%);
}

.policy-block h2 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.policy-block p,
.policy-list li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.policy-block p + p,
.policy-block p + ul,
.policy-list li + li {
  margin-top: 10px;
}

.policy-list {
  padding-left: 18px;
}

.policy-block a,
.footer-contact a,
.footer-links a {
  color: inherit;
}

.policy-block a {
  color: var(--text);
  text-underline-offset: 3px;
}

.footer {
  padding: 22px 18px 20px;
  text-align: left;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-text {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.footer-contact {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-contact a {
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}

.footer-divider {
  height: 1px;
  margin-bottom: 18px;
  background: var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 14px;
}

.footer-links a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-links a[aria-current="page"] {
  color: var(--text);
}

.footer-copy {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(17, 17, 17, 0.58);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  z-index: 50;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.modal-card {
  width: 100%;
  max-width: 430px;
  max-height: min(88vh, 760px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--modal-shadow);
  opacity: 0;
  transform: translateY(22px) scale(0.982);
  transform-origin: center bottom;
  will-change: transform, opacity;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
}

.modal-overlay.is-open .modal-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  padding: 18px 18px 0;
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-body {
  padding: 10px 18px 18px;
}

.modal-title {
  margin-bottom: 8px;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}


.modal-title-only {
  margin-bottom: 18px;
}

.modal-points {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.modal-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
}

.modal-point-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--highlight);
}

.modal-form {
  display: grid;
  gap: 13px;
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfaf7;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.form-input:focus {
  border-color: #d4ba8a;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(198, 138, 43, 0.08);
}

.form-input.is-error {
  border-color: var(--error);
  background: #fff8f8;
}

.field-error,
.form-legal {
  font-size: 12px;
  line-height: 1.6;
}

.field-error {
  display: none;
  color: var(--error);
}

.field-error.is-visible {
  display: block;
}

.form-submit-error {
  display: none;
  color: var(--error);
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}

.form-submit-error.is-visible {
  display: block;
}

.form-actions {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.modal-submit,
.modal-secondary {
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.modal-submit {
  border: 0;
  background: var(--accent);
  color: #ffffff;
}

.modal-submit.is-loading {
  opacity: 0.92;
  pointer-events: none;
}

.modal-submit-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.modal-submit-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: modalSpin 0.72s linear infinite;
}

.modal-submit.is-loading .modal-submit-spinner {
  display: inline-block;
}

@keyframes modalSpin {
  to {
    transform: rotate(360deg);
  }
}

.modal-secondary {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
}

.form-legal-core,
.form-legal {
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}

.form-legal-core {
  margin-top: 2px;
}

.form-disclosure {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 10px;
}

.form-disclosure summary {
  list-style: none;
}

.form-disclosure summary::-webkit-details-marker {
  display: none;
}

.form-disclosure-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.form-disclosure-summary::after {
  content: '+';
  font-size: 14px;
  line-height: 1;
}

.form-disclosure[open] .form-disclosure-summary::after {
  content: '−';
}

.form-disclosure-body {
  padding-top: 10px;
}

.form-legal a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal-success {
  display: none;
  padding-top: 0;
}

.modal-success.is-visible {
  display: block;
  margin-top: -6px;
}

.success-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfaf7;
  padding: 20px 22px 22px;
}

.success-title {
  margin-bottom: 16px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}


.success-steps {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.success-step {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--text);
  font-size: 13px;
  line-height: 1.65;
}

.success-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(198, 138, 43, 0.22);
  border-radius: 999px;
  background: rgba(198, 138, 43, 0.14);
  color: var(--highlight);
  font-size: 11px;
  font-weight: 700;
}

.success-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.sms-claim-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
}

.sms-claim-btn:active {
  transform: translateY(1px);
}

.success-note {
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
}

.copy-phone-btn {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.copy-phone-status {
  color: var(--highlight);
  font-weight: 600;
}

@media (hover: hover) {
  .brand-link:hover,
  .footer-contact a:hover,
  .footer-links a:hover,
  .policy-block a:hover,
  .form-legal a:hover,
  .copy-phone-btn:hover {
    opacity: 0.72;
  }
}

@media (max-width: 520px) {
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
    background: rgba(17, 17, 17, 0.5);
  }

  .modal-card {
    max-width: none;
    max-height: 92vh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transform: translateY(34px);
    transform-origin: center bottom;
    transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
  }

  .modal-overlay.is-open .modal-card {
    transform: translateY(0);
  }
}

@media (min-width: 640px) {
  .policy-card {
    padding: 12px;
  }

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

  .policy-block-contact {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) {
  body {
    padding: 24px;
  }

  .policy-hero {
    padding: 30px 28px 26px;
  }

  .policy-card {
    padding: 14px;
  }

  .policy-block {
    padding: 20px 18px;
  }
}

.form-row-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
