/* TinTin marketing / downloads page */

:root {
  --navy-900: #0c1f33;
  --navy-800: #142e4a;
  --navy-700: #1c3d5f;
  --green-600: #3d6b1e;
  --green-700: #345c19;
  --green-brand: #5da130;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #eef4e9;
  --text: #16233a;
  --text-muted: #55647a;
  --border: #e3e9dd;
  --shadow-sm: 0 1px 2px rgba(12, 31, 51, 0.06);
  --shadow-md: 0 8px 24px rgba(12, 31, 51, 0.08);
  --shadow-lg: 0 20px 48px rgba(12, 31, 51, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  color: var(--text);
  line-height: 1.2;
  margin: 0;
}

a {
  color: inherit;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-800);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--green-600);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-600);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700 !important;
  white-space: nowrap;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--green-700);
  color: #fff !important;
}

@media (max-width: 640px) {
  .main-nav a:not(.nav-cta) {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
  min-height: 44px;
}

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

.btn-primary {
  background: var(--green-600);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--green-700);
  box-shadow: var(--shadow-lg);
}

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

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--green-600);
  color: var(--green-600);
}

.btn-disabled {
  background: var(--surface-alt);
  color: var(--text-muted);
  cursor: not-allowed;
  border-color: var(--border);
}

.btn-disabled:hover {
  transform: none;
}

/* Hero */
.hero {
  padding: 64px 0 56px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
  .hero {
    padding: 96px 0 80px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-alt);
  color: var(--green-600);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--green-600);
}

.hero p.lede {
  margin-top: 18px;
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--green-600);
}

/* Hero visual: real app screen mockup.
   Colors below are the app's actual Material theme tokens
   (mobile/lib/app/theme.dart), not the marketing palette above, so these
   mockups read as genuine screenshots rather than reskinned illustrations. */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mock {
  --app-navy: #13294b;
  --app-green: #2e7d32;
  --app-warning: #f57c00;
  --app-danger: #d32f2f;
  --app-outline: #e8e8e8;
  --app-fill: #f2f2f2;
  --app-text: #1a1a1a;
  --app-text2: #757575;
  --app-text3: #9e9e9e;
  width: min(280px, 78vw);
  background: #0a0a0a;
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
  flex: none;
}

.phone-mock::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  border-radius: 0 0 16px 16px;
  background: #0a0a0a;
  z-index: 2;
}

.phone-screen {
  background: #fff;
  border-radius: 32px;
  height: 560px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: "Inter", sans-serif;
  color: var(--app-text);
}

.showcase-item .phone-mock {
  width: min(260px, 76vw);
}

.showcase-item .phone-screen {
  height: 520px;
}

/* Status bar */
.status-bar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px 2px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--app-text);
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-icons svg {
  display: block;
}

/* App bar */
.app-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
}

.app-bar svg {
  width: 19px;
  height: 19px;
  color: var(--app-text);
  flex: none;
}

.app-bar-title {
  flex: 1;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--app-text);
}

.app-bar-fab {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--app-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.app-bar-fab svg {
  width: 14px;
  height: 14px;
  color: #fff;
}

.app-bar-badge-wrap {
  position: relative;
  flex: none;
}

.app-bar-badge {
  position: absolute;
  top: -5px;
  right: -6px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--app-green);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Screen body */
.screen-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 4px 14px 0;
  display: flex;
  flex-direction: column;
}

.mock-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--app-fill);
  border-radius: 10px;
  padding: 9px 12px;
  color: var(--app-text3);
  font-size: 0.74rem;
  margin-bottom: 10px;
  flex: none;
}

.mock-search svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--app-text2);
}

.mock-search .scan-icon {
  margin-left: auto;
}

.mock-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex: none;
}

.mock-tab {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--app-fill);
  color: var(--app-text2);
  white-space: nowrap;
}

.mock-tab.active {
  background: var(--app-navy);
  color: #fff;
}

.mock-product {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--app-outline);
  border-radius: 12px;
  margin-bottom: 8px;
  flex: none;
}

.mock-swatch {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex: none;
  background: var(--app-fill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--app-text2);
}

.mock-swatch svg {
  width: 17px;
  height: 17px;
}

.mock-info {
  flex: 1;
  min-width: 0;
}

