/* Podo promo — light, clinical, app-aligned (#fff → #ddd feel) */

:root {
  --bg-top: #ffffff;
  --bg-bottom: #dddddd;
  --ink: #111111;
  --muted: #5c5c5c;
  --line: rgba(17, 17, 17, 0.12);
  --accent: #0a0a0a;
  --max: 1320px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --surface-welfare: #f4f4f4;
  --surface-card: rgba(255, 255, 255, 0.6);
  --surface-privacy: rgba(255, 255, 255, 0.5);
  --header-bg: rgba(255, 255, 255, 0.85);
  --btn-primary-fg: #ffffff;
  --focus-ring: rgba(17, 17, 17, 0.08);
  --input-bg: rgba(255, 255, 255, 0.7);
  --file-drop-hover: rgba(255, 255, 255, 0.9);
  --support-success-bg: rgba(255, 255, 255, 0.7);
  --btn-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] {
  --bg-top: #121212;
  --bg-bottom: #252528;
  --ink: #f2f2f2;
  --muted: #a8a8a8;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #eaeaea;
  --surface-welfare: #1c1c20;
  --surface-card: rgba(255, 255, 255, 0.06);
  --surface-privacy: rgba(255, 255, 255, 0.05);
  --header-bg: rgba(18, 18, 20, 0.88);
  --btn-primary-fg: #111111;
  --focus-ring: rgba(255, 255, 255, 0.15);
  --input-bg: rgba(255, 255, 255, 0.08);
  --file-drop-hover: rgba(255, 255, 255, 0.12);
  --support-success-bg: rgba(6, 169, 0, 0.7);
  --btn-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body {
  margin: 0 0 20px 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.75;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--btn-primary-fg);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: .3rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 3rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
}
.nav-cta img {
  max-height: 50px;
}

.nav-cta:hover {
  opacity: .8;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-card);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.theme-toggle:hover {
  background: var(--file-drop-hover);
}

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

.theme-toggle svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  display: block;
}

.theme-toggle .theme-toggle__sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle .theme-toggle__moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle .theme-toggle__sun {
  display: block;
}

/* Hero */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 840px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero__image-wrap {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}

.hero__image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 36ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.hero__actions img {
  max-height: 50px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.35rem;
  background: var(--accent);
  color: var(--btn-primary-fg);
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  border-radius: 999px;
}

.btn-primary:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: var(--btn-shadow);
}

.btn-ghost {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}

.btn-ghost:hover {
  color: var(--ink);
}

/* Sections */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.section--tight-top {
  padding-top: 1rem;
}

.section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.section__intro {
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 2rem;
}

/* CTA: two columns, image left */

.section--cta .cta__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 720px) {
  .section--cta .cta__grid {
    grid-template-columns: 1fr 2fr;
    gap: 2.5rem 3rem;
    align-items: center;
  }
}

.section--cta .cta__media {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}

.section--cta .cta__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.section--cta .cta__content {
  min-width: 0;
}

.section--cta .section--cta__intro {
  margin-bottom: 1.5rem;
}

@media (min-width: 720px) {
  .section--cta .section--cta__intro {
    max-width: none;
  }
}

/* Welfare band */

