:root {
  --hero-text: #0f172a;
  --hero-muted: #475569;
  --hero-indigo: #6366f1;
  --hero-indigo-hover: #4f46e5;
  --hero-surface: #ffffff;
  --hero-radius: 0.75rem;
  --hero-max: 80rem;
}

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

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  background: var(--hero-surface);
  color: var(--hero-text);
  -webkit-font-smoothing: antialiased;
}

.hero {
  padding: 6.25rem 0.5rem 2.5rem;
}

@media (min-width: 768px) {
  .hero {
    padding: 6.25rem 1.5rem 2.5rem;
  }
}

.hero__inner {
  max-width: var(--hero-max);
  margin: 0 auto;
}

.hero__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.5rem;
}

.hero__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--hero-text);
  animation: hero-fade-up 0.55s ease both;
}

.hero__logo {
  flex-shrink: 0;
  width: clamp(2.5rem, 8vw, 3.25rem);
  height: clamp(2.5rem, 8vw, 3.25rem);
  object-fit: contain;
}

.hero__name {
  display: inline-block;
}

.hero__subtitle {
  margin: 0 0 1rem;
  max-width: 36rem;
  font-size: clamp(1.0625rem, 2.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--hero-indigo);
  animation: hero-fade-up 0.6s ease 0.06s both;
}

.hero__tagline {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.55;
  color: var(--hero-muted);
  animation: hero-fade-up 0.65s ease 0.12s both;
  margin-bottom: 20px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 1.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    background 0.15s ease,
    transform 0.1s ease,
    box-shadow 0.15s ease;
  color: #fff;
  background: var(--hero-indigo);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.25);
}

.hero__btn-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}



.hero__btn:hover {
  background: var(--hero-indigo-hover);
}

.hero__btn:active {
  transform: scale(0.98);
}



.hero__visual {
  width: 100%;
  border-radius: var(--hero-radius);
}

.hero__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--hero-radius);
}

.hero__footer {
  margin-top: 2rem;
  padding-bottom: 1rem;
  text-align: center;
}

.hero__legal {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--hero-muted);
  text-decoration: none;
}

.hero__legal:hover {
  color: var(--hero-indigo);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Privacy / legal prose */

.legal {
  padding: 2rem 1rem 4rem;
}

@media (min-width: 768px) {
  .legal {
    padding: 3rem 1.5rem 5rem;
  }
}

.legal__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.legal__nav {
  margin-bottom: 2rem;
}

.legal__home {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--hero-indigo);
  text-decoration: none;
}

.legal__home:hover {
  color: var(--hero-indigo-hover);
  text-decoration: underline;
}

.legal__header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.legal__title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--hero-text);
}

.legal__meta {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--hero-muted);
}

.legal__lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--hero-text);
}

.legal__section {
  margin-bottom: 2.25rem;
}

.legal__section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--hero-text);
}

.legal__section h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--hero-text);
}

.legal__section h2 + h3 {
  margin-top: 0.75rem;
}

.legal__section p,
.legal__section ul {
  margin: 0 0 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--hero-text);
}

.legal__section ul {
  padding-left: 1.25rem;
}

.legal__section li {
  margin-bottom: 0.35rem;
}

.legal__section li:last-child {
  margin-bottom: 0;
}

.legal__section a {
  color: var(--hero-indigo);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__section a:hover {
  color: var(--hero-indigo-hover);
}

.legal__table-wrap {
  margin: 1rem 0 1.25rem;
  overflow-x: auto;
  border-radius: var(--hero-radius);
  border: 1px solid #e2e8f0;
}

.legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: left;
}

.legal__table th,
.legal__table td {
  padding: 0.65rem 0.75rem;
  vertical-align: top;
  border-bottom: 1px solid #e2e8f0;
}

.legal__table thead th {
  font-weight: 600;
  color: var(--hero-text);
  background: #f8fafc;
}

.legal__table tbody th[scope="row"] {
  font-weight: 600;
  color: var(--hero-text);
  background: #fafafa;
  width: 28%;
}

.legal__table tbody tr:last-child th,
.legal__table tbody tr:last-child td {
  border-bottom: none;
}

.legal__table code {
  font-size: 0.8125rem;
}

.legal__section code {
  padding: 0.1em 0.35em;
  font-size: 0.84em;
  background: #f1f5f9;
  border-radius: 0.25rem;
}