.mock-info .name {
  font-weight: 600;
  font-size: 0.76rem;
  color: var(--app-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-info .qty {
  font-size: 0.66rem;
  color: var(--app-text2);
}

.mock-price-col {
  text-align: right;
  flex: none;
}

.mock-price {
  font-weight: 700;
  font-size: 0.76rem;
  color: var(--app-text);
  white-space: nowrap;
}

.mock-stock {
  font-size: 0.64rem;
  font-weight: 600;
  white-space: nowrap;
}

.mock-stock.ok {
  color: var(--app-green);
}

.mock-stock.low {
  color: var(--app-danger);
}

/* Dashboard (hero) */
.mock-dash-card {
  background: var(--app-navy);
  border-radius: 14px;
  padding: 14px 16px;
  color: #fff;
  margin-bottom: 14px;
  flex: none;
}

.mock-dash-card .label {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.65);
}

.mock-dash-card .amount-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 12px;
}

.mock-dash-card .amount {
  font-size: 1.3rem;
  font-weight: 800;
}

.mock-dash-card .delta {
  background: rgba(46, 125, 50, 0.35);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
}

.mock-dash-card .mini-stats {
  display: flex;
  gap: 10px;
}

.mock-dash-card .mini-stat {
  flex: 1;
}

.mock-dash-card .mini-stat .mlabel {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.6);
}

.mock-dash-card .mini-stat .mvalue {
  font-size: 0.76rem;
  font-weight: 700;
  margin-top: 2px;
}

.mock-section-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--app-text);
  margin-bottom: 8px;
  flex: none;
}

.mock-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mock-quick-tile {
  min-width: 0;
  border: 1px solid var(--app-outline);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-quick-tile .qicon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.mock-quick-tile .qicon svg {
  width: 16px;
  height: 16px;
}

.mock-quick-tile .qicon.green {
  background: rgba(46, 125, 50, 0.1);
  color: var(--app-green);
}

.mock-quick-tile .qicon.navy {
  background: rgba(19, 41, 75, 0.08);
  color: var(--app-navy);
}

.mock-quick-tile .qtext {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.mock-quick-tile .qtext .qtitle,
.mock-quick-tile .qtext .qsub {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-quick-tile .qtext .qtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--app-text);
}

.mock-quick-tile .qtext .qsub {
  font-size: 0.6rem;
  color: var(--app-text2);
}

/* Sell: quick items strip + cart panel */
.mock-quick-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex: none;
}

.mock-quick-label-row .lbl {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--app-text);
}

.mock-quick-label-row .edit {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--app-green);
}

.mock-quick-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex: none;
}

.mock-quick-card {
  flex: 1;
  border: 1px solid var(--app-outline);
  border-radius: 10px;
  padding: 8px;
  text-align: center;
}

.mock-quick-card .qicon {
  width: 26px;
  height: 26px;
  margin: 0 auto 6px;
  border-radius: 7px;
  background: rgba(19, 41, 75, 0.08);
  color: var(--app-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-quick-card .qicon svg {
  width: 14px;
  height: 14px;
}

.mock-quick-card .qname {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--app-text);
}

.mock-quick-card .qprice {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--app-green);
  margin-top: 2px;
}

.mock-cart-panel {
  margin-top: auto;
  margin-inline: -14px;
  background: var(--app-navy);
  border-radius: 18px 18px 0 0;
  padding: 12px 14px 14px;
  color: #fff;
  flex: none;
}

.mock-cart-panel .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.mock-cart-panel .row .lbl {
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.7);
}

.mock-cart-panel .row .amt {
  font-size: 1rem;
  font-weight: 700;
}

.mock-cart-panel .actions {
  display: flex;
  gap: 8px;
}

.mock-cart-panel .actions .clear {
  flex: 1;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  padding: 7px;
  font-size: 0.68rem;
  font-weight: 600;
}

.mock-cart-panel .actions .checkout {
  flex: 1.4;
  text-align: center;
  background: var(--app-green);
  border-radius: 8px;
  padding: 7px;
  font-size: 0.68rem;
  font-weight: 700;
}

/* Reports */
.mock-pills {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex: none;
}

.mock-pill {
  font-size: 0.64rem;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--app-outline);
  color: var(--app-text2);
  white-space: nowrap;
}

.mock-pill.active {
  background: var(--app-green);
  border-color: var(--app-green);
  color: #fff;
}

