:root {
  color-scheme: light;
  --font-heading: "Helvetica Neue", "Helvetica", Arial, sans-serif;
  --font-body: "Helvetica Neue", "Helvetica", Arial, sans-serif;
  --font-mono: "SF Mono", "Menlo", "Monaco", "Courier New", monospace;
  font-family: var(--font-body);
  --color-glitter: #e2e7fd;
  --color-glitter-rgb: 226, 231, 253;
  --color-soap: #cec5ea;
  --color-soap-rgb: 206, 197, 234;
  --color-pale-lavender: #d9d1ee;
  --color-pale-lavender-rgb: 217, 209, 238;
  --color-wild-blue: #a0a8cf;
  --color-wild-blue-rgb: 160, 168, 207;
  --color-cool-grey: #8a80ab;
  --color-cool-grey-rgb: 138, 128, 171;
  --color-rebecca-purple: #5d419a;
  --color-rebecca-purple-rgb: 93, 65, 154;
  --color-russian-violet: #371e5b;
  --color-russian-violet-rgb: 55, 30, 91;
  --color-space-cadet: #1f1b5b;
  --color-space-cadet-rgb: 31, 27, 91;
  --color-space-cadet-deep: #140f3a;
  --color-space-cadet-deep-rgb: 20, 15, 58;
  --bg: var(--color-glitter);
  --bg-alt: var(--color-wild-blue);
  --panel: rgba(var(--color-glitter-rgb), 0.78);
  --panel-strong: rgba(var(--color-glitter-rgb), 0.92);
  --border: rgba(var(--color-space-cadet-rgb), 0.12);
  --border-strong: rgba(var(--color-glitter-rgb), 0.35);
  --text: var(--color-space-cadet);
  --text-muted: rgba(var(--color-space-cadet-rgb), 0.7);
  --accent: var(--color-rebecca-purple);
  --glow-1: rgba(var(--color-rebecca-purple-rgb), 0.35);
  --glow-2: rgba(var(--color-wild-blue-rgb), 0.35);
  --hero-highlight: rgba(var(--color-glitter-rgb), 0.9);
  --hero-shadow: rgba(var(--color-space-cadet-rgb), 0.22);
  --code-bg: rgba(var(--color-pale-lavender-rgb), 0.5);
  --code-border: rgba(var(--color-cool-grey-rgb), 0.38);
  --cta-primary-start: var(--color-space-cadet);
  --cta-primary-end: var(--color-russian-violet);
  --cta-primary-text: var(--color-glitter);
  --link-muted: rgba(var(--color-space-cadet-rgb), 0.75);
  --link-hover: var(--color-rebecca-purple);
  --site-header-height: 110px;
  --site-footer-height: 80px;
  --shell-vertical-padding: clamp(18px, 3vw, 32px);
  --hero-card-min-height: clamp(520px, 70vh, 640px);
  --shadow-hero: 0 30px 70px rgba(var(--color-space-cadet-rgb), 0.35);
  --shadow-cta: 0 20px 40px rgba(var(--color-space-cadet-rgb), 0.45);
  --shadow-soft: 0 14px 30px rgba(var(--color-space-cadet-rgb), 0.3);
  --shadow-logo: 0 18px 36px rgba(var(--color-space-cadet-rgb), 0.35);
  --shadow-appshot: 0 30px 60px rgba(var(--color-space-cadet-rgb), 0.4);
  --shadow-brand-text: 0 10px 22px rgba(var(--color-space-cadet-rgb), 0.25);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: var(--color-space-cadet-deep);
    --bg-alt: var(--color-space-cadet-deep);
    --panel: rgba(var(--color-space-cadet-rgb), 0.85);
    --panel-strong: rgba(var(--color-space-cadet-rgb), 0.95);
    --border: rgba(var(--color-glitter-rgb), 0.18);
    --border-strong: rgba(var(--color-glitter-rgb), 0.35);
    --text: var(--color-glitter);
    --text-muted: rgba(var(--color-glitter-rgb), 0.7);
    --accent: var(--color-soap);
    --glow-1: rgba(var(--color-rebecca-purple-rgb), 0.25);
    --glow-2: rgba(var(--color-cool-grey-rgb), 0.25);
    --hero-highlight: rgba(var(--color-glitter-rgb), 0.18);
    --hero-shadow: rgba(var(--color-russian-violet-rgb), 0.7);
    --code-bg: rgba(var(--color-space-cadet-rgb), 0.6);
    --code-border: rgba(var(--color-glitter-rgb), 0.22);
    --cta-primary-start: var(--color-rebecca-purple);
    --cta-primary-end: var(--color-space-cadet);
    --cta-primary-text: var(--color-glitter);
    --link-muted: rgba(var(--color-glitter-rgb), 0.75);
    --link-hover: var(--color-glitter);
    --shadow-hero: 0 30px 70px rgba(var(--color-space-cadet-rgb), 0.35);
    --shadow-cta: 0 20px 40px rgba(var(--color-space-cadet-rgb), 0.45);
    --shadow-soft: 0 14px 30px rgba(var(--color-space-cadet-rgb), 0.3);
    --shadow-logo: 0 18px 36px rgba(var(--color-space-cadet-rgb), 0.35);
    --shadow-appshot: 0 30px 60px rgba(var(--color-space-cadet-rgb), 0.4);
    --shadow-brand-text: 0 12px 26px rgba(var(--color-glitter-rgb), 0.25);
  }
}


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

