@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
input, button { font: inherit; }

/* ─── Design Tokens ─────────────────────────────────── */
:root {
  --bg:          #F4F6F8;
  --bg-card:     #E8EDF2;
  --bg-card-2:   #DDE3EB;
  --border:      rgba(15, 23, 42, 0.09);
  --border-soft: rgba(15, 23, 42, 0.04);
  --accent-1:    #0F172A;
  --accent-2:    #334155;
  --accent-grad: #0F172A;
  --text:        #0F172A;
  --text-dim:    #475569;
  --text-muted:  #94A3B8;
  --font-display: 'Geist', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;
  --radius-card:  14px;
  --radius-input: 10px;
  --radius-btn:   8px;
}

/* ─── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  min-height: 100dvh;
  overflow-x: hidden;
}

/* ─── Focus styles ────────────────────────────────────── */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #1A1A1A;
  outline-offset: 2px;
}

/* ─── Skip link ──────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
}

.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  overflow: visible;
  padding: 0.625rem 1.125rem;
  background: var(--accent-1);
  color: #F9F7E0;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* ─── Page Root ──────────────────────────────────────── */
.page-root {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

/* ─── Background Effects ─────────────────────────────── */
/* Decorative background elements — disabled in redesign */
.bg-noise,
.bg-grid,
.bg-glow {
  display: none;
}

/* ─── Header ─────────────────────────────────────────── */
.header {
  padding: 0 2.5rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(244, 246, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  text-decoration: none;
}

.logo-mark {
  color: var(--text-dim);
  flex-shrink: 0;
}

.logo-og {
  color: var(--accent-1);
}

.header-nav {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
}

/* "Get started" CTA in nav */
.nav-link-cta {
  color: #F9F7E0;
  background: var(--accent-1);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-btn);
  padding: 0.4375rem 0.875rem;
  transition: background 0.15s;
  white-space: nowrap;
  margin-left: 0.5rem;
}

.nav-link-cta:hover {
  background: var(--accent-2);
}

/* ─── Main Content ───────────────────────────────────── */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 1.5rem 5rem;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  gap: 2rem;
}

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  text-align: center;
  animation: fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1rem;
}

.subhead {
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

/* ─── Form ───────────────────────────────────────────── */
.form {
  width: 100%;
  animation: fade-up 0.6s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.input-shell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: 0.4rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.input-shell:focus-within {
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.url-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text);
  padding: 0.7rem 0.875rem;
  min-width: 0;
  caret-color: var(--accent-1);
}

.url-input::placeholder {
  color: var(--text-muted);
}

.url-input:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.gen-btn {
  flex-shrink: 0;
  background: var(--accent-1);
  color: #F9F7E0;
  border: none;
  border-radius: var(--radius-btn);
  padding: 0.6rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  min-width: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.15s, opacity 0.2s;
}

.gen-btn:hover:not(:disabled) {
  background: var(--accent-2);
}

.gen-btn:active:not(:disabled) {
  background: var(--accent-1);
}

.gen-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ─── Spinner ────────────────────────────────────────── */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #F9F7E0;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}

/* ─── Status Steps ───────────────────────────────────── */
.status-wrap {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.75rem 2rem;
  animation: fade-up 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.step {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  transition: opacity 0.4s ease;
}

.step[data-state="pending"] { opacity: 0.45; }
.step[data-state="done"]    { opacity: 0.55; }
.step[data-state="active"]  { opacity: 1; }

.step-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.step[data-state="active"] .step-icon {
  background: rgba(0, 0, 0, 0.07);
  border-color: rgba(0, 0, 0, 0.18);
  color: var(--accent-1);
}

.step[data-state="done"] .step-icon {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.10);
  color: var(--accent-2);
}

.step-label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  flex: 1;
}

.step[data-state="active"] .step-label { color: var(--text); }

.dots {
  display: flex;
  gap: 3px;
  align-items: center;
}

.dots span {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-1);
  animation: dot-blink 1.3s ease infinite;
}
.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }

/* ─── Result Card ────────────────────────────────────── */
.result-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  animation: fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.275rem 0.7rem;
  border-radius: 100px;
  align-self: flex-start;
  letter-spacing: 0.01em;
}

.badge-existing {
  background: rgba(34, 100, 34, 0.08);
  border: 1px solid rgba(34, 100, 34, 0.2);
  color: #2D6A2D;
}

.badge-generated {
  background: rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.14);
  color: var(--text-dim);
}

.img-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  animation: develop 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

.meta-row {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.dim-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
  align-self: flex-start;
}

.summary {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.65;
  font-style: italic;
}

.dl-btn {
  background: var(--accent-1);
  color: #F9F7E0;
  border: none;
  border-radius: var(--radius-btn);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.15s, opacity 0.2s;
}

.dl-btn:hover {
  background: var(--accent-2);
}