.mock-range {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--app-fill);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--app-text);
  margin-bottom: 12px;
  flex: none;
}

.mock-range svg {
  width: 9px;
  height: 9px;
}

.mock-report-label {
  font-size: 0.66rem;
  color: var(--app-text2);
  flex: none;
}

.mock-report-amount {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--app-text);
  margin: 2px 0 12px;
  flex: none;
}

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
  margin-bottom: 10px;
  flex: none;
}

.mock-chart .bar {
  flex: 1;
  background: var(--app-fill);
  border-radius: 4px 4px 0 0;
}

.mock-chart .bar.active {
  background: var(--app-green);
}

.stat-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex: none;
}

.stat-chip {
  flex: 1;
  border: 1px solid var(--app-outline);
  border-radius: 10px;
  padding: 8px 10px;
}

.stat-chip .label {
  font-size: 0.6rem;
  color: var(--app-text2);
}

.stat-chip .value {
  font-weight: 700;
  font-size: 0.8rem;
  margin-top: 2px;
  color: var(--app-text);
}

.mock-ranked {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  flex: none;
}

.mock-ranked .rank {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--app-fill);
  color: var(--app-text2);
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.mock-ranked .name {
  flex: 1;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--app-text);
}

.mock-ranked .count {
  font-size: 0.66rem;
  color: var(--app-text2);
}

/* Bottom nav */
.bottom-nav-mock {
  flex: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 8px 6px 10px;
  border-top: 1px solid var(--app-outline);
  position: relative;
}

.bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--app-text3);
}

.bn-item svg {
  width: 17px;
  height: 17px;
}

.bn-item span {
  font-size: 0.52rem;
  font-weight: 600;
}

.bn-item.active {
  color: var(--app-navy);
}

.bn-sell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transform: translateY(-14px);
}

.bn-sell .fab {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--app-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.45);
}

.bn-sell .fab svg {
  width: 17px;
  height: 17px;
  color: #fff;
}

.bn-sell span {
  font-size: 0.52rem;
  font-weight: 700;
  color: var(--app-navy);
}

/* Screens showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 860px) {
  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
  }
}

.showcase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.showcase-item .phone-mock {
  margin-bottom: 24px;
}

.showcase-item h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.showcase-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 30ch;
  margin: 0;
}

/* Section scaffolding */
section {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head .eyebrow {
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 800;
}

.section-head p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Promise */
.promise-band {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.promise-band .eyebrow {
  margin-bottom: 16px;
}

.promise-band h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.promise-band h2 span {
  color: var(--green-600);
}

.promise-band > p {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.promise-band > p.promise-tagline {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-800);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--surface-alt);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* Why band */
.why-band {
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  margin: 0 20px;
  max-width: 1080px;
  margin-inline: auto;
  display: grid;
  gap: 32px;
}

@media (min-width: 860px) {
  .why-band {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 56px 64px;
  }
}

.why-band h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.why-band p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 14px;
  font-size: 1.02rem;
}

.why-quote {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 24px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
}

.why-quote .accent {
  color: #8ed15c;
}

.workflow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.workflow span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.workflow svg {
  width: 14px;
  height: 14px;
  margin-left: 6px;
  vertical-align: -2px;
  opacity: 0.6;
}

/* Download section */
.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
  display: grid;
  gap: 32px;
}

@media (min-width: 860px) {
  .download-card {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 48px 56px;
  }
}

.download-info .version-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-alt);
  color: var(--green-600);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.download-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.download-info p {
  color: var(--text-muted);
  max-width: 48ch;
}

.download-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.download-specs strong {
  color: var(--text);
}

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 260px;
}

.apk-btn {
  padding: 18px 28px;
  font-size: 1.1rem;
}

.apk-btn small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  opacity: 0.85;
}

.install-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.install-hint a {
  color: var(--green-600);
  font-weight: 600;
  text-decoration: underline;
}

/* Store badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  justify-content: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text-muted);
  min-width: 190px;
}

.store-badge svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.store-badge .store-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-badge .store-copy .small {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.store-badge .store-copy .big {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.store-badge .soon-tag {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--border);
  padding: 3px 8px;
  border-radius: 999px;
}

.no-build-yet {
  text-align: center;
  padding: 40px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
}

/* FAQ / footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

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

.footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--green-600);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