.welfare {
  background: var(--surface-welfare);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.welfare__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.welfare blockquote {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.welfare cite {
  display: block;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}

/* Feature grid */

.features {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .features {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature {
  padding: 1rem;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 30px;
}
.feature img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0.5rem;
}

.feature__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--ink);
}

.feature h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* Model / ML section */

.section--model .section__intro.section--model__follow {
  margin-top: -0.75rem;
  max-width: 72ch;
}

.section--model__h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.model-showcase {
  display: grid;
  gap: 1.25rem;
  margin: 0 0 2rem;
}

@media (min-width: 720px) {
  .model-showcase {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.model-card {
  padding: 1rem;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 30px;
}

.model-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.model-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.model-card p + p {
  margin-top: 0.75rem;
}

.model-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0.5rem;
  border-radius: 12px;
}

.model-details {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

@media (min-width: 560px) {
  .model-details {
    grid-template-columns: repeat(2, 1fr);
  }
}

.model-details dt {
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.model-details dd {
  margin: 0 0 0.5rem;
}

.model-details code {
  font-size: 0.9em;
}

@media (min-width: 560px) {
  .model-details dd {
    margin: 0;
  }
}

/* Steps */

.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.step {
  position: relative;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: block;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* Plan comparison table */

.section--compare .section__intro {
  max-width: 72ch;
}

.compare-table-wrap {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-card);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

html[data-theme="dark"] .compare-table-wrap {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.compare-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.compare-table__caption {
  caption-side: top;
  text-align: left;
  padding: 1.15rem 1.35rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-privacy) 0%, var(--surface-card) 100%);
  border-radius: 19px 19px 0 0;
}

.compare-table thead th {
  text-align: left;
  padding: 0.75rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: var(--surface-privacy);
}

.compare-table__col-plan {
  width: 10rem;
  text-align: center!important;
}

.compare-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  max-width: 48ch;
}

.compare-table tbody tr.compare-table__row {
  transition: background 0.15s ease;
}

.compare-table tbody tr.compare-table__row:hover {
  background: rgba(37, 99, 235, 0.04);
}

html[data-theme="dark"] .compare-table tbody tr.compare-table__row:hover {
  background: rgba(96, 165, 250, 0.06);
}

.compare-feature {
  font-weight: 600;
}

.compare-feature__title {
  display: block;
  font-weight: 600;
  color: var(--ink);
}

.compare-feature__desc {
  display: block;
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted);
}

.compare-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  vertical-align: middle;
}

.compare-table__glyph {
  text-align: center;
  vertical-align: middle;
  width: 7.5rem;
}

.compare-table__glyph--stack {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.compare-table__glyph--stack .compare-ico {
  margin-bottom: 0.2rem;
}

.compare-glyph-note {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  line-height: 1.2;
}

.compare-ico {
  display: inline-block;
  vertical-align: middle;
}

.compare-ico--yes {
  color: #2563eb;
}

html[data-theme="dark"] .compare-ico--yes {
  color: #60a5fa;
}

.compare-ico--no {
  color: #b91c1c;
}

html[data-theme="dark"] .compare-ico--no {
  color: #f87171;
}

.compare-ico--inf {
  color: #2563eb;
}

html[data-theme="dark"] .compare-ico--inf {
  color: #60a5fa;
}

.compare-table__price {
  text-align: center;
  vertical-align: middle;
  width: 7.5rem;
}

.compare-price {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.2;
}

.compare-price-note {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* Mobile: stacked cards — feature full width, Free | Subscription in two columns */

@media (max-width: 719px) {
  .section--compare {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .compare-table-wrap {
    overflow-x: visible;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .compare-table {
    min-width: 0;
    display: block;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
  }

  .compare-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .compare-table tbody {
    display: block;
    width: 100%;
  }

  .compare-table__caption {
    display: block;
    width: 100%;
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid var(--line);
    box-sizing: border-box;
    background: linear-gradient(180deg, var(--surface-privacy) 0%, var(--surface-card) 100%);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  }

  html[data-theme="dark"] .compare-table__caption {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
  }

  .compare-table tbody tr.compare-table__row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 0 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface-card);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
  }

  html[data-theme="dark"] .compare-table tbody tr.compare-table__row {
    background: var(--surface-card);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
  }

  .compare-table tbody tr.compare-table__row:hover {
    background: var(--surface-card);
  }

  html[data-theme="dark"] .compare-table tbody tr.compare-table__row:hover {
    background: var(--surface-card);
  }

  .compare-table tbody tr.compare-table__row th.compare-feature {
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
    padding: 1.1rem 1.15rem 1rem;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, var(--surface-privacy) 0%, transparent 100%);
  }

  .compare-table tbody tr.compare-table__row td:nth-child(2),
  .compare-table tbody tr.compare-table__row td:nth-child(3) {
    flex: 1 1 0;
    min-width: 0;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 5.5rem;
    padding: 0.9rem 0.65rem 1rem;
    border-bottom: none;
    position: relative;
    box-sizing: border-box;
  }

  .compare-table tbody tr.compare-table__row td:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .compare-table tbody tr.compare-table__row td:nth-child(2)::before,
  .compare-table tbody tr.compare-table__row td:nth-child(3)::before {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.45rem;
  }

  .compare-table tbody tr.compare-table__row td:nth-child(2)::before {
    content: "Free";
  }

  .compare-table tbody tr.compare-table__row td:nth-child(3)::before {
    content: "Subscription";
  }

  .compare-table tbody tr.compare-table__row.compare-table__row--price td:nth-child(2),
  .compare-table tbody tr.compare-table__row.compare-table__row--price td:nth-child(3) {
    min-height: 6.25rem;
    padding-top: 1.1rem;
  }

  .compare-table tbody tr:last-child th,
  .compare-table tbody tr:last-child td {
    border-bottom: none;
  }

  .compare-table tbody tr.compare-table__row:last-child {
    margin-bottom: 0;
  }

  .compare-feature__title {
    font-size: 0.9375rem;
    line-height: 1.35;
  }

  .compare-feature__desc {
    font-size: 0.8125rem;
  }
}

/* Privacy */

.privacy-box {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface-privacy);
}

.privacy-box p {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
}

.privacy-box strong {
  color: var(--ink);
  font-weight: 600;
}

/* Numbered footnotes (homepage; aligns with Terms of use) */

sup.footnote-ref-sup {
  line-height: 0;
  font-size: 0.6em;
  margin-left: 0.06em;
}

sup.footnote-ref-sup a.footnote-ref {
  font-size: inherit;
  text-decoration: none;
  color: var(--muted);
  padding: 0 0.05em;
}

sup.footnote-ref-sup a.footnote-ref:hover,
sup.footnote-ref-sup a.footnote-ref:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  font-weight: 700;
}

