:root {
  --bg: #f8fafc;
  --bg-mesh: radial-gradient(at 0% 0%, rgba(254, 215, 170, 0.25) 0px, transparent 50%),
             radial-gradient(at 100% 0%, rgba(219, 234, 254, 0.35) 0px, transparent 50%),
             radial-gradient(at 50% 100%, rgba(241, 245, 249, 0.5) 0px, transparent 50%);
  --fg: #0f172a;
  --muted: #475569;
  --card: #ffffff;
  --card-subtle: #f1f5f9;
  --line: #e2e8f0;
  --line-subtle: #edf2f7;
  --btn-primary-bg: #16a34a;
  --btn-primary-hover: #15803d;
  --btn-primary-fg: #ffffff;
  --btn-alt-bg: #ffffff;
  --btn-alt-hover: #f8fafc;
  --btn-alt-fg: #0f172a;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-tint: rgba(37, 99, 235, 0.08);
  --success-tint: rgba(22, 163, 74, 0.1);
  --success-border: rgba(22, 163, 74, 0.3);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-window: 0 18px 36px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.06);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f19;
    --bg-mesh: radial-gradient(at 0% 0%, rgba(194, 65, 12, 0.12) 0px, transparent 50%),
               radial-gradient(at 100% 0%, rgba(30, 58, 138, 0.22) 0px, transparent 50%),
               radial-gradient(at 50% 100%, rgba(15, 23, 42, 0.5) 0px, transparent 50%);
    --fg: #f1f5f9;
    --muted: #94a3b8;
    --card: #131b2e;
    --card-subtle: #182238;
    --line: #222f49;
    --line-subtle: #1c273e;
    --btn-primary-bg: #22c55e;
    --btn-primary-hover: #16a34a;
    --btn-primary-fg: #052e16;
    --btn-alt-bg: #131b2e;
    --btn-alt-hover: #1c273e;
    --btn-alt-fg: #f1f5f9;
    --accent: #60a5fa;
    --accent-hover: #93c5fd;
    --accent-tint: rgba(96, 165, 250, 0.12);
    --success-tint: rgba(34, 197, 94, 0.12);
    --success-border: rgba(34, 197, 94, 0.35);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-window: 0 18px 36px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--bg-mesh);
  background-attachment: fixed;
  color: var(--fg);
  font: 16px/1.65 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

a:hover {
  text-decoration: underline;
}

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

figure {
  margin: 0;
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 16px;
  }

  footer {
    font-size: 13.5px;
    padding: 28px 0 40px;
    line-height: 1.9;
  }
}

/* Header & Navigation */
header.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line-subtle);
}

header.top .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.01em;
}

header.top .brand svg {
  flex-shrink: 0;
}

header.top nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

header.top nav a {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s, background-color 0.15s;
}

header.top nav a:hover {
  color: var(--fg);
  background-color: var(--card-subtle);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg) !important;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  min-height: 44px;
}

