/* GrabDeal launchsite. Merkwaarden uit brand/release/1.1.0 (DESIGN.md, tokens.json). */

@font-face {
  font-family: 'Onest';
  src: url('/assets/fonts/Onest-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --purple: #6d28d9;
  --magenta: #c026d3;
  --magenta-text: #a21caf;
  --coral: #f43f5e;
  --ink: #20152e;
  --paper: #faf7ff;
  --tint: #ede5fa;
  --tint-soft: #f3eefd;
  --pink-tint: #fde8f3;
  --pink-soft: #fff3f8;
  --white: #ffffff;
  --muted: #4a3f5c;
  --border: #e6ddf7;
  --error: #b4173d;
  --error-bg: #fdecef;
  --gradient: linear-gradient(120deg, #6d28d9 0%, #c026d3 55%, #f43f5e 100%);
  --shadow: 0 8px 24px rgba(32, 21, 46, 0.08);
  --shadow-lg: 0 20px 48px rgba(32, 21, 46, 0.12);
  --radius-card: 24px;
  --radius-btn: 16px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --wrap: 1200px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Onest', Arial, sans-serif;
  font-size: 16px;
  line-height: 25px;
  font-weight: 400;
  overflow-x: hidden;
}

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

[hidden] {
  display: none !important;
}

a {
  color: var(--purple);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--purple);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.icon {
  flex-shrink: 0;
}

/* Knoppen */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background-color 140ms var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
}

.btn-primary:hover {
  background: #5b21b6;
}

.btn-gradient {
  background: var(--purple);
  color: var(--white);
}

.btn-gradient:hover {
  background: #5b21b6;
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  color: var(--purple);
  border-color: var(--purple);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
}

.btn-lg {
  min-height: 56px;
  font-size: 17px;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

/* Labels en badges */

.eyebrow {
  margin: 0 0 12px;
  color: var(--purple);
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-magenta {
  color: var(--purple);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-tint {
  background: var(--tint);
  color: var(--purple);
}

.badge-coral {
  background: var(--coral);
  color: var(--ink);
}

.text-gradient {
  color: var(--purple);
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  padding: 4px 0;
}

.brand svg {
  height: 40px;
  width: auto;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.site-header.is-open .site-nav {
  display: flex;
}

.site-nav a {
  padding: 12px 10px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--purple);
  background: var(--tint-soft);
}

.site-nav .nav-cta {
  margin-top: 8px;
  color: var(--white);
}

.site-nav .nav-cta:hover {
  color: var(--white);
  background: #5b21b6;
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle .menu-icon-close,
.site-header.is-open .menu-toggle .menu-icon-open {
  display: none;
}

.site-header.is-open .menu-toggle .menu-icon-close {
  display: block;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 56px;
  text-align: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  margin-top: 20px;
  max-width: 980px;
  font-size: clamp(2.375rem, 7.5vw, 4.25rem);
  line-height: 1.06;
  font-weight: 800;
}

.hero-intro {
  margin-top: 20px;
  max-width: 600px;
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
  max-width: 980px;
  margin-top: 40px;
  text-align: left;
}

.audience-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(109, 40, 217, 0.1);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, var(--tint-soft) 0%, var(--white) 100%);
  box-shadow: var(--shadow);
}

.audience-creator {
  border-color: rgba(109, 40, 217, 0.1);
  background: linear-gradient(180deg, var(--tint-soft) 0%, var(--white) 100%);
}

.audience-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #e9ddfb;
  color: var(--purple);
}

.audience-creator .audience-icon {
  background: #e9ddfb;
  color: var(--purple);
}

.audience-creator .eyebrow {
  color: var(--purple);
}

.audience-card .eyebrow {
  margin: 8px 0 0;
}

.audience-card h2 {
  font-size: clamp(1.625rem, 4vw, 2rem);
  line-height: 1.15;
  font-weight: 800;
}

.audience-card p:not(.eyebrow) {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 25px;
}

.audience-card .btn {
  width: 100%;
  margin-top: auto;
  padding-top: 14px;
  padding-bottom: 14px;
  text-align: left;
  justify-content: space-between;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  text-align: left;
}

.availability-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--purple);
}

.availability-text {
  display: flex;
  flex-direction: column;
}