.nowrap {
  white-space: nowrap;
}

.wrap {
  width: min(960px, 100%);
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding-block: var(--shell-vertical-padding);
  padding-inline: clamp(16px, 3vw, 40px);
}

.wrap.compact-import {
  max-width: 720px;
  width: 100%;
  gap: 16px;
  padding-block: 24px;
}

main#main-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 900px) {
  main#main-content {
    align-items: flex-start;
  }
}

.panel-shell {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 auto;
}

@media (min-width: 768px) {
  .panel-shell {
    /* min-height removed for simple layout */
  }
}

.panel {
  width: 100%;
  display: none;
}

.panel.is-active {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.panel-heading h1 {
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
  margin: 0;
}

body[data-theme="light"] {
  color-scheme: light;
  --bg: var(--color-glitter);
  --bg-alt: var(--color-wild-blue);
  --panel: rgba(var(--color-glitter-rgb), 0.78);
  --panel-strong: rgba(var(--color-glitter-rgb), 0.92);
  --border: rgba(var(--color-space-cadet-rgb), 0.12);
  --border-strong: rgba(var(--color-glitter-rgb), 0.35);
  --text: var(--color-space-cadet);
  --text-muted: rgba(var(--color-space-cadet-rgb), 0.7);
  --accent: var(--color-rebecca-purple);
  --glow-1: rgba(var(--color-rebecca-purple-rgb), 0.35);
  --glow-2: rgba(var(--color-wild-blue-rgb), 0.35);
  --hero-highlight: rgba(var(--color-glitter-rgb), 0.9);
  --hero-shadow: rgba(var(--color-space-cadet-rgb), 0.22);
  --code-bg: rgba(var(--color-pale-lavender-rgb), 0.5);
  --code-border: rgba(var(--color-cool-grey-rgb), 0.38);
  --cta-primary-start: var(--color-space-cadet);
  --cta-primary-end: var(--color-russian-violet);
  --cta-primary-text: var(--color-glitter);
  --link-muted: rgba(var(--color-space-cadet-rgb), 0.75);
  --link-hover: var(--color-rebecca-purple);
  --shadow-hero: 0 30px 70px rgba(var(--color-space-cadet-rgb), 0.35);
  --shadow-cta: 0 20px 40px rgba(var(--color-space-cadet-rgb), 0.45);
  --shadow-soft: 0 14px 30px rgba(var(--color-space-cadet-rgb), 0.3);
  --shadow-logo: 0 18px 36px rgba(var(--color-space-cadet-rgb), 0.35);
  --shadow-appshot: 0 30px 60px rgba(var(--color-space-cadet-rgb), 0.4);
}

body[data-theme="dark"] {
  color-scheme: dark;
  --bg: var(--color-space-cadet-deep);
  --bg-alt: var(--color-space-cadet-deep);
  --panel: rgba(var(--color-space-cadet-rgb), 0.85);
  --panel-strong: rgba(var(--color-space-cadet-rgb), 0.95);
  --border: rgba(var(--color-glitter-rgb), 0.18);
  --border-strong: rgba(var(--color-glitter-rgb), 0.35);
  --text: var(--color-glitter);
  --text-muted: rgba(var(--color-glitter-rgb), 0.7);
  --accent: var(--color-soap);
  --glow-1: rgba(var(--color-rebecca-purple-rgb), 0.25);
  --glow-2: rgba(var(--color-cool-grey-rgb), 0.25);
  --hero-highlight: rgba(var(--color-glitter-rgb), 0.18);
  --hero-shadow: rgba(var(--color-russian-violet-rgb), 0.7);
  --code-bg: rgba(var(--color-space-cadet-rgb), 0.6);
  --code-border: rgba(var(--color-glitter-rgb), 0.22);
  --cta-primary-start: var(--color-rebecca-purple);
  --cta-primary-end: var(--color-space-cadet);
  --cta-primary-text: var(--color-glitter);
  --link-muted: rgba(var(--color-glitter-rgb), 0.75);
  --link-hover: var(--color-glitter);
  --shadow-hero: 0 30px 70px rgba(var(--color-space-cadet-rgb), 0.35);
  --shadow-cta: 0 20px 40px rgba(var(--color-space-cadet-rgb), 0.45);
  --shadow-soft: 0 14px 30px rgba(var(--color-space-cadet-rgb), 0.3);
  --shadow-logo: 0 18px 36px rgba(var(--color-space-cadet-rgb), 0.35);
  --shadow-appshot: 0 30px 60px rgba(var(--color-space-cadet-rgb), 0.4);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  font-family: var(--font-body);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  overflow-x: hidden;
  transition: background 250ms ease, color 250ms ease;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  background: var(--panel-strong);
  color: var(--text);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: left 150ms ease, transform 150ms ease;
  z-index: 100;
}

.skip-link:focus-visible {
  left: 16px;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .wrap {
    gap: 16px;
  }
}


.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  font-size: 0.95rem;
}

