/*
 * Product website styles. Colours are tokens: the light theme by default, the dark theme from
 * the system setting (prefers-color-scheme) or from the header button (data-theme on <html>,
 * set by theme.js). No external fonts or images, no data: URIs: the CSP allows only 'self'.
 */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-subtle: #f5f8fc;
  --surface: #ffffff;
  --surface-muted: #f1f5fa;
  --border: #e1e7ef;
  --border-strong: #c5d0dd;
  --text: #0f1b2d;
  --text-muted: #4f5d6e;
  --primary: #1d4e89;
  --primary-hover: #163d6c;
  --primary-text: #1d4e89;
  --primary-soft: #e7effa;
  --on-primary: #ffffff;
  --accent: #f2a541;
  --accent-text: #8a5300;
  --accent-soft: #fdf0dc;
  --success: #1a7f4b;
  --success-soft: #e2f4ea;
  --error: #b42318;
  --header-bg: rgba(255, 255, 255, 0.85);
  --hero-glow-1: rgba(29, 78, 137, 0.14);
  --hero-glow-2: rgba(242, 165, 65, 0.18);
  --highlight: rgba(242, 165, 65, 0.35);
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.06);
  --shadow-md:
    0 1px 2px rgba(15, 27, 45, 0.04), 0 8px 24px rgba(15, 27, 45, 0.08);
  --shadow-lg:
    0 2px 4px rgba(15, 27, 45, 0.04), 0 24px 48px rgba(15, 27, 45, 0.12);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --content: 72rem;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1220;
  --bg-subtle: #0e1728;
  --surface: #121d31;
  --surface-muted: #17243b;
  --border: #22314a;
  --border-strong: #33476a;
  --text: #e7eef7;
  --text-muted: #a3b2c6;
  --primary: #2f6fc0;
  --primary-hover: #3a7fd6;
  --primary-text: #8dbcf2;
  --primary-soft: #15284a;
  --on-primary: #ffffff;
  --accent: #f2b35e;
  --accent-text: #f6c27a;
  --accent-soft: #33250f;
  --success: #5fd197;
  --success-soft: #11301f;
  --error: #ff8f80;
  --header-bg: rgba(11, 18, 32, 0.8);
  --hero-glow-1: rgba(47, 111, 192, 0.3);
  --hero-glow-2: rgba(242, 179, 94, 0.12);
  --highlight: rgba(242, 179, 94, 0.3);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 24px 48px rgba(0, 0, 0, 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b1220;
    --bg-subtle: #0e1728;
    --surface: #121d31;
    --surface-muted: #17243b;
    --border: #22314a;
    --border-strong: #33476a;
    --text: #e7eef7;
    --text-muted: #a3b2c6;
    --primary: #2f6fc0;
    --primary-hover: #3a7fd6;
    --primary-text: #8dbcf2;
    --primary-soft: #15284a;
    --on-primary: #ffffff;
    --accent: #f2b35e;
    --accent-text: #f6c27a;
    --accent-soft: #33250f;
    --success: #5fd197;
    --success-soft: #11301f;
    --error: #ff8f80;
    --header-bg: rgba(11, 18, 32, 0.8);
    --hero-glow-1: rgba(47, 111, 192, 0.3);
    --hero-glow-2: rgba(242, 179, 94, 0.12);
    --highlight: rgba(242, 179, 94, 0.3);
    --highlight: rgba(242, 179, 94, 0.3);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 24px 48px rgba(0, 0, 0, 0.45);
  }
}

/* Base */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--bg);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

a {
  color: var(--primary-text);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
}

.icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding: 0.85rem max(1.5rem, calc((100% - var(--content)) / 2 + 1.5rem));
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  font-weight: 750;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}

.site-header nav a {
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 550;
  font-size: 0.95rem;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--text);
  background: var(--surface-muted);
}

.site-header nav a.language {
  color: var(--primary-text);
  font-weight: 650;
  border: 1px solid var(--border);
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

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

.theme-toggle:hover {
  background: var(--surface-muted);
}

.theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun {
    display: block;
  }

  :root:not([data-theme="light"]) .theme-toggle .icon-moon {
    display: none;
  }
}

