/* Landing page styles. Design tokens only (--ds-*): colour, spacing, shape,
   type and motion come from tokens.css. Mobile first; the grid widens through
   intrinsic sizing, not breakpoints. No animation: nothing to reduce. */

.web-brand {
  display: inline-flex;
  align-items: center;
  min-height: var(--ds-target-touch);
  color: var(--ds-color-on-surface);
  font-size: var(--ds-type-title-large-size);
  line-height: var(--ds-type-title-large-line-height);
  font-weight: var(--ds-type-title-large-weight);
  letter-spacing: var(--ds-type-title-large-tracking);
  text-decoration: none;
}

.web-language {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}

.web-language__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: var(--ds-target-touch);
  min-height: var(--ds-target-touch);
  padding: 0 var(--ds-space-4);
  border-radius: var(--ds-shape-full);
  color: var(--ds-color-on-surface-variant);
  font-size: var(--ds-type-label-large-size);
  line-height: var(--ds-type-label-large-line-height);
  font-weight: var(--ds-type-label-large-weight);
  letter-spacing: var(--ds-type-label-large-tracking);
  text-decoration: none;
}

.web-language__link:hover {
  background: color-mix(in srgb, var(--ds-color-on-surface) calc(var(--ds-state-hover) * 100%), transparent);
}

.web-language__link[aria-current="page"] {
  background: var(--ds-color-secondary-container);
  color: var(--ds-color-on-secondary-container);
}

/* Hero */

.web-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--ds-space-6);
  padding: var(--ds-space-12) var(--ds-space-6);
  border-radius: var(--ds-shape-xl);
  background:
    radial-gradient(
      60rem 24rem at 90% -20%,
      color-mix(in srgb, var(--ds-color-primary-container) 80%, transparent),
      transparent
    ),
    var(--ds-color-surface-container-low);
}

.web-hero__title {
  margin: 0;
  color: var(--ds-color-on-surface);
  font-size: var(--ds-type-display-large-size);
  line-height: var(--ds-type-display-large-line-height);
  font-weight: var(--ds-type-display-large-weight);
  letter-spacing: var(--ds-type-display-large-tracking);
}

.web-hero__pitch {
  max-width: 36rem;
  margin: 0;
  color: var(--ds-color-on-surface-variant);
  font-size: var(--ds-type-headline-small-size);
  line-height: var(--ds-type-headline-small-line-height);
  font-weight: var(--ds-type-headline-small-weight);
  letter-spacing: var(--ds-type-headline-small-tracking);
}

.web-hero__lead {
  max-width: var(--ds-measure);
  margin: 0;
  color: var(--ds-color-on-surface-variant);
}

.web-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.web-chip {
  padding: var(--ds-space-1) var(--ds-space-3);
  border: 1px solid var(--ds-color-outline-variant);
  border-radius: var(--ds-shape-full);
  background: var(--ds-color-surface-container-lowest);
  color: var(--ds-color-on-surface-variant);
  font-size: var(--ds-type-label-large-size);
  line-height: var(--ds-type-label-large-line-height);
  font-weight: var(--ds-type-label-large-weight);
  letter-spacing: var(--ds-type-label-large-tracking);
}

.web-hero__cta,
.web-download__link {
  text-decoration: none;
}

/* Sections */

.web-section {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-4);
  padding: var(--ds-space-12) 0 0;
}

.web-section__title {
  margin: 0;
  font-size: var(--ds-type-headline-medium-size);
  line-height: var(--ds-type-headline-medium-line-height);
  font-weight: var(--ds-type-headline-medium-weight);
  letter-spacing: var(--ds-type-headline-medium-tracking);
}

.web-section__intro {
  max-width: var(--ds-measure);
  margin: 0;
  color: var(--ds-color-on-surface-variant);
}

/* Features */

.web-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: var(--ds-space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.web-feature {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-2);
  padding: var(--ds-space-6);
  border-radius: var(--ds-shape-lg);
  background: var(--ds-color-surface-container);
}

.web-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: var(--ds-space-12);
  height: var(--ds-space-12);
  margin-bottom: var(--ds-space-2);
  border-radius: var(--ds-shape-full);
  background: var(--ds-color-primary-container);
  color: var(--ds-color-on-primary-container);
}

.web-feature__title {
  margin: 0;
  font-size: var(--ds-type-title-large-size);
  line-height: var(--ds-type-title-large-line-height);
  font-weight: var(--ds-type-title-large-weight);
  letter-spacing: var(--ds-type-title-large-tracking);
}

.web-feature__body {
  margin: 0;
  color: var(--ds-color-on-surface-variant);
}

/* Download */

.web-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.web-download .ds-notice {
  align-self: flex-start;
}
