/* Tasker Sales website. Colours and fonts follow the app (apps/web/src/styles/style.scss). */
:root {
  --brand: #0b55a4;
  --brand-dark: #073567;
  --accent: #03fcd0;
  --info: #03c9a6;
  --warning: #f9b115;

  --bg: #ffffff;
  --bg-alt: #f3f4f7;
  --surface: #ffffff;
  --border: #dbdfe6;
  --text: #252b36;
  --muted: #5b6577;
  --heading: #073567;
  --link: #0b55a4;
  --primary-fill: #0b55a4;
  --primary-fill-hover: #094a8f;
  --icon-bg: rgba(11, 85, 164, 0.1);
  --icon-color: #0b55a4;
  --shadow: 0 1px 2px rgba(7, 53, 103, 0.06), 0 8px 24px rgba(7, 53, 103, 0.08);
  --radius: 14px;

  --font: 'Tajawal', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

/* Dark mode is built from the logo, as in the app: brand blue page, navy surfaces. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #073567;
    --bg-alt: #0a4179;
    --surface: #0f4c8a;
    --border: #1d5a97;
    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.78);
    --heading: #ffffff;
    --link: #8cc2f7;
    --primary-fill: #1f74d1;
    --primary-fill-hover: #2a82e0;
    --icon-bg: rgba(3, 252, 208, 0.14);
    --icon-color: #03fcd0;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #073567;
  --bg-alt: #0a4179;
  --surface: #0f4c8a;
  --border: #1d5a97;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --heading: #ffffff;
  --link: #8cc2f7;
  --primary-fill: #1f74d1;
  --primary-fill-hover: #2a82e0;
  --icon-bg: rgba(3, 252, 208, 0.14);
  --icon-color: #03fcd0;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  color: var(--heading);
  line-height: 1.25;
  margin: 0 0 0.5em;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

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

img {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 768px) {
  .container {
    padding-inline: 24px;
  }
}

/* CoreUI icons, drawn from the inline sprite */
.ic {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: currentColor;
  vertical-align: middle;
}
[dir='rtl'] .flip-rtl {
  transform: scaleX(-1);
}

/* Visibility helpers for the two themes and languages */
.show-dark,
.brand-icon-dark {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .show-dark,
  :root:not([data-theme='light']) .brand-icon-dark {
    display: inline-block;
  }
  :root:not([data-theme='light']) .show-light,
  :root:not([data-theme='light']) .brand-icon-light {
    display: none !important;
  }
}
:root[data-theme='dark'] .show-dark,
:root[data-theme='dark'] .brand-icon-dark {
  display: inline-block;
}
:root[data-theme='dark'] .show-light,
:root[data-theme='dark'] .brand-icon-light {
  display: none !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.65em 1.25em;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-sm {
  padding: 0.5em 1em;
  font-size: 0.9rem;
}
.btn-lg {
  padding: 0.85em 1.6em;
  font-size: 1.05rem;
}
.btn-primary {
  background: var(--primary-fill);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-fill-hover);
}
.btn-ghost {
  background: transparent;
  color: var(--heading);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--link);
  color: var(--link);
}
.btn-accent {
  background: var(--accent);
  color: var(--brand-dark);
}
.btn-accent:hover {
  background: #5ffde1;
}
.btn-on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-on-dark:hover {
  border-color: var(--accent);
  color: var(--accent);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  height: 40px;
  padding: 0 0.75em;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}
.icon-btn:hover {
  border-color: var(--link);
  color: var(--link);
}
.icon-only {
  width: 40px;
  padding: 0;
  justify-content: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}
.brand-icon {
  width: 36px;
  height: 36px;
}
.brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand-name b {
  color: var(--heading);
}
.brand-name em {
  font-style: normal;
  color: var(--info);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-inline-start: auto;
}
.main-nav a {
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}
.main-nav a:hover {
  color: var(--link);
}
.main-nav .nav-cta {
  display: none;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.menu-btn {
  display: none;
}

/* The links need about 1100px in Arabic on one line; below that they go into the menu. */
@media (max-width: 1180px) {
  .header-row {
    gap: 0.75rem;
  }
  .menu-btn {
    display: inline-flex;
  }
  .header-actions {
    margin-inline-start: auto;
  }
  .main-nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 16px 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }
  .main-nav a:last-child,
  .main-nav .nav-signin {
    border-bottom: 0;
  }
}
@media (max-width: 560px) {
  .header-cta,
  #lang-toggle span {
    display: none;
  }
  .main-nav .nav-cta {
    display: flex;
    margin-top: 0.75rem;
    padding: 0.75rem 1.25rem;
    border-bottom: 0;
    color: #fff;
  }
  #lang-toggle {
    width: 40px;
    padding: 0;
    justify-content: center;
  }
  .brand-name {
    font-size: 1.1rem;
  }
}

