/* B86 Solutions — Tomorro-inspired design system */
:root {
  --bg: #f2f5eb;
  --bg-white: #ffffff;
  --bg-cream: #fdf5c4;
  --bg-dark: #122314;
  --bg-dark-soft: #273f2b;
  --text: #122314;
  --text-secondary: #4a5c4e;
  --text-muted: #6b7c6f;
  --text-inverse: #ffffff;
  --accent: #ff812d;
  --accent-hover: #f06400;
  --accent-purple: #5f3cf6;
  --accent-green: #68ef3f;
  --border: #d9deca;
  --border-light: #e8ebe2;
  --shadow-sm: 0 2px 8px rgba(18, 35, 20, 0.06);
  --shadow-md: 0 12px 40px rgba(18, 35, 20, 0.1);
  --shadow-lg: 0 24px 64px rgba(18, 35, 20, 0.14);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --max-width: 1200px;
  --header-height: 72px;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.container {
  width: min(100% - 48px, var(--max-width));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 48px, 760px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Announcement bar */
.announcement-bar {
  background: var(--bg-dark);
  color: var(--text-inverse);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 500;
}

.announcement-bar a {
  color: var(--accent-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 245, 235, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand:hover {
  opacity: 0.85;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-dark);
  color: var(--accent-green);
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(18, 35, 20, 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--bg-dark);
  color: var(--text-inverse);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--bg-dark-soft);
  color: var(--text-inverse);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: #fff;
}

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

.btn-secondary:hover {
  background: var(--bg-white);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 12px 16px;
}

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

.btn-sm {
  padding: 9px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* Hero — Tomorro centered style */
.hero-tomorro {
  padding: 64px 0 48px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-cream);
  color: var(--bg-dark-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-tomorro h1 {
  margin: 0 auto 20px;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-tomorro .hero-sub {
  margin: 0 auto 32px;
  max-width: 52ch;
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.65;
}

.hero-tomorro .hero-sub strong {
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

/* Trust logos */
.trust-section {
  padding: 32px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.trust-label {
  margin: 0 0 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 48px;
  opacity: 0.55;
}

.logo-strip span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: -0.02em;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-label {
  display: block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.section-head {
  margin-bottom: 48px;
}

.section-head.centered {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.section-head h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
}

.section-head p strong {
  color: var(--text);
  font-weight: 600;
}

/* Feature spotlight */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.spotlight-reverse {
  direction: rtl;
}

.spotlight-reverse > * {
  direction: ltr;
}

.spotlight-visual {
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  padding: 32px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.spotlight-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(104, 239, 63, 0.12), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 129, 45, 0.1), transparent 45%);
}

.ui-mock {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 20px;
}

.ui-mock-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.ui-mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.ui-mock-line {
  height: 10px;
  border-radius: 4px;
  background: var(--border-light);
  margin-bottom: 10px;
}

.ui-mock-line.accent {
  background: linear-gradient(90deg, var(--accent-green), var(--accent));
  width: 70%;
}

.ui-mock-card {
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  margin-top: 12px;
}

.spotlight-content h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.spotlight-content p {
  margin: 0 0 20px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.spotlight-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.spotlight-links a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--bg-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.spotlight-links a:hover {
  color: var(--accent);
}

/* Feature pills */
.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 32px 0 48px;
}

.feature-pill-tag {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-white);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.feature-pill-tag.active {
  background: var(--bg-dark);
  color: var(--text-inverse);
  border-color: var(--bg-dark);
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 560px;
  margin: 0 auto 16px;
}

.stat-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
}

.stat-card .number {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--text);
  margin-bottom: 8px;
}

.stat-card .label {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.stat-footnote {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* Tabs lifecycle */
.tabs-section {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.tab-btn.active {
  background: var(--bg-dark);
  color: var(--text-inverse);
  border-color: var(--bg-dark);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.lifecycle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.lifecycle-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.lifecycle-grid h3 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
}

.feature-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Belief band */
.belief-band {
  background: var(--bg-dark);
  color: var(--text-inverse);
  text-align: center;
  padding: 80px 0;
}

.belief-band .section-label {
  color: rgba(255, 255, 255, 0.5);
}

.belief-band h2 {
  margin: 0 auto 16px;
  max-width: 20ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
}

.belief-band h2 em {
  font-style: italic;
  color: var(--accent-green);
}

.belief-band p {
  margin: 0 auto 28px;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

.belief-band .btn-secondary {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-inverse);
}

.belief-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-inverse);
}

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-card {
  padding: 32px 28px;
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.team-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
}

.team-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Security */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.security-cards {
  display: grid;
  gap: 16px;
}

.security-card {
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
}

.security-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
}

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

/* Testimonials */
.testimonials {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
}

.testimonial-slider {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.45;
  color: var(--text);
  margin: 0 0 28px;
  font-style: italic;
}

.testimonial-author strong {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.testimonial-author span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
}

.testimonial-dot.active {
  background: var(--bg-dark);
  width: 24px;
  border-radius: 4px;
}

/* App showcase */
.app-showcase {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  padding: 36px;
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.app-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: var(--bg-dark);
  color: var(--accent-green);
  display: grid;
  place-items: center;
  font-size: 2.2rem;
}

.app-showcase h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
}

.app-showcase p {
  margin: 0 0 18px;
  color: var(--text-secondary);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-dark);
  color: var(--text-inverse);
  font-size: 0.85rem;
}

.store-badge strong {
  display: block;
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 80px 48px;
  border-radius: var(--radius-xl);
  background: var(--bg-dark);
  color: var(--text-inverse);
}

.cta-band h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.1;
}

.cta-band h2 em {
  font-style: italic;
  color: var(--accent-green);
}

.cta-band p {
  margin: 0 auto 28px;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.7);
}

