:root {
  --auth-bg: #f7f5f0;
  --auth-ink: #0f172a;
  --auth-muted: #64748b;
  --auth-border: rgba(15, 23, 42, 0.08);
  --auth-primary: #0f172a;
  --auth-accent: #f59e0b;
  --auth-success: #0f766e;
  --auth-card: rgba(255, 255, 255, 0.9);
}

html[data-theme="dark"] {
  --auth-bg: #070a12;
  --auth-ink: #f8fafc;
  --auth-muted: #a6b0c2;
  --auth-border: rgba(255, 255, 255, 0.1);
  --auth-primary: #f8fafc;
  --auth-accent: #f59e0b;
  --auth-success: #34d399;
  --auth-card: rgba(15, 23, 42, 0.78);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f7f5f0;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(245, 158, 11, 0.18), transparent 31%),
    radial-gradient(circle at 86% 18%, rgba(15, 23, 42, 0.12), transparent 28%),
    linear-gradient(135deg, #f7f5f0 0%, #ffffff 48%, #eef2f7 100%);
  color: var(--auth-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 18% 12%, rgba(245, 158, 11, 0.14), transparent 31%),
    radial-gradient(circle at 86% 18%, rgba(96, 165, 250, 0.16), transparent 28%),
    linear-gradient(135deg, #05070d 0%, #0f172a 52%, #111827 100%);
}

a {
  color: inherit;
}

.auth-shell-premium {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 34px 24px;
  isolation: isolate;
  overflow: hidden;
}

.auth-grid-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.042) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 42, 0.042) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 50%, black 0%, black 56%, transparent 92%);
}

html[data-theme="dark"] .auth-grid-bg {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
}

.auth-showcase-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.floating-card {
  position: absolute;
  width: 220px;
  border: 1px solid var(--auth-border);
  border-radius: 30px;
  background: var(--auth-card);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(18px);
  animation: floatSoft var(--duration, 10s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  transform: translateY(0) rotate(var(--rotate, 0deg));
}

.floating-card.dark {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.14), transparent 35%),
    #111827;
  color: #ffffff;
}

.floating-card.cream {
  background:
    radial-gradient(circle at 18% 0%, rgba(245, 158, 11, 0.18), transparent 38%),
    #fff8ed;
}

.floating-card.muted {
  opacity: 0.42;
  filter: blur(0.3px);
  transform: scale(0.92) rotate(var(--rotate, 0deg));
}

.offer-mini {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.offer-visual,
.mini-page-image {
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.78), transparent 22%),
    linear-gradient(135deg, #fed7aa, #f8fafc);
}

.offer-visual {
  min-height: 150px;
}

.mini-page-image {
  min-height: 180px;
}

.auth-offer-card img,
.auth-card-image,
.offer-mini img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 22px;
  filter: saturate(0.96) contrast(1.02);
}

.mini-page-preview .auth-card-image {
  height: 180px;
}

.floating-card.muted .auth-card-image {
  height: 125px;
}

.mini-page-preview.muted .auth-card-image {
  height: 150px;
}

.auth-card-image[data-type="massage"],
.auth-card-image[data-type="care"] {
  object-position: center;
}

.auth-card-image[data-type="product"] {
  object-position: center center;
}

.auth-card-image[data-type="coaching"] {
  object-position: center 38%;
}

.auth-card-image[data-type="ceramic"] {
  object-position: center 44%;
}

.auth-card-image[data-type="food"] {
  object-position: center 45%;
}

