/* Lapelly — professional tool-site theme.
   Vanilla CSS, no build step. Premium workplace look: deep navy ink,
   confident action blue, warm neutral surfaces, restrained accents.
   No decorative gradients / glow / toy motion. Token + class names are
   kept backward-compatible with the legal & marketing pages. */

:root {
  /* brand */
  --navy: #0A2540;        /* deep premium ink — headers of sections, footer */
  --navy-2: #0E2E52;
  --blue: #2563EB;        /* primary action */
  --blue-deep: #1B46C2;
  --sky: #0EA5E9;
  --gold: #D9A531;        /* trust / rating accent (restrained, not neon) */

  /* ink + surfaces */
  --ink: #0E1C33;
  --ink-soft: #46566B;
  --muted: #6B7A8D;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FB;
  --bg-tint: #EEF3FD;
  --line: #E4E9F1;
  --line-soft: #EEF1F6;

  /* system */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --maxw: 1120px;
  --shadow-sm: 0 2px 8px rgba(14, 28, 51, .05);
  --shadow: 0 10px 30px rgba(14, 28, 51, .08);
  --shadow-lg: 0 24px 60px rgba(14, 28, 51, .14);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue); color: #fff;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  border: none; cursor: pointer; line-height: 1.1;
  transition: background .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 6px 16px rgba(37, 99, 235, .22);
}
.btn:hover { background: var(--blue-deep); text-decoration: none; transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, .28); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--bg-soft); border-color: #cfd8e5; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Google sign-in button (parity look) */
.gbtn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #1f2937; border: 1.5px solid var(--line);
  padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s;
}
.gbtn:hover { border-color: #cfd8e5; text-decoration: none; box-shadow: var(--shadow); }
.gbtn svg { width: 18px; height: 18px; }

/* ── Header / nav ────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800;
  font-size: 1.14rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--blue); text-decoration: none; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero { background: linear-gradient(180deg, var(--bg-tint) 0%, #fff 72%);
  padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); line-height: 1.08; margin: 0 0 16px; }
.hero .accent { color: var(--blue); }
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 560px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Split hero: copy + tool side by side */
.hero-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; gap: 32px; } }

/* ── Trust row / badges ──────────────────────────────────────── */
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 22px 0 0; }
.trust-row .badge { display: inline-flex; align-items: center; gap: 7px;
  font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
.trust-row .badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue); }
.badge-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-tint);
  color: var(--blue-deep); font-weight: 700; font-size: .78rem; letter-spacing: .02em;
  padding: 6px 12px; border-radius: 999px; text-transform: uppercase; }

/* ── Sections ────────────────────────────────────────────────── */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-soft); }
.section.navy { background: var(--navy); color: #cdd9ea; }
.section.navy h2, .section.navy h3 { color: #fff; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 8px; text-align: center; }
.section .sub { color: var(--muted); text-align: center; margin: 0 auto 40px; max-width: 580px; }
.section.navy .sub { color: #9fb2cb; }

/* ── Cards / grid ────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); }
.card h3 { margin: 0 0 6px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.card .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--bg-tint);
  color: var(--blue-deep); display: flex; align-items: center; justify-content: center;
  font-weight: 800; margin-bottom: 14px; }

/* Numbered steps */
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 30px; }
.steps .card .n { position: absolute; top: -16px; left: 24px; width: 34px; height: 34px;
  border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }

/* ── The tool ────────────────────────────────────────────────── */
.tool { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px; }
.tool h2 { font-size: 1.15rem; text-align: left; margin: 0 0 4px; }
.tool .hint { color: var(--muted); font-size: .88rem; margin: 0 0 16px; }

.dropzone { border: 2px dashed #cdd8e8; border-radius: var(--radius);
  background: var(--bg-soft); padding: 34px 20px; text-align: center; cursor: pointer;
  transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.drag { border-color: var(--blue); background: var(--bg-tint); }
.dropzone .dz-ico { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); display: flex; align-items: center;
  justify-content: center; color: var(--blue); box-shadow: var(--shadow-sm); }
.dropzone strong { color: var(--ink); }
.dropzone small { display: block; color: var(--muted); margin-top: 6px; font-size: .82rem; }

.opt-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 16px 0 4px; }
.opt { flex: 1; min-width: 140px; }
.opt label { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: .03em; margin-bottom: 7px; }
.swatches { display: flex; gap: 9px; }
.swatch { width: 34px; height: 34px; border-radius: 9px; border: 2px solid var(--line);
  cursor: pointer; transition: transform .1s, border-color .1s; }
.swatch:hover { transform: scale(1.06); }
.swatch[aria-checked="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.18); }

select.field { width: 100%; padding: 11px 13px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); font-size: .95rem; background: #fff; color: var(--ink);
  font-family: inherit; }
select.field:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.16); }