/* Hero */
.hero {
  padding: 4.5rem 0 5rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(3, 252, 208, 0.18), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(11, 85, 164, 0.18), transparent 45%),
    var(--bg-alt);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: center;
}
.hero-grid > * {
  min-width: 0;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.3em 0.9em;
  border-radius: 999px;
  background: var(--icon-bg);
  color: var(--icon-color);
  font-size: 0.875rem;
  font-weight: 700;
}
.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  margin-bottom: 1rem;
}
.hero h1 .hl {
  color: var(--brand);
  background: linear-gradient(transparent 62%, rgba(3, 252, 208, 0.45) 62%);
}
:root[data-theme='dark'] .hero h1 .hl {
  color: var(--accent);
  background: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .hero h1 .hl {
    color: var(--accent);
    background: none;
  }
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1.5rem;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 500;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.hero-points .ic {
  color: var(--info);
}

/* App sketch in the hero */
.mock {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -20px rgba(7, 53, 103, 0.35);
  overflow: hidden;
  font-size: 0.8rem;
}
.mock-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.mock-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.mock-body {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  min-height: 330px;
}
.mock-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.8);
}
.mock-side img {
  width: 28px;
  height: 28px;
  margin: 0 14px 12px;
}
.mock-side span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-inline-start: 3px solid rgba(255, 255, 255, 0.12);
}
.mock-side span b {
  font-weight: 500;
}
.mock-side span.active {
  color: var(--accent);
  background: rgba(3, 252, 208, 0.2);
  border-inline-start-color: var(--accent);
}
.mock-side span.active b {
  font-weight: 700;
}
.mock-main {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: var(--bg-alt);
  align-content: start;
}
.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.kpi,
.mock-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
}
.kpi {
  display: flex;
  align-items: center;
  gap: 8px;
}
.kpi small,
.mock-panel small {
  display: block;
  color: var(--muted);
  line-height: 1.3;
}
.kpi strong {
  display: block;
  font-size: 1.05rem;
  color: var(--heading);
}
.kpi-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex: none;
}
.k-blue {
  background: rgba(11, 85, 164, 0.14);
  color: #0b55a4;
}
.k-teal {
  background: rgba(3, 201, 166, 0.16);
  color: #03a88b;
}
.k-warn {
  background: rgba(249, 177, 21, 0.18);
  color: #c98a00;
}
:root[data-theme='dark'] .k-blue {
  color: #8cc2f7;
}
:root[data-theme='dark'] .k-teal {
  color: var(--accent);
}
:root[data-theme='dark'] .k-warn {
  color: var(--warning);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .k-blue {
    color: #8cc2f7;
  }
  :root:not([data-theme='light']) .k-teal {
    color: var(--accent);
  }
  :root:not([data-theme='light']) .k-warn {
    color: var(--warning);
  }
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 92px;
  margin-top: 8px;
}
.bars i {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, var(--brand), #2f7fd3);
}
.bars i:last-child {
  background: linear-gradient(to top, var(--info), var(--accent));
}
.mock-list p {
  display: flex;
  justify-content: space-between;
  margin: 6px 0 0;
  padding-top: 6px;
  border-top: 1px solid var(--border);
  color: var(--text);
}
.mock-list p b {
  color: var(--heading);
}