.offer-mini-kicker,
.mini-page-body span {
  color: var(--auth-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dark .offer-mini-kicker,
.dark .mini-page-body span {
  color: #cbd5e1;
}

.offer-mini-title {
  color: inherit;
  font-size: 1.15rem;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.offer-mini-price,
.mini-page-body em {
  color: inherit;
  font-style: normal;
  font-weight: 900;
}

.offer-mini-cta,
.mini-page-body button {
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 11px 12px;
  background: var(--auth-primary);
  color: #ffffff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
}

.dark .offer-mini-cta {
  background: #ffffff;
  color: #111827;
}

.mini-page-preview {
  overflow: hidden;
  padding: 10px;
}

.mini-page-image {
  min-height: 180px;
}

.mini-page-body {
  display: grid;
  gap: 7px;
  padding: 12px 4px 2px;
}

.mini-page-body strong {
  font-size: 1.2rem;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.metric-mini {
  width: 170px;
  display: grid;
  gap: 5px;
  padding: 18px;
}

.metric-mini strong {
  font-size: 1.65rem;
  letter-spacing: -0.05em;
}

.metric-mini span {
  color: var(--auth-muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.metric-mini.dark span {
  color: #cbd5e1;
}

.channel-pill {
  width: auto;
  padding: 12px 16px;
  border-radius: 999px;
  color: #111827;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.auth-card-left-1 {
  left: max(18px, 4vw);
  top: 7%;
  --rotate: -4deg;
  --duration: 11s;
}

.auth-card-left-2 {
  left: max(250px, 17vw);
  top: 9%;
  --rotate: 5deg;
  --duration: 8s;
  --delay: -1.4s;
}

.auth-card-left-3 {
  left: max(26px, 6vw);
  top: 42%;
  --rotate: 3deg;
  --duration: 10s;
  --delay: -2.5s;
}

.auth-card-left-4 {
  left: max(280px, 20vw);
  top: 35%;
  --rotate: -6deg;
  --duration: 9s;
  --delay: -1.8s;
}

.auth-card-left-5 {
  left: max(180px, 13vw);
  bottom: -4%;
  --rotate: -2deg;
  --duration: 12s;
  --delay: -3s;
}

.auth-card-left-6 {
  left: max(14px, 2vw);
  bottom: 12%;
  --rotate: 7deg;
  --duration: 9.5s;
  --delay: -0.8s;
}

.auth-card-right-1 {
  right: max(260px, 18vw);
  top: 6%;
  --rotate: 4deg;
  --duration: 10.5s;
}

.auth-card-right-2 {
  right: max(40px, 5vw);
  top: 14%;
  --rotate: -5deg;
  --duration: 8.5s;
  --delay: -2.2s;
}

.auth-card-right-3 {
  right: max(48px, 5vw);
  top: 40%;
  --rotate: -3deg;
  --duration: 11s;
  --delay: -1.1s;
}

.auth-card-right-4 {
  right: max(280px, 20vw);
  bottom: 4%;
  --rotate: 5deg;
  --duration: 12s;
  --delay: -2.7s;
}

.auth-card-right-5 {
  right: max(34px, 4vw);
  bottom: 4%;
  --rotate: 3deg;
  --duration: 9s;
  --delay: -1.7s;
}

.auth-card-right-6 {
  right: max(250px, 19vw);
  top: 49%;
  --rotate: 8deg;
  --duration: 8s;
  --delay: -3.3s;
}

.auth-card-right-7 {
  right: max(250px, 18vw);
  top: 29%;
  --rotate: 2deg;
  --duration: 9.5s;
  --delay: -0.6s;
}

.auth-card-bg-1 {
  left: 44%;
  top: 7%;
  --rotate: -8deg;
  --duration: 13s;
}

.auth-card-bg-2 {
  left: 39%;
  bottom: -7%;
  --rotate: 7deg;
  --duration: 12s;
  --delay: -2s;
}

.auth-card-bg-3 {
  right: 39%;
  top: -9%;
  --rotate: 4deg;
  --duration: 14s;
  --delay: -3s;
}

.auth-card-premium {
  position: relative;
  z-index: 2;
  width: min(100%, 456px);
  padding: clamp(30px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 34px 100px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(24px);
}

html[data-theme="dark"] .auth-card-premium {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.82);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
}

.auth-brand-kicker {
  display: inline-flex;
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fffbeb;
  color: #92400e;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-theme="dark"] .auth-brand-kicker {
  border-color: rgba(245, 158, 11, 0.28);
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
}

.auth-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  text-decoration: none;
}

.auth-logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #0f172a;
  color: white;
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1;
}

.auth-logo-word {
  color: #0f172a;
  font-size: 0.84rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

html[data-theme="dark"] .auth-logo-mark {
  background: #f8fafc;
  color: #0f172a;
}

html[data-theme="dark"] .auth-logo-word {
  color: #f8fafc;
}

.auth-card-premium h1 {
  margin: 18px 0 10px;
  color: var(--auth-ink);
  font-size: clamp(2.35rem, 5vw, 3.35rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.auth-subtitle,
.auth-card-premium > p {
  margin: 0 0 22px;
  color: #475569;
  line-height: 1.55;
}

html[data-theme="dark"] .auth-subtitle,
html[data-theme="dark"] .auth-card-premium > p,
html[data-theme="dark"] .auth-footer,
html[data-theme="dark"] .auth-legal-links,
html[data-theme="dark"] .auth-recap small {
  color: var(--auth-muted);
}

.auth-form {
  display: grid;
  gap: 11px;
}

.auth-form label {
  color: #111827;
  font-size: 0.84rem;
  font-weight: 850;
}

html[data-theme="dark"] .auth-form label,
html[data-theme="dark"] .auth-checkbox a,
html[data-theme="dark"] .auth-footer a,
html[data-theme="dark"] .auth-forgot-link,
html[data-theme="dark"] .auth-recap strong,
html[data-theme="dark"] .auth-trust-copy {
  color: #f8fafc;
}

.auth-form input {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  padding: 14px 15px;
  background: #ffffff;
  color: var(--auth-ink);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.02);
}

html[data-theme="dark"] .auth-form input {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(2, 6, 23, 0.44);
  color: #f8fafc;
}

html[data-theme="dark"] .auth-form input::placeholder {
  color: #7b8494;
}

html[data-theme="dark"] .auth-form button,
html[data-theme="dark"] .offer-mini-cta,
html[data-theme="dark"] .mini-page-body button {
  background: #f8fafc;
  color: #0f172a;
}

.auth-form input:focus {
  outline: none;
  border-color: #111827;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
}

.auth-form button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  margin-top: 8px;
  border: none;
  border-radius: 18px;
  padding: 14px 18px;
  background: #111827;
  color: #ffffff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.22);
}

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

.auth-form.is-submitting button[type="submit"] {
  cursor: wait;
  opacity: 0.82;
  transform: none;
}

.form-status-loader {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--auth-border);
  background: rgba(255, 255, 255, 0.78);
  color: var(--auth-muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-status-spinner {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(100, 116, 139, 0.24);
  border-top-color: currentColor;
  animation: auth-spin 760ms linear infinite;
}

html[data-theme="dark"] .form-status-loader {
  background: rgba(15, 23, 42, 0.78);
}

@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}

.auth-checkbox {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 4px;
  color: #475569;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.45;
}

.auth-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #111827;
}

.auth-checkbox a {
  color: #111827;
  font-weight: 900;
  text-decoration: none;
}

.auth-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #fecaca;
  border-radius: 16px;
  background: #fef2f2;
  color: #991b1b;
  font-weight: 750;
}

.auth-success,
.auth-dev-link {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 750;
}

.auth-success {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.auth-summary-card {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background: rgba(248, 250, 252, 0.88);
}

.auth-summary-card p {
  margin: 0;
  color: #334155;
  line-height: 1.45;
}

.auth-summary-card strong {
  color: #0f172a;
}

.button-link,
.auth-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 18px;
  padding: 14px 18px;
  text-decoration: none;
  font-weight: 900;
}

.button-link {
  width: 100%;
  margin-top: 10px;
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.22);
}

.auth-secondary-link {
  width: 100%;
  margin-top: 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  color: #0f172a;
}

html[data-theme="dark"] .auth-summary-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(2, 6, 23, 0.3);
}

html[data-theme="dark"] .auth-summary-card p {
  color: var(--auth-muted);
}

html[data-theme="dark"] .auth-summary-card strong {
  color: #f8fafc;
}

html[data-theme="dark"] .button-link {
  background: #f8fafc;
  color: #0f172a;
}

html[data-theme="dark"] .auth-secondary-link {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(2, 6, 23, 0.44);
  color: #f8fafc;
}

.auth-dev-link {
  display: grid;
  gap: 6px;
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.auth-dev-link span {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-dev-link a,
.auth-forgot-link {
  color: #111827;
  font-weight: 900;
  text-decoration: none;
}

.auth-forgot-link {
  width: fit-content;
  margin-top: -2px;
  font-size: 0.9rem;
}

.auth-recap {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: rgba(248, 250, 252, 0.9);
}

html[data-theme="dark"] .auth-recap {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(2, 6, 23, 0.3);
}

.auth-recap div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 10px;
  align-items: center;
}

.auth-recap span {
  grid-row: span 2;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 950;
}

.auth-recap strong {
  color: var(--auth-ink);
  font-size: 0.95rem;
}

.auth-recap small {
  color: var(--auth-muted);
  line-height: 1.35;
}

.auth-trust-copy {
  margin: 18px 0 0;
  color: #111827;
  font-weight: 900;
  text-align: center;
}

.auth-footer {
  margin: 16px 0 0;
  color: #475569;
  text-align: center;
}

.auth-footer a {
  color: #111827;
  font-weight: 900;
  text-decoration: none;
}

.auth-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  color: #64748b;
  font-size: 0.82rem;
}

.auth-legal-links a {
  text-decoration: none;
}

.theme-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  min-width: 74px;
  min-height: 44px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.86);
  color: #111827;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(16px);
  cursor: pointer;
}

