:root {
  --bg: #0f0a12;
  --bg-elevated: #1a1220;
  --bg-card: #221829;
  --surface: #2a1f32;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f8f4f9;
  --text-muted: #b8a8c0;
  --accent: #e879a8;
  --accent-soft: rgba(232, 121, 168, 0.15);
  --accent-strong: #f472b6;
  --secondary: #a78bfa;
  --secondary-soft: rgba(167, 139, 250, 0.15);
  --success: #6ee7b7;
  --warning: #fcd34d;
  --gradient: linear-gradient(135deg, #e879a8 0%, #a78bfa 50%, #60a5fa 100%);
  --gradient-soft: linear-gradient(135deg, rgba(232, 121, 168, 0.2), rgba(167, 139, 250, 0.2));
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --max-width: 1120px;
  --nav-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(232, 121, 168, 0.12), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(167, 139, 250, 0.1), transparent 35%),
    radial-gradient(circle at 50% 90%, rgba(96, 165, 250, 0.08), transparent 40%);
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #111;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  backdrop-filter: blur(16px);
  background: rgba(15, 10, 18, 0.85);
  border-bottom: 1px solid var(--border);
}

.logo-text {
  font-size: 1rem;
  line-height: 1.2;
  max-width: 9rem;
}

@media (max-width: 960px) {
  .logo-text {
    display: none;
  }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a,
.nav-links button {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links button:hover,
.nav-links a.active,
.nav-links button.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-actions {
  display: flex;
  gap: 0.5rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--gradient);
  color: #111;
  box-shadow: 0 8px 24px rgba(232, 121, 168, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(232, 121, 168, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.stat {
  min-width: 120px;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.profile-stack {
  position: relative;
  min-height: 420px;
}

.profile-card {
  position: absolute;
  width: min(100%, 280px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.profile-card:nth-child(1) {
  top: 0;
  left: 10%;
  transform: rotate(-4deg);
  z-index: 1;
}

.profile-card:nth-child(2) {
  top: 60px;
  right: 5%;
  transform: rotate(3deg);
  z-index: 2;
}

.profile-card:nth-child(3) {
  bottom: 0;
  left: 25%;
  transform: rotate(-1deg);
  z-index: 3;
}

.profile-card:hover {
  transform: rotate(0deg) scale(1.02);
  z-index: 4;
}

.profile-photo {
  height: 200px;
  background: var(--gradient-soft);
  display: grid;
  place-items: center;
  font-size: 3rem;
}

.profile-body {
  padding: 1rem 1.1rem 1.2rem;
}

.profile-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.profile-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.tag-accent {
  background: var(--secondary-soft);
  color: #c4b5fd;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  background: var(--accent-soft);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.values-banner {
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.values-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.values-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
}

/* Page views */
.page {
  display: none;
  animation: fadeIn 0.35s ease;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Onboarding */
.onboarding {
  max-width: 640px;
  margin: 2rem auto 4rem;
}

.progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.step-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem;
}

.step-card h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
}

.step-card .hint {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.form-group .field-hint {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 400;
  margin-top: 0.25rem;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(232, 121, 168, 0.5);
  border-color: transparent;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
}

.chip:hover {
  border-color: rgba(232, 121, 168, 0.4);
  color: var(--text);
}

.chip.selected {
  background: var(--accent-soft);
  border-color: rgba(232, 121, 168, 0.5);
  color: var(--accent-strong);
}

.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

/* Discover */
.discover-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}

.filters-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  height: fit-content;
  position: sticky;
  top: calc(var(--nav-height) + 1rem);
}

.filters-panel h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.filter-group {
  margin-bottom: 1.25rem;
}

.filter-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.discover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.discover-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.discover-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.discover-photo {
  height: 220px;
  background: var(--gradient-soft);
  display: grid;
  place-items: center;
  font-size: 4rem;
  position: relative;
}

.discover-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(15, 10, 18, 0.75);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

.discover-content {
  padding: 1rem;
}

.discover-content h3 {
  margin: 0 0 0.25rem;
}

.discover-content p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.discover-actions {
  display: flex;
  gap: 0.5rem;
}

.discover-actions .btn-pass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.discover-actions .btn-like {
  flex: 1;
  background: var(--accent-soft);
  border: 1px solid rgba(232, 121, 168, 0.3);
  color: var(--accent-strong);
}

/* Matches & Messages */
.matches-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1rem;
  min-height: calc(100vh - var(--nav-height) - 4rem);
  padding: 2rem 0 4rem;
}

.matches-sidebar,
.chat-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.matches-sidebar h3,
.chat-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  margin: 0;
  font-size: 1rem;
}

.match-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  color: inherit;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s;
}

.match-item:hover,
.match-item.active {
  background: rgba(255, 255, 255, 0.04);
}

.match-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-soft);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.match-info strong {
  display: block;
  font-size: 0.95rem;
}

.match-info span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.chat-panel {
  display: flex;
  flex-direction: column;
}

.chat-messages {
  flex: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
  min-height: 400px;
}

.message {
  max-width: 75%;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.95rem;
}

.message.them {
  align-self: flex-start;
  background: var(--surface);
  border-bottom-left-radius: 4px;
}

.message.me {
  align-self: flex-end;
  background: var(--accent-soft);
  border: 1px solid rgba(232, 121, 168, 0.25);
  border-bottom-right-radius: 4px;
}

.chat-input-row {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.chat-input-row input {
  flex: 1;
}

.empty-state {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 200;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .values-banner,
  .feature-grid,
  .discover-layout,
  .matches-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .profile-stack {
    min-height: 320px;
    margin-top: 2rem;
  }

  .profile-card {
    position: relative;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 1rem;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
  }

  .discover-layout .filters-panel {
    position: static;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem;
  }

  .nav-links.open {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Portland waitlist */
.launch-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--secondary-soft);
  color: #c4b5fd;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.waitlist-progress-wrap {
  margin-bottom: 1.5rem;
}

.waitlist-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.waitlist-success {
  text-align: center;
}

.referral-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-top: 1.25rem;
  text-align: left;
}

.referral-box code {
  display: block;
  word-break: break-all;
  font-size: 0.8rem;
  color: var(--accent-strong);
  margin-top: 0.5rem;
}

.checkbox-group {
  margin-top: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 400;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.checkbox-label input {
  width: auto;
  margin-top: 0.2rem;
  accent-color: var(--accent-strong);
}

.link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent-strong);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

.legal-page {
  padding: 3rem 0 4rem;
  max-width: 720px;
}

.legal-page h2 {
  margin-top: 2rem;
  font-size: 1.15rem;
}

.legal-page ul {
  color: var(--text-muted);
  line-height: 1.8;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
}

input[readonly] {
  opacity: 0.7;
  cursor: not-allowed;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Privacy toggles */
.privacy-banner {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.08), rgba(167, 139, 250, 0.12));
}