.dl-btn:active {
  background: var(--accent-1);
}

.regen-btn {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  letter-spacing: -0.01em;
}

.regen-btn:hover:not(:disabled) {
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.04);
}

.regen-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.existing-url {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  word-break: break-all;
  padding: 0.75rem 1rem;
  background: var(--bg-card-2);
  border-radius: 8px;
  border: 1px solid var(--border);
  line-height: 1.5;
}

/* ─── Alt Text Field ─────────────────────────────────── */
.alt-text-field {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-card-2);
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.5;
}

.alt-text-label {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.alt-text-content {
  flex: 1;
  color: var(--text-muted);
  word-break: break-word;
}

.alt-text-copy-btn {
  flex-shrink: 0;
  padding: 0.2rem 0.6rem;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.04em;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.alt-text-copy-btn:hover {
  border-color: rgba(0, 0, 0, 0.25);
  color: var(--accent-1);
}

/* ─── Error Card ─────────────────────────────────────── */
.error-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(239, 68, 68, 0.18);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: fade-up 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  text-align: center;
}

.error-icon {
  font-size: 1.75rem;
  opacity: 0.85;
}

.error-msg {
  font-family: var(--font-display);
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 380px;
}

.retry-btn {
  background: transparent;
  color: var(--accent-1);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.retry-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.25);
}

/* ─── Footer ─────────────────────────────────────────── */
.footer {
  padding: 0 2.5rem;
  height: 56px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 0.01em;
  gap: 1rem;
  flex-shrink: 0;
}

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

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.4;
  display: none; /* replaced by footer-links gap */
}