/* preview stage */
.stage { margin-top: 16px; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-soft); aspect-ratio: 1 / 1; display: flex; align-items: center;
  justify-content: center; position: relative; }
.stage img { width: 100%; height: 100%; object-fit: cover; }
.stage .placeholder { color: var(--muted); font-size: .9rem; padding: 20px; text-align: center; }
.spinner { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--blue);
  border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.unlock { margin-top: 16px; display: none; }
.unlock.show { display: block; }
.unlock .price-line { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.unlock .price-line b { font-size: 1.5rem; color: var(--ink); }
.unlock .price-line span { color: var(--muted); font-size: .9rem; }
.note { font-size: .82rem; color: var(--muted); margin-top: 10px; }
.note.ok { color: #0a7d2c; font-weight: 600; }
.note.err { color: #c0392b; font-weight: 600; }
.os-dl-stack { display: flex; flex-direction: column; gap: 10px; }
.os-credit-btn { margin-top: 10px; }

/* ── Spec table ──────────────────────────────────────────────── */
.spec { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: .96rem; }
.spec th, .spec td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.spec th { width: 42%; color: var(--ink-soft); font-weight: 700; }
.spec td { color: var(--ink); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: none; }

/* ── Pricing ─────────────────────────────────────────────────── */
.price-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1060px; margin: 0 auto; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); position: relative;
  display: flex; flex-direction: column; }
.plan.feature { border-color: var(--blue); box-shadow: var(--shadow); }
.plan.feature .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.plan .plan-sub { font-size: .86rem; color: var(--muted); margin: 4px 0 0; }
.plan h3 { font-size: 1.08rem; margin: 0 0 6px; }
.price { font-size: 2.1rem; font-weight: 800; color: var(--ink); line-height: 1.15; }
.price small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 22px; flex: 1; }
.plan li { color: var(--ink-soft); font-size: .93rem; padding: 6px 0 6px 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.plan .btn { margin-top: auto; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 2px 18px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; padding: 15px 0; list-style: none;
  color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-weight: 800; font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--ink-soft); font-size: .95rem; }

/* ── Legal / doc pages (kept) ───────────────────────────────── */
.doc { padding: 48px 0 72px; }
.doc .container { max-width: 800px; }
.doc h1 { font-size: 2.2rem; margin: 0 0 6px; }
.doc .meta { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }
.doc h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.doc h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.callout { background: var(--bg-tint); border-left: 4px solid var(--blue);
  border-radius: 8px; padding: 14px 18px; margin: 18px 0; color: var(--ink-soft); }