html[data-theme="dark"] .theme-toggle {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.82);
  color: #f8fafc;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.legal-auth-shell {
  align-items: start;
  padding-top: 56px;
}

.platform-legal-card {
  width: min(100%, 760px);
}

.platform-legal-card h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.platform-legal-section {
  margin-top: 22px;
}

.about-use-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.about-use-cases article,
.about-example-link {
  padding: 16px;
  border: 1px solid var(--auth-border);
  border-radius: 22px;
  background: rgba(248, 250, 252, 0.74);
}

.about-use-cases span,
.about-example-link span {
  color: var(--auth-accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-use-cases h2 {
  margin: 8px 0 8px;
  color: var(--auth-ink);
  font-size: 1.02rem;
  line-height: 1.12;
}

.about-use-cases p,
.about-example-link em {
  margin: 0;
  color: var(--auth-muted);
  line-height: 1.45;
}

.about-example-link {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.about-example-link strong {
  word-break: break-word;
  color: var(--auth-ink);
  font-size: 1.08rem;
}

.legal-summary-nav {
  position: sticky;
  top: 14px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding: 10px;
  border: 1px solid var(--auth-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
}

.legal-summary-nav a {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--auth-ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.legal-collapsible {
  border-top: 1px solid var(--auth-border);
  padding-top: 16px;
}

.legal-collapsible summary {
  cursor: pointer;
  color: var(--auth-ink);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.legal-warning {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 18px;
  background: rgba(254, 243, 199, 0.72);
  color: #78350f;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.55;
}

.platform-legal-section h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.platform-legal-section p {
  margin: 0 0 9px;
  color: #475569;
  line-height: 1.6;
}

.platform-legal-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #475569;
  line-height: 1.55;
}

html[data-theme="dark"] .about-use-cases article,
html[data-theme="dark"] .about-example-link,
html[data-theme="dark"] .legal-summary-nav {
  background: rgba(15, 23, 42, 0.58);
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .legal-summary-nav a {
  background: rgba(255, 255, 255, 0.08);
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0) rotate(var(--rotate, 0deg));
  }
  50% {
    transform: translateY(-14px) rotate(var(--rotate, 0deg));
  }
}

@media (max-width: 1279px) {
  .floating-card {
    width: 190px;
  }

  .auth-card-left-2,
  .auth-card-left-4,
  .auth-card-right-1,
  .auth-card-right-4,
  .auth-card-right-7,
  .auth-card-bg-1,
  .auth-card-bg-2,
  .auth-card-bg-3 {
    display: none;
  }

  .auth-showcase-layer {
    opacity: 0.78;
  }
}

@media (min-width: 641px) and (min-height: 760px) {
  html:has(body.auth-page-body),
  body.auth-page-body {
    height: 100%;
    overflow: hidden;
  }
}

@media (max-width: 900px) {
  .auth-shell-premium {
    padding: 28px 18px;
  }

  .floating-card {
    transform: scale(0.86) rotate(var(--rotate, 0deg));
  }

  .auth-card-left-3,
  .auth-card-left-5,
  .auth-card-right-3,
  .auth-card-right-5 {
    opacity: 0.36;
    filter: blur(1px);
  }

  .auth-card-left-1,
  .auth-card-left-6,
  .auth-card-right-2,
  .auth-card-right-6 {
    display: none;
  }
}

@media (max-width: 640px) {
  .about-use-cases {
    grid-template-columns: 1fr;
  }

  .auth-shell-premium {
    place-items: center;
    padding: 18px;
  }

  .auth-card-premium {
    border-radius: 30px;
    padding: 28px 24px;
  }

  .auth-card-premium h1 {
    font-size: 2.35rem;
  }

  .auth-showcase-layer {
    opacity: 0.24;
  }

  .floating-card {
    display: none;
  }

  .auth-card-left-3,
  .auth-card-right-5,
  .auth-card-bg-3 {
    display: block;
    width: 180px;
    filter: blur(2px);
  }

  .auth-card-left-3 {
    left: -54px;
    top: 8%;
  }

  .auth-card-right-5 {
    right: -58px;
    bottom: 5%;
  }

  .auth-card-bg-3 {
    right: -42px;
    top: -7%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-card,
  .auth-form button:hover {
    animation: none;
    transform: rotate(var(--rotate, 0deg));
  }
}

/* About landing: Typeform-inspired use-case page, adapted to Onelink. */
body.about-body,
body.platform-legal-body {
  min-height: 100vh;
  overflow-x: hidden;
  background: #f5f0e8;
  color: #111827;
}

html:has(body.about-body),
html:has(body.platform-legal-body) {
  scroll-behavior: smooth;
}

.about-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 10%, rgba(245, 158, 11, 0.16), transparent 30%),
    radial-gradient(circle at 86% 6%, rgba(15, 118, 110, 0.12), transparent 24%),
    linear-gradient(180deg, #f8f3ea 0%, #fffaf0 48%, #f8fafc 100%);
}

.about-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.about-nav {
  position: sticky;
  top: 18px;
  z-index: 20;
  width: min(100%, 1080px);
  min-height: 58px;
  margin: 0 auto;
  padding: 10px 12px 10px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.about-logo {
  color: #111827;
  font-size: 0.94rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.about-nav nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.about-nav nav a,
.about-nav-cta,
.about-primary-button,
.about-secondary-button {
  text-decoration: none;
  font-weight: 900;
}

.about-nav nav a {
  padding: 10px 12px;
  color: #475569;
  font-size: 0.9rem;
}

.about-nav-cta {
  border-radius: 999px;
  padding: 13px 18px;
  background: #111827;
  color: white;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
}

.about-hero,
.about-section,
.about-final-cta,
.about-footer,
.about-trust-strip {
  width: min(100%, 1180px);
  margin-left: auto;
  margin-right: auto;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.78fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: clamp(48px, 7vh, 74px) 0 clamp(44px, 7vh, 68px);
}

.about-kicker {
  margin: 0 0 18px;
  color: #b45309;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-hero h1,
.about-section h2,
.about-final-cta h2 {
  margin: 0;
  color: #0f172a;
  letter-spacing: -0.07em;
  line-height: 0.94;
}

.about-hero h1 {
  max-width: 820px;
  font-size: clamp(3.9rem, 7.7vw, 7.55rem);
}

.about-hero-copy > p:not(.about-kicker),
.about-example-copy p {
  max-width: 680px;
  margin: 22px 0 0;
  color: #475569;
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
  line-height: 1.48;
}

.about-hero-checks {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.about-hero-checks li {
  position: relative;
  padding-left: 28px;
  color: #334155;
  font-size: 1rem;
  line-height: 1.48;
}

.about-hero-checks li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #0f172a;
  box-shadow: 0 0 0 5px rgba(15, 23, 42, 0.08);
}

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

.about-primary-button,
.about-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 999px;
  padding: 0 24px;
}

.about-primary-button {
  background: #111827;
  color: white;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.2);
}

.about-secondary-button {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.62);
  color: #111827;
}

.about-hero-demo {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.about-phone-card {
  width: min(100%, 390px);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 42px;
  background: #fffdf8;
  box-shadow: 0 34px 100px rgba(15, 23, 42, 0.16);
}

.about-offer-demo-card {
  padding-top: 18px;
  border-radius: 34px;
  background: #ffffff;
}

.about-demo-brand {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  padding: 0 22px 16px;
}

.about-demo-logo {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #0f172a;
  color: white;
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.about-demo-brand strong {
  display: block;
  color: #0f172a;
  font-size: 1.02rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.about-demo-brand span {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.about-phone-image {
  margin: 14px;
  aspect-ratio: 4 / 3.25;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.08)),
    url("https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=900&q=84") center / cover;
}

.about-offer-demo-card .about-phone-image {
  margin: 0 18px;
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  background:
    radial-gradient(circle at 20% 10%, rgba(245, 158, 11, 0.22), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(79, 53, 215, 0.16), transparent 28%),
    linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
}

.about-phone-content {
  padding: 10px 28px 30px;
  text-align: center;
}

.about-phone-content span,
.about-template-stack span,
.about-floating-metric span {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-phone-content h2 {
  margin: 14px 0 0;
  color: #0f172a;
  font-size: 2.4rem;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.about-phone-content p {
  margin: 14px auto 0;
  color: #64748b;
  line-height: 1.5;
}

.about-phone-content strong {
  display: block;
  margin-top: 22px;
  color: #0f172a;
  font-size: 2rem;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.about-phone-content button {
  width: 100%;
  min-height: 58px;
  margin-top: 18px;
  border: none;
  border-radius: 22px;
  background: #111827;
  color: white;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 950;
}

.about-demo-points {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.about-demo-points li {
  position: relative;
  padding-left: 30px;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.34;
  font-weight: 750;
}

.about-demo-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ede9fe;
  color: #4f35d7;
  font-size: 0.76rem;
  font-weight: 950;
}

.about-floating-metric {
  position: absolute;
  padding: 16px 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(16px);
}

.about-floating-metric strong {
  display: block;
  margin-top: 4px;
  color: #0f172a;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.metric-one {
  left: 0;
  top: 96px;
}

.metric-two {
  right: 0;
  bottom: 112px;
}

.about-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 30px;
  background: rgba(15, 23, 42, 0.08);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.07);
}

.about-trust-strip span {
  padding: 28px 18px;
  background: rgba(255, 253, 248, 0.86);
  color: #0f172a;
  text-align: center;
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.about-proof-strip {
  width: min(100%, 1180px);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 30px;
  background: rgba(15, 23, 42, 0.08);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.07);
}

.about-proof-strip span,
.about-proof-strip strong {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.88);
  color: #0f172a;
  text-align: center;
}

.about-proof-strip span {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-proof-strip strong {
  font-size: clamp(1.18rem, 2.4vw, 2rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.about-section {
  padding: clamp(80px, 10vw, 140px) 0;
}

.about-split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: start;
  min-height: clamp(520px, 68vh, 720px);
  padding-top: clamp(70px, 8vw, 112px);
  padding-bottom: clamp(70px, 8vw, 112px);
}

@media (min-width: 901px) {
  .about-dynamic-sticky {
    min-height: max(clamp(520px, 68vh, 720px), var(--about-section-min-height, 0px));
  }

  .about-dynamic-sticky > * {
    position: static;
  }

  .about-dynamic-sticky.about-sticky-left > :first-child,
  .about-dynamic-sticky.about-sticky-right > :nth-child(2) {
    position: sticky;
    top: var(--about-sticky-top, 112px);
    align-self: start;
    max-height: calc(100vh - var(--about-sticky-top, 112px) - 28px);
  }

  .about-dynamic-sticky.about-sticky-left > :first-child {
    z-index: 1;
  }
}

.about-section h2 {
  font-size: clamp(3rem, 5.2vw, 5.8rem);
  line-height: 0.9;
}

.about-final-cta h2 {
  font-size: clamp(3.2rem, 6vw, 6.4rem);
}

.about-use-case-grid,
.about-flow-grid,
.about-template-stack {
  display: grid;
  gap: 14px;
}

.about-copy-stack {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 34px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);
}

.about-copy-stack p {
  margin: 0;
  color: #475569;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.55;
}

.about-use-case-grid article,
.about-flow-grid article,
.about-template-stack article {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 30px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);
}

.about-use-case-grid article {
  padding: 28px;
}

.about-use-case-grid span,
.about-flow-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  border-radius: 999px;
  background: #fff7ed;
  color: #92400e;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-use-case-grid h3,
.about-flow-grid h3 {
  margin: 18px 0 8px;
  color: #0f172a;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.045em;
}

.about-use-case-grid p,
.about-flow-grid p {
  margin: 0;
  color: #64748b;
  line-height: 1.52;
}

.about-flow-section {
  text-align: center;
}

.about-flow-section h2 {
  max-width: 980px;
  margin: 0 auto;
}

.about-flow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 44px;
  text-align: left;
}

.about-benefit-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 44px;
  text-align: left;
}

.about-capability-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 44px;
  text-align: left;
}

.about-flow-grid article {
  padding: 26px;
}

.about-example-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 48px;
  align-items: center;
}

.about-template-stack article {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.about-template-stack strong {
  color: #0f172a;
  font-size: 1.08rem;
  word-break: break-word;
}

.about-template-stack em {
  justify-self: start;
  border-radius: 999px;
  padding: 9px 12px;
  background: #111827;
  color: white;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 950;
}

.about-final-cta {
  margin-bottom: 28px;
  padding: 70px 34px;
  border-radius: 44px;
  background: #0f172a;
  color: white;
  text-align: center;
  box-shadow: 0 34px 100px rgba(15, 23, 42, 0.2);
}

.about-final-cta .about-kicker {
  color: #fbbf24;
}

.about-final-cta h2 {
  color: white;
  max-width: 880px;
  margin: 0 auto 18px;
}

.about-final-copy {
  max-width: 700px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  line-height: 1.5;
}

.about-final-cta .about-primary-button {
  background: white;
  color: #0f172a;
  box-shadow: none;
}

.about-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 22px 0 48px;
}

.about-footer a {
  color: #64748b;
  text-decoration: none;
  font-weight: 850;
}

.legal-summary-nav a.is-active {
  background: #111827;
  color: white;
}

.legal-collapsible {
  scroll-margin-top: 112px;
}

html[data-theme="dark"] body.about-body,
html[data-theme="dark"] body.platform-legal-body {
  background: #070a12;
  color: #f8fafc;
}

html[data-theme="dark"] .about-page {
  background:
    radial-gradient(circle at 18% 10%, rgba(245, 158, 11, 0.12), transparent 30%),
    radial-gradient(circle at 86% 6%, rgba(94, 234, 212, 0.08), transparent 24%),
    linear-gradient(180deg, #05070d 0%, #0f172a 62%, #070a12 100%);
}

html[data-theme="dark"] .about-nav,
html[data-theme="dark"] .about-phone-card,
html[data-theme="dark"] .about-floating-metric,
html[data-theme="dark"] .about-trust-strip span,
html[data-theme="dark"] .about-copy-stack,
html[data-theme="dark"] .about-use-case-grid article,
html[data-theme="dark"] .about-flow-grid article,
html[data-theme="dark"] .about-template-stack article {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.72);
}

html[data-theme="dark"] .about-logo,
html[data-theme="dark"] .about-hero h1,
html[data-theme="dark"] .about-section h2,
html[data-theme="dark"] .about-final-cta h2,
html[data-theme="dark"] .about-phone-content h2,
html[data-theme="dark"] .about-phone-content strong,
html[data-theme="dark"] .about-floating-metric strong,
html[data-theme="dark"] .about-use-case-grid h3,
html[data-theme="dark"] .about-flow-grid h3,
html[data-theme="dark"] .about-template-stack strong {
  color: #f8fafc;
}

html[data-theme="dark"] .about-secondary-button {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
}

html[data-theme="dark"] .about-nav nav a,
html[data-theme="dark"] .about-hero-copy > p:not(.about-kicker),
html[data-theme="dark"] .about-hero-checks li,
html[data-theme="dark"] .about-example-copy p,
html[data-theme="dark"] .about-phone-content p,
html[data-theme="dark"] .about-copy-stack p,
html[data-theme="dark"] .about-use-case-grid p,
html[data-theme="dark"] .about-flow-grid p,
html[data-theme="dark"] .about-footer a {
  color: #cbd5e1;
}

html[data-theme="dark"] .legal-summary-nav a.is-active {
  background: #f8fafc;
  color: #0f172a;
}

@media (max-width: 960px) {
  .about-nav {
    grid-template-columns: 1fr auto;
    border-radius: 28px;
  }

  .about-nav nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .about-hero,
  .about-split-section,
  .about-example-section {
    grid-template-columns: 1fr;
  }

  .about-hero {
    min-height: auto;
    padding-top: 62px;
  }

  .about-hero-demo {
    min-height: auto;
  }

  .metric-one,
  .metric-two {
    display: none;
  }

  .about-flow-grid,
  .about-trust-strip,
  .about-proof-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .about-page {
    padding: 14px;
  }

  .about-nav {
    position: relative;
    top: auto;
  }

  .about-nav-cta {
    padding: 12px 14px;
  }

  .about-nav nav {
    display: none;
  }

  .about-hero h1 {
    font-size: clamp(3.3rem, 18vw, 5.1rem);
  }

  .about-hero,
  .about-section {
    padding: 54px 0;
  }

  .about-trust-strip,
  .about-proof-strip,
  .about-flow-grid {
    grid-template-columns: 1fr;
  }

  .about-section h2,
  .about-final-cta h2 {
    font-size: clamp(2.6rem, 13vw, 4.2rem);
  }

  .about-final-cta {
    padding: 48px 22px;
    border-radius: 34px;
  }
}

/* 2026-04-28 mobile-first hardening for landing/auth/legal pages. */
html,
body {
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
}

@media (max-width: 768px) {
  .auth-shell-premium {
    min-height: 100dvh;
    padding: 24px 16px;
    place-items: center;
  }

  .auth-showcase-layer {
    display: none;
  }

  .auth-card-premium,
  .auth-card,
  .legal-auth-card {
    width: 100%;
    max-width: 420px;
    border-radius: 30px;
    padding: 28px 22px;
  }

  .auth-card-premium h1,
  .auth-card h1,
  .legal-auth-card h1 {
    font-size: clamp(2.4rem, 13vw, 4rem);
    line-height: 0.9;
    letter-spacing: -0.07em;
  }

  .auth-form,
  .legal-auth-grid {
    gap: 14px;
  }

  .auth-form input,
  .auth-form textarea,
  .auth-form select,
  .auth-submit,
  .auth-button,
  .auth-primary-button {
    min-height: 52px;
    font-size: 16px;
  }

  .auth-submit,
  .auth-button,
  .auth-primary-button {
    width: 100%;
  }

  .about-page {
    padding: 12px;
  }

  .about-nav {
    position: sticky;
    top: 12px;
    width: 100%;
    grid-template-columns: 1fr auto;
    padding: 10px 12px;
    border-radius: 22px;
  }

  .about-nav nav {
    display: none;
  }

  .about-hero {
    min-height: auto;
    padding: 84px 4px 52px;
    grid-template-columns: 1fr;
  }

  .about-hero h1 {
    font-size: clamp(3.1rem, 17vw, 5.8rem);
    line-height: 0.88;
    letter-spacing: -0.075em;
  }

  .about-hero-copy > p:not(.about-kicker),
  .about-example-copy p {
    font-size: 1.05rem;
    line-height: 1.45;
  }

  .about-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-hero-actions a,
  .about-primary-button,
  .about-secondary-button {
    width: 100%;
    min-height: 54px;
  }

  .about-hero-demo {
    width: 100%;
    min-height: auto;
  }

  .about-phone-card {
    width: min(100%, 390px);
    margin: 0 auto;
  }

  .about-section,
  .about-final-cta {
    padding: 64px 4px;
  }

  .about-split-section,
  .about-example-section,
  .about-use-case-grid,
  .about-benefit-grid,
  .about-capability-grid,
  .about-flow-grid,
  .about-template-stack,
  .about-trust-strip,
  .about-proof-strip {
    grid-template-columns: 1fr;
  }

  .about-copy-stack {
    padding: 22px;
    border-radius: 26px;
  }

  .about-section h2,
  .about-final-cta h2 {
    font-size: clamp(2.5rem, 14vw, 5rem);
    line-height: 0.9;
  }

  .about-use-case-grid article,
  .about-flow-grid article,
  .about-template-stack article {
    border-radius: 26px;
    padding: 22px;
  }
}

@media (max-width: 480px) {
  .auth-shell-premium {
    padding: 16px;
  }

  .auth-card-premium,
  .auth-card,
  .legal-auth-card {
    padding: 24px 18px;
    border-radius: 26px;
  }

  .about-nav-cta {
    display: none;
  }
}

/* 2026-04-29 public/legal clarity: these public pages must not render as a
   compressed auth card and the about landing must stay light except final CTA. */
body.platform-legal-body {
  background:
    radial-gradient(circle at 18% 8%, rgba(245, 158, 11, 0.13), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(15, 118, 110, 0.08), transparent 24%),
    linear-gradient(180deg, #fffdf8 0%, #f8f3ea 46%, #f8fafc 100%);
}

.platform-legal-body .legal-auth-shell {
  width: 100%;
  min-height: 100vh;
  padding: 48px 20px 72px;
  place-items: start center;
}

.platform-legal-body .auth-grid-bg {
  opacity: 0.32;
}

.platform-legal-card {
  width: min(100%, 1040px);
  max-width: none;
  border-radius: 38px;
  padding: clamp(28px, 4vw, 48px);
}

.platform-legal-card h1 {
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.platform-legal-card .auth-subtitle {
  max-width: 760px;
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
  line-height: 1.55;
}

.platform-legal-card .legal-summary-nav {
  flex-wrap: nowrap;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: thin;
}

.platform-legal-card .legal-summary-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
}

.platform-legal-section p,
.platform-legal-section li {
  color: #334155;
  font-size: 1rem;
  line-height: 1.65;
}

.platform-legal-section summary {
  font-size: 1.08rem;
}

html[data-theme="dark"] body.about-body,
html[data-theme="dark"] body.platform-legal-body {
  color: #0f172a;
  background: #f8f3ea;
}

html[data-theme="dark"] .about-page {
  background:
    radial-gradient(circle at 18% 10%, rgba(245, 158, 11, 0.16), transparent 30%),
    radial-gradient(circle at 86% 6%, rgba(15, 118, 110, 0.12), transparent 24%),
    linear-gradient(180deg, #f8f3ea 0%, #fffaf0 48%, #f8fafc 100%);
}

html[data-theme="dark"] .about-nav,
html[data-theme="dark"] .about-phone-card,
html[data-theme="dark"] .about-floating-metric,
html[data-theme="dark"] .about-trust-strip span,
html[data-theme="dark"] .about-proof-strip span,
html[data-theme="dark"] .about-proof-strip strong,
html[data-theme="dark"] .about-use-case-grid article,
html[data-theme="dark"] .about-flow-grid article,
html[data-theme="dark"] .about-template-stack article,
html[data-theme="dark"] .platform-legal-card {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 253, 248, 0.86);
  color: #0f172a;
}

html[data-theme="dark"] .about-logo,
html[data-theme="dark"] .about-hero h1,
html[data-theme="dark"] .about-section h2,
html[data-theme="dark"] .about-phone-content h2,
html[data-theme="dark"] .about-phone-content strong,
html[data-theme="dark"] .about-floating-metric strong,
html[data-theme="dark"] .about-use-case-grid h3,
html[data-theme="dark"] .about-flow-grid h3,
html[data-theme="dark"] .about-template-stack strong,
html[data-theme="dark"] .platform-legal-card h1,
html[data-theme="dark"] .platform-legal-section summary {
  color: #0f172a;
}

html[data-theme="dark"] .about-final-cta,
html[data-theme="dark"] .about-final-cta h2 {
  color: white;
}

html[data-theme="dark"] .about-final-cta {
  background: #0f172a;
}

html[data-theme="dark"] .about-secondary-button {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.68);
  color: #111827;
}

html[data-theme="dark"] .about-nav nav a,
html[data-theme="dark"] .about-hero-copy > p:not(.about-kicker),
html[data-theme="dark"] .about-example-copy p,
html[data-theme="dark"] .about-phone-content p,
html[data-theme="dark"] .about-use-case-grid p,
html[data-theme="dark"] .about-flow-grid p,
html[data-theme="dark"] .about-footer a,
html[data-theme="dark"] .platform-legal-card .auth-subtitle,
html[data-theme="dark"] .platform-legal-section p,
html[data-theme="dark"] .platform-legal-section li {
  color: #475569;
}

html[data-theme="dark"] .platform-legal-card .legal-summary-nav {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.78);
}

html[data-theme="dark"] .platform-legal-card .legal-summary-nav a {
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
}

html[data-theme="dark"] .platform-legal-card .legal-summary-nav a.is-active,
html[data-theme="dark"] .legal-summary-nav a.is-active {
  background: #111827;
  color: white;
}

html[data-theme="dark"] .platform-legal-section,
html[data-theme="dark"] .platform-legal-section.legal-collapsible,
html[data-theme="dark"] .platform-legal-section.legal-collapsible summary {
  border-color: rgba(15, 23, 42, 0.1);
}

@media (max-width: 768px) {
  .platform-legal-body .legal-auth-shell {
    display: block;
    padding: 16px;
  }

  .platform-legal-card,
  .platform-legal-body .auth-card-premium.platform-legal-card {
    width: 100%;
    max-width: none;
    border-radius: 28px;
    padding: 24px 20px;
  }

  .platform-legal-card h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
    line-height: 0.92;
  }

  .platform-legal-card .auth-subtitle,
  .platform-legal-section p,
  .platform-legal-section li {
    font-size: 16px;
    line-height: 1.55;
  }

  .platform-legal-card .legal-summary-nav {
    position: sticky;
    top: 8px;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 18px -4px 12px;
    padding: 8px 4px 10px;
    border: 0;
    border-radius: 0;
    background: rgba(255, 253, 248, 0.84);
  }
}