.site-header .header-actions {
  margin-left: 18px;
}

.site-header {
  width: 100%;
  background: transparent;
  padding-top: 32px;
  padding-bottom: 24px;
}

.site-header.minimal {
  position: static;
  transform: none;
  padding: 12px 0 8px;
  gap: 24px;
}

.site-footer {
  flex-direction: column;
  text-align: center;
  gap: 12px;
  width: 100%;
  background: transparent;
  padding-bottom: 24px;
  padding-top: 6px;
}

.site-footer.minimal {
  position: static;
  transform: none;
  padding: 8px 0 0;
  gap: 6px;
}


.site-header a,
.site-footer a {
  color: var(--link-muted);
  text-decoration: none;
  transition: color 150ms ease;
}

.site-header a:hover,
.site-footer a:hover {
  color: var(--link-hover);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text);
  text-shadow: var(--shadow-brand-text);
  filter: drop-shadow(var(--shadow-hero));
}

.mark {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-heading);
  color: var(--text);
  text-shadow: var(--shadow-brand-text);
  transition: color 200ms ease, text-shadow 200ms ease;
}

body[data-theme="light"] .mark {
  color: transparent;
  background: linear-gradient(165deg, var(--color-space-cadet) 0%, var(--color-russian-violet) 55%, var(--color-rebecca-purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 0.5px rgba(var(--color-glitter-rgb), 0.45);
}

body[data-theme="dark"] .mark {
  color: transparent;
  background: linear-gradient(165deg, var(--color-glitter) 0%, var(--color-soap) 55%, var(--color-pale-lavender) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 0.4px rgba(var(--color-russian-violet-rgb), 0.6);
}

.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(var(--shadow-hero));
}

.brand-logo-dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  body:not([data-theme="light"]) .brand-logo-light,
  body:not([data-theme="light"]) .app-shot-light {
    display: none;
  }
  body:not([data-theme="light"]) .brand-logo-dark,
  body:not([data-theme="light"]) .app-shot-dark {
    display: block;
  }
}

nav {
  display: flex;
  gap: 12px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle {
  border: 1px solid var(--border);
  background: var(--panel-strong);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.theme-toggle:hover {
  border-color: var(--accent);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.toggle-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.toggle-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
  padding: clamp(22px, 5vw, 40px);
  border-radius: 26px;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow-hero);
  min-height: 0;
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  overflow: hidden;
  height: auto;
  width: min(960px, 100%);
  margin: 0 auto;
}

.hero .copy {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 2px;
}

body[data-theme="dark"] .hero {
  border-color: var(--border-strong);
  background: var(--panel-strong);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 10% auto auto -15%;
  width: 50%;
  height: 70%;
  background: radial-gradient(circle at center, rgba(var(--color-pale-lavender-rgb), 1), transparent 65%);
  opacity: 0.9;
  filter: blur(35px);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  inset: auto -25% -25% auto;
  width: 55%;
  height: 65%;
  background: radial-gradient(circle at center, rgba(var(--color-rebecca-purple-rgb), 0.45), transparent 65%);
  opacity: 0.45;
  transform: rotate(8deg);
}

body[data-theme="dark"] .hero::before {
  background: radial-gradient(circle at center, rgba(var(--color-glitter-rgb), 0.25), transparent 65%);
  opacity: 0.45;
}

body[data-theme="dark"] .hero::after {
  background: radial-gradient(circle at center, rgba(var(--color-wild-blue-rgb), 0.35), transparent 65%);
  opacity: 0.45;
}

.import-hero {
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 18px 16px 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

body[data-theme="dark"] .import-hero {
  background: var(--panel-strong);
  border-color: var(--border-strong);
}

.import-copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.import-copy h1 {
  margin: 6px 0 8px;
  font-size: clamp(1.6rem, 2.3vw, 2rem);
  line-height: 1.15;
}

.import-copy .lede {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.import-hero .cta-row {
  margin-top: 4px;
}

@media (min-width: 768px) {
  .hero {
    /* min-height removed for simple layout */
  }

  .hero .copy {
    height: 100%;
  }

  .panel-privacy .privacy,
  .panel-terms .privacy {
    /* min-height removed for simple layout */
  }
}

.copy h1 {
  font-size: clamp(1.65rem, 2.6vw, 2.1rem);
  line-height: 1.1;
  margin: 60px 0 32px;
  position: relative;
  z-index: 1;
}

.copy .lede {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

.search-examples {
  margin: 24px 0;
  position: relative;
  z-index: 1;
}

.example-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.search-example {
  display: block;
  width: 100%;
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  border-radius: 12px;
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  transition: all 250ms ease;
  position: relative;
  overflow: hidden;
  text-align: left;
  min-height: 60px;
  box-shadow: var(--shadow-soft);
}

.search-example:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(var(--color-rebecca-purple-rgb), 0.25);
}

.search-example:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.search-query {
  display: block;
  opacity: 1;
  transition: opacity 300ms ease, transform 300ms ease;
  word-break: break-all;
}

.search-explanation {
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  transform: translateY(-50%);
  opacity: 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text);
  transition: opacity 300ms ease;
  pointer-events: none;
}

.search-example.revealed .search-query {
  opacity: 0;
}

.search-example.revealed .search-explanation {
  opacity: 1;
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 0;
  margin-top: auto;
  align-self: center;
}

.cta-row.tight {
  margin-top: 8px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 150ms ease, border-color 150ms ease, color 150ms ease;
  will-change: transform;
  box-shadow: var(--shadow-soft);
}

.cta.primary {
  background: linear-gradient(120deg, var(--cta-primary-start), var(--cta-primary-end));
  color: var(--cta-primary-text);
  box-shadow: var(--shadow-cta);
}

.cta.primary.flat {
  background: var(--cta-primary-start);
  box-shadow: none;
}

.cta.primary.cta-disabled {
  background: var(--color-rebecca-purple);
  color: var(--color-glitter);
  border-color: transparent;
}

.cta-disabled {
  pointer-events: none;
  opacity: 0.65;
}

.device-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 4px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel-strong);
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 2;
}

.cta:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.device {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  padding-top: 30px;
  width: 100%;
}

.app-shot {
  width: min(260px, 60vw);
  border-radius: 24px;
  border: none;
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1429 / 2902;
  background: transparent;
  z-index: 2;
}

.app-shot img {
  background: transparent;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  border: 0;
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.app-shot img.is-visible {
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
}

.app-shot-light {
  display: block;
}

.app-shot-dark {
  display: none;
}

body[data-theme="dark"] .brand-logo-light,
body[data-theme="dark"] .app-shot-light {
  display: none;
}

body[data-theme="dark"] .brand-logo-dark,
body[data-theme="dark"] .app-shot-dark {
  display: block;
}

.theme-toggle-row {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.theme-toggle-row .theme-toggle {
  width: auto;
  justify-content: center;
}

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

.footer-links {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.footer-link {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--link-muted);
  text-decoration: none;
  transition: color 150ms ease;
}

.footer-link:hover {
  color: var(--link-hover);
}

.footer-legal {
  max-width: 500px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.privacy {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 5vw, 40px);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 26px;
  width: min(960px, 100%);
  margin: 0 auto;
  height: auto;
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
}

body[data-theme="dark"] .panel-privacy .privacy,
body[data-theme="dark"] .panel-terms .privacy {
  border-color: var(--border-strong);
  background: var(--panel-strong);
}

.privacy section {
  margin-top: 6px;
}

.privacy,
.privacy h2,
.privacy p,
.privacy li,
.privacy ul,
.privacy ol {
  font-size: 0.9rem;
}

.privacy h2 {
  margin: 8px 0 4px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.privacy p,
.privacy li {
  margin: 4px 0 0;
  line-height: 1.5;
}

.privacy-note {
  font-size: 0.85rem;
  margin-bottom: 0;
  font-style: italic;
  color: var(--text-muted);
}

.privacy-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.privacy-columns > div {
  flex: 1 1 240px;
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 12px 30px rgba(var(--color-space-cadet-rgb), 0.15);
}

.privacy-columns h3 {
  margin-top: 0;
}

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

  .brand-logo {
    width: 56px;
    height: 56px;
  }

  body {
    height: auto;
    overflow-y: auto;
    padding: clamp(16px, 6vw, 28px) 16px clamp(24px, 8vw, 40px);
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    background: transparent;
  }

  .site-header {
    position: static;
    transform: none;
    left: auto;
    right: auto;
    width: 100%;
    padding: 0;
    align-items: stretch;
  }

  .header-actions {
    gap: 12px;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-left: 0;
  }

  .brand {
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    align-self: center;
    font-size: clamp(1.6rem, 5vw, 2rem);
    gap: 12px;
  }

  .site-footer {
    position: static;
    transform: none;
    left: auto;
    right: auto;
    width: 100%;
    padding: 24px 0 0;
    align-items: center;
  }

  nav.primary-nav {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: auto;
    justify-content: center;
    flex-wrap: wrap;
  }

  nav.primary-nav a {
    padding: 0;
    font-weight: inherit;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    letter-spacing: inherit;
  }

  .panel-shell {
    height: auto;
    min-height: 360px;
    padding: clamp(10px, 5vw, 20px) 0 clamp(30px, 5vw, 40px);
  }

  .panel {
    min-height: auto;
  }

  .hero {
    min-height: auto;
    gap: 16px;
    border-radius: 18px;
    padding: 20px;
  }

  .cta-row {
    margin-top: auto;
    margin-bottom: 16px;
  }

  .device {
    margin-top: 16px;
  }

  .wrap {
    padding-block: clamp(16px, 6vw, 32px);
  }

  main#main-content {
    align-items: flex-start;
    padding-bottom: 40px;
  }

  .footer-links {
    flex-direction: row;
    justify-content: center;
    width: auto;
    gap: 12px;
    flex-wrap: wrap;
  }
}

@media (max-width: 1200px) and (min-width: 641px) {
  :root {
    --site-header-height: 130px;
  }

  .site-header {
    padding-bottom: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