/* ─── Keyframes ──────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  to { transform: translateX(100%); }
}

@keyframes dot-blink {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.75); }
  40%           { opacity: 1;   transform: scale(1); }
}

@keyframes develop {
  from { filter: brightness(0.1) blur(6px); opacity: 0; }
  to   { filter: brightness(1) blur(0px); opacity: 1; }
}

/* ─── Social Preview Simulator ───────────────────────── */
.sps-root {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  animation: fade-up 0.5s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sps-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sps-tabs {
  display: flex;
  gap: 0.2rem;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.2rem;
}

.sps-tab {
  background: transparent;
  border: none;
  border-radius: 7px;
  padding: 0.3rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}

.sps-tab[data-active] {
  background: var(--bg-card);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.sps-card-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Twitter / X */
.sps-twitter-card {
  border: 1px solid #38444d;
  border-radius: 14px;
  overflow: hidden;
  background: #15202b;
  max-width: 504px;
  margin: 0 auto;
  width: 100%;
}

.sps-twitter-card .sps-card-img {
  aspect-ratio: 1200 / 628;
  object-fit: cover;
}

.sps-twitter-body {
  padding: 0.6rem 0.875rem 0.75rem;
}

.sps-twitter-domain {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: #8b98a5;
  display: block;
  margin-bottom: 0.2rem;
}

.sps-twitter-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: #e7e9ea;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* LinkedIn */
.sps-linkedin-card {
  border: 1px solid #d0d7de;
  overflow: hidden;
  background: #fff;
  max-width: 504px;
  margin: 0 auto;
  width: 100%;
}

.sps-linkedin-card .sps-card-img {
  aspect-ratio: 1200 / 627;
  object-fit: cover;
}

.sps-linkedin-body {
  padding: 0.7rem 1rem 0.8rem;
  background: #f3f2ef;
  border-top: 1px solid #d0d7de;
}

.sps-linkedin-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.9);
  line-height: 1.35;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sps-linkedin-domain {
  font-family: var(--font-display);
  font-size: 0.74rem;
  color: rgba(0, 0, 0, 0.55);
}

/* Facebook */
.sps-facebook-card {
  border: 1px solid #dadde1;
  overflow: hidden;
  background: #fff;
  max-width: 504px;
  margin: 0 auto;
  width: 100%;
}

.sps-facebook-card .sps-card-img {
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.sps-facebook-body {
  padding: 0.6rem 0.875rem 0.75rem;
  background: #f0f2f5;
  border-top: 1px solid #dadde1;
}

.sps-facebook-domain {
  font-family: var(--font-display);
  font-size: 0.68rem;
  color: #606770;
  display: block;
  margin-bottom: 0.2rem;
  letter-spacing: 0.04em;
}

.sps-facebook-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: #1c1e21;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── Format Picker ──────────────────────────────────── */
.format-picker {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
  padding: 0.125rem 0;
  margin-top: 0.875rem;
}

.format-pill {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.3rem 0.875rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s, background 0.18s, box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.format-pill-dims {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  opacity: 0.4;
  transition: opacity 0.15s;
}

.format-pill[data-selected] .format-pill-dims,
.format-pill:hover:not(:disabled) .format-pill-dims,
.format-pill:focus-visible .format-pill-dims {
  opacity: 1;
}

.format-pill:hover:not(:disabled) {
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0.05);
}

.format-pill[data-selected] {
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.30);
  background: rgba(0, 0, 0, 0.07);
}

.format-pill:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ─── Format picker collapsed state ─────────────────── */
.format-collapsed {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.format-collapsed-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.format-collapsed-toggle {
  font-size: 0.75rem;
  color: var(--text-dim);
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 0.25rem 0.625rem;
  cursor: pointer;
  transition: background 0.15s;
}

.format-collapsed-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* ─── Signup Nudge ──────────────────────────────────── */
.signup-nudge {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.signup-nudge-link {
  color: var(--accent-1);
  text-decoration: none;
  font-weight: 500;
}

.signup-nudge-link:hover {
  text-decoration: underline;
}

/* ─── Examples Section ──────────────────────────────── */
/*
 * The examples section deliberately breaks out of the 720px .main
 * constraint so the 3-column card grid has room to breathe at full
 * viewport width. We use a negative margin trick to "un-constrain"
 * it, then re-center with an inner wrapper.
 */
.examples-section {
  width: 100vw;
  /* pull the section out of the 720px .main column */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 3rem 2rem 1rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.examples-heading {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.examples-subtext {
  display: none; /* replaced by the section label above */
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 400px));
  gap: 1.25rem;
  justify-content: center;
  max-width: 1280px;
  margin: 0 auto;
}

.example-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  text-align: left;
}

.example-card:hover {
  border-color: rgba(0, 0, 0, 0.15);
  transform: scale(1.02);
}

.example-img-wrap {
  width: 100%;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  background: var(--bg-card-2);
}

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

.example-meta {
  padding: 0.5rem 0.75rem;
}

.example-url {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
}

/* Badge is hidden in the new design */
.example-badge {
  display: none;
}

@media (max-width: 900px) {
  .examples-grid {
    grid-template-columns: repeat(2, minmax(0, 400px));
  }
}

@media (max-width: 600px) {
  .examples-section {
    padding: 2rem 1rem 1rem;
  }

  .examples-grid {
    grid-template-columns: minmax(0, 400px);
  }
}

/* ─── Free Trial Counter ─────────────────────────────── */
.trial-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  animation: fade-up 0.5s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.trial-text {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.trial-text-warn {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #f59e0b;
  letter-spacing: 0.02em;
}

.trial-bar-track {
  width: 100%;
  max-width: 240px;
  height: 3px;
  background: var(--bg-card-2);
  border-radius: 100px;
  overflow: hidden;
}

.trial-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: var(--accent-1);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.trial-bar-fill[data-warn] {
  background: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%);
}

/* ─── Style Variants Picker ──────────────────────────── */
.svp-root {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.svp-trigger-btn {
  background: transparent;
  color: var(--text-dim);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  letter-spacing: -0.01em;
}

.svp-trigger-btn:hover {
  color: var(--accent-1);
  border-color: rgba(0, 0, 0, 0.20);
  border-style: solid;
  background: rgba(0, 0, 0, 0.05);
}

.svp-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.svp-spinner {
  flex-shrink: 0;
}

.svp-loading-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.svp-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--bg-card-2);
  border: 1px solid rgba(239, 68, 68, 0.18);
  border-radius: 12px;
  text-align: center;
}

.svp-error-msg {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.svp-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.svp-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.svp-results-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.svp-retry-link {
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-1);
  cursor: pointer;
  padding: 0;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}

.svp-retry-link:hover {
  color: var(--accent-2);
}

.svp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.875rem;
}

.svp-variant {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--bg-card-2);
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.svp-variant[data-active] {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.svp-variant-img-wrap {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1200 / 630;
  background: var(--bg-card-2);
}

.svp-variant-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.svp-variant:hover .svp-variant-img {
  transform: scale(1.02);
}

.svp-variant-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.625rem;
  gap: 0.375rem;
}

.svp-variant-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  font-weight: 500;
}

.svp-use-btn {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}

.svp-use-btn:hover {
  color: var(--accent-1);
  border-color: rgba(0, 0, 0, 0.20);
  background: rgba(0, 0, 0, 0.05);
}

.svp-use-btn[data-active] {
  color: var(--text-dim);
  border-color: rgba(0, 0, 0, 0.22);
  background: rgba(0, 0, 0, 0.07);
  cursor: default;
}