.callout.warn { background: #fef2f2; border-left-color: #dc2626; color: #7f1d1d; }
.callout.warn p, .callout.warn strong { color: #7f1d1d; }
.doc-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 12px 14px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.doc-toc a { font-size: .84rem; font-weight: 700; color: var(--navy); padding: 5px 11px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.doc-toc a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.severity-pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .74rem;
  font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.severity-pill.l1 { background: #fee2e2; color: #991b1b; }
.severity-pill.l2 { background: #ffedd5; color: #9a3412; }
.severity-pill.l3 { background: #fef3c7; color: #92400e; }
.severity-pill.l4 { background: #e0f2fe; color: #075985; }
.report-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin: 20px 0 28px; box-shadow: var(--shadow-sm); }
.callout h2, .callout h3 { margin: 0 0 6px; font-size: 1.08rem; }
.report-card h2, .report-card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.report-card .report-sub { margin: 0 0 18px; font-size: .92rem; color: var(--ink-soft); }
.report-form { display: flex; flex-direction: column; gap: 14px; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .report-grid { grid-template-columns: 1fr; } }
.report-field label { display: block; font-size: .8rem; font-weight: 700; color: var(--ink);
  margin-bottom: 6px; }
.report-field input, .report-field select, .report-field textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: .94rem; font-family: inherit; color: var(--ink); background: #fff; outline: none; }
.report-field input:focus, .report-field select:focus, .report-field textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .14); }
.report-field textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
.report-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.report-direct { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  font-size: .88rem; color: var(--ink-soft); }
.report-direct code { background: var(--bg-soft); border: 1px solid var(--line);
  padding: 3px 9px; border-radius: 6px; font-weight: 700; color: var(--ink); font-size: .88rem; }
.report-status { font-size: .85rem; font-weight: 600; min-height: 20px; margin: 4px 0 0; }
.report-status.ok { color: #0a7d2c; }
.report-status.err { color: #c0392b; }
.hw-privacy-note a { color: #166534; text-decoration: underline; font-weight: 700; }
.hw-privacy-note a:hover { color: var(--blue-deep); }
.hw-privacy-note { flex-wrap: wrap; }
.sdk-table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .92rem;
  color: var(--ink-soft); }
.sdk-table th, .sdk-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line);
  vertical-align: top; overflow-wrap: anywhere; }
.sdk-table thead th { background: var(--bg-soft); color: var(--ink); font-weight: 700;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.sdk-table tbody tr:last-child td { border-bottom: none; }

/* ── Footer (navy, premium) ──────────────────────────────────── */
.site-footer { background: var(--navy); color: #9fb2cb; padding: 48px 0 36px; }
.site-footer a { color: #c7d4e6; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-grid .brand { color: #fff; margin-bottom: 10px; }
.footer-grid p { color: #8ba0bc; font-size: .9rem; margin: 0; max-width: 260px; }
.footer-col h3, .footer-col h4 { color: #fff; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  margin: 0 0 14px; }
.footer-col a { display: block; font-size: .92rem; margin-bottom: 9px; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  align-items: center; padding-top: 24px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: .9rem; font-weight: 600; }
.footer-copy { color: #7489a6; font-size: .85rem; }

/* ── Waitlist form (kept) ───────────────────────────────────── */
.wl-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 460px; margin: 18px auto 0; }
.wl-form input[type=email] { flex: 1; min-width: 220px; padding: 13px 16px; font-size: 16px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); outline: none; }
.wl-form input[type=email]:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.18); }
.wl-form .btn { white-space: nowrap; }
.wl-msg { min-height: 20px; margin-top: 12px; font-size: 14px; font-weight: 600; }
.wl-msg.ok { color: #0a7d2c; }
.wl-msg.err { color: #c0392b; }

/* ── Result gallery (effect images) ─────────────────────────── */
.hero-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: 760px; margin: 36px auto 0; }
.hero-strip figure { margin: 0; }
.hero-strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top;
  border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow);
  background: var(--bg-soft); }
.strip-cap { font-size: .9rem; color: var(--muted); text-align: center; margin: 18px 0 0; }
@media (max-width: 620px) { .hero-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 420px; } }

.gallery { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  max-width: 1000px; margin: 0 auto 26px; }
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.shot figcaption { font-size: .84rem; color: var(--ink-soft); font-weight: 600;
  padding: 11px 12px; text-align: center; }

/* ID photo example samples */
.sample-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  max-width: 640px; margin: 0 auto 36px; justify-items: center; }
.sample { margin: 0; text-align: center; }
.sample img { width: 240px; height: 240px; max-width: 100%; object-fit: cover; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow); margin: 0 auto; }
.sample.single { margin: 0 auto 32px; }
.sample.single img { width: 280px; height: 280px; }
.sample figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: 11px; font-weight: 600; }
.sample .tag-free { color: var(--muted); font-weight: 500; }

/* ── Before / after transformation ──────────────────────────── */
.ba-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  max-width: 940px; margin: 0 auto; }
.ba-pair { margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px; }
.ba-imgs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 12px; }
.ba-cell { text-align: center; min-width: 0; }
.ba-cell .thumb { display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft); }
.ba-cell .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-cell b { display: block; font-size: .76rem; font-weight: 700; color: var(--muted);
  margin-top: 9px; text-transform: uppercase; letter-spacing: .04em; }