.cta-band .btn-accent {
  font-size: 1rem;
}

/* Card grid (services) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  padding: 28px 24px;
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--bg-cream);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

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

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Legal / prose pages */
.page-hero {
  padding: 56px 0 32px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.page-hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.page-hero .meta {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.prose {
  padding: 48px 0 80px;
  max-width: 760px;
}

.prose h2 {
  margin: 36px 0 12px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 24px 0 8px;
  font-size: 1.1rem;
  font-weight: 600;
}

.prose p,
.prose li {
  color: var(--text-secondary);
}

.prose a {
  color: var(--bg-dark-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:hover {
  color: var(--accent);
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: var(--max-width);
}

.contact-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
}

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

.contact-card a {
  color: var(--bg-dark-soft);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 32px;
}

.site-footer .brand {
  color: var(--text-inverse);
}

.site-footer .brand-mark {
  background: rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-grid h4 {
  margin: 0 0 16px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li + li {
  margin-top: 10px;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-grid a:hover {
  color: var(--text-inverse);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

/* Cinema Box hero variant */
.phone-mock {
  width: min(100%, 280px);
  margin-inline: auto;
  padding: 12px;
  border-radius: 32px;
  background: var(--bg-dark);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.phone-screen {
  border-radius: 24px;
  overflow: hidden;
  background: #0a0a0a;
  aspect-ratio: 9 / 19;
  display: grid;
  place-items: center;
  padding: 20px;
}

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

.mock-poster {
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
}

.mock-poster.accent {
  background: linear-gradient(160deg, rgba(104, 239, 63, 0.3), #141414);
}

/* Cinema Box — MovieRulz-style sections */
.hero-cinema .hero-tomorro h1 {
  max-width: 22ch;
}

.hero-lead-extra {
  margin: 0 auto 28px;
  max-width: 56ch;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.highlight-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: -16px;
}

.highlight-card {
  padding: 32px 28px;
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  text-align: left;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.highlight-card .icon {
  font-size: 1.75rem;
  margin-bottom: 16px;
  display: block;
}

.highlight-card h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.highlight-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.top-ten-section {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.top-ten-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.top-ten-tabs {
  margin-bottom: 0;
}

.top-ten-updated {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.top-ten-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-xl);
  background: var(--bg);
  border: 1px dashed var(--border);
  color: var(--text-secondary);
}

.top-ten-error p {
  margin: 0 0 16px;
}

.top-ten-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.poster-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border-light);
  aspect-ratio: 2 / 3;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-card .rank {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--accent-green);
  font-size: 0.78rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.poster-card .title {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 10px 10px;
  background: linear-gradient(transparent, rgba(18, 35, 20, 0.92));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
}

.poster-card .media-type {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(18, 35, 20, 0.82);
  color: var(--accent-green);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.poster-card.is-loading {
  background: linear-gradient(110deg, var(--bg) 8%, #e8ebe2 18%, var(--bg) 33%);
  background-size: 200% 100%;
  animation: poster-shimmer 1.2s linear infinite;
}

.poster-card.is-loading .rank {
  opacity: 0.5;
}

@keyframes poster-shimmer {
  to {
    background-position-x: -200%;
  }
}

.tmdb-credit {
  margin: 20px 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.tmdb-credit a {
  color: var(--bg-dark-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tool-card {
  padding: 32px 28px;
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: box-shadow 0.2s ease;
}

.tool-card:hover {
  box-shadow: var(--shadow-md);
}

.tool-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.tool-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.steps-section {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  text-align: center;
  padding: 0 12px;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-cream);
  color: var(--bg-dark);
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.step-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.step-card .btn {
  margin-top: 16px;
}

.disclaimer-note {
  max-width: 52ch;
  margin: 32px auto 0;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-cream);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.55;
}

.app-icon img,
.brand-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.brand .brand-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.hero-app-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-icon-img {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.app-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid,
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 900px) {
  .spotlight,
  .lifecycle-grid,
  .security-grid,
  .app-showcase {
    grid-template-columns: 1fr;
  }

  .spotlight-reverse {
    direction: ltr;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--border-light);
  }

  .site-nav.is-open {
    display: flex;
  }

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

@media (max-width: 600px) {
  .card-grid,
  .contact-grid,
  .stats-row,
  .footer-grid,
  .highlight-trio,
  .tools-grid,
  .steps-grid,
  .top-ten-grid {
    grid-template-columns: 1fr;
  }

  .hero-tomorro {
    padding-top: 40px;
  }

  .cta-band {
    padding: 48px 24px;
  }

  section {
    padding: 56px 0;
  }
}