/* ─── Dashboard ─────────────────────────────────────── */
.dashboard-layout {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(249, 247, 224, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.dashboard-header-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.dashboard-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dashboard-user-email {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

.dashboard-logout-btn {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 0.4rem 0.875rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  letter-spacing: -0.01em;
}

.dashboard-logout-btn:hover {
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.04);
}

.dashboard-main {
  flex: 1;
  padding: 2.5rem 2rem 4rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.dashboard-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dashboard-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-section-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.dashboard-section-subtitle {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

/* Usage bar */
.usage-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.usage-bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.usage-label {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--text-dim);
}

.usage-count {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
}

.usage-bar-container {
  width: 100%;
  height: 6px;
  background: var(--bg-card-2);
  border-radius: 100px;
  overflow: hidden;
}

.usage-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: var(--accent-1);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.usage-bar-fill[data-warn] {
  background: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%);
}

.usage-upgrade-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-1);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.15s;
  flex-shrink: 0;
}

.usage-upgrade-link:hover {
  color: var(--accent-2);
}

/* Image grid */
.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.image-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.image-card:hover {
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.image-card-thumb {
  width: 100%;
  aspect-ratio: 1200 / 630;
  display: block;
  background: var(--bg-card-2);
  object-fit: cover;
}

.image-card-thumb-placeholder {
  width: 100%;
  aspect-ratio: 1200 / 630;
  background: var(--bg-card-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-card-meta {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.image-card-url {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
}

.image-card-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.image-card-actions {
  display: flex;
  gap: 0.375rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.image-card-btn {
  flex: 1;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.3rem 0.5rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
  text-align: center;
  white-space: nowrap;
}

.image-card-btn:hover {
  color: var(--accent-1);
  border-color: rgba(0, 0, 0, 0.20);
  background: rgba(0, 0, 0, 0.05);
}

.image-grid-empty {
  grid-column: 1 / -1;
  padding: 3rem 2rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-card);
}

.load-more-btn {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 0.7rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  align-self: center;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  letter-spacing: -0.01em;
}

.load-more-btn:hover:not(:disabled) {
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.20);
  background: rgba(0, 0, 0, 0.05);
}

.load-more-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* API keys */
.api-keys-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.api-key-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.875rem 1.125rem;
  transition: border-color 0.2s;
}

.api-key-row:hover {
  border-color: rgba(0, 0, 0, 0.10);
}

.api-key-prefix {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.api-key-name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--text-dim);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.api-key-date {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.api-key-revoke-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.275rem 0.7rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.api-key-revoke-btn:hover:not(:disabled) {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.06);
}

.api-key-revoke-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.api-keys-empty {
  padding: 2rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-card);
}

.key-create-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: 0.4rem;
  transition: border-color 0.25s;
}

.key-create-form:focus-within {
  border-color: rgba(0, 0, 0, 0.20);
}

.key-name-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text);
  padding: 0.6rem 0.75rem;
  min-width: 0;
  caret-color: var(--accent-1);
}

.key-name-input::placeholder {
  color: var(--text-muted);
}

.key-create-btn {
  flex-shrink: 0;
  background: var(--accent-1);
  color: #F9F7E0;
  border: none;
  border-radius: var(--radius-btn);
  padding: 0.6rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
}

.key-create-btn:hover:not(:disabled) {
  background: var(--accent-2);
}

.key-create-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* New key reveal */
.new-key-reveal {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 1.125rem 1.25rem;
  animation: fade-up 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.new-key-warning {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: #fbbf24;
  font-weight: 600;
}

.new-key-value-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.new-key-value {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text);
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.875rem;
  letter-spacing: 0.04em;
  word-break: break-all;
  line-height: 1.5;
}

.new-key-copy-btn {
  flex-shrink: 0;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.475rem 0.875rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}

.new-key-copy-btn:hover {
  color: var(--accent-1);
  border-color: rgba(0, 0, 0, 0.20);
  background: rgba(0, 0, 0, 0.05);
}

/* Dashboard skeleton loading */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-card-2) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    var(--bg-card-2) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-sweep 1.6s ease infinite;
  border-radius: 8px;
}

@keyframes skeleton-sweep {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.75rem;
}

.skeleton-line {
  height: 12px;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.skeleton-image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.skeleton-image-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.skeleton-thumb {
  width: 100%;
  aspect-ratio: 1200 / 630;
  border-radius: 0;
}

.skeleton-meta {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Dashboard unauthenticated state */
.dashboard-unauth {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 4rem 2rem;
  text-align: center;
}

.dashboard-unauth-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}

.dashboard-unauth-body {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 360px;
}

.dashboard-signin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--accent-1);
  color: #F9F7E0;
  text-decoration: none;
  border-radius: var(--radius-btn);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background 0.15s;
}

.dashboard-signin-link:hover {
  background: var(--accent-2);
}

/* ─── Gallery ────────────────────────────────────────── */
.gallery-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

.gallery-main {
  flex: 1;
  padding: 3rem 2rem 5rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.gallery-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: fade-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.gallery-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
}

.gallery-subtitle {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  animation: fade-up 0.55s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: default;
}

