/* Promodius marketing — locked brand tokens */
:root {
  --pm-blue: #1E82FA;
  --pm-blue-light: #54A0FE;
  --pm-blue-deep: #146EF0;
  --pm-ink: #111111;
  --pm-charcoal: #1C1C1E;
  --pm-white: #FFFFFF;
  --pm-page: #FAFAFA;
  --pm-muted: #6B6B70;
  --pm-border: rgba(17, 17, 17, 0.08);
  --pm-card: #FFFFFF;
  --pm-surface-alt: #F4F4F5;
  --pm-shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 8px 24px rgba(17, 17, 17, 0.04);
  --pm-radius: 16px;
  --pm-radius-sm: 12px;
  --pm-header-h: 64px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

html[data-theme="dark"] {
  --pm-ink: #FFFFFF;
  --pm-page: #111111;
  --pm-white: #1C1C1E;
  --pm-muted: #A1A1A6;
  --pm-border: rgba(255, 255, 255, 0.1);
  --pm-card: #1C1C1E;
  --pm-surface-alt: #161618;
  --pm-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
  --pm-charcoal: #FAFAFA;
  color-scheme: dark;
}

html[data-theme="dark"] .brand-icon--light,
html[data-theme="dark"] .hero-icon.brand-icon--light {
  display: none;
}

html[data-theme="dark"] .brand-icon--dark,
html[data-theme="dark"] .hero-icon.brand-icon--dark {
  display: block;
}

html[data-theme="dark"] .btn-ghost {
  color: var(--pm-ink);
  border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="dark"] .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

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

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

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--pm-ink);
  background: var(--pm-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--pm-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--pm-ink);
}

p {
  margin: 0;
}

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

button {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--pm-blue);
  color: #fff;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.container.narrow {
  width: min(640px, calc(100% - 2.5rem));
}

.center {
  text-align: center;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--pm-header-h);
  background: color-mix(in srgb, var(--pm-page) 85%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--pm-border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: var(--pm-header-h);
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  text-decoration: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.brand-sm .brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

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

.wordmark {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.wordmark-pro {
  color: var(--pm-ink);
}

.wordmark-modius {
  color: var(--pm-blue);
}

.nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list a {
  color: var(--pm-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--pm-ink);
  text-decoration: none;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem 0.35rem;
  border-radius: 999px;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--pm-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.35rem;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s ease, background 0.15s ease;
}

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

.lang-btn.is-active,
.lang-btn[aria-pressed="true"] {
  color: var(--pm-ink);
  background: color-mix(in srgb, var(--pm-ink) 6%, transparent);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--pm-blue);
  outline-offset: 2px;
}

.lang-sep {
  color: var(--pm-border);
  font-size: 0.7rem;
  user-select: none;
  opacity: 0.8;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--pm-border);
  border-radius: 999px;
  background: transparent;
  color: var(--pm-ink);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.theme-toggle:hover {
  background: color-mix(in srgb, var(--pm-ink) 5%, transparent);
}

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

.theme-icon--sun {
  display: none;
}

.theme-icon--moon {
  display: block;
}

.header-cta {
  margin-left: 0.25rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--pm-ink);
  border-radius: 1px;
  transition: transform 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-nav {
  border-bottom: 1px solid var(--pm-border);
  background: var(--pm-page);
  padding: 0.5rem 1.25rem 1.25rem;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: min(1080px, 100%);
  margin-inline: auto;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0.25rem;
  color: var(--pm-ink);
  font-weight: 500;
  text-decoration: none;
}

.mobile-nav .btn {
  margin-top: 0.5rem;
  text-align: center;
}

.mobile-controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.25rem;
  border-top: 1px solid var(--pm-border);
  margin-top: 0.35rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.375rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--pm-blue);
  outline-offset: 3px;
}

.btn-primary,
a.btn-primary,
button.btn-primary {
  background: var(--pm-blue);
  color: #FFFFFF !important;
}

.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover,
.btn-primary:focus-visible,
a.btn-primary:focus-visible {
  background: var(--pm-blue-deep);
  color: #FFFFFF !important;
}

.btn-primary:visited,
a.btn-primary:visited {
  color: #FFFFFF !important;
}

.btn-ghost {
  background: transparent;
  color: var(--pm-ink);
  border-color: var(--pm-border);
}

.btn-ghost:hover {
  background: rgba(17, 17, 17, 0.04);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.9rem 1.625rem;
  font-size: 1rem;
}

