/* GPS Cloud — White Label Landing (gpscloud.eu) */

:root,
[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f7fc;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --border: rgba(15, 23, 42, 0.1);
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #2563eb;
  --accent-dim: rgba(37, 99, 235, 0.1);
  --accent-glow: rgba(37, 99, 235, 0.22);
  --accent-border: rgba(37, 99, 235, 0.28);
  --accent-border-strong: rgba(37, 99, 235, 0.4);
  --success: #059669;
  --gradient-start: #2563eb;
  --gradient-end: #4f46e5;
  --header-bg: rgba(244, 247, 252, 0.92);
  --shadow: rgba(15, 23, 42, 0.08);
  --shadow-lg: rgba(15, 23, 42, 0.14);
  --map-overlay: rgba(255, 255, 255, 0.35);
  --map-grid: rgba(37, 99, 235, 0.07);
  --map-gradient: linear-gradient(160deg, #e8f1fc 0%, #dbeafe 50%, #eff6ff 100%);
  --pin-ring: #ffffff;
  --on-accent: #ffffff;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --header-h-compact: 52px;
  --header-h-expanded: 96px;
  --logo-slot-w: 14.25rem;
  --header-h: var(--header-h-compact);
  --header-h-active: var(--header-h-expanded);
  --container: min(1120px, calc(100% - 2rem));
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070b12;
  --bg-elevated: #0d1420;
  --bg-card: #111a28;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8edf5;
  --text-muted: #8b9cb3;
  --accent: #3b9eff;
  --accent-dim: rgba(59, 158, 255, 0.15);
  --accent-glow: rgba(59, 158, 255, 0.35);
  --accent-border: rgba(59, 158, 255, 0.25);
  --accent-border-strong: rgba(59, 158, 255, 0.3);
  --success: #34d399;
  --gradient-start: #3b9eff;
  --gradient-end: #6366f1;
  --header-bg: rgba(7, 11, 18, 0.88);
  --shadow: rgba(0, 0, 0, 0.25);
  --shadow-lg: rgba(0, 0, 0, 0.4);
  --map-overlay: rgba(13, 20, 32, 0.3);
  --map-grid: rgba(59, 158, 255, 0.04);
  --map-gradient: linear-gradient(160deg, #0a1628 0%, #0d1f35 50%, #081018 100%);
  --pin-ring: #ffffff;
  --on-accent: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h-active);
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    height 0.35s ease,
    border-color 0.2s,
    box-shadow 0.2s,
    background-color 0.25s ease;
}

.header--scrolled {
  border-color: var(--border);
  box-shadow: 0 4px 24px var(--shadow-lg);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: font-size 0.35s ease, gap 0.35s ease;
}

.header--scrolled .logo {
  gap: 0.5rem;
  font-size: 0.95rem;
}

.logo strong {
  color: var(--accent);
  font-weight: 700;
}

.logo__mark {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  object-fit: contain;
  object-position: center;
  transition: width 0.35s ease, height 0.35s ease;
}

.header--scrolled .logo__mark {
  width: 32px;
  height: 32px;
}

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

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

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

.theme-toggle__icon {
  width: 20px;
  height: 20px;
}

.theme-toggle__icon--moon {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--sun {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--moon {
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.55rem, 1.1vw, 1.15rem);
}

.nav a {
  font-size: clamp(0.75rem, 0.85vw, 0.8125rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.nav__cta {
  padding: 0.42rem 0.9rem;
  font-size: clamp(0.75rem, 0.85vw, 0.8125rem);
  background: var(--accent);
  color: var(--on-accent) !important;
  border-radius: 8px;
}

.nav__cta:hover {
  filter: brightness(1.1);
  color: var(--on-accent) !important;
}

@media (min-width: 1101px) {
  .header__inner {
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .logo {
    flex: 0 0 var(--logo-slot-w);
    width: var(--logo-slot-w);
    min-width: var(--logo-slot-w);
  }

  .nav {
    margin-left: auto;
  }
}

@media (min-width: 1101px) and (max-width: 1320px) {
  .header:not(.header--scrolled) .logo__text {
    display: none;
  }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h-expanded) + 3rem) 0 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

/* Desktop: kafelki mogą wystawać poza monitor — bez obcinania rogów */
@media (min-width: 769px) {
  .hero {
    overflow: visible;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: center;
}

.hero__text {
  min-width: 0;
}

/* Desktop: tylko tekst węższy — siatka 50/50 i animacja bez zmian */
@media (min-width: 1025px) {
  .hero__content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .hero__text {
    box-sizing: border-box;
    padding-right: clamp(2.5rem, 6vw, 6rem);
  }

  .hero__lead {
    max-width: 100%;
  }
}

.hero__badge {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__lead {
  margin: 0 0 2rem;
  max-width: 32rem;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s, background 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn--primary:hover {
  filter: brightness(1.06);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  background: var(--bg-card);
}

.btn--block {
  width: 100%;
}

/* Dlaczego my — kafelki */
.experience-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.experience-card {
  padding: 1.5rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px var(--shadow);
}

.experience-card--accent {
  background: var(--bg);
  border-color: var(--accent-border-strong);
  box-shadow: 0 0 0 1px var(--accent-dim);
}

.experience-card__value {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--accent);
}

.experience-card__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.experience-card__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

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

@media (max-width: 600px) {
  .experience-bar__grid {
    grid-template-columns: 1fr;
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--bg-elevated);
}

.section__header {
  max-width: 36rem;
  margin-bottom: 3rem;
}

.section__header--center {
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: 3rem;
  text-align: center;
}

.section__header--center p {
  margin-inline: auto;
}

.section__label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.section__header h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.section__header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px var(--shadow);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

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

.card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
  padding: 10px;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 10px;
}

.card__icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

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

/* Pricing */
.pricing-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.pricing-block h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.pricing-block__lead {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
}

.pricing-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px var(--shadow-lg);
}

.pricing-card__tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.pricing-card h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.pricing-card__desc {
  margin: 0;
  color: var(--text-muted);
}

.pricing-card__divider {
  height: 1px;
  margin: 1.5rem 0;
  background: var(--border);
}

.pricing-card__note {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Devices */
.devices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  margin-bottom: 2rem;
  align-items: stretch;
}

.device {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px var(--shadow);
  text-align: center;
}

.device__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin: 0 0 1.25rem;
  padding: 0.5rem 0.75rem;
}

.device__logo img {
  display: block;
  max-width: min(100%, 200px);
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.device--wanway .device__logo img {
  max-height: 34px;
}

.device__country {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.4rem 0.85rem 0.4rem 0.65rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1;
}

.device__flag {
  display: block;
  width: 24px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.1),
    0 1px 2px rgba(15, 23, 42, 0.08);
}

[data-theme="dark"] .device__flag {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 1px 3px rgba(0, 0, 0, 0.35);
}

.device__desc {
  margin: 0;
  margin-top: auto;
  max-width: 18rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.info-banner {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
}

.info-banner__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg-card);
  border-radius: 12px;
}

.info-banner h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.info-banner p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Timeline */
.timeline {
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline__item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2rem;
  position: relative;
}

.timeline__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline__step {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border-strong);
  border-radius: 12px;
}

.timeline__item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.timeline__item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Geo coverage (SEO) */
.coverage {
  margin-top: 3rem;
  padding: 2rem;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.coverage__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.coverage__lead {
  margin: 0 auto 1.25rem;
  max-width: 40rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.coverage__cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.coverage__cities li {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
}

.coverage__cities a,
.coverage__lead a,
.coverage__note a {
  color: var(--accent);
  text-decoration: none;
}

.coverage__cities a:hover,
.coverage__lead a:hover,
.coverage__note a:hover {
  text-decoration: underline;
}

.coverage__note {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* FAQ + kontakt — osobne tła (szare FAQ, jasny formularz i stopka) */
.cta-section {
  padding: 0;
}

#faq,
#contact,
.section[id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.cta-band--faq {
  padding: 5rem 0 4rem;
  background: var(--bg);
}

.cta-band--form {
  padding: 4.5rem 0 5.5rem;
  background: var(--bg-elevated);
}

.faq {
  margin-bottom: 0;
}

.faq__list {
  max-width: 40rem;
  margin-inline: auto;
}

.faq__item {
  margin-bottom: 0.65rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

[data-theme="light"] .cta-band--faq .faq__item {
  background: var(--bg-elevated);
}

.faq__item summary {
  padding: 1rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--text);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item p {
  margin: 0;
  padding: 0 1.15rem 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Contact */

.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 3rem;
  padding: 1.75rem 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px var(--shadow);
}

.section:not(.section--alt) .callout {
  background: var(--bg-card);
}

.callout__body {
  flex: 1 1 280px;
  min-width: 0;
}

.callout__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.callout__text {
  margin: 0;
  max-width: 42rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.callout__btn {
  flex-shrink: 0;
}

.callout--demo {
  max-width: 40rem;
  margin-inline: auto;
}

@media (max-width: 640px) {
  .callout {
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.25rem;
    text-align: center;
  }

  .callout__text {
    margin-inline: auto;
  }

  .callout__btn {
    width: 100%;
  }
}

.cta-box {
  max-width: 520px;
  margin-inline: auto;
  padding: 0;
  text-align: center;
}

.cta-band--form .cta-box {
  max-width: 540px;
}

.cta-box h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
}

.cta-box > p {
  margin: 0 0 2rem;
  color: var(--text-muted);
}

.contact-form {
  text-align: left;
}

.form-row-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.form-row-group .form-row {
  margin-bottom: 0;
}

@media (max-width: 520px) {
  .form-row-group {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-row-group .form-row {
    margin-bottom: 1.25rem;
  }

  .form-row-group .form-row:last-child {
    margin-bottom: 0;
  }
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s;
}

.cta-band--form .form-row input,
.cta-band--form .form-row textarea {
  background: var(--bg-card);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-row textarea {
  resize: vertical;
  min-height: 100px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  text-align: center;
}

.form-note--success {
  color: var(--success);
}

.form-note--error {
  color: #dc2626;
}

[data-theme="dark"] .form-note--error {
  color: #f87171;
}

.contact-form button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Footer */
.footer {
  padding: 2rem 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 1rem 2rem;
}

.logo--footer .logo__mark {
  width: 36px;
  height: 36px;
}

.footer__inner > .logo--footer {
  grid-column: 1;
  grid-row: 1;
}

.footer__copy {
  margin: 0;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  text-align: right;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__copy a,
.cta-box > p a {
  color: var(--accent);
  text-decoration: none;
}

.footer__copy a:hover,
.cta-box > p a:hover {
  text-decoration: underline;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  grid-row: 2;
  justify-content: flex-start;
  gap: 0.5rem 1.15rem;
  max-width: none;
  padding-top: 0.25rem;
}

.footer__nav a {
  font-size: 0.8125rem;
  white-space: nowrap;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--text);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    order: -1;
  }
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    padding-bottom: 2rem;
  }

  .hero__text {
    text-align: center;
  }

  .hero__lead {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .pricing-block {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 1100px) {
  .nav {
    position: fixed;
    top: var(--header-h-active);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--header-h-active));
    transition: top 0.35s ease;
    padding: 0.5rem 1rem 1rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    overflow-y: auto;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 0.8rem 0;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
  }

  .nav__cta {
    margin-top: 0.35rem;
    padding: 0.75rem 1rem;
    text-align: center;
    border: none;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .header__actions {
    gap: 0.35rem;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
  }

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

  .info-banner {
    flex-direction: column;
    text-align: center;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.85rem;
  }

  .footer__inner > .logo--footer,
  .footer__copy {
    grid-column: 1;
    justify-self: center;
  }

  .footer__copy {
    grid-row: 2;
    justify-self: center;
    text-align: center;
  }

  .footer__inner > .logo--footer {
    grid-row: 1;
  }

  .footer__nav {
    grid-row: 3;
    justify-content: center;
    padding-top: 0;
  }
}