@media (max-width: 480px) {
  .platform-legal-body .legal-auth-shell {
    padding: 12px;
  }

  .platform-legal-card,
  .platform-legal-body .auth-card-premium.platform-legal-card {
    padding: 22px 18px;
    border-radius: 24px;
  }
}

/* 2026-04-29 dark-mode restore. Keep last: previous public-page rules must not
   force a light rendering when the user explicitly selects dark mode. */
html[data-theme="dark"] body.about-body,
html[data-theme="dark"] body.platform-legal-body {
  background: #070a12;
  color: #f8fafc;
}

html[data-theme="dark"] .about-page {
  background:
    radial-gradient(circle at 18% 10%, rgba(245, 158, 11, 0.12), transparent 30%),
    radial-gradient(circle at 86% 6%, rgba(94, 234, 212, 0.08), transparent 24%),
    linear-gradient(180deg, #05070d 0%, #0f172a 62%, #070a12 100%);
}

html[data-theme="dark"] .platform-legal-body .auth-grid-bg {
  opacity: 0.2;
}

html[data-theme="dark"] .about-nav,
html[data-theme="dark"] .about-phone-card,
html[data-theme="dark"] .about-floating-metric,
html[data-theme="dark"] .about-trust-strip span,
html[data-theme="dark"] .about-proof-strip span,
html[data-theme="dark"] .about-proof-strip strong,
html[data-theme="dark"] .about-copy-stack,
html[data-theme="dark"] .about-use-case-grid article,
html[data-theme="dark"] .about-flow-grid article,
html[data-theme="dark"] .about-template-stack article,
html[data-theme="dark"] .platform-legal-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
}