/* —— Hero —— */
.hero {
  padding: clamp(4rem, 12vw, 7.5rem) 0 clamp(4rem, 10vw, 7rem);
  min-height: calc(88vh - var(--pm-header-h));
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 720px;
  text-align: center;
  margin-inline: auto;
}

.hero-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.hero-icon {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  box-shadow: var(--pm-shadow);
}

.hero-icon.brand-icon--dark {
  display: none;
}

.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--pm-muted);
  line-height: 1.55;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* —— Sections —— */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-alt {
  background: var(--pm-surface-alt);
}

.section-cta {
  padding-bottom: clamp(5rem, 10vw, 7.5rem);
}

.section-head {
  margin-bottom: 2.75rem;
}

.section-head.center {
  margin-bottom: 0;
}

.section-head.center .btn {
  margin-top: 0.5rem;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pm-blue);
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--pm-muted);
  font-size: 1.0625rem;
  margin-bottom: 1.75rem;
  max-width: 34rem;
}

.center .section-lead {
  margin-inline: auto;
}

/* —— Features —— */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.feature-card {
  background: var(--pm-card);
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--pm-shadow);
  transition: border-color 0.15s ease;
}

.feature-card:hover {
  border-color: color-mix(in srgb, var(--pm-blue) 35%, var(--pm-border));
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--pm-blue) 10%, transparent);
  color: var(--pm-blue);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--pm-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* —— Steps —— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--pm-radius);
  background: var(--pm-card);
  border: 1px solid var(--pm-border);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--pm-blue);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

.step h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.375rem;
}

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

/* —— Contact —— */
.contact-email {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: var(--pm-muted);
}

.contact-email a {
  color: var(--pm-muted);
}

.contact-email a:hover {
  color: var(--pm-blue);
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--pm-border);
  padding: 1.75rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.copyright {
  font-size: 0.875rem;
  color: var(--pm-muted);
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .header-controls {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-controls {
    display: flex;
  }

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

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

  .hero {
    min-height: auto;
    padding-top: 3.25rem;
  }

  .hero-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

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

/* —— Active nav —— */
.nav-list a.is-active,
.mobile-nav a.is-active {
  color: var(--pm-ink);
}
.nav-list a.is-active {
  position: relative;
}
.nav-list a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  border-radius: 2px;
  background: var(--pm-blue);
}

.header-login {
  color: var(--pm-muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  margin-right: 0.15rem;
}
.header-login:hover,
.header-login.is-active {
  color: var(--pm-ink);
  text-decoration: none;
}

/* —— Page hero (inner pages) —— */
.page-hero {
  padding: clamp(3rem, 8vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem);
}
.page-hero .container {
  max-width: 720px;
}
.page-hero.center .container {
  text-align: center;
  margin-inline: auto;
}
.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin-bottom: 0.85rem;
}
.page-hero .section-lead {
  margin-bottom: 0;
}

.prose {
  max-width: 40rem;
}
.prose p {
  color: var(--pm-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 1.15rem;
}
.prose p:last-child {
  margin-bottom: 0;
}

.feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.feature-detail-card {
  background: var(--pm-card);
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--pm-shadow);
}
.feature-detail-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}
.feature-detail-card .summary {
  color: var(--pm-ink);
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
  font-weight: 500;
}
.feature-detail-card .detail {
  color: var(--pm-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* —— Pricing —— */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid var(--pm-border);
  background: var(--pm-card);
  margin: 1.5rem auto 0.75rem;
}
.billing-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--pm-muted);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.billing-btn.is-active,
.billing-btn[aria-pressed="true"] {
  background: var(--pm-blue);
  color: #fff;
}
.billing-btn:focus-visible {
  outline: 2px solid var(--pm-blue);
  outline-offset: 2px;
}
.yearly-badge {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--pm-blue);
  background: color-mix(in srgb, var(--pm-blue) 12%, transparent);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  vertical-align: middle;
}
.billing-btn.is-active .yearly-badge,
.billing-btn[aria-pressed="true"] .yearly-badge {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}
.pricing-vat {
  font-size: 0.875rem;
  color: var(--pm-muted);
  margin-top: 0.5rem;
}
.pricing-setup-note {
  font-size: 0.9rem;
  color: var(--pm-muted);
  max-width: 36rem;
  margin: 1rem auto 0;
  text-align: center;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  align-items: stretch;
}
.pricing-grid--inbox {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--pm-card);
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius);
  padding: 1.5rem 1.25rem 1.35rem;
  box-shadow: var(--pm-shadow);
}
.plan-card.is-featured {
  border-color: color-mix(in srgb, var(--pm-blue) 45%, var(--pm-border));
  box-shadow: 0 1px 2px rgba(30, 130, 250, 0.08), 0 12px 28px rgba(30, 130, 250, 0.12);
}
.plan-badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pm-blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name {
  font-size: 1.125rem;
  margin-bottom: 0.35rem;
}
.plan-blurb {
  color: var(--pm-muted);
  font-size: 0.875rem;
  margin-bottom: 1.15rem;
  min-height: 2.6em;
}
.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}
.plan-price {
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--pm-ink);
  line-height: 1;
}
.plan-period {
  font-size: 0.875rem;
  color: var(--pm-muted);
}
.plan-setup {
  font-size: 0.8125rem;
  color: var(--pm-muted);
  margin-bottom: 1.15rem;
}
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
  flex: 1;
}
.plan-features li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: var(--pm-ink);
  line-height: 1.4;
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--pm-blue);
}
.plan-card .btn {
  width: 100%;
}