.claims-footnote {
  border-top: 1px solid var(--line);
}

.claims-footnote__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 2.5rem;
}

.claims-footnote__title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 1rem;
}

.footnotes-list {
  margin: 0;
  padding: 0 0 0 1.35rem;
  font-size: 0.7rem;
  line-height: 1.2;
  color: var(--muted);
}

.footnotes-list li {
  margin: 0 0 1rem;
  padding-left: 0.35rem;
}

.footnotes-list li:last-child {
  margin-bottom: 0;
}

.claims-footnote a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

/* Footer */

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--muted);
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--ink);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* ── Inner pages (terms, privacy, support) ── */

.inner-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.inner-page__header {
  margin-bottom: 2.5rem;
}

.inner-page__header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.5rem 0 0;
}

.inner-page__lead {
  color: var(--muted);
  margin: 0.75rem 0 0;
  max-width: 52ch;
}

.back-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}

.back-link:hover {
  color: var(--ink);
  opacity: 1;
}

/* Prose content */

.prose h2 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 2rem 0 0.4rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.prose h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.prose p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.prose a {
  color: var(--ink);
  font-weight: 500;
}

/* Support form */

.support-form {
  display: grid;
  gap: 1.25rem;
}

.support-form__meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.form-required {
  color: #c42a2a;
  font-weight: 700;
}

html[data-theme="dark"] .form-required {
  color: #ff8a8a;
}

.form-group {
  display: grid;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.form-group__static-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

label.form-group__static-label {
  cursor: pointer;
}

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  width: 100%;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
  min-height: 50px;
}

/* Floating labels */

.float-field {
  position: relative;
}

.float-field input,
.float-field select,
.float-field textarea {
  padding-top: 1.35rem;
  padding-bottom: 0.55rem;
}