.ba-cell.after b { color: var(--blue-deep); }
.ba-arrow { color: var(--blue); flex-shrink: 0; }
.ba-note { text-align: center; color: var(--muted); font-size: .84rem; margin: 24px auto 0; max-width: 620px; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .section { padding: 48px 0; }
  .hero { padding: 48px 0 40px; }
  .nav-links { gap: 14px; }
  .nav-links .nav-hide { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .sdk-table, .sdk-table thead, .sdk-table tbody, .sdk-table tr, .sdk-table td { display: block; width: 100%; }
  .sdk-table thead { position: absolute; left: -9999px; }
  .sdk-table tr { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 6px 4px; margin-bottom: 14px; }
  .sdk-table td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 44%; position: relative; }
  .sdk-table td:last-child { border-bottom: none; }
  .sdk-table td::before { content: attr(data-label); position: absolute; left: 12px; top: 10px;
    width: 38%; font-weight: 700; color: var(--ink); font-size: .72rem; text-transform: uppercase; }
}

/* ── Homepage Studio Showcase & Hero Trust Link ─────────────── */
.hero-trust-link { margin: 16px 0 0; font-size: .92rem; color: var(--ink-soft); }
.hero-trust-link a { font-weight: 700; color: var(--navy); border-bottom: 1.5px solid var(--line);
  padding-bottom: 2px; transition: border-color .15s, color .15s; }
.hero-trust-link a:hover { color: var(--blue); border-color: var(--blue); text-decoration: none; }

.studio-showcase { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 28px 30px; max-width: 920px; margin: 28px auto 0; }
.studio-showcase-top { display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 20px; }
.studio-showcase h3 { margin: 0 0 6px; font-size: 1.28rem; }
.studio-showcase p { margin: 0; color: var(--ink-soft); max-width: 540px; font-size: .96rem; }
.feature-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.feature-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line);
  font-size: .82rem; font-weight: 700; color: var(--ink); }
.feature-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* ── Global Auth Modal, Account Pill & Popover ──────────────── */
.os-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.gbtn.os-account-pill { padding: 7px 10px 7px 14px; gap: 8px; }
.os-pill-email { max-width: 132px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: .86rem; color: var(--ink); font-weight: 700; }
.os-pill-credits { display: inline-flex; align-items: center; gap: 3px; background: var(--bg-tint);
  color: var(--blue-deep); font-size: .78rem; font-weight: 800; padding: 4px 9px;
  border-radius: 999px; white-space: nowrap; }