/* —— Login —— */
.login-wrap {
  min-height: calc(100vh - var(--pm-header-h) - 5.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
}
.login-card {
  width: min(400px, 100%);
  background: var(--pm-card);
  border: 1px solid var(--pm-border);
  border-radius: 20px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--pm-shadow);
  text-align: center;
}
.login-card .login-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin: 0 auto 1.15rem;
  box-shadow: var(--pm-shadow);
}
.login-card h1 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}
.login-card .login-lead {
  color: var(--pm-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}
.login-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--pm-ink);
}
.field input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--pm-border);
  background: var(--pm-page);
  color: var(--pm-ink);
  font-family: inherit;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus {
  border-color: color-mix(in srgb, var(--pm-blue) 55%, var(--pm-border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pm-blue) 18%, transparent);
}
.login-form .btn {
  width: 100%;
  margin-top: 0.35rem;
}
.login-links {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.15rem;
  font-size: 0.875rem;
}
.login-note {
  margin-top: 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--pm-blue) 8%, transparent);
  color: var(--pm-ink);
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: left;
}


/* —— Honeypot (off-screen; not display:none) —— */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* —— Contact form —— */
.contact-card--form {
  position: relative;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 0.5rem;
  position: relative;
}
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--pm-border);
  background: var(--pm-page);
  color: var(--pm-ink);
  font-family: inherit;
  font-size: 0.9375rem;
  outline: none;
  resize: vertical;
  min-height: 6rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea:focus {
  border-color: color-mix(in srgb, var(--pm-blue) 55%, var(--pm-border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pm-blue) 18%, transparent);
}
.contact-form .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}
.contact-form-status {
  margin: 0.25rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--pm-blue) 8%, transparent);
  color: var(--pm-ink);
  font-size: 0.875rem;
  line-height: 1.45;
}
.login-form {
  position: relative;
}

/* —— Contact cards —— */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.contact-card {
  background: var(--pm-card);
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius);
  padding: 1.5rem;
  box-shadow: var(--pm-shadow);
}
.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.contact-card p {
  color: var(--pm-muted);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

/* —— Footer links —— */
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--pm-muted);
  font-size: 0.875rem;
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--pm-ink);
}

/* —— Toast —— */
.pm-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(12px);
  z-index: 2000;
  max-width: min(420px, calc(100% - 2rem));
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  background: var(--pm-charcoal);
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.45;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
html[data-theme="dark"] .pm-toast {
  background: #2c2c2e;
}
.pm-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.home-teaser-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 1280px) {
  .pricing-grid--inbox {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid--inbox {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .header-login {
    display: none;
  }
}

@media (max-width: 640px) {
  .feature-detail-grid,
  .contact-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .plan-blurb {
    min-height: 0;
  }
}

.login-icon.brand-icon--dark { display: none; }
html[data-theme="dark"] .login-icon.brand-icon--light { display: none; }
html[data-theme="dark"] .login-icon.brand-icon--dark { display: block; margin-inline: auto; }
.login-icon.brand-icon--light { margin-inline: auto; }


/* —— Add-ons —— */
.addons-block {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--pm-border);
}

.addons-head {
  margin-bottom: 2rem;
}

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

.plan-card--addon {
  box-shadow: none;
}

.plan-card--addon .plan-setup {
  color: var(--pm-muted);
  font-size: 0.8125rem;
}

@media (max-width: 960px) {
  .addons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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


.services-block {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--pm-border);
}