@media (max-width: 52rem) {
  .site-header nav a:not(.language) {
    display: none;
  }
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--on-primary);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition:
    background-color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.button:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.button-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}

.button-secondary:hover {
  background: var(--surface-muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Sections */

main > section {
  padding: 5rem 0;
}

main > section.alt {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 44rem;
  margin-bottom: 2.75rem;
}

.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--primary-text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Hero */

main > section.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 4.5rem;
  background:
    radial-gradient(
      ellipse 60% 70% at 85% 10%,
      var(--hero-glow-1),
      transparent 70%
    ),
    radial-gradient(
      ellipse 50% 60% at 5% 90%,
      var(--hero-glow-2),
      transparent 70%
    ),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 3.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.pill .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px var(--success-soft);
}

.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.6rem);
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}

.hero h1 .highlight {
  color: var(--primary-text);
  background: linear-gradient(
    transparent 62%,
    var(--highlight) 62%,
    var(--highlight) 92%,
    transparent 92%
  );
}

.hero .lead {
  font-size: 1.15rem;
  max-width: 36rem;
}

/* Product mock-up in the hero: plain HTML, an illustration only (role="img"). */

.mock {
  position: relative;
  padding: 1.5rem 0 3rem 1.5rem;
}

.mock-window {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.mock-bar .light {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--border-strong);
}

.mock-bar .title {
  margin-left: 0.6rem;
}

.mock-body {
  padding: 1.25rem;
}

.mock-search {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
}

.mock-input {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.mock-input small {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mock-input span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 600;
}

.mock-action {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1rem;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--on-primary);
  font-size: 0.85rem;
  font-weight: 650;
  white-space: nowrap;
}

.mock-fields {
  display: grid;
  gap: 0.15rem;
  margin: 1rem 0 0;
}

.mock-field {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.25rem;
  border-bottom: 1px dashed var(--border);
  font-size: 0.9rem;
  animation: fill-in 0.5s ease both;
}

.mock-field:last-child {
  border-bottom: none;
}

.mock-field:nth-child(2) {
  animation-delay: 0.15s;
}

.mock-field:nth-child(3) {
  animation-delay: 0.3s;
}

.mock-field:nth-child(4) {
  animation-delay: 0.45s;
}

.mock-field:nth-child(5) {
  animation-delay: 0.6s;
}

.mock-field dt {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.mock-field dd {
  margin: 0;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-check {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
}

.mock-check .icon {
  width: 0.85rem;
  height: 0.85rem;
  stroke-width: 3;
}

.status {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 700;
}

.mock-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  animation: fill-in 0.5s ease 0.8s both;
}

.mock-badge strong {
  display: block;
}

.mock-badge small {
  color: var(--text-muted);
}

.mock-badge .icon-tile {
  background: var(--accent-soft);
  color: var(--accent-text);
}

@keyframes fill-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Highlights under the hero */

.highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 3.5rem 0 0;
  padding: 0;
  list-style: none;
}

.highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.highlights strong {
  display: block;
  color: var(--text);
}

.icon-tile {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary-text);
}

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 750;
}

.steps h3 {
  margin-bottom: 0.4rem;
}

.steps p {
  margin: 0;
  color: var(--text-muted);
}

/* Product and planned cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.product:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.card-head h3 {
  margin: 0;
}

.card-head .icon-tile {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
}

.card-head .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.polish .icon-tile {
  background: var(--accent-soft);
  color: var(--accent-text);
}

.tag {
  display: inline-block;
  margin-top: 0.2rem;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-text);
  font-size: 0.75rem;
  font-weight: 700;
}

.polish .tag {
  background: var(--accent-soft);
  color: var(--accent-text);
}

.tagline {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.features {
  display: grid;
  gap: 0.75rem;
  margin: 0.5rem 0 1.75rem;
  padding: 0;
  list-style: none;
}

.features li {
  position: relative;
  padding-left: 1.9rem;
}

.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--success-soft);
}

.features li::after {
  content: "";
  position: absolute;
  left: 0.47rem;
  top: 0.43rem;
  width: 0.32rem;
  height: 0.6rem;
  border: solid var(--success);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.card .listing {
  margin-top: auto;
  align-self: flex-start;
}

/* Install */

