/**
 * Code Credits
 * Project: InboxShield / cleaninbox
 * Owner: Torsten Nixdorf
 * Coding Brand: Nixdorf Media
 * Purpose: Maintains the public InboxShield website asset at public-site/styles.css.
 *
 * Rules:
 * - UTF-8 with German umlauts
 * - no secrets in source code
 */
:root {
  color-scheme: light;
  --brand: #0093de;
  --brand-strong: #006da8;
  --ink: #10202b;
  --ink-soft: #53616b;
  --line: #d8e1e7;
  --line-strong: #b9c9d3;
  --paper: #ffffff;
  --paper-soft: #f5f8fa;
  --sky: #e8f6fd;
  --mint: #e6f7f0;
  --amber: #fff2d7;
  --red-soft: #ffe7e3;
  --green: #20845a;
  --warn: #bc6b00;
  --danger: #b33525;
  --shadow: 0 18px 48px rgba(16, 32, 43, 0.13);
  --max: 1180px;
  --radius: 8px;
  --header-height: 74px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

:focus-visible {
  outline: 3px solid rgba(0, 147, 222, 0.34);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: var(--header-height);
  padding: 12px clamp(18px, 4vw, 44px);
  border-bottom: 1px solid rgba(216, 225, 231, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.main-nav,
.header-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.main-nav {
  justify-content: center;
  min-width: 0;
}

.main-nav a,
.text-link,
.footer-links a,
.footer-link-button {
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 650;
}

.main-nav a {
  padding: 8px 10px;
}

.main-nav a:hover,
.text-link:hover,
.footer-links a:hover,
.footer-link-button:hover {
  color: var(--brand-strong);
}

.footer-link-button,
.inline-action {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-strong);
  font: inherit;
  font-weight: 750;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-link-button {
  color: var(--ink-soft);
  text-decoration: none;
}

.header-actions {
  justify-content: flex-end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 750;
  line-height: 1.1;
  text-align: center;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled:hover {
  transform: none;
}

.button-primary {
  background: var(--brand);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--brand-strong);
}

.button-secondary {
  border-color: var(--line-strong);
  background: var(--ink);
  color: #ffffff;
}

.button-ghost,
.button-outline {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.button-ghost:hover,
.button-outline:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
}

.hero {
  position: relative;
  display: grid;
  align-items: start;
  min-height: min(720px, calc(78vh - var(--header-height)));
  overflow: hidden;
  padding:
    clamp(72px, 10vw, 132px)
    max(clamp(18px, 5vw, 64px), calc((100vw - 1400px) / 2 + 64px))
    clamp(54px, 8vw, 96px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.86) 45%, rgba(255, 255, 255, 0.32) 100%),
    #eef5f9;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.35rem, 7.5vw, 6.5rem);
  line-height: 0.92;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-copy {
  width: min(620px, 100%);
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(620px, 100%);
  margin: 34px 0 0;
}

.hero-facts div {
  min-width: 0;
  padding: 13px 0;
  border-top: 2px solid var(--line);
}

.hero-facts dt {
  color: var(--ink);
  font-weight: 850;
}

.hero-facts dd {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.hero-interface {
  position: absolute;
  top: 50%;
  right: clamp(28px, 3vw, 72px);
  width: clamp(620px, 40vw, 760px);
  transform: translateY(-48%) rotate(-2deg);
}

.interface-shell {
  overflow: hidden;
  border: 1px solid rgba(185, 201, 211, 0.9);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.interface-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #f8fbfd;
}

.interface-toolbar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--line-strong);
}

.interface-toolbar strong {
  margin-left: 12px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.interface-grid {
  display: grid;
  grid-template-columns: 128px minmax(220px, 1fr) 150px;
  gap: 16px;
  min-height: 410px;
  padding: 18px;
}

.mail-rail,
.mail-list,
.signal-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.mail-rail {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
}

.mail-rail span {
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.mail-rail .rail-active {
  background: var(--sky);
  color: var(--brand-strong);
}

.mail-list {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px;
}

.mail-row {
  min-width: 0;
  padding: 14px;
  border-left: 4px solid var(--line-strong);
  border-radius: 7px;
  background: var(--paper-soft);
}

.mail-row b,
.mail-row span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mail-row b {
  color: var(--ink);
}

.mail-row span {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.mail-row.high {
  border-color: var(--danger);
  background: var(--red-soft);
}

.mail-row.medium {
  border-color: var(--warn);
  background: var(--amber);
}

.mail-row.clean {
  border-color: var(--green);
  background: var(--mint);
}

.signal-panel {
  align-self: start;
  padding: 20px;
}

.signal-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 750;
}

.signal-panel strong {
  display: block;
  margin-top: 14px;
  color: var(--danger);
  font-size: 4.8rem;
  line-height: 0.9;
}

.signal-panel span {
  display: block;
  margin-top: 14px;
  color: var(--ink-soft);
}

.section {
  padding: clamp(58px, 9vw, 106px) clamp(18px, 5vw, 64px);
}

.route-status {
  padding: 22px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: var(--sky);
}

.route-status[hidden] {
  display: none;
}

.route-status[data-state="success"] {
  background: var(--mint);
}

.route-status > div {
  display: grid;
  gap: 4px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.route-status strong {
  color: var(--ink);
}

.route-status span {
  color: var(--ink-soft);
  font-weight: 650;
}

body[data-public-route="impressum"] main > section:not(.legal-page),
body[data-public-route="datenschutz"] main > section:not(.legal-page) {
  display: none;
}

.legal-page[hidden] {
  display: none;
}

.legal-page {
  min-height: calc(100dvh - var(--header-height));
  padding: clamp(46px, 7vw, 88px) clamp(18px, 5vw, 64px);
  background:
    linear-gradient(180deg, rgba(232, 246, 253, 0.7), rgba(255, 255, 255, 0.92) 42%),
    var(--paper);
}

.legal-shell {
  display: grid;
  gap: 26px;
  width: min(100%, 980px);
  margin: 0 auto;
}

.legal-shell h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.legal-lead {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.legal-block,
.legal-copy {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}

.legal-block {
  padding: 20px;
}

.legal-copy {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 4vw, 34px);
}

.legal-block h2,
.legal-copy h2 {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.legal-block p,
.legal-copy p,
.legal-copy li {
  margin: 0;
  color: var(--ink-soft);
}

.legal-copy ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.legal-block a,
.legal-copy a {
  color: var(--brand-strong);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.section:nth-of-type(odd) {
  background: var(--paper-soft);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.story-grid,
.visual-story,
.relief-panel {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.story-grid {
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
}

.visual-story,
.relief-panel {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.72fr);
}

.story-copy {
  display: grid;
  gap: 18px;
}

.story-copy h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.45rem);
  line-height: 1.02;
}

.story-copy p {
  margin: 0;
}

.story-media,
.relief-media {
  position: relative;
  min-width: 0;
  width: min(100%, 500px);
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(185, 201, 211, 0.76);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 250, 0.78)),
    var(--paper);
  box-shadow: 0 14px 34px rgba(16, 32, 43, 0.08);
}

.story-media::before,
.relief-media::before {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-strong);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  content: attr(data-label);
}

.story-media img,
.relief-media img {
  display: block;
  width: 100%;
  height: clamp(230px, 23vw, 320px);
  border: 0;
  border-radius: 7px;
  object-fit: cover;
  object-position: center;
  box-shadow: none;
}

.story-media figcaption,
.relief-media figcaption {
  margin: 0;
  padding: 10px 4px 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
}

.story-media-small,
.relief-media {
  width: min(100%, 430px);
  justify-self: end;
}

.story-media-small img,
.relief-media img {
  height: clamp(210px, 20vw, 285px);
}

.story-media--screenshot {
  padding: 8px;
  border-color: rgba(185, 201, 211, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 250, 0.86)),
    #ffffff;
  box-shadow: 0 20px 48px rgba(16, 32, 43, 0.12);
}

.story-media--screenshot img {
  height: auto;
  border: 1px solid rgba(185, 201, 211, 0.78);
  background: #f5f8fa;
  object-fit: contain;
}

.story-media--desktop {
  width: min(100%, 640px);
}

.story-media--tablet {
  width: min(100%, 420px);
  justify-self: center;
}

.story-media--phone {
  width: min(100%, 300px);
  justify-self: center;
  padding: 8px;
  border-radius: 24px;
}

.story-media--phone img {
  border-radius: 18px;
}

.story-media--tablet img {
  border-radius: 12px;
}

.plain-checks {
  display: grid;
  gap: 12px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.plain-checks li {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 650;
}

.copy-stack p,
.section-heading p,
.story-copy p,
.visual-story-copy p,
.relief-panel p,
.demo-layout > div > p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.copy-stack p:first-child {
  margin-top: 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  width: min(820px, 100%);
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.feature-grid,
.plan-grid,
.example-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature,
.plan,
.example-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.example-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 34px;
}

.example-card {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.example-label {
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.example-card p {
  margin: 0;
  color: var(--ink-soft);
}

.visual-story-copy {
  display: grid;
  gap: 12px;
}

.visual-story,
.relief-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.visual-story {
  margin-top: 34px;
}

.feature {
  padding: 22px;
}

.feature-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--brand-strong);
  font-weight: 850;
}

.feature p,
.plan p,
.plan li,
.journey p,
.trust-list p,
.price-note,
.contact-note span,
.site-footer span {
  color: var(--ink-soft);
}

.plan-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.16fr) minmax(0, 0.92fr);
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
}

.plan-highlight {
  border-color: var(--brand);
  padding-block: 30px;
  transform: translateY(-10px);
  box-shadow: 0 16px 36px rgba(0, 147, 222, 0.16);
}

.plan-badge {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 850;
}

.plan-head p {
  margin: 6px 0 0;
}

.plan-meta {
  margin: -8px 0 0;
  padding: 9px 11px;
  border: 1px solid rgba(0, 147, 222, 0.18);
  border-radius: 7px;
  background: rgba(0, 147, 222, 0.07);
  color: var(--brand-strong);
  font-size: 0.92rem;
  font-weight: 800;
}

.price {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  font-weight: 850;
  line-height: 1;
}

.price span {
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 650;
}

.plan ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 0 0 20px;
}