.os-account-popover { position: fixed; z-index: 120; width: 264px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  overflow: hidden; }
.os-pop-head { padding: 14px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.os-pop-email { font-size: .88rem; font-weight: 700; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.os-pop-bal { font-size: .8rem; font-weight: 700; color: var(--blue-deep); margin-top: 3px; }
.os-pop-links { padding: 6px; border-bottom: 1px solid var(--line); }
.os-pop-item { display: block; width: 100%; padding: 9px 12px; border-radius: 9px; color: var(--ink);
  font-size: .9rem; font-weight: 600; background: transparent; border: none; text-align: left;
  cursor: pointer; font-family: inherit; }
.os-pop-item:hover { background: var(--bg-soft); color: var(--blue); text-decoration: none; }
.os-pop-item:disabled { opacity: .6; cursor: wait; }
.os-pop-packs { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.os-pop-label { font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; }
.os-pop-pack { width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 9px 11px; margin-bottom: 6px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: .86rem; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: border-color .15s, background .15s; }
.os-pop-pack:last-of-type { margin-bottom: 0; }
.os-pop-pack:hover { border-color: var(--blue); background: var(--bg-tint); }
.os-pop-pack.best { border-color: #bfdbfe; background: #f8fbff; }
.os-pop-pack em { font-style: normal; font-size: .7rem; font-weight: 800; color: var(--blue-deep);
  background: var(--bg-tint); padding: 2px 6px; border-radius: 999px; margin-left: 4px; }
.os-pop-msg { margin: 8px 0 0; font-size: .78rem; min-height: 0; }
.os-pop-msg.info { color: var(--ink-soft); }
.os-pop-msg.err { color: #c0392b; }
.os-pop-foot { padding: 8px 10px; }
.os-pop-signout { width: 100%; padding: 8px 10px; border-radius: 8px; border: none;
  background: transparent; color: var(--ink-soft); font-size: .86rem; font-weight: 600;
  cursor: pointer; text-align: left; font-family: inherit; }
.os-pop-signout:hover { background: var(--bg-soft); color: #b91c1c; }

.os-auth-modal { position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 20px; }
.os-auth-modal.open { display: flex; }
.os-auth-backdrop { position: absolute; inset: 0; background: rgba(10, 37, 64, .54);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.os-auth-card { position: relative; z-index: 1; width: 100%; max-width: 420px; background: #fff;
  border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: 28px 26px 24px; }
.os-auth-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
  border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  font-size: 1.3rem; line-height: 1; cursor: pointer; display: flex; align-items: center;
  justify-content: center; }
.os-auth-close:hover { background: var(--bg-soft); color: var(--ink); }
.os-auth-head { text-align: center; margin-bottom: 18px; }
.os-auth-logo { width: 40px; height: 40px; border-radius: 10px; margin: 0 auto 10px; }
.os-auth-head h2 { margin: 0 0 6px; font-size: 1.38rem; }
.os-auth-head p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.os-auth-notice { background: #fffbeb; border: 1px solid #fde68a; color: #92400e;
  border-radius: var(--radius-sm); padding: 10px 13px; font-size: .84rem; font-weight: 600;
  margin-bottom: 14px; line-height: 1.45; }
.os-auth-google-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 13px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); font-weight: 700; font-size: .96rem; cursor: pointer;
  box-shadow: var(--shadow-sm); font-family: inherit; transition: border-color .15s, box-shadow .15s; }
.os-auth-google-btn:hover { border-color: #cbd5e1; box-shadow: var(--shadow); }
.os-auth-google-btn svg { width: 19px; height: 19px; }
.os-auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px;
  color: var(--muted); font-size: .8rem; font-weight: 600; }
.os-auth-divider::before, .os-auth-divider::after { content: ""; flex: 1; height: 1px;
  background: var(--line); }
.os-auth-form { display: flex; flex-direction: column; gap: 10px; }
.os-auth-form.highlight { padding: 12px; border-radius: var(--radius-sm); background: var(--bg-tint);
  border: 1.5px solid var(--blue); }
.os-auth-form input[type=email] { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); font-size: .96rem; font-family: inherit; color: var(--ink);
  background: #fff; outline: none; }
.os-auth-form input[type=email]:focus { border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .16); }
.os-auth-status { min-height: 18px; margin: 10px 0 0; font-size: .85rem; font-weight: 600;
  text-align: center; }
.os-auth-status.ok { color: #0a7d2c; }
.os-auth-status.err { color: #c0392b; }
.os-auth-foot { margin: 14px 0 0; text-align: center; font-size: .78rem; color: var(--muted); }

/* ── Auth Verify Page ───────────────────────────────────────── */
.verify-wrap { min-height: 62vh; display: flex; align-items: center; }
.verify-card { max-width: 460px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 40px 30px; text-align: center; }
.verify-card h1 { font-size: 1.55rem; margin: 0 0 10px; }
.verify-sub { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.verify-actions { margin-top: 24px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── Frontend Anti-Save Preview Shield (removed once unlocked) ── */
.os-proof-shield {
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.os-proof-shield img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}
.os-proof-shield::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: transparent;
}

/* ── Inline Tiered Quota / Upgrade Callout ──────────────────── */
.os-quota-callout {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #bfdbfe;
  background: #f0f6ff;
  color: var(--navy);
  font-size: .88rem;
  line-height: 1.45;
  display: none;
}
.os-quota-callout.show { display: block; }
.os-quota-callout strong { display: block; font-size: .92rem; margin-bottom: 4px; color: var(--ink); }
.os-quota-callout p { margin: 0; color: var(--ink-soft); font-size: .85rem; }
.os-quota-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.os-quota-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 15px; border-radius: 999px; border: none;
  background: var(--blue); color: #fff; font-family: inherit;
  font-size: .82rem; font-weight: 700; cursor: pointer;
  transition: background .15s, transform .1s;
}
.os-quota-btn:hover:not(:disabled) { background: var(--blue-deep); transform: translateY(-1px); }
.os-quota-btn:disabled { opacity: .6; cursor: not-allowed; }
.os-quota-btn.ghost {
  background: #fff; color: var(--ink); border: 1.5px solid #cbd5e1;
}
.os-quota-btn.ghost:hover:not(:disabled) { background: var(--bg-soft); border-color: #94a3b8; }

/* ── Homepage Tool-First Hero & Dual-Mode Workbench ─────────── */
.hw-hero {
  background: linear-gradient(180deg, var(--bg-tint) 0%, #f8fafd 58%, #ffffff 100%);
  padding: 24px 0 38px;
  border-bottom: 1px solid var(--line);
}
.hw-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 20px;
}
.hw-head h1 {
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  line-height: 1.1;
  margin: 10px auto 8px;
  letter-spacing: -0.025em;
}
.hw-head .hw-sub {
  margin: 0 auto;
  max-width: 680px;
  font-size: .98rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.hw-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hw-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 18px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.hw-tabs {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: #e9eff7;
  padding: 4px;
  border-radius: 13px;
}
.hw-tab {
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: .9rem;
  font-weight: 800;
  padding: 9px 18px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  transition: background .15s, color .15s, box-shadow .15s;
}
.hw-tab:hover { color: var(--ink); }
.hw-tab.active {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(14, 28, 51, .1);
}
.hw-top-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.hw-top-meta a {
  color: var(--blue-deep);
  font-weight: 700;
}

.hw-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 420px);
  gap: 0;
  align-items: stretch;
}
.hw-left {
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid var(--line);
}
.hw-right {
  padding: 18px 20px 20px;
  background: #fafcff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Compact uploader bar inside workbench */
.hw-upload-box {
  border: 1.5px dashed #bfd0e6;
  border-radius: 14px;
  background: var(--bg-soft);
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.hw-upload-box:hover, .hw-upload-box.drag {
  border-color: var(--blue);
  background: var(--bg-tint);
}
.hw-upload-empty {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hw-upload-ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.hw-upload-copy { flex: 1; min-width: 0; }
.hw-upload-copy strong { display: block; font-size: .92rem; color: var(--ink); line-height: 1.25; }
.hw-upload-copy small { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.hw-upload-pick {
  padding: 7px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink);
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}
.hw-thumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hw-thumb {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #bbf7d0;
  background: #fff;
  flex-shrink: 0;
}
.hw-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hw-thumb-rm {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, .78);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hw-thumb-rm:hover { background: #dc2626; }
.hw-thumb-add {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  border: 1.5px dashed #94a3b8;
  background: #fff;
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hw-thumb-add:hover { border-color: var(--blue); background: var(--bg-tint); }
.hw-upload-status {
  margin-left: auto;
  font-size: .78rem;
  font-weight: 700;
  color: #166534;
  background: #eaf5ee;
  border: 1px solid #c3e3ce;
  padding: 4px 10px;
  border-radius: 999px;
}
.hw-privacy-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .77rem;
  font-weight: 700;
  color: #21633d;
  margin-top: 6px;
}

/* Mode control rows */
.hw-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.hw-label {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-soft);
}
.hw-all-link {
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

/* 6 Quick-Style Cards */
.hw-style-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.hw-style-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color .14s, box-shadow .14s, transform .12s;
}
.hw-style-card:hover { border-color: #93b4ec; transform: translateY(-1px); }
.hw-style-card.selected {
  border-color: var(--blue);
  background: #f5f9ff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}
.hw-style-thumb {
  width: 48px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: #e9eef5;
  flex-shrink: 0;
}
.hw-style-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hw-style-info { min-width: 0; flex: 1; }
.hw-style-name {
  display: block;
  font-size: .78rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.22;
}
.hw-style-tag {
  display: block;
  font-size: .69rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Compact backdrop pills */
.hw-bg-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.hw-bg-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px 6px 8px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: .79rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .14s, background .14s;
}
.hw-bg-chip:hover { border-color: #93b4ec; background: var(--bg-soft); }
.hw-bg-chip.selected {
  border-color: var(--blue);
  background: var(--bg-tint);
  color: var(--navy);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .14);
}
.hw-bg-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(14, 28, 51, .2);
  flex-shrink: 0;
}

/* Passport panel inside workbench */
.hw-passport-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hw-shell [hidden] {
  display: none !important;
}
.hw-spec-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hw-spec-chip {
  font-size: .75rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Generate CTA */
.hw-cta-wrap { margin-top: auto; padding-top: 4px; }
.hw-gen-btn {
  width: 100%;
  padding: 15px 22px;
  border-radius: 13px;
  border: none;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 22px rgba(37, 99, 235, .28);
  transition: background .15s, transform .12s, box-shadow .15s;
}
.hw-gen-btn:hover:not(:disabled) {
  background: var(--blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(37, 99, 235, .34);
}
.hw-gen-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.hw-gen-msg {
  margin: 7px 0 0;
  text-align: center;
  font-size: .79rem;
  color: var(--muted);
  min-height: 18px;
}
.hw-gen-msg.ok { color: #0a7d2c; font-weight: 700; }
.hw-gen-msg.err { color: #c0392b; font-weight: 700; }

/* Right Live Stage inside Homepage Workbench */
.hw-stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.hw-stage-label {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-soft);
}
.hw-stage-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.4;
  max-height: 360px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e9eef5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease;
}
.hw-stage-frame.is-preview-sample {
  padding: 14px;
}
.hw-stage-frame.is-preview-sample img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 11px;
  box-shadow: 0 10px 24px rgba(14, 28, 51, .16);
}
.hw-stage-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hw-stage-frame.is-passport img {
  object-fit: contain;
  background: #fff;
}
.hw-stage-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 4;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .78);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}
.hw-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.hw-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: .74rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.hw-trust-pill.sage {
  background: #eaf5ee;
  border-color: #c3e3ce;
  color: #21633d;
}

/* Post-render conversion panels in right column */
.hw-panel-block { display: none; flex-direction: column; gap: 9px; }
.hw-panel-block.show { display: flex; }

.hw-pack-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hw-pack-opt {
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 9px 10px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color .14s, background .14s;
}
.hw-pack-opt:hover { border-color: #93b4ec; }
.hw-pack-opt.selected {
  border-color: var(--blue);
  background: #f4f8ff;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .14);
}
.hw-pack-opt b { display: block; font-size: .82rem; color: var(--ink); }
.hw-pack-opt span { display: block; font-size: .92rem; font-weight: 800; color: var(--blue-deep); margin-top: 2px; }
.hw-pack-opt small { display: block; font-size: .71rem; color: var(--muted); margin-top: 1px; }

/* ── Below-the-Fold SEO Sections ────────────────────────────── */
.seo-industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}
.seo-ind-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.seo-ind-card h3 { margin: 0; font-size: 1.08rem; }
.seo-ind-card p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.seo-ind-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg-tint);
  color: var(--blue-deep);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.seo-team-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--navy);
  color: #dbe6f5;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow);
}
.seo-team-banner h3 { margin: 0 0 6px; color: #fff; font-size: 1.24rem; }
.seo-team-banner p { margin: 0; color: #b6c7de; font-size: .94rem; max-width: 620px; }

.seo-country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
  max-width: 980px;
  margin: 0 auto 26px;
}
.seo-country-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  font-size: .9rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, transform .12s, box-shadow .15s;
}
.seo-country-link:hover {
  border-color: var(--blue);
  color: var(--blue-deep);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.seo-country-link small {
  color: var(--muted);
  font-weight: 600;
  font-size: .76rem;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .hw-grid { grid-template-columns: 1fr; }
  .hw-left { border-right: none; border-bottom: 1px solid var(--line); padding: 16px; }
  .hw-right { padding: 16px; }
  .hw-stage-frame { max-height: 320px; aspect-ratio: 1 / 1; }
}
@media (max-width: 640px) {
  .hw-hero { padding: 16px 0 28px; }
  .hw-head { margin-bottom: 14px; }
  .hw-head h1 { font-size: 1.55rem; }
  .hw-head .hw-sub { font-size: .9rem; }
  .hw-topbar { padding: 10px 12px; }
  .hw-tabs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: 100%; }
  .hw-tab { padding: 8px 6px; font-size: .76rem; gap: 4px; white-space: normal; text-align: center; line-height: 1.2; }
  .hw-style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .hw-style-thumb { width: 42px; height: 52px; }
  .hw-style-name { font-size: .74rem; }
  .hw-upload-pick { display: none; }
  .hw-pack-row { grid-template-columns: 1fr; }
  .seo-team-banner { padding: 20px; }
}
