﻿/*
 * TechInfo Academy — Unified Design System
 * Covers: English store, Arabic blog, services, legal pages.
 * RTL-aware, responsive, accessible.
 */

/* ------------------------------------------------------------
   Design tokens
   ------------------------------------------------------------ */
:root {
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-soft: #f1f5f9;
  --accent: #1e3a8a;
  --accent-hover: #1e40af;
  --accent-soft: #eff6ff;
  --success: #059669;
  --max-width: 1200px;
  --max-width-article: 780px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 4px 14px rgba(15, 23, 42, 0.05);
  --shadow-elevated: 0 20px 40px rgba(15, 23, 42, 0.08);
  --transition: 0.3s ease;
  --header-height: 80px;
  --nav-item-padding: 0.75rem 1.25rem;
}

/* ------------------------------------------------------------
   Base
   ------------------------------------------------------------ */
* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Nunito', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------
   Layout
   ------------------------------------------------------------ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

main {
  min-height: 60vh;
}

.section {
  padding: 4rem 0;
}

@media (max-width: 640px) {
  .section {
    padding: 3rem 0;
  }
}

/* ------------------------------------------------------------
   Header & navigation - modern corporate layout
   ------------------------------------------------------------ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(25px) saturate(190%);
  -webkit-backdrop-filter: blur(25px) saturate(190%);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  padding: 15px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 1rem 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
}

@media (min-width: 768px) {
  .header-inner {
    padding: 1.1rem 2.5rem;
    gap: 4rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  position: relative;
}

.logo-mark {
  width: auto;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
}

.logo-text {
  font-weight: 800;
  color: var(--text);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.logo img {
  width: auto;
  height: 48px;
  border-radius: var(--radius-sm);
  display: block;
  flex-shrink: 0;
}

nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

nav a {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.925rem;
  font-weight: 500;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-decoration: none;
  letter-spacing: -0.01em;
}

nav a:hover {
  color: var(--accent);
  background: rgba(30, 58, 138, 0.06);
  text-decoration: none;
}

nav a[aria-current="page"],
nav .active {
  color: var(--accent);
  font-weight: 800;
  background: rgba(30, 58, 138, 0.08);
}

.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.35);
}

.nav-lang:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.45);
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
  }

  nav a {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
  }

  .nav-lang {
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
    padding: 0.6rem 1rem;
  }
}

[data-nav-toggle] {
  display: none;
  background: var(--accent);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

[data-nav-toggle]:hover {
  background: var(--accent-hover);
}

[data-nav-toggle] svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 768px) {
  [data-nav-toggle] {
    display: flex;
  }
}

@media (min-width: 769px) {
  [data-nav-menu] {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: none;
    border: none;
  }
}

.grid {
  display: grid;
  gap: 1.75rem;
}

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

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

/* Explicit column utilities override responsive defaults */
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ------------------------------------------------------------
   Cards
   ------------------------------------------------------------ */
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.card-media {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius) var(--radius) 0 0;
}

.card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  flex: 1;
}

.card-meta {
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--text);
}

.card-title a {
  color: var(--text);
}

.card-title a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.card-excerpt {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

/* ------------------------------------------------------------
   Breadcrumbs
   ------------------------------------------------------------ */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.breadcrumbs a {
  color: var(--text-muted);
}

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

.breadcrumbs span {
  color: var(--text-muted);
}

[dir="rtl"] .breadcrumbs {
  direction: rtl;
}

/* ------------------------------------------------------------
   Articles / blog posts
   ------------------------------------------------------------ */
.article {
  max-width: var(--max-width-article);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

@media (min-width: 768px) {
  .article {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.article-header h1 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  line-height: 1.3;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text);
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.article-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 2rem 0;
  overflow: hidden;
  position: relative;
}

.article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.article-content h2 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--text);
}

.article-content h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
}

.article-content p {
  margin: 0;
  line-height: 1.75;
  color: var(--text);
}

.article-content ul,
.article-content ol {
  margin: 0;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

[dir="rtl"] .article-content ul,
[dir="rtl"] .article-content ol {
  padding-right: 1.5rem;
  padding-left: 0;
}

.prose-note {
  border-left: 4px solid var(--accent);
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin: 2rem 0;
  background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

[dir="rtl"] .prose-note {
  border-left: none;
  border-right: 4px solid var(--accent);
  padding-left: 0;
  padding-right: 1.25rem;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  text-align: right;
}

.article-content blockquote {
  margin: 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--accent);
  background: var(--bg-subtle);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.75;
}

[dir="rtl"] .article-content blockquote {
  border-left: none;
  border-right: 4px solid var(--accent);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  text-align: right;
}

.article-content code {
  padding: 0.125rem 0.375rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--accent);
}

.article-content pre {
  padding: 1.5rem;
  background: #1a202c;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 0;
}

.article-content pre code {
  background: transparent;
  color: #e2e8f0;
  font-size: 0.875rem;
  padding: 0;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.article-content th,
.article-content td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
}

.article-content th {
  background: var(--bg-subtle);
  font-weight: 600;
  color: var(--text);
}

[dir="rtl"] .article-content th,
[dir="rtl"] .article-content td {
  text-align: right;
}

.article-content hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--border);
}

/* ------------------------------------------------------------
   RTL page-level
   ------------------------------------------------------------ */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] nav ul {
  direction: rtl;
}

/* RTL header: flip layout so main-nav is on the right, logo on the left */
[dir="rtl"] .header-inner {
  flex-direction: row-reverse;
}

/* RTL mobile dropdown menu alignment */
@media (max-width: 768px) {
  [dir="rtl"] nav ul {
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
  }
}

[dir="rtl"] nav a {
  text-align: right;
}