html[data-theme="dark"] .platform-legal-card {
  background: rgba(15, 23, 42, 0.88);
}

html[data-theme="dark"] .about-logo,
html[data-theme="dark"] .about-hero h1,
html[data-theme="dark"] .about-section h2,
html[data-theme="dark"] .about-phone-content h2,
html[data-theme="dark"] .about-phone-content strong,
html[data-theme="dark"] .about-floating-metric strong,
html[data-theme="dark"] .about-proof-strip strong,
html[data-theme="dark"] .about-use-case-grid h3,
html[data-theme="dark"] .about-flow-grid h3,
html[data-theme="dark"] .about-template-stack strong,
html[data-theme="dark"] .platform-legal-card h1,
html[data-theme="dark"] .platform-legal-section summary {
  color: #f8fafc;
}

html[data-theme="dark"] .about-nav nav a,
html[data-theme="dark"] .about-hero-copy > p:not(.about-kicker),
html[data-theme="dark"] .about-example-copy p,
html[data-theme="dark"] .about-phone-content p,
html[data-theme="dark"] .about-copy-stack p,
html[data-theme="dark"] .about-proof-strip span,
html[data-theme="dark"] .about-use-case-grid p,
html[data-theme="dark"] .about-flow-grid p,
html[data-theme="dark"] .about-footer a,
html[data-theme="dark"] .platform-legal-card .auth-subtitle,
html[data-theme="dark"] .platform-legal-section p,
html[data-theme="dark"] .platform-legal-section li {
  color: #cbd5e1;
}

