/* HTMLtoURL.dev — site theme. Coral-red on warm paper, sunflower yellow as the "live" accent. */
:root {
  --bg: #faf7f2;
  --bg-2: #f3eee5;
  --surface: #ffffff;
  --ink: #1a1512;
  --ink-2: #3a302a;
  --muted: #6b5f57;
  --faint: #9a8e85;
  --line: #ebe3d8;
  --line-2: #ddd2c4;
  --brand: #e5484d;
  --brand-2: #c22f35;
  --brand-soft: #fdebea;
  --lime: #ffd23f;
  --lime-ink: #5a4300;
  --ok: #128a4a;
  --ok-soft: #e4f6ec;
  --warn: #b45f06;
  --warn-soft: #fdf1e1;
  --err: #c92a42;
  --err-soft: #fde9ec;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(26, 21, 18, .05), 0 12px 32px -14px rgba(120, 40, 30, .22);
  --shadow-lg: 0 30px 70px -30px rgba(140, 40, 30, .38);
  --head: "Space Grotesk", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); letter-spacing: -.02em; line-height: 1.18; }
code, pre, kbd { font-family: var(--mono); font-size: .9em; }
:not(pre) > code { background: var(--brand-soft); color: var(--brand-2); padding: .12em .4em; border-radius: 6px; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--body); padding: 13px 20px; border-radius: 12px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform .12s, background .15s, box-shadow .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px var(--brand); }
.btn-primary:hover { background: var(--brand-2); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: #fff; }
.btn-soft { background: var(--brand-soft); color: var(--brand-2); }
.btn-soft:hover { background: #fadad8; color: var(--brand-2); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #f5c518; color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { color: var(--brand); }
.btn-danger { background: var(--err-soft); color: var(--err); }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 16px 26px; font-size: 16px; border-radius: 14px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.nav { display: flex; align-items: center; gap: 22px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font: 800 18px/1.1 var(--head); letter-spacing: -.03em; }
.brand-text b i { font-style: normal; color: var(--brand); }
.brand-text span { font-size: 11.5px; color: var(--faint); font-weight: 500; letter-spacing: .01em; }
.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.menu a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.menu a:hover, .menu a.active { color: var(--brand); background: var(--brand-soft); }
.menu .menu-cta { display: none; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; border-radius: 10px; }
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .menu { position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 20px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .menu.open { display: flex; }
  .menu a { padding: 12px; }
  .menu .menu-cta { display: inline-flex; margin-top: 8px; color: #fff; }
  .nav-right { margin-left: auto; }
}
@media (max-width: 420px) { .nav-cta { display: none; } }

/* ---------- breadcrumbs & page heads ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 18px 0 0; margin: 0; font-size: 13.5px; color: var(--faint); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.page-head { padding: 26px 0 26px; max-width: 820px; }
.page-head h1 { font-size: clamp(30px, 4.6vw, 46px); margin: 10px 0 14px; font-weight: 800; }
.lede { font-size: 18.5px; color: var(--muted); margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font: 600 12.5px/1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--brand-2); background: var(--brand-soft); padding: 7px 11px; border-radius: 999px; }
.eyebrow.lime { background: var(--lime); color: var(--lime-ink); }

/* ---------- sections & cards ---------- */
.section { padding: 46px 0; }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 36px); margin: 12px 0 10px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgba(26, 21, 18, .04); transition: border-color .15s, transform .15s, box-shadow .15s; }
a.card:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.card h3 { font-size: 17.5px; margin: 12px 0 6px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card .ico { width: 42px; height: 42px; border-radius: 12px; display: inline-grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.card .kicker { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--brand-2); }
.card .read { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--faint); font-weight: 500; }
.guide-card h3 { margin-top: 8px; }
.tool-group { margin: 10px 0 40px; }
.tool-group h2 { font-size: 24px; margin: 0 0 6px; }
.group-note { color: var(--muted); margin: 0 0 18px; max-width: 760px; }

/* ---------- prose ---------- */
.prose { max-width: 780px; font-size: 17px; }
.prose h2 { font-size: 27px; margin: 46px 0 14px; font-weight: 800; scroll-margin-top: 90px; }
.prose h3 { font-size: 20px; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 22px 0; padding: 14px 20px; border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 0 12px 12px 0; color: var(--ink-2); }
.prose .answer-box, .answer-box { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--lime); border-radius: 14px; padding: 18px 20px; margin: 4px 0 26px; box-shadow: 0 1px 2px rgba(26, 21, 18, .04); }
.answer-box p:last-child { margin-bottom: 0; }
.answer-box .label { display: block; font: 700 12px/1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--lime-ink); margin-bottom: 8px; }
.callout { border-radius: 14px; padding: 14px 18px; margin: 20px 0; font-size: 15.5px; }
.callout.tip { background: var(--ok-soft); color: #0c5f33; }
.callout.warn { background: var(--warn-soft); color: #7a3f03; }
.table-scroll { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-2); font-weight: 600; color: var(--ink); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.yes { color: var(--ok); font-weight: 600; }
td.no { color: var(--faint); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin: 0 0 30px; }
.toc h2 { font-size: 13px !important; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin: 0 0 8px !important; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; font-size: 15px; }
.toc li { break-inside: avoid; margin: 4px 0; }
.toc a { text-decoration: none; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.guide-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 14px; margin-top: 16px; }
.guide-meta span + span::before { content: "·"; margin-right: 16px; }

/* ---------- code blocks ---------- */
pre.code { position: relative; background: #1a1512; color: #fde4e2; border-radius: 14px; padding: 18px 18px; overflow-x: auto; font-size: 13.5px; line-height: 1.6; margin: 18px 0; }
pre.code .copy { position: absolute; top: 10px; right: 10px; font: 600 12px/1 var(--body); background: rgba(255, 255, 255, .1); color: #fff; border: 0; padding: 7px 10px; border-radius: 8px; cursor: pointer; }
pre.code .copy:hover { background: rgba(255, 255, 255, .2); }
.tok-c { color: #b8a59a; } .tok-s { color: var(--lime); } .tok-k { color: #ffb3b0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 17px 30px 17px 0; font-weight: 600; font-size: 16.5px; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font: 400 24px/1 var(--body); color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 16px; color: var(--ink-2); }
.faq .answer p { margin: 0 0 10px; }

/* ---------- forms & tool shell ---------- */
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); margin: 6px 0 40px; }
.tool > h2 { font-size: 21px; margin: 0 0 6px; }
.tool-note { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.field { margin-bottom: 16px; }
.field label, .field-label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; color: var(--ink); }
.field .hint { font-size: 13px; color: var(--faint); margin-top: 6px; }
input[type=text], input[type=url], input[type=email], input[type=password], input[type=number], select, textarea {
  width: 100%; font: 15px/1.4 var(--body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
textarea { resize: vertical; min-height: 120px; }
textarea.mono, .mono { font-family: var(--mono); font-size: 13.5px; line-height: 1.55; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 720px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 500; cursor: pointer; background: var(--surface); user-select: none; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip.on, .chip:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-2); }
.tabs { display: inline-flex; gap: 4px; background: var(--bg-2); padding: 4px; border-radius: 13px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs button { font: 600 14px/1 var(--body); border: 0; background: none; color: var(--muted); padding: 10px 14px; border-radius: 10px; cursor: pointer; display: inline-flex; gap: 7px; align-items: center; }
.tabs button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(26, 21, 18, .12); }
.out-box { background: var(--bg-2); border-radius: 14px; padding: 14px; }
.stat-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.stat { background: var(--bg-2); border-radius: 12px; padding: 10px 14px; font-size: 14px; color: var(--muted); }
.stat b { display: block; font: 700 19px/1.2 var(--head); color: var(--ink); }
.dropzone { display: block; border: 2px dashed var(--line-2); border-radius: 18px; padding: 30px 18px; text-align: center; background: var(--bg); cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone.drag, .dropzone.over, .dropzone:hover { border-color: var(--brand); background: var(--brand-soft); }
.dropzone b { display: block; font-size: 16.5px; color: var(--ink); margin: 10px 0 4px; }
.dropzone span { font-size: 14px; color: var(--muted); }
.dropzone .dz-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--surface); display: inline-grid; place-items: center; color: var(--brand); box-shadow: var(--shadow); }
.preview-frame { width: 100%; height: 420px; border: 1px solid var(--line); border-radius: 14px; background: #fff; display: block; }
.msg { border-radius: 12px; padding: 11px 14px; font-size: 14.5px; margin: 12px 0 0; }
.msg.err { background: var(--err-soft); color: var(--err); }
.msg.ok { background: var(--ok-soft); color: var(--ok); }
.msg.warn { background: var(--warn-soft); color: var(--warn); }
.check-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14.5px; }
.check-list .badge { flex-shrink: 0; font: 700 11px/1 var(--body); text-transform: uppercase; letter-spacing: .05em; padding: 5px 7px; border-radius: 6px; margin-top: 2px; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.err { background: var(--err-soft); color: var(--err); }
.badge.info { background: var(--brand-soft); color: var(--brand-2); }

/* ---------- publisher (home) ---------- */
.hero { padding: 40px 0 30px; position: relative; }
.hero::before { content: ""; position: absolute; inset: -66px 0 auto 0; height: 620px; z-index: -1; background:
  radial-gradient(600px 300px at 12% 10%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
  radial-gradient(520px 280px at 88% 0%, color-mix(in srgb, var(--lime) 40%, transparent), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.04; margin: 16px 0 18px; font-weight: 800; letter-spacing: -.035em; }
.hero h1 .hl { background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); }
.hero .lede { font-size: 19px; max-width: 520px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { color: var(--ok); flex-shrink: 0; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 26px; } .hero { padding-top: 26px; } }

.publisher { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 20px; box-shadow: var(--shadow-lg); position: relative; }
.publisher .tabs { margin-bottom: 14px; }
.pub-code { min-height: 230px; max-height: 420px; font-family: var(--mono); font-size: 13px; line-height: 1.55; background: #1a1512; color: #fde4e2; border-color: #1a1512; border-radius: 14px; tab-size: 2; }
.pub-code:focus { border-color: var(--brand); }
.pub-code::placeholder { color: #a6948a; }
.pub-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 8px 0 0; font-size: 13px; color: var(--faint); flex-wrap: wrap; }
.pub-bar button { background: none; border: 0; color: var(--brand); font: 600 13px/1 var(--body); cursor: pointer; padding: 4px 0; }
.pub-opts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; margin-top: 14px; }
.pub-opts .field { margin: 0; }
@media (max-width: 560px) { .pub-opts { grid-template-columns: 1fr; } }
.slug-input { display: flex; align-items: stretch; border: 1.5px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--surface); }
.slug-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.slug-input input { border: 0 !important; box-shadow: none !important; border-radius: 0; min-width: 0; padding-right: 4px; text-align: right; }
.slug-input span { display: flex; align-items: center; padding: 0 12px 0 2px; color: var(--muted); font-size: 14.5px; white-space: nowrap; background: var(--surface); }
.slug-state { font-size: 12.5px; margin-top: 5px; min-height: 18px; color: var(--faint); }
.slug-state.ok { color: var(--ok); } .slug-state.bad { color: var(--err); }
.more-opts { margin-top: 12px; }
.more-opts summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--brand); list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.more-opts summary::-webkit-details-marker { display: none; }
.more-opts[open] summary { margin-bottom: 12px; }
.pub-go { margin-top: 16px; }
.pub-fine { text-align: center; font-size: 12.5px; color: var(--faint); margin: 10px 0 0; }
.file-list { margin: 12px 0 0; max-height: 160px; overflow: auto; font: 12.5px/1.6 var(--mono); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; color: var(--ink-2); }
.file-list .row { display: flex; justify-content: space-between; gap: 12px; }
.file-list .row span:last-child { color: var(--faint); flex-shrink: 0; }
.edit-banner { background: var(--lime); color: var(--lime-ink); border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 500; margin-bottom: 14px; display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.edit-banner a { color: var(--lime-ink); font-weight: 700; }

.result { text-align: left; }
.result-top { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.result-top .tick { width: 44px; height: 44px; border-radius: 14px; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; flex-shrink: 0; }
.result-top h2 { font-size: 20px; margin: 0; }
.result-top p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.link-box { display: flex; gap: 8px; align-items: center; background: var(--bg-2); border-radius: 14px; padding: 8px 8px 8px 14px; }
.link-box a { flex: 1; min-width: 0; font: 600 15.5px/1.3 var(--mono); color: var(--brand-2); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-grid { display: grid; grid-template-columns: 1fr 150px; gap: 16px; margin-top: 16px; align-items: start; }
.qr-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: grid; place-items: center; min-height: 150px; }
.qr-box img, .qr-box svg { width: 128px; height: 128px; image-rendering: pixelated; }
.key-box { background: var(--warn-soft); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; color: #7a3f03; }
.key-box code { display: block; margin-top: 6px; background: rgba(255, 255, 255, .7) !important; color: var(--ink) !important; word-break: break-all; font-size: 12px; }
.meta-list { list-style: none; padding: 0; margin: 0 0 12px; font-size: 14px; color: var(--muted); display: grid; gap: 4px; }
.meta-list b { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .result-grid { grid-template-columns: 1fr; } .qr-box { justify-self: start; } }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- home blocks ---------- */
.logos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.logos span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--ink); color: var(--lime); font: 800 16px/1 var(--head); margin-bottom: 14px; }
.step h3 { font-size: 18px; margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 14px; }
.feature-list .fi { width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.feature-list b { display: block; font-size: 16px; }
.feature-list span { color: var(--muted); font-size: 15px; }
.dark-band { background: var(--ink); color: #fbdcd9; border-radius: 28px; padding: 44px; margin: 30px 0; }
.dark-band h2 { color: #fff; }
.dark-band p { color: #e0bdb7; }
.dark-band a:not(.btn) { color: var(--lime); }
@media (max-width: 640px) { .dark-band { padding: 28px 22px; border-radius: 22px; } }
.compare-table td:first-child { font-weight: 500; color: var(--ink); }
.compare-table th:nth-child(2), .compare-table td:nth-child(2) { background: color-mix(in srgb, var(--lime) 18%, transparent); }

/* ---------- CTA & footer ---------- */
.cta { margin: 50px 0 60px; background: linear-gradient(135deg, var(--brand) 0%, #ff7a45 100%); color: #fff; border-radius: 28px; padding: 46px 30px; text-align: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--lime); opacity: .22; }
.cta h2 { color: #fff; font-size: clamp(26px, 3.8vw, 36px); margin: 0 0 10px; font-weight: 800; }
.cta p { color: #fbdcd9; max-width: 620px; margin: 0 auto 24px; font-size: 17px; }
.site-footer { background: #0e1024; color: #e0bdb7; padding: 54px 0 26px; margin-top: 30px; }
.site-footer a { color: #f2d6d2; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.site-footer .brand { color: #fff; }
.site-footer .brand-text span { color: #b3a297; }
.ftop { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid #2e2622; }
.fbrand { max-width: 420px; }
.fbrand p { font-size: 14.5px; margin: 14px 0 0; }
.fcta { display: flex; align-items: center; gap: 16px; background: var(--lime); color: var(--ink) !important; padding: 18px 22px; border-radius: 18px; align-self: flex-start; }
.fcta b { display: block; font-size: 16px; }
.fcta small { font-size: 13px; color: #5a4300; }
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding: 34px 0; }
@media (max-width: 820px) { .fgrid { grid-template-columns: 1fr 1fr; } }
.fcol h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; font-family: var(--body); }
.fcol ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.copy-bar { border-top: 1px solid #2e2622; padding-top: 20px; font-size: 13.5px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cookie-link { background: none; border: 0; color: #f2d6d2; font: inherit; cursor: pointer; margin-left: auto; padding: 0; }

/* ---------- my links ---------- */
.links-list { display: grid; gap: 12px; }
.link-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.link-item h3 { font-size: 16px; margin: 0 0 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-item a.u { font: 500 14px/1.4 var(--mono); text-decoration: none; overflow-wrap: anywhere; }
.link-item .sub { font-size: 13px; color: var(--faint); margin-top: 4px; }
.link-item .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 680px) { .link-item { grid-template-columns: 1fr; } .link-item .acts { justify-content: flex-start; } }
.empty { text-align: center; padding: 50px 20px; background: var(--surface); border: 1px dashed var(--line-2); border-radius: 18px; color: var(--muted); }

/* ---------- toast & consent ---------- */
#toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 12px; font-size: 14.5px; font-weight: 500; opacity: 0; pointer-events: none; transition: .2s; z-index: 200; box-shadow: var(--shadow-lg); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; display: flex; justify-content: center; }
.consent-in { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 18px 20px; max-width: 640px; width: 100%; font-size: 14.5px; }
.consent-in p { margin: 0 0 12px; color: var(--ink-2); }
.consent-in .row-actions { margin: 0; }
.dialog-back { position: fixed; inset: 0; background: rgba(26, 18, 14, .5); z-index: 160; display: grid; place-items: center; padding: 16px; }
.dialog { background: var(--surface); border-radius: 20px; padding: 24px; max-width: 360px; width: 100%; text-align: center; box-shadow: var(--shadow-lg); }
.dialog h3 { margin: 0 0 12px; }
.dialog .qr-box { margin: 0 auto 14px; width: 220px; }
.dialog .qr-box img, .dialog .qr-box svg { width: 196px; height: 196px; }

/* ---------- phone: get the converter above the fold ---------- */
@media (max-width: 640px) {
  .hero { padding-top: 18px; }
  .hero h1 { font-size: 34px; margin: 12px 0 10px; }
  .hero .lede { font-size: 16.5px; }
  .hero .logos { display: none; }
  .trust { margin-top: 14px; gap: 4px 12px; font-size: 13.5px; }
  .publisher { padding: 14px; border-radius: 20px; }
  .publisher .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .publisher .tabs button { justify-content: center; padding: 10px 8px; font-size: 13.5px; }
  .publisher .tabs .long { display: none; }
  .tool { padding: 18px; }
  .dark-band { margin: 20px 0; }
}

/* ---------- accounts & plans ---------- */
.auth-slot { display: inline-flex; }
.account-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1.5px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; background: var(--surface); }
.account-chip:hover { border-color: var(--brand); color: var(--brand); }
.account-chip img, .avatar-fallback { width: 28px; height: 28px; border-radius: 50%; }
.avatar-fallback { display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 13px; }
@media (max-width: 520px) { .account-chip span { display: none; } .account-chip { padding: 2px; } }
.plan-box { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; background: var(--brand-soft); color: var(--brand-2); border-radius: 12px; padding: 10px 14px; font-size: 13.5px; margin: 14px 0 0; }
.plan-box a { font-weight: 700; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 1060px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { background: var(--surface); border: 1.5px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; position: relative; }
.price-card.featured { border-color: var(--brand); box-shadow: var(--shadow-lg); }
.price-card.current { border-color: var(--ok); }
.price-card .tag { position: absolute; top: -12px; left: 24px; background: var(--brand); color: #fff; font: 700 11.5px/1 var(--body); text-transform: uppercase; letter-spacing: .06em; padding: 6px 10px; border-radius: 999px; }
.price-card.current .tag.cur { background: var(--ok); }
.price-card h3 { font-size: 20px; margin: 0; }
.price-card .price { font: 800 40px/1 var(--head); margin: 14px 0 4px; color: var(--ink); }
.price-card .price small { font: 500 15px/1 var(--body); color: var(--muted); }
.price-card .for { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; min-height: 42px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; font-size: 14.5px; flex: 1; }
.price-card li { display: flex; gap: 8px; align-items: flex-start; }
.price-card li svg { color: var(--ok); flex-shrink: 0; margin-top: 3px; }
.price-card li.no { color: var(--faint); }
.price-card li.no svg { color: var(--faint); }

.life-box { display: flex; align-items: center; min-height: 46px; padding: 10px 13px; border: 1.5px dashed var(--line-2); border-radius: 12px; font-size: 14px; color: var(--muted); }
.life-box a { margin-left: 4px; font-weight: 600; }

/* ---------- converter landing pages ---------- */
.hero-sub { padding-top: 18px; }
.hero-sub h1 { font-size: clamp(32px, 4.6vw, 48px); }
.pub-title { font: 700 15px/1.3 var(--head); margin: 0 0 12px; color: var(--ink); }
.card ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); }
.card ul li { margin: 4px 0; }