@media (max-width: 960px) {
  .hero {
    padding: 3rem 0 3.5rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .mock-body {
    grid-template-columns: 1fr;
  }
  .mock-side {
    display: none;
  }
  .kpi {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}
.section-head p {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0;
}
@media (max-width: 760px) {
  .section {
    padding: 3.5rem 0;
  }
  .section-head {
    margin-bottom: 2rem;
  }
}

.grid {
  display: grid;
  gap: 1.25rem;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 960px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.card:hover {
  border-color: color-mix(in srgb, var(--link) 45%, var(--border));
  box-shadow: var(--shadow);
}
.card h3 {
  font-size: 1.15rem;
}
.card p {
  color: var(--muted);
  margin: 0;
}

.feature-icon,
.biz-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  background: var(--icon-bg);
  color: var(--icon-color);
}
.feature-icon .ic,
.biz-icon .ic {
  width: 1.5rem;
  height: 1.5rem;
}

.biz {
  display: flex;
  flex-direction: column;
}
.biz-icon {
  background: var(--brand);
  color: var(--accent);
}
.checks {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.6rem;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 500;
}
.checks .ic {
  color: var(--info);
}

/* Offline band */
.section-brand {
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(3, 252, 208, 0.16), transparent 40%),
    linear-gradient(135deg, var(--brand-dark), #0b4a8f);
}
.section-brand h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}
.section-brand .lead {
  color: rgba(255, 255, 255, 0.82);
}
.eyebrow-on-dark {
  background: rgba(3, 252, 208, 0.16);
  color: var(--accent);
}
.offline-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}
.offline-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 1.5rem;
  display: grid;
  gap: 1.25rem;
}
.offline-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.offline-list > li > .ic {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.55rem;
  border-radius: 0.6rem;
  background: rgba(3, 252, 208, 0.14);
  color: var(--accent);
}
.offline-list b {
  display: block;
  font-size: 1.05rem;
}
.offline-list span {
  color: rgba(255, 255, 255, 0.78);
}
.note {
  display: inline-block;
  margin: 0;
  padding: 0.4em 0.9em;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.sync-visual {
  display: grid;
  justify-items: center;
  gap: 0;
}
.node {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.25rem;
  width: min(100%, 300px);
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.node small {
  color: rgba(255, 255, 255, 0.72);
}
.node-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 0.4rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.12);
}
.node-icon .ic {
  width: 1.75rem;
  height: 1.75rem;
}
.node-accent {
  border-color: rgba(3, 252, 208, 0.55);
}
.node-accent .node-icon {
  background: var(--accent);
  color: var(--brand-dark);
}
.link-line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--accent) 0 6px, transparent 6px 12px);
}
.link-line .ic {
  position: absolute;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.45rem;
  border-radius: 50%;
  background: var(--brand-dark);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  animation: spin 6s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .link-line .ic {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
@media (max-width: 960px) {
  .offline-grid {
    grid-template-columns: 1fr;
  }
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: none;
}
.step {
  position: relative;
}
.step-num {
  position: absolute;
  top: 1.25rem;
  inset-inline-end: 1.25rem;
  font-family: 'Inter', var(--font);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--icon-bg);
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--icon-color) 35%, transparent);
}
.step-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  color: var(--icon-color);
}
@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Plans */
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan h3 {
  font-size: 1.3rem;
  margin-bottom: 0.15em;
}
.plan .checks {
  flex: 1;
  margin-bottom: 1.5rem;
}
.plan .checks li {
  align-items: flex-start;
  font-weight: 400;
  color: var(--text);
}
.plan .checks .ic {
  margin-top: 0.2em;
}
.plan-featured {
  border: 2px solid var(--primary-fill);
  box-shadow: 0 0 0 0.25rem rgba(11, 85, 164, 0.12);
}
.plan-badge {
  position: absolute;
  top: -0.8rem;
  inset-inline-start: 1.25rem;
  padding: 0.15em 0.8em;
  border-radius: 999px;
  background: var(--accent);
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.faq-item[open] {
  border-color: color-mix(in srgb, var(--link) 45%, var(--border));
  box-shadow: var(--shadow);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--heading);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-chevron {
  color: var(--icon-color);
  transition: transform 0.2s;
}
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}
.faq-item p {
  margin: 0;
  padding: 0 1.5rem 1.25rem;
  color: var(--muted);
}
@media (max-width: 560px) {
  .faq-item summary {
    padding: 1rem 1.1rem;
  }
  .faq-item p {
    padding: 0 1.1rem 1.1rem;
  }
}