.btn:hover {
  background: var(--btn-primary-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn.alt, .btn-alt {
  background: var(--btn-alt-bg);
  color: var(--btn-alt-fg) !important;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn.alt:hover, .btn-alt:hover {
  background: var(--btn-alt-hover);
  border-color: var(--muted);
  box-shadow: var(--shadow-md);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 48px 0 28px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  font-size: clamp(30px, 5.5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 auto 16px;
  color: var(--fg);
  max-width: 820px;
}

.hero p.lead {
  font-size: clamp(17px, 2.5vw, 20px);
  color: var(--muted);
  max-width: 660px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* Framed App Windows & Screenshots */
.app-window, .demo figure, .shot figure, figure.shot {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  margin: 0;
  display: block;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--card-subtle);
  border-bottom: 1px solid var(--line);
}

.window-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.window-bar .dot-r { background: #ef4444; }
.window-bar .dot-y { background: #f59e0b; }
.window-bar .dot-g { background: #10b981; }

.window-bar .win-title {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  font-family: var(--font-mono);
}

.app-window img, .demo img, .shot img, figure.shot img {
  width: 100%;
  height: auto;
  display: block;
  border: 0;
  border-radius: 0;
}

figcaption, .app-window figcaption {
  padding: 10px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  background: var(--card);
  border-top: 1px solid var(--line-subtle);
}

.demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 36px 0 44px;
}

/* General Sections & Cards Grid */
section {
  padding: 38px 0;
}

h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  color: var(--fg);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.4);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Provider Table */
.table-wrap {
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin: 16px 0;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}

th {
  background: var(--card-subtle);
  color: var(--fg);
  font-weight: 600;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-subtle);
  color: var(--fg);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: var(--card-subtle);
}

.tag-pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 500;
}

.tag-cloud {
  background: var(--accent-tint);
  color: var(--accent);
}

.tag-local {
  background: var(--success-tint);
  color: var(--btn-primary-bg);
}

/* Download Section */
.dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.dl .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dl .card .card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.dl-platform-icon {
  width: 28px;
  height: 28px;
  color: var(--fg);
  flex-shrink: 0;
}

.dl .card h3 {
  margin: 0;
  font-size: 20px;
}

.dl .card a.btn {
  margin-top: 18px;
  width: 100%;
}

.dl-note {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 22px;
  line-height: 1.6;
}

/* FAQ / Accordion */
details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0;
  margin: 12px 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

details[open] {
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}

summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--fg);
  user-select: none;
}

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

summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-left: 14px;
  flex-shrink: 0;
}

details[open] summary::after {
  transform: rotate(-135deg);
}

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

details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

details pre {
  margin: 0 20px 18px;
}

/* Code & Pre */
code, pre {
  font-family: var(--font-mono);
  font-size: 14px;
}

code {
  background: var(--card-subtle);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13.5px;
  border: 1px solid var(--line-subtle);
}

pre {
  background: var(--card-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  overflow-x: auto;
  max-width: 100%;
  white-space: pre-wrap;
  word-wrap: break-word;
  color: var(--fg);
}

pre code {
  padding: 0;
  background: transparent;
  border: none;
}

kbd {
  display: inline-block;
  background: var(--card-subtle);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 2px 7px;
  font: 12.5px var(--font-mono);
  color: var(--fg);
  box-shadow: var(--shadow-sm);
  vertical-align: baseline;
}

/* Article & Guide Pages */
.article {
  max-width: 800px;
  margin: 0 auto;
  padding: 16px 0 40px;
}

.article-hero {
  margin-bottom: 28px;
}

.crumbs {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

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

.article h1 {
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--fg);
}

.quick-answer {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--btn-primary-bg);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  margin: 22px 0 28px;
}

.quick-answer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--btn-primary-bg);
  margin-bottom: 10px;
}

.article .answer {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg);
  margin: 0;
}

.article .answer b {
  color: var(--fg);
}

.article h2 {
  margin: 40px 0 18px;
  font-size: 24px;
  font-weight: 700;
}

/* Step-by-step numbered cards */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 4px rgba(22, 163, 74, 0.25);
}

.step-body {
  flex: 1;
  min-width: 0;
}

.step-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}

.step-text {
  margin: 0;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.6;
}

.step-card .shot {
  margin-top: 20px;
  width: 100%;
}

/* Screenshot showcase (.shots) */
.shots {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 24px 0 32px;
}

/* Before / After example cards */
.example {
  margin: 24px 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ex-pane {
  padding: 18px 22px;
}

.ex-pane-before {
  background: var(--card);
  border-bottom: 1px dashed var(--line);
}

.ex-pane-after {
  background: var(--card-subtle);
  border-left: 4px solid var(--btn-primary-bg);
}

.ex-label {
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ex-label-input {
  color: #d97706;
}

.ex-label-output {
  color: var(--btn-primary-bg);
}

.example pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg);
  background: transparent;
  border: none;
  padding: 0;
}