html[data-theme="dark"] .about-secondary-button {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
}

html[data-theme="dark"] .about-demo-logo {
  background: #f8fafc;
  color: #0f172a;
}

html[data-theme="dark"] .about-demo-brand strong {
  color: #f8fafc;
}

html[data-theme="dark"] .about-demo-brand span,
html[data-theme="dark"] .about-demo-points li {
  color: #cbd5e1;
}

html[data-theme="dark"] .about-offer-demo-card .about-phone-image {
  background:
    radial-gradient(circle at 20% 10%, rgba(245, 158, 11, 0.16), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(139, 124, 246, 0.20), transparent 28%),
    linear-gradient(135deg, #101827 0%, #0b1220 100%);
}

/* 2026-05-03 short Typeform-style marketing page. */
.about-short-page {
  background:
    radial-gradient(circle at 16% 8%, rgba(245, 158, 11, 0.14), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(99, 91, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #fbfaf7 0%, #f8fafc 100%);
}

.about-short-nav nav {
  justify-content: flex-end;
}

.about-short-hero {
  min-height: calc(100vh - 104px);
  padding-top: clamp(44px, 6vh, 70px);
  padding-bottom: clamp(28px, 5vh, 54px);
}

.about-short-hero .about-hero-copy > p:not(.about-kicker) {
  max-width: 720px;
  font-size: clamp(1.18rem, 1.8vw, 1.42rem);
}

.about-short-hero .about-hero-checks {
  max-width: 660px;
}

.about-stripe-proof,
.about-demo-stripe {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.about-stripe-proof {
  margin-top: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 800;
}

.stripe-wordmark {
  width: auto;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

.about-demo-stripe {
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  color: #64748b;
}

.about-demo-stripe::before {
  content: "Paiement via";
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-channel-card {
  transform: translateZ(0);
}

.about-channel-image {
  background:
    radial-gradient(circle at 24% 16%, rgba(245, 158, 11, 0.24), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(99, 91, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%) !important;
}

body[data-landing-source="instagram"] .about-channel-image {
  background:
    radial-gradient(circle at 20% 10%, rgba(225, 29, 72, 0.22), transparent 30%),
    radial-gradient(circle at 82% 22%, rgba(249, 115, 22, 0.18), transparent 30%),
    linear-gradient(135deg, #fff7ed 0%, #fdf2f8 100%) !important;
}

body[data-landing-source="whatsapp"] .about-channel-image {
  background:
    radial-gradient(circle at 22% 12%, rgba(34, 197, 94, 0.22), transparent 32%),
    radial-gradient(circle at 78% 20%, rgba(20, 184, 166, 0.16), transparent 30%),
    linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%) !important;
}

body[data-landing-source="qr code"] .about-channel-image {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 42, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #fffaf0 0%, #f8fafc 100%) !important;
  background-size: 26px 26px, 26px 26px, auto !important;
}

.about-short-proof {
  margin-top: 0;
}

.about-pain-section {
  width: min(100%, 1180px);
  margin: 22px auto 0;
  padding: clamp(38px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.78fr);
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 36px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.07);
}

.about-pain-section h2 {
  margin: 0;
  max-width: 720px;
  color: #0f172a;
  font-size: clamp(2.4rem, 4.6vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.about-pain-section > p {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 0;
  color: #475569;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.48;
}

.about-message-stack {
  display: grid;
  gap: 10px;
}

.about-message-stack span {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  background: #ffffff;
  color: #0f172a;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.about-short-section {
  padding: clamp(54px, 7vw, 92px) 0;
}

.about-short-section h2 {
  max-width: 860px;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
}

.about-short-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-short-use-cases {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 36px;
  text-align: left;
}

.about-short-use-cases article {
  min-height: 164px;
}

.about-short-use-cases article p {
  display: block;
  margin-top: 10px;
  font-size: 0.96rem;
}
}

.about-short-final {
  padding: clamp(54px, 7vw, 78px) 28px;
}

.about-short-final h2 {
  font-size: clamp(3rem, 6vw, 6rem);
}

html[data-theme="dark"] .about-short-page {
  background:
    radial-gradient(circle at 16% 8%, rgba(245, 158, 11, 0.10), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(139, 124, 246, 0.16), transparent 30%),
    linear-gradient(180deg, #050816 0%, #0b1220 100%);
}

html[data-theme="dark"] .about-stripe-proof {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.68);
  color: #cbd5e1;
}

html[data-theme="dark"] .about-demo-stripe::before {
  color: #cbd5e1;
}

html[data-theme="dark"] .about-pain-section {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.78);
}

html[data-theme="dark"] .about-pain-section h2,
html[data-theme="dark"] .about-message-stack span {
  color: #f8fafc;
}

html[data-theme="dark"] .about-pain-section > p {
  color: #cbd5e1;
}

html[data-theme="dark"] .about-message-stack span {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(2, 6, 23, 0.48);
}

@media (max-width: 900px) {
  .about-short-nav nav {
    display: none;
  }

  .about-short-grid,
  .about-short-use-cases,
  .about-pain-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-short-hero {
    min-height: auto;
  }

  .about-short-hero .about-hero-copy > p:not(.about-kicker) {
    font-size: 1.08rem;
  }

  .about-stripe-proof {
    width: 100%;
    justify-content: center;
  }

  .about-pain-section {
    padding: 28px 20px;
    border-radius: 30px;
  }

  .about-short-section {
    padding: 54px 0;
  }

  .about-short-use-cases article {
    min-height: auto;
  }
}

html[data-theme="dark"] .platform-legal-card .legal-summary-nav {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.82);
}

html[data-theme="dark"] .platform-legal-card .legal-summary-nav a {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

html[data-theme="dark"] .platform-legal-card .legal-summary-nav a.is-active,
html[data-theme="dark"] .legal-summary-nav a.is-active {
  background: #f8fafc;
  color: #0f172a;
}

html[data-theme="dark"] .platform-legal-section,
html[data-theme="dark"] .platform-legal-section.legal-collapsible,
html[data-theme="dark"] .platform-legal-section.legal-collapsible summary {
  border-color: rgba(255, 255, 255, 0.1);
}