/* Contact us */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}
.contact-card {
  flex: 1 1 220px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: inherit;
}
.contact-card[hidden] {
  display: none;
}
.contact-card h3 {
  margin-bottom: 0.25rem;
}
.contact-value {
  font-weight: 600;
  color: var(--heading);
  overflow-wrap: anywhere;
}
.contact-address {
  white-space: pre-line;
  font-weight: 500;
  color: var(--muted);
}
.contact-action {
  margin-top: 0.75rem;
  color: var(--link);
  font-weight: 600;
  font-size: 0.95rem;
}
.contact-icon-wa {
  background: rgba(37, 211, 102, 0.14);
  color: #1da851;
}
:root[data-theme='dark'] .contact-icon-wa {
  color: #4be38a;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .contact-icon-wa {
    color: #4be38a;
  }
}
@media (max-width: 600px) {
  .contact-card {
    max-width: none;
  }
}
.contact-fallback {
  text-align: center;
  color: var(--muted);
  margin: 0;
}

/* Call to action */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 90%, rgba(3, 252, 208, 0.22), transparent 45%),
    linear-gradient(135deg, var(--brand), var(--brand-dark));
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (max-width: 560px) {
  .cta-band {
    padding: 1.75rem 1.25rem;
  }
  .cta-actions,
  .cta-actions .btn {
    width: 100%;
  }
}

/* App downloads: store-style badges, navy in both themes */
.apps-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 1.25rem;
}
.apps-band-copy {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 22rem;
}
.apps-band-copy .feature-icon {
  margin-bottom: 0;
}
.apps-band h3 {
  margin: 0 0 0.25rem;
}
.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 10.5rem;
  padding: 0.5rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #041a31;
  color: #fff;
  line-height: 1.15;
  text-align: start;
  transition: border-color 0.15s, transform 0.15s;
}
.app-badge:not(.is-soon):hover,
.app-badge:not(.is-soon):focus-visible {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.app-badge .app-badge-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
}
.app-badge-text {
  display: flex;
  flex-direction: column;
}
.app-badge-text small {
  font-size: 0.72rem;
  opacity: 0.75;
}
.app-badge-text b {
  font-size: 0.95rem;
}
.app-badge-soon {
  display: none;
  margin-inline-start: auto;
  padding: 0.2em 0.6em;
  border-radius: 999px;
  background: rgba(3, 252, 208, 0.14);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}
.app-badge.is-soon {
  cursor: default;
}
.app-badge.is-soon .app-badge-soon {
  display: inline-block;
}
.app-badges-footer {
  margin-top: 1.25rem;
}
.app-badges-footer .app-badge {
  background: rgba(255, 255, 255, 0.06);
}
@media (max-width: 560px) {
  .app-badges,
  .app-badge {
    width: 100%;
  }
}

/* Footer: always navy, in both themes */
.site-footer {
  --footer-bg: #041a31;
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 28px;
}
.site-footer a {
  color: inherit;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-top:has(> #footer-contacts:not([hidden])) {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-brand img {
  width: 40px;
  height: 40px;
}
.site-footer .brand-name b {
  color: #fff;
}
.site-footer .brand-name em {
  color: var(--accent);
}
.footer-about p {
  margin: 14px 0 0;
  max-width: 360px;
  font-size: 15px;
}
.site-footer h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 15px;
}
.site-footer ul a:hover,
.footer-contact-list a:hover {
  color: var(--accent);
}
#footer-contacts[hidden] {
  display: none;
}
.footer-contact-list {
  display: grid;
  gap: 8px;
  font-size: 15px;
}
.footer-contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  justify-self: start;
}
.footer-contact-list a[hidden] {
  display: none;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.footer-social[hidden],
.footer-social a[hidden] {
  display: none;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transition: color 0.15s, border-color 0.15s;
}
.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}
.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.powered {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer .powered a {
  color: var(--accent);
  font-weight: 600;
}
.powered a:hover {
  text-decoration: underline;
}
@media (max-width: 960px) {
  .footer-top,
  .footer-top:has(> #footer-contacts:not([hidden])) {
    grid-template-columns: 1fr 1fr;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
}
@media (max-width: 560px) {
  .footer-top,
  .footer-top:has(> #footer-contacts:not([hidden])) {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.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;
}