/* Tips list */
.tips-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tip-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}

.tip-icon {
  color: #f59e0b;
  flex-shrink: 0;
  margin-top: 2px;
}

.tip-text {
  margin: 0;
  font-size: 15px;
  color: var(--fg);
  line-height: 1.6;
}

.tip-text b {
  color: var(--fg);
}

/* Guides Index & Related Cards */
.guides-grid {
  margin-top: 28px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: var(--fg);
  padding: 0;
  overflow: hidden;
}

.guide-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.guide-card-thumb {
  height: 150px;
  overflow: hidden;
  background: var(--card-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.guide-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s ease;
}

.guide-card:hover .guide-card-thumb img {
  transform: scale(1.04);
}

.guide-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.guide-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 14px;
  color: var(--fg);
}

.guide-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.related-section {
  margin-top: 48px;
}

.related-card {
  padding: 20px;
}

.related-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.related-card .card-link-text {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
}

/* Home Page Popular Guides Section */
#guides .grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

#guides .guide-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  box-sizing: border-box;
}

#guides .guide-card .card-icon {
  margin-bottom: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

#guides .guide-card:hover .card-icon {
  transform: translateY(-2px);
}

#guides .guide-card h3 {
  font-size: 17.5px;
  line-height: 1.45;
  margin: 0 0 16px;
  flex: 1 1 auto;
  color: var(--fg);
}

#guides .guide-card .card-link-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: gap 0.15s ease, color 0.15s ease;
}

#guides .guide-card:hover .card-link-text {
  gap: 8px;
  color: var(--accent-hover);
}

#guides > p {
  margin: 24px 0 0;
  text-align: center;
}

#guides > p a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  transition: gap 0.15s ease, color 0.15s ease;
}

#guides > p a:hover {
  gap: 10px;
  color: var(--accent-hover);
}

/* About Page & Paragraph-based Tips Sections */
.tips-section:has(> p) {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  margin: 20px 0;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tips-section:has(> p):hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-md);
}

.tips-section:has(> p) h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.015em;
}

.tips-section:has(> p) h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.tips-section:has(> p) p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--fg);
  max-width: 68ch;
}

.tips-section:has(> p) p:last-child {
  margin-bottom: 0;
}

.tips-section:has(> p) a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(37, 99, 235, 0.4);
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.tips-section:has(> p) a:hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent);
}

/* Download CTA in articles & footer */
.cta {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  margin: 48px 0 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #3b82f6);
}

.cta h2 {
  font-size: 26px;
  margin: 0 0 8px;
}

.cta p {
  font-size: 16px;
  color: var(--muted);
  margin: 0 auto 22px;
  max-width: 520px;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  line-height: 1.85;
}

footer a {
  color: var(--muted);
  font-weight: 500;
  display: inline-block;
  white-space: nowrap;
  transition: color 0.15s ease;
}

footer a:hover {
  color: var(--fg);
}

/* 404 Page */
.not-found-hero {
  padding: 80px 0 60px;
}

.error-badge {
  display: inline-block;
  font-size: 80px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

/* Focus & Accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  #guides .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 680px) {
  .tips-section:has(> p) {
    padding: 20px 18px;
    margin: 16px 0;
  }

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

  .step-card {
    flex-direction: column;
    gap: 14px;
    padding: 18px 20px;
  }

  header.top {
    flex-direction: column;
    align-items: flex-start;
  }

  header.top nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  header.top nav a {
    padding: 6px 10px;
  }

  .cta {
    padding: 30px 18px;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
  }
}
.app-window img[width="276"]{max-width:276px;width:100%;margin-left:auto;margin-right:auto}
.app-window img[width="500"]{max-width:500px;width:100%;margin-left:auto;margin-right:auto}
.app-window img[width="720"]{max-width:720px;width:100%;margin-left:auto;margin-right:auto}