.gallery-card:hover {
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.gallery-card-thumb-wrap {
  width: 100%;
  aspect-ratio: 1200 / 630;
  background: var(--bg-card-2);
  overflow: hidden;
  flex-shrink: 0;
}

.gallery-card-thumb {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-card:hover .gallery-card-thumb {
  transform: scale(1.03);
}

.gallery-card-body {
  padding: 0.625rem 0.75rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.gallery-card-domain {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
}

.gallery-card-date {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.gallery-empty {
  text-align: center;
  padding: 4rem 2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-dim);
}

.gallery-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 3rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  text-align: center;
  animation: fade-up 0.55s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.gallery-cta-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}

.gallery-cta-sub {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 360px;
}

.gallery-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--accent-1);
  color: #F9F7E0;
  text-decoration: none;
  border-radius: var(--radius-btn);
  padding: 0.8rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background 0.15s;
}

.gallery-cta-link:hover {
  background: var(--accent-2);
}

/* ─── Pricing ───────────────────────────────────────── */

.pricing-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.pricing-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1.5rem 6rem;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}

.pricing-hero {
  text-align: center;
  margin-bottom: 3.5rem;
}

.pricing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1rem;
}

.pricing-subhead {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.plan-card:hover {
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.plan-card--featured {
  border-color: rgba(0, 0, 0, 0.22);
  background: var(--bg-card-2);
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 99px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.25rem;
}

.plan-badge--current {
  color: #2D6A2D;
  background: rgba(34, 100, 34, 0.1);
  border-color: rgba(34, 100, 34, 0.25);
}

.plan-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
}

.plan-price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-price-period {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.plan-feature {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}

.plan-feature::before {
  content: "\2014";
  color: var(--text-muted);
  flex-shrink: 0;
}

.plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  border: none;
  width: 100%;
}

.plan-cta:hover:not(:disabled) {
  transform: translateY(-1px);
}

.plan-cta:active:not(:disabled) {
  transform: translateY(0);
}

.plan-cta--primary {
  background: var(--accent-1);
  color: #F9F7E0;
}

.plan-cta--primary:hover:not(:disabled) {
  background: var(--accent-2);
}

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

.plan-cta--secondary:hover:not(:disabled) {
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.12);
}

.plan-cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pricing-error {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #f87171;
  text-align: center;
  margin-top: 1.5rem;
}

.pricing-free-nudge {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-free-nudge a {
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pricing-free-nudge a:hover {
  color: var(--accent-1);
}

/* ─── Billing toggle ─────────────────────────────────── */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.25rem;
  margin-top: 1.75rem;
}

.billing-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.billing-toggle-btn--active {
  background: var(--bg-card-2);
  color: var(--text);
  border: 1px solid var(--border);
}

.billing-save-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2D6A2D;
  background: rgba(34, 100, 34, 0.1);
  border: 1px solid rgba(34, 100, 34, 0.2);
  border-radius: 99px;
  padding: 0.15rem 0.45rem;
}

/* ─── Plan price sub-labels ──────────────────────────── */
.plan-price-right {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  justify-content: flex-end;
  padding-bottom: 0.2rem;
}

.plan-price-annual-note {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1;
}

.plan-savings {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #2D6A2D;
  margin-top: -0.25rem;
}

/* ─── Pricing includes ───────────────────────────────── */
.pricing-includes {
  margin-top: 3.5rem;
  padding: 1.75rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 2rem;
}

.pricing-includes-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  flex-shrink: 0;
}