.availability-label {
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.availability strong {
  font-size: 20px;
  line-height: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Secties */

.section {
  padding: 56px 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head h2,
.pricing-copy h2 {
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  line-height: 1.1;
  font-weight: 750;
}

.section-head .lead {
  margin-top: 16px;
}

.about {
  background: var(--white);
}

.feature-grid,
.step-list,
.creator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature,
.step,
.info-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature h3,
.step h3,
.info-card h3 {
  margin-top: 16px;
  font-size: 22px;
  line-height: 28px;
  font-weight: 750;
}

.feature p,
.step p {
  margin-top: 8px;
  color: var(--muted);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--purple);
}

.feature-icon-magenta {
  background: var(--tint);
  color: var(--purple);
}

.note {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  max-width: 640px;
  margin: 32px auto 0;
  color: var(--muted);
  text-align: left;
}

.note .icon {
  margin-top: 3px;
  color: var(--purple);
}

.steps {
  background: var(--tint-soft);
}

.step {
  position: relative;
}

.step-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
}

/* Prijs */

.pricing {
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.pricing-copy .lead {
  margin-top: 16px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.li-icon {
  margin-top: 3px;
  color: var(--purple);
}

.info-card .check-list {
  margin-top: 16px;
}

.promise {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--purple);
  font-weight: 700;
}

.price-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.price {
  margin-top: 12px;
}

.price-amount {
  font-size: 56px;
  line-height: 60px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--purple);
  font-variant-numeric: tabular-nums;
}

.price-period {
  color: var(--muted);
  font-size: 16px;
}

.price-card .btn {
  margin-top: 20px;
  text-align: left;
  justify-content: space-between;
}

.fine-print {
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

/* Creators */

.creators {
  background: var(--tint-soft);
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* FAQ */

.faq {
  background: var(--white);
}

.faq-inner {
  max-width: 860px;
}

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.faq-tab {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 140ms var(--ease), color 140ms var(--ease);
}

.faq-tab:hover {
  background: var(--tint-soft);
}

.faq-tab[aria-selected='true'] {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

.faq-item {
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  list-style: none;
  font-size: 17px;
  line-height: 24px;
  font-weight: 650;
  cursor: pointer;
  border-radius: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  color: var(--purple);
  transition: transform 180ms var(--ease);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq-answer p + p {
  margin-top: 12px;
}

/* Aanmelden */

.signup {
  background: linear-gradient(180deg, var(--paper) 0%, var(--tint-soft) 100%);
}

.signup-inner {
  max-width: 780px;
}

.signup-form,
.signup-success {
  padding: 24px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.audience-switch {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.audience-switch legend {
  margin-bottom: 10px;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
  border-radius: 16px;
  background: var(--tint);
}

.segment input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.segment span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 140ms var(--ease), color 140ms var(--ease);
}

.segment input:checked + span {
  background: var(--white);
  color: var(--purple);
  box-shadow: var(--shadow);
}

.segment input:focus-visible + span {
  outline: 3px solid var(--purple);
  outline-offset: 2px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.form-span {
  grid-column: 1 / -1;
}

.creator-only {
  display: none;
}

.signup-form[data-audience='creator'] .creator-only {
  display: block;
}

.signup-form[data-audience='creator'] .merchant-only {
  display: none;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.optional {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--purple);
  border-radius: var(--radius-btn);
  background: var(--white);
  color: var(--ink);
  transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease);
}

.field input::placeholder {
  color: #8d82a0;
}

.field input:focus-visible,
.field select:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
}

.select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--purple);
  pointer-events: none;
}

.hint {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.field-error {
  margin-top: 6px;
  color: var(--error);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.field-error:empty {
  display: none;
}

.field.is-invalid input,
.field.is-invalid select {
  border-color: var(--error);
  box-shadow: inset 0 0 0 1px var(--error);
}

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

.field .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
}

.checkbox input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.checkbox-box {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1.5px solid var(--purple);
  border-radius: 6px;
  background: var(--white);
  color: var(--white);
  transition: background-color 140ms var(--ease);
}

.checkbox-box .icon {
  opacity: 0;
}

.checkbox input:checked ~ .checkbox-box {
  background: var(--purple);
}

.checkbox input:checked ~ .checkbox-box .icon {
  opacity: 1;
}

.checkbox input:focus-visible ~ .checkbox-box {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

.field.is-invalid .checkbox-box {
  border-color: var(--error);
}

.form-status {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--error-bg);
  color: var(--error);
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
}

.form-status:empty {
  display: none;
}

.signup-form .btn-lg {
  margin-top: 24px;
}

.signup-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 24px;
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--purple);
}

.signup-success h3 {
  font-size: 28px;
  line-height: 32px;
  font-weight: 800;
}

.signup-success p {
  max-width: 520px;
  color: var(--muted);
}

.signup-success .btn {
  margin-top: 12px;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer-brand svg {
  height: 36px;
  width: auto;
}

.footer-tagline {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-text {
  margin-top: 8px;
  max-width: 380px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-col h2 {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--white);
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.region-link.is-active {
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
}

/* Juridisch en 404 */

.legal-inner {
  max-width: 760px;
  padding-top: 48px;
  padding-bottom: 72px;
}

.legal h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.1;
  font-weight: 800;
}

.legal-updated {
  margin: 12px 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.legal section {
  margin-top: 36px;
}

.legal h2 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 30px;
  font-weight: 750;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal p + p,
.legal ul + p {
  margin-top: 12px;
}

.legal ul {
  margin-top: 12px;
  padding-left: 22px;
  list-style: disc;
}

.legal li + li {
  margin-top: 8px;
}

.not-found {
  text-align: center;
  padding-top: 80px;
}

.not-found .lead {
  margin: 16px auto 28px;
  max-width: 520px;
}

/* Responsief */

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .signup-form,
  .signup-success {
    padding: 32px;
  }
}

@media (min-width: 768px) {
  .wrap {
    padding: 0 24px;
  }

  .site-nav {
    left: -24px;
    right: -24px;
  }

  .hero {
    padding: 72px 0 80px;
  }

  .audience-grid,
  .feature-grid,
  .step-list,
  .creator-grid {
    gap: 24px;
  }

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

  .audience-card {
    padding: 32px;
  }

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

  .section {
    padding: 80px 0;
  }

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

@media (min-width: 900px) {
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav a {
    padding: 8px 4px;
  }

  .site-nav a:hover {
    background: transparent;
  }

  .site-nav .nav-cta {
    margin: 0 0 0 8px;
    padding: 8px 18px;
  }

  .menu-toggle {
    display: none;
  }

  .feature-grid,
  .step-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
  }

  .price-card {
    padding: 40px 36px;
  }

  .section-head {
    margin-bottom: 48px;
  }
}

@media (min-width: 1200px) {
  .wrap {
    padding: 0 32px;
  }

  .hero {
    padding: 88px 0 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .btn:hover {
    transform: none;
  }
}

/* Bridge-pagina's en auth-dialoog */

.bridge {
  background: linear-gradient(180deg, var(--paper) 0%, var(--tint-soft) 100%);
}

.bridge-inner {
  display: flex;
  justify-content: center;
  padding-top: 48px;
  padding-bottom: 80px;
}

.bridge-card,
.modal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  padding: 36px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.bridge-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--purple);
}

.bridge-icon[data-tone='warn'] {
  background: var(--tint);
  color: var(--ink);
}

.bridge-card h1,
.modal-card h2 {
  font-size: clamp(1.625rem, 4vw, 2rem);
  line-height: 1.15;
  font-weight: 800;
}

.bridge-text {
  max-width: 440px;
  color: var(--muted);
  font-size: 17px;
  line-height: 26px;
}

.bridge-detail {
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--tint-soft);
  color: var(--ink);
  font-weight: 600;
}

.bridge-card .btn,
.modal-card .btn {
  margin-top: 8px;
}

.bridge-card .hint,
.modal-card .hint {
  max-width: 420px;
}

.bridge-home {
  margin-top: 8px;
  color: var(--purple);
  font-weight: 600;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 21, 46, 0.55);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  z-index: 1;
  padding-top: 44px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.modal-close:hover {
  background: var(--tint-soft);
  color: var(--ink);
}

body.modal-open {
  overflow: hidden;
}

@media (min-width: 640px) {
  .bridge-card,
  .modal-card {
    padding: 44px 40px;
  }

  .modal-card {
    padding-top: 52px;
  }

  .bridge-inner {
    padding-top: 80px;
    padding-bottom: 120px;
  }
}