.install-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: install;
}

.install-steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  counter-increment: install;
}

.install-steps li::before {
  content: counter(install);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 750;
}

.install-steps li + li::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -1.5rem;
  width: 1.5rem;
  border-top: 2px dashed var(--border-strong);
}

/* Planned */

.roadmap {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: planned;
}

.roadmap li {
  position: relative;
  padding: 0 0 1.1rem 2.4rem;
  counter-increment: planned;
}

.roadmap li::before {
  content: counter(planned);
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border: 2px solid var(--primary-text);
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary-text);
  font-size: 0.75rem;
  font-weight: 750;
}

.roadmap li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 1.75rem;
  bottom: 0.1rem;
  border-left: 2px solid var(--border);
}

.polish .roadmap li::before {
  border-color: var(--accent);
  color: var(--accent-text);
}

/* FAQ */

.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
  margin: 0 auto;
}

details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-text);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details > p {
  margin: 0;
  padding: 0 1.35rem 1.2rem;
  color: var(--text-muted);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
}

.topics {
  display: grid;
  gap: 1.25rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.topics li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  color: var(--text-muted);
}

.topics strong {
  display: block;
  color: var(--text);
}

.form-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.notice {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin: 0;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--text);
}

.notice[hidden] {
  display: none;
}

.notice .icon {
  margin-top: 0.15rem;
  color: var(--accent-text);
}

form {
  display: grid;
  gap: 0.35rem;
}

form[hidden] {
  display: none;
}

label {
  margin-top: 0.7rem;
  font-weight: 600;
  font-size: 0.95rem;
}

form > label:first-of-type {
  margin-top: 0;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-text);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

textarea {
  resize: vertical;
}

[aria-invalid="true"] {
  border-color: var(--error);
  outline-color: var(--error);
}

.field-error {
  margin: 0;
  color: var(--error);
  font-size: 0.9rem;
}

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 1rem;
}

.consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.3rem;
  accent-color: var(--primary);
}

.consent label {
  margin-top: 0;
  font-weight: 400;
  color: var(--text-muted);
}

.recaptcha {
  margin: 1rem 0 0.5rem;
}

form .button {
  justify-self: start;
  margin-top: 0.5rem;
}

.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Text pages: privacy notice, thank-you page */

main.text-page {
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

.text-page h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.text-page h2 {
  margin-top: 2.5rem;
  font-size: 1.35rem;
}

.text-page .lead {
  margin-bottom: 2rem;
}

.thanks-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
}

.thanks-icon .icon {
  width: 2rem;
  height: 2rem;
  stroke-width: 2.5;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 3rem 1.5rem 2.5rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  max-width: 26rem;
}

.footer-brand .brand {
  margin-bottom: 0.6rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--text);
  font-weight: 550;
  text-decoration: none;
}

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

.legal {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
}

/* Responsive */

@media (max-width: 60rem) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 40rem) {
  main > section {
    padding: 3.5rem 0;
  }

  main > section.hero {
    padding-top: 3rem;
  }

  .highlights,
  .install-steps,
  .cards {
    grid-template-columns: 1fr;
  }

  .install-steps li + li::after {
    display: none;
  }

  .card,
  .form-card {
    padding: 1.5rem;
  }

  .mock {
    padding: 0;
  }

  .highlights {
    margin-top: 2.5rem;
  }

  .mock-search {
    flex-direction: column;
  }

  .mock-action {
    padding: 0.6rem 1rem;
  }

  .mock-field {
    grid-template-columns: 5rem minmax(0, 1fr) auto;
  }

  .mock-badge {
    position: static;
    margin-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