.pricing-includes-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.pricing-includes-list li {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.pricing-includes-list li::before {
  content: "✓ ";
  color: #2D6A2D;
}

/* ─── Pricing FAQ ────────────────────────────────────── */
.pricing-faq {
  margin-top: 4rem;
  width: 100%;
  max-width: 720px;
  align-self: center;
}

.pricing-faq-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.pricing-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pricing-faq-item {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}

.pricing-faq-item:last-child {
  border-bottom: 1px solid var(--border);
}

.pricing-faq-item dt {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.pricing-faq-item dd {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0;
}

.pricing-faq-item dd code {
  font-family: var(--font-mono);
  font-size: 0.8em;
  color: var(--text);
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1em 0.4em;
}

@media (max-width: 680px) {
  .pricing-includes {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ─── Legal Pages (Terms, Privacy) ───────────────────── */
.legal-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

.legal-main {
  flex: 1;
  padding: 3rem 2rem 5rem;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  animation: fade-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.legal-hero {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
}

.legal-effective {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.legal-section {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.legal-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.legal-text {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.75;
}

.legal-text a {
  color: var(--accent-1);
  text-decoration: none;
  transition: color 0.15s;
}

.legal-text a:hover {
  color: var(--accent-2);
}

.legal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 0;
}

.legal-list li {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.75;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.legal-list li::before {
  content: "4";
  color: var(--accent-1);
  flex-shrink: 0;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}

.legal-back-link:hover {
  color: var(--accent-1);
}

.legal-footer {
  padding: 1.75rem 2rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  letter-spacing: 0.02em;
}

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

.legal-footer a:hover {
  color: var(--text-dim);
}

/* Footer links (main page) */
.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-link:hover {
  color: var(--text-dim);
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 600px) {
  .main { padding: 3rem 1rem 4rem; }
  .header { padding: 0 1.25rem; }
  .footer { padding: 0 1.25rem; }
  .legal-main { padding: 2rem 1.25rem 3rem; }
  .legal-title { font-size: 1.6rem; }

  .input-shell {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    border-radius: var(--radius-input);
  }

  .url-input { padding: 0.75rem 0.875rem; }

  .gen-btn {
    min-width: unset;
    width: 100%;
    border-radius: var(--radius-btn);
    padding: 0.875rem;
  }

  .result-card { padding: 1.25rem; }
  .status-wrap { padding: 1.25rem; }

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

  .format-picker {
    gap: 0.3rem;
  }

  .format-pill {
    font-size: 0.68rem;
    padding: 0.275rem 0.7rem;
  }
}

@media (max-width: 1100px) {
  .image-grid,
  .skeleton-image-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 800px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .plan-card--featured {
    order: -1;
  }

  .dashboard-main {
    padding: 1.75rem 1.25rem 3rem;
  }

  .dashboard-header {
    padding: 1rem 1.25rem;
  }

  .dashboard-header-left {
    gap: 1rem;
  }

  .dashboard-user-email {
    display: none;
  }

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

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

  .api-key-date {
    display: none;
  }

  .key-create-form {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    border-radius: var(--radius-input);
  }

  .key-create-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .image-grid,
  .skeleton-image-grid {
    grid-template-columns: 1fr;
  }

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

/* ─── Auth Pages (Login / Verify) ───────────────────── */
.auth-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

.auth-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 5rem;
  width: 100%;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  animation: fade-up 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auth-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.auth-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}

.auth-card-subtitle {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.auth-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: -0.01em;
}

.auth-input {
  width: 100%;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.75rem 1rem;
  caret-color: var(--accent-1);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.auth-input::placeholder {
  color: var(--text-muted);
}

.auth-input:focus {
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.auth-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-submit-btn {
  width: 100%;
  background: var(--accent-1);
  color: #F9F7E0;
  border: none;
  border-radius: var(--radius-btn);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.15s, opacity 0.2s;
}

.auth-submit-btn:hover:not(:disabled) {
  background: var(--accent-2);
}

.auth-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-error {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: #f87171;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  line-height: 1.5;
}

.auth-success {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  text-align: center;
  animation: fade-up 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auth-success-icon {
  font-size: 2.25rem;
  line-height: 1;
}

.auth-success-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.auth-success-body {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.65;
}

.auth-success-email {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text);
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.875rem;
  display: inline-block;
  letter-spacing: 0.01em;
}

.auth-success-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.auth-footer-link {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  text-decoration: none;
  transition: color 0.15s;
}

.auth-footer-link:hover {
  color: var(--text-dim);
}

.auth-footer-link a {
  color: var(--accent-1);
  text-decoration: none;
}

.auth-footer-link a:hover {
  text-decoration: underline;
}

/* Signup nudge below the auth submit button */
.auth-signup-nudge {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.auth-signup-nudge a {
  color: var(--accent-1);
  text-decoration: none;
}

.auth-signup-nudge a:hover {
  text-decoration: underline;
}

/* OAuth provider buttons */
.auth-oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  width: 100%;
}

.auth-oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.625rem 1rem;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.auth-oauth-btn:hover:not(:disabled) {
  background: var(--bg-card-2);
  border-color: var(--accent-2);
}

.auth-oauth-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin: 0.25rem 0;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Verify page states */
.auth-verify-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.auth-verify-spinner {
  width: 36px;
  height: 36px;
  border: 2.5px solid rgba(0, 0, 0, 0.10);
  border-top-color: var(--accent-1);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

.auth-verify-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.auth-verify-subtitle {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.auth-verify-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  margin-top: 0.5rem;
  transition: color 0.15s;
}

.auth-verify-back:hover {
  color: var(--text);
}

/* Nav Sign in link */
.nav-link-signin {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav-link-signin:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
}

/* ─── Reduced motion ──────────────────────────────────── */
@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;
  }
}

/* ─── Alpine.js x-cloak ─────────────────────────────── */
[x-cloak] { display: none !important; }

/* ─── Error Inline ──────────────────────────────────── */
.error-inline {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(239, 68, 68, 0.18);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  animation: fade-up 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.error-inline-icon {
  font-size: 1.25rem;
  opacity: 0.85;
  flex-shrink: 0;
  line-height: 1;
}

.error-inline-msg {
  flex: 1;
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ─── Limit Banner ──────────────────────────────────── */
.limit-banner {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  animation: fade-up 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.limit-banner-body {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.limit-banner-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.limit-banner-text {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.limit-banner-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.limit-banner-sub {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.limit-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--accent-1);
  color: #F9F7E0;
  text-decoration: none;
  border-radius: var(--radius-btn);
  padding: 0.7rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background 0.15s;
  align-self: flex-start;
}

.limit-banner-cta:hover {
  background: var(--accent-2);
}

/* ─── Landing Page Sections ──────────────────────────── */
/*
 * These sections live below the tool UI on the homepage.
 * They all break out of the 720px .main constraint via the
 * same negative-margin technique as .examples-section.
 */

.landing-sections {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: flex;
  flex-direction: column;
}

/* Shared section chrome */
.ls-section {
  width: 100%;
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
}

.ls-section--alt {
  background: var(--bg-card);
}

.ls-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.ls-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.ls-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1rem;
}

.ls-body {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 580px;
}

/* Pricing preview */
.lp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.lp-pricing-more {
  text-align: center;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--text-dim);
}

.lp-pricing-more a {
  color: var(--accent-1);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}

.lp-pricing-more a:hover {
  color: var(--accent-2);
}

@media (max-width: 720px) {
  .lp-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* FAQ */
.faq-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 1.75rem;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.625rem;
}

.faq-a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .ls-section {
    padding: 3.5rem 1.25rem;
  }

  .faq-item {
    padding: 1.25rem;
  }
}

/* ─── Blog ───────────────────────────────────────────── */
.blog-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

.blog-main {
  flex: 1;
  padding: 3rem 2rem 6rem;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.blog-hero {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.blog-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
}

.blog-hero-sub {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  animation: fade-up 0.55s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.blog-card:hover {
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  transform: translateY(-2px);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.blog-card-excerpt {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.7;
  flex: 1;
}

.blog-card-cta {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-1);
  letter-spacing: -0.01em;
  transition: color 0.15s;
}

.blog-card:hover .blog-card-cta {
  color: var(--accent-2);
}

@media (max-width: 640px) {
  .blog-main {
    padding: 2rem 1.25rem 4rem;
  }

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

/* Blog post detail */
.blog-post-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

.blog-post-main {
  flex: 1;
  padding: 3rem 2rem 6rem;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}

.blog-back-link:hover {
  color: var(--accent-1);
}

.blog-post-header {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.blog-post-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
}

/* Prose styles for blog post body */
.blog-prose {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-top: 0.5rem;
}

.blog-prose h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.blog-prose p {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.8;
}

.blog-prose a {
  color: var(--accent-1);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

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

.blog-prose ul,
.blog-prose ol {
  padding-left: 1.375rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog-prose li {
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.75;
}

.blog-prose code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.125rem 0.375rem;
  color: var(--text-dim);
}

.blog-prose pre {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text);
}

.blog-prose pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.blog-prose blockquote {
  border-left: 3px solid var(--accent-1);
  padding: 0.5rem 0 0.5rem 1.25rem;
  color: var(--text-dim);
  font-style: italic;
}

.blog-prose strong {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 640px) {
  .blog-post-main {
    padding: 2rem 1.25rem 4rem;
  }

  .blog-post-title {
    font-size: 1.65rem;
  }
}

/* ─── Blog Related ───────────────────────────────────── */
.blog-related {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  margin-top: 3rem;
}

.blog-related-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog-related-list a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9375rem;
}

.blog-related-list a:hover {
  color: var(--text);
}

/* ─── Docs ───────────────────────────────────────────── */
.docs-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

.docs-body {
  flex: 1;
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
  gap: 0;
}

/* Sticky left sidebar */
.docs-sidebar {
  width: 220px;
  flex-shrink: 0;
  padding-top: 3rem;
  padding-right: 2rem;
}

.docs-sidebar-inner {
  position: sticky;
  top: calc(56px + 1.5rem); /* below the sticky header */
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.docs-sidebar-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.25rem 0.625rem;
  margin-bottom: 0.125rem;
  margin-top: 1rem;
}

.docs-sidebar-label:first-child {
  margin-top: 0;
}

.docs-sidebar-link {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  padding: 0.35rem 0.625rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  letter-spacing: -0.01em;
}

.docs-sidebar-link:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
}

/* Main content */
.docs-content {
  flex: 1;
  min-width: 0;
  padding-top: 3rem;
  padding-left: 2rem;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.docs-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  scroll-margin-top: calc(56px + 2rem);
}

.docs-section-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.docs-subsection {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.docs-subsection-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.docs-p {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.75;
}

.docs-p a {
  color: var(--accent-1);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.docs-p a:hover {
  color: var(--accent-2);
}

.docs-inline-code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.125rem 0.375rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.docs-code-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.docs-code-block-header {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  background: var(--bg-card-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.docs-code-block pre {
  padding: 1.25rem 1.5rem;
  margin: 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--text);
  background: transparent;
}

/* Response/request JSON coloring */
.docs-code-block pre .json-key   { color: var(--text-dim); }
.docs-code-block pre .json-str   { color: #2D6A2D; }
.docs-code-block pre .json-num   { color: #fbbf24; }
.docs-code-block pre .json-bool  { color: #f87171; }

/* Rate limits table */
.docs-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.docs-table thead {
  background: var(--bg-card-2);
}

.docs-table th {
  text-align: left;
  padding: 0.625rem 1rem;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.docs-table td {
  padding: 0.75rem 1rem;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.5;
}

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

.docs-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.docs-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 0.175rem 0.5rem;
}

.docs-badge--post {
  background: rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--text-dim);
}

.docs-badge--get {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #2D6A2D;
}

.docs-endpoint-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.docs-endpoint-path {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.docs-endpoint-desc {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.docs-param-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.docs-param {
  display: grid;
  grid-template-columns: 140px 80px 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.docs-param:last-child {
  border-bottom: none;
}

.docs-param-name {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 600;
}

.docs-param-type {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.docs-param-desc {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* Docs mobile */
@media (max-width: 760px) {
  .docs-body {
    flex-direction: column;
    padding: 0 1.25rem 4rem;
  }

  .docs-sidebar {
    width: 100%;
    padding-top: 2rem;
    padding-right: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .docs-sidebar-inner {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .docs-sidebar-label {
    width: 100%;
    margin-top: 0.5rem;
  }

  .docs-content {
    border-left: none;
    padding-left: 0;
  }

  .docs-param {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* ─── Diagonal dot strip (left side decoration) ─────── */
body::before {
  content: '';
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.13) 1px, transparent 1px);
  background-size: 15px 15px;
  mask-image: linear-gradient(
    118deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.75) 7%,
    transparent 13%
  );
  -webkit-mask-image: linear-gradient(
    118deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.75) 7%,
    transparent 13%
  );
  pointer-events: none;
  z-index: 0;
}

/* ─── Hero decorative rule ─────────────────────────── */
.hero::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text-muted);
  margin: 0 auto 1.75rem;
  border-radius: 1px;
  opacity: 0.6;
}

/* ─── Generation Counter ─────────────────────────────── */
.generation-counter {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

.generation-counter-num {
  color: var(--text-dim);
  font-weight: 600;
}

/* ─── OG Image Size table ────────────────────────────── */
.og-size-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
}

.og-size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.og-size-table th,
.og-size-table td {
  padding: 0.625rem 0.875rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.og-size-table th {
  background: var(--bg-card);
  font-weight: 600;
  color: var(--text);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.og-size-table tr:last-child td {
  border-bottom: none;
}

.og-size-table td:first-child {
  font-weight: 600;
}

/* ─── OG Checker ─────────────────────────────────────── */
.ogc-main {
  flex: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
  width: 100%;
}

.ogc-hero {
  margin-bottom: 2.5rem;
}

.ogc-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.ogc-sub {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 580px;
}

.ogc-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.ogc-input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-input);
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  color: var(--text);
  font-family: var(--font-mono);
  outline: none;
  transition: border-color 0.15s;
}

.ogc-input:focus {
  border-color: var(--accent-1);
}

.ogc-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-btn);
  background: var(--accent-1);
  color: var(--bg);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.ogc-btn:hover { background: var(--accent-2); }
.ogc-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.ogc-error {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-card);
  background: rgba(200,0,0,0.06);
  border: 1px solid rgba(200,0,0,0.18);
  color: #b91c1c;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.ogc-results {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ogc-section-heading {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.ogc-preview-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  max-width: 480px;
  background: var(--bg-card);
}

.ogc-preview-img {
  width: 100%;
  aspect-ratio: 1.91 / 1;
  object-fit: cover;
  display: block;
}

.ogc-preview-meta {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
}

.ogc-preview-domain {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.ogc-preview-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.ogc-preview-desc {
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ogc-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.ogc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.ogc-table th,
.ogc-table td {
  padding: 0.6rem 0.875rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.ogc-table th {
  background: var(--bg-card);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.ogc-val {
  color: var(--text-dim);
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ogc-val-url { font-family: var(--font-mono); font-size: 0.775rem; }

.ogc-status {
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.ogc-status-ok   { color: #2D6A2D; }
.ogc-status-warn { color: #92400e; }
.ogc-status-err  { color: #b91c1c; }

.ogc-cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
}

.ogc-cta-heading {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #b91c1c;
}

.ogc-cta-body {
  font-size: 0.9375rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.ogc-cta-btn {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-btn);
  background: var(--accent-1);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background 0.15s;
}

.ogc-cta-btn:hover { background: var(--accent-2); }