.plan-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.price-note {
  margin: 18px 0 0;
  font-size: 0.95rem;
}

.journey {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey li {
  min-width: 0;
  padding-top: 18px;
  border-top: 3px solid var(--line-strong);
}

.journey span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 850;
}

.journey h3,
.trust-list h3 {
  margin-bottom: 8px;
}

.journey p,
.trust-list p {
  margin: 0;
}

.relief-panel {
  margin-top: 42px;
}

.relief-panel > div {
  display: grid;
  gap: 12px;
}

.trust-list {
  display: grid;
  gap: 22px;
}

.trust-list > div {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.contact-note {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding: 18px 0;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.demo-form {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--ink);
  font-weight: 750;
}

input,
select,
textarea {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
}

input,
select {
  min-height: 44px;
  padding: 0 12px;
}

textarea {
  min-height: 132px;
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
}

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

.consent-label {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 650;
}

.consent-label input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.order-note {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 147, 222, 0.2);
  border-radius: 8px;
  background: rgba(0, 147, 222, 0.07);
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.order-note strong {
  color: var(--ink);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.form-submit {
  justify-self: start;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.form-status[data-state="success"] {
  color: var(--green);
}

.form-status[data-state="error"] {
  color: var(--danger);
}

.consent-banner {
  position: fixed;
  z-index: 60;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  left: clamp(14px, 3vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(16, 32, 43, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.consent-banner[hidden],
.consent-modal[hidden] {
  display: none;
}

.consent-banner h2,
.consent-modal h2 {
  margin: 0;
}

.consent-banner p {
  max-width: 760px;
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.consent-modal {
  position: fixed;
  z-index: 70;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 32, 43, 0.42);
}

.consent-modal__panel {
  display: grid;
  gap: 20px;
  width: min(100%, 680px);
  max-height: min(720px, calc(100dvh - 36px));
  overflow: auto;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.consent-modal__head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.icon-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
}

.consent-options {
  display: grid;
  gap: 12px;
}

.consent-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
}

.consent-option input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--brand);
}

.consent-option span {
  display: grid;
  gap: 4px;
}

.consent-option small,
.consent-note {
  color: var(--ink-soft);
}

.consent-note {
  min-height: 22px;
  margin: 0;
  font-weight: 700;
}

.consent-actions--modal {
  justify-content: flex-start;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 30px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.site-footer > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

@media (max-width: 1320px) {
  .hero-interface {
    display: none;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    order: 3;
  }

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

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

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

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .hero-facts,
  .two-column,
  .story-grid,
  .visual-story,
  .relief-panel,
  .plan-grid,
  .demo-layout,
  .site-footer,
  .legal-grid,
  .consent-banner {
    grid-template-columns: 1fr;
  }

  .story-copy {
    order: -1;
  }

  .story-media,
  .story-media-small,
  .relief-media {
    width: 100%;
    justify-self: stretch;
  }

  .story-media img,
  .relief-media img {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .story-media--screenshot img {
    aspect-ratio: auto;
  }

  .story-media--phone,
  .story-media--tablet {
    width: min(100%, 390px);
    justify-self: center;
  }

  .story-media--desktop {
    width: 100%;
  }

  .visual-story,
  .relief-panel {
    padding: 18px;
  }

  .consent-actions {
    justify-content: flex-start;
  }

}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding-block: 10px;
  }

  .brand {
    justify-self: start;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .main-nav {
    grid-column: 1 / -1;
    flex-wrap: nowrap;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    padding-inline: 0;
    white-space: nowrap;
  }

  .hero-actions,
  .footer-links {
    align-items: stretch;
  }

  .consent-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-height: calc(100dvh - 20px);
    overflow: auto;
  }

  .consent-actions .button {
    width: 100%;
  }

  .legal-shell h1 {
    letter-spacing: -0.03em;
  }

  .button {
    width: 100%;
  }

  .header-actions .button,
  .header-actions .text-link {
    width: auto;
    min-height: 36px;
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .button {
    display: none;
  }

  .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .hero-facts,
  .feature-grid,
  .example-grid,
  .journey,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .demo-form {
    padding: 18px;
  }
}