[dir="rtl"] .nav-lang {
  margin-left: auto;
  margin-right: 0;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 3rem 0 0;
  margin-top: auto;
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

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

.footer-section h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

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

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-section a {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

[dir="rtl"] .footer-bottom {
  text-align: right;
}

/* ------------------------------------------------------------
   Utilities
   ------------------------------------------------------------ */
.text-left  { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

[dir="rtl"] .text-left  { text-align: right; }
[dir="rtl"] .text-right { text-align: left; }

.mx-auto { margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------
   Hero & Arabic typography
   ------------------------------------------------------------ */
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 3rem); /* 40px - 48px */
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-family: 'Cairo', 'Tajawal', 'IBM Plex Sans Arabic', 'Nunito', sans-serif;
  font-weight: 700;
  color: var(--text);
}

.hero-ar h1 {
  font-family: 'Cairo', 'Tajawal', 'IBM Plex Sans Arabic', 'Nunito', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero .description,
.article-content p,
.section p,
.card-excerpt {
  font-size: 1.125rem; /* 18px */
  line-height: 1.75;
  color: #334155;
}

/* ------------------------------------------------------------
   Print
   ------------------------------------------------------------ */
@media print {
  header, .hero, nav a, .btn, footer {
    background: #fff !important;
    color: #000 !important;
    border-color: #ccc !important;
    box-shadow: none !important;
  }
  .btn { border: 1px solid #000; }
  a { color: #000; text-decoration: underline; }
}

/* ------------------------------------------------------------
   Cleanup
   ------------------------------------------------------------ */
html {
  scroll-padding-top: 80px;

/* ==========================================================
   hero.css  —  load AFTER main.css
   Change the colors below to match your brand.
   ========================================================== */
:root {
  --hero-primary: #3730A3;
  --hero-primary-dark: #2A2481;
  --hero-ink: #12122B;
  --hero-muted: #55556E;
  --hero-soft: #EEF0FF;
  --hero-line: #D9DBF0;
  --hero-accent: #ffc400;
  --hero-ok: #16A34A;
}

/* ---------- Accessibility helpers ---------- */
html { scroll-behavior: smooth; }
:focus-visible {
  outline: 3px solid var(--hero-primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: 16px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--hero-primary);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { inset-block-start: 12px; }

/* ---------- Header additions ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-text { font-weight: 800; font-size: 1.05rem; line-height: 1.2; color: var(--hero-ink); }
.nav-store {
  border: 1px solid var(--hero-primary);
  color: var(--hero-primary);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  transition: background-color .2s, color .2s;
}
.nav-store:hover { background: var(--hero-primary); color: #fff; }

/* ---------- Hero ---------- */
.hero-v2 {
  position: relative;
  background: #fff;
  padding-block: clamp(40px, 7vw, 96px);
  overflow-x: clip;
  font-family: "Cairo", system-ui, sans-serif;
}

/* In RTL the first grid column sits on the right: text right, visual left */
.hero-v2 .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.hero-v2 h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.4;
  font-weight: 800;
  color: var(--hero-ink);
  text-wrap: balance;
}

.hero-lead {
  margin: 0 0 36px;
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.9;
  color: var(--hero-muted);
}

/* Two audience paths */
.hero-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.hero-v2 .hero-path h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--hero-ink);
}
.hero-path p {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--hero-muted);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border: 2px solid var(--hero-primary);
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.hero-btn svg { flex: none; }
.hero-btn--solid { background: var(--hero-primary); color: #fff; }
.hero-btn--solid:hover {
  background: var(--hero-primary-dark);
  border-color: var(--hero-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(55, 48, 163, .28);
}
.hero-btn--outline { background: #fff; color: var(--hero-primary); }
.hero-btn--outline:hover { background: var(--hero-soft); transform: translateY(-2px); }

/* ---------- Visual side ---------- */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
}
.hero-panel {
  position: absolute;
  inset: 26% 8% 6% 8%;
  background: var(--hero-soft);
  border-radius: 28px;
}
.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Your photo: bottom edge lines up with the panel's bottom edge,
   the head rises above the panel's top edge */
.hero-photo {
  position: absolute;
  inset-inline: 0;
  bottom: 6%;
  margin-inline: auto;
  width: 78%;
  height: auto;
  max-height: 92%;
  object-fit: contain;
  object-position: bottom;
}

/* Floating trust pills */
.hero-pill {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--hero-line);
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--hero-ink);
  box-shadow: 0 6px 18px rgba(55, 48, 163, .12);
  white-space: nowrap;
  animation: hero-float 6s ease-in-out infinite;
}
.hero-pill svg { flex: none; }
.hero-pill--1 { inset-block-start: 6%;  inset-inline-start: -4%; }
.hero-pill--2 { inset-block-start: 44%; inset-inline-end: -6%; animation-delay: -2s; }
.hero-pill--3 { inset-block-end: 10%;   inset-inline-start: -2%; animation-delay: -4s; }

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-pill { animation: none; }
  .hero-btn { transition: none; }
}

/* ---------- Sub-headings inside article blocks ---------- */
.article-content h3 {
  margin: 1.6em 0 .6em;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.5;
  color: var(--hero-ink);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-v2 .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; }
}
@media (max-width: 560px) {
  .hero-paths { grid-template-columns: 1fr; }
  .hero-btn { width: 100%; }
  .hero-pill { font-size: .85rem; padding: 8px 12px; }
  .hero-pill--1 { inset-inline-start: 0; }
  .hero-pill--2 { inset-inline-end: 0; }
  .hero-pill--3 { inset-inline-start: 0; }
  .hero-deco { display: none; }
}


}