:root {
  color-scheme: light;
  font-family: 'Inter', 'SF Pro Display', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 2vw, 3rem);
  color: #1f1f1f;
  background: rgba(124, 58, 237, 1);
}

.container {
  width: min(960px, 100%);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 28px;
  box-shadow:
    0 20px 45px rgba(124, 58, 237, 0.25),
    0 8px 20px rgba(15, 23, 42, 0.12);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 2vw, 2.5rem);
}

.badge {
  align-self: flex-start;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  background: rgba(124, 58, 237, 0.12);
  color: rgb(75 16 177);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: rgb(75 16 177);
  line-height: 1.1;
}

.hero p {
  margin: 0;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgb(75 16 177);
  max-width: 50ch;
}

.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 520px) {
  .store-buttons {
    flex-direction: row;
  }
}

.store-button {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.9rem 1.5rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  color: #fff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.store-button svg {
  width: 32px;
  height: 32px;
}

.store-button.ios {
  background: black;
}

.store-button.android {
  background: black;
}

.store-button .small {
  font-size: 0.75rem;
  line-height: 1;
  margin: 0;
}

.store-button.android .small {
  text-transform: uppercase;
}

.store-button .big {
  font-size: 1.25rem;
  line-height: 1;
  margin: 0;
  font-weight: 500;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.2);
}

.note {
  font-size: 0.95rem;
  color: #4c1d95;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  line-height: 1.5;
}

footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgb(75 16 177);
}

footer a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(124, 58, 237, 0.5);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

footer a:hover {
  text-decoration-color: rgba(124, 58, 237, 0.9);
}

footer > span {
  opacity: 0.8;
  font-size: 0.85rem;
}

.policy-card {
  /* background: rgba(255, 255, 255, 0.9); */
  /* border-radius: 20px; */
  /* padding: clamp(1.5rem, 3vw, 2.5rem); */
  /* box-shadow: 0 12px 28px rgba(124, 58, 237, 0.18); */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.policy-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: rgb(75, 16, 177);
}

.policy-meta {
  font-size: 0.95rem;
  color: rgb(107, 33, 168);
  background: rgba(124, 58, 237, 0.12);
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  max-width: max-content;
}

.policy-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.policy-section h2 {
  margin: 0;
  color: rgb(75, 16, 177);
  font-size: 1.4rem;
}

.policy-section p,
.policy-section li {
  margin: 0;
  color: #312e81;
  line-height: 1.6;
  font-size: 1rem;
}

.policy-section ul {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  color: #4c1d95;
}

.back-link:hover {
  text-decoration: underline;
}