.privacy-toggles {
  display: grid;
  gap: 0.75rem;
}

.privacy-toggle-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.privacy-toggle-info {
  display: flex;
  gap: 0.75rem;
  flex: 1;
}

.privacy-toggle-icon {
  font-size: 1.25rem;
  line-height: 1;
  margin-top: 0.1rem;
}

.privacy-toggle-info strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.privacy-toggle-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.toggle-switch {
  flex-shrink: 0;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
  padding: 0;
}

.toggle-switch.on {
  background: var(--accent-soft);
  border-color: rgba(232, 121, 168, 0.45);
}

.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: transform 0.2s, background 0.2s;
}

.toggle-switch.on .toggle-knob {
  transform: translateX(20px);
  background: var(--accent-strong);
}

.toggle-switch:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

.privacy-summary {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--secondary-soft);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: var(--radius-sm);
}

.privacy-summary strong {
  font-size: 0.9rem;
}

.tag-privacy {
  background: rgba(96, 165, 250, 0.12);
  color: #93c5fd;
}

.photo-blurred {
  filter: blur(12px);
  background: var(--surface) !important;
  position: relative;
}

.discover-photo.photo-blurred {
  display: grid;
  place-items: center;
  font-size: 2rem;
}

.photo-blurred::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 18, 0.35);
}

@media (max-width: 640px) {
  .privacy-toggle-row {
    flex-direction: column;
    align-items: stretch;
  }

  .toggle-switch {
    align-self: flex-end;
  }
}