.float-field label {
  position: absolute;
  left: 0.9rem;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  pointer-events: none;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition:
    top 0.18s ease,
    transform 0.18s ease,
    font-size 0.18s ease,
    color 0.18s ease;
  transform-origin: left top;
}

.float-field--textarea label {
  top: 1.05rem;
  transform: translateY(0);
  white-space: normal;
}

.float-field input:focus ~ label,
.float-field input:not(:placeholder-shown) ~ label,
.float-field textarea:focus ~ label,
.float-field textarea:not(:placeholder-shown) ~ label,
.float-field--select select:focus ~ label,
.float-field--select select:valid ~ label {
  top: 0.5rem;
  transform: translateY(0);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.float-field--textarea textarea:focus ~ label,
.float-field--textarea textarea:not(:placeholder-shown) ~ label {
  top: 0.45rem;
}

.float-field input:focus ~ label,
.float-field textarea:focus ~ label,
.float-field--select select:focus ~ label {
  color: var(--ink);
}

.float-field__hint {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c5c5c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}

html[data-theme="dark"] .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a8a8a8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group--consent {
  gap: 0.65rem;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-consent:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.form-consent input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  margin: 0.2rem 0 0;
  flex-shrink: 0;
  accent-color: var(--ink);
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: auto;
}

.form-consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.form-consent label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
  cursor: pointer;
  position: static;
  pointer-events: auto;
}

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

.file-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--input-bg);
  border: 1px dashed var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.file-drop:hover,
.file-drop--over {
  border-color: var(--ink);
  background: var(--file-drop-hover);
}

.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  border: none;
  padding: 0;
}

.file-drop__label {
  font-size: 0.9375rem;
  color: var(--muted);
  pointer-events: none;
}

.support-form .btn-primary {
  justify-self: start;
  margin-top: 0.5rem;
}

.support-alt {
  margin-top: 1.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.support-success,
.support-error {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  font-size: 0.9375rem;
}

.support-success {
  background: var(--support-success-bg);
  border: 1px solid var(--line);
  color: var(--muted);
}

.support-error {
  background: rgba(255, 235, 235, 0.8);
  border: 1px solid rgba(180, 40, 40, 0.2);
  color: #7a2020;
}

html[data-theme="dark"] .support-error {
  background: rgba(60, 24, 24, 0.55);
  border-color: rgba(255, 120, 120, 0.25);
  color: #f0b0b0;
}

/* ─── Trial promo popup ─────────────────────────────────── */
.trial-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  padding: 0 1rem 1.25rem;
  pointer-events: none;
  transform: translateY(calc(100% + 1.25rem));
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.trial-popup.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
.trial-popup__inner {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--ink);
  color: var(--btn-primary-fg);
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.375rem;
  box-shadow: var(--btn-shadow);
}
.trial-popup__close {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--btn-primary-fg);
  opacity: 0.55;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.15s;
}
.trial-popup__close:hover,
.trial-popup__close:focus-visible {
  opacity: 1;
  outline: none;
}
.trial-popup__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}
.trial-popup__heading {
  margin: 0 0 0.5rem;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
}
.trial-popup__body {
  margin: 0 0 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  opacity: 0.8;
}
.trial-popup__btn {
  display: inline-block;
  padding: 0.6875rem 1.375rem;
  border-radius: 50px;
  background: var(--btn-primary-fg);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: opacity 0.15s;
}
.trial-popup__btn:hover {
  opacity: 0.88;
}
@media (min-width: 600px) {
  .trial-popup {
    padding-bottom: 1.75rem;
  }
  .trial-popup__inner {
    padding: 1.75rem 1.875rem 1.625rem;
  }
}
.trial-popup__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
}
.trial-popup__header .trial-popup__eyebrow {
  margin: 0;
}
.trial-popup__icon {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  flex-shrink: 0;
}
.trial-popup__titles {
  display: flex;
  flex-direction: column;
}
.trial-popup__titles .trial-popup__heading {
  margin: 0;
}
