:root {
  --mat: #E9ECEF;
  --sheet: #FFFFFF;
  --ink: #111418;
  --soft: #5A616C;
  --cobalt: #1F3FBF;
  --cobalt-dark: #172F8F;
  --tape: #FFD23F;
  --line: #D5DAE0;
  --note: #FFF8DB;
  --danger: #A1260D;
  --radius: 10px;
  --shadow-1: 0 1px 2px color-mix(in srgb, var(--ink) 6%, transparent);
  --shadow-2: 0 8px 24px color-mix(in srgb, var(--ink) 8%, transparent);
  --f-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mat); color: var(--ink); font: 400 17px/1.6 var(--f-body); overflow-x: hidden; }
img, canvas { max-width: 100%; }
a { color: var(--cobalt); text-underline-offset: 3px; }
a:hover { color: var(--cobalt-dark); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
h1 { font-size: 28px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
p { margin: 0 0 16px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sheet); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.top { background: var(--sheet); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font: 700 18px/1 var(--f-head); }
.brand .gf-site-icon { width: 28px; height: 28px; border-radius: 6px; }
.top-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.top-nav a { color: var(--soft); text-decoration: none; font-size: 14px; padding: 12px 8px; }
.top-nav a:hover, .top-nav a[aria-current] { color: var(--ink); }
.top-acct { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.top-member { display: inline-flex; align-items: center; gap: 8px; }
.top-btn { min-height: 36px; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--ink); background: var(--sheet); color: var(--ink); font: 600 14px/1 var(--f-body); cursor: pointer; }
.top-btn:hover { background: var(--mat); }
.top-btn-quiet { border-color: var(--line); color: var(--soft); }
.top-credits { font-size: 14px; color: var(--ink); text-decoration: none; padding: 8px 4px; }
.top-credits:hover { text-decoration: underline; }

/* breadcrumb */
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--soft); padding-top: 16px; flex-wrap: wrap; }
.crumbs a { color: var(--soft); }

/* hero = the tool */
.hero { padding-top: 24px; padding-bottom: 48px; }
.hero h1 { max-width: 22ch; }
.lead { color: var(--soft); max-width: 62ch; font-size: 18px; }
.tool-card { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-2); padding: 16px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0 0; font-size: 14px; color: var(--soft); }
.trust span::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--tape); border: 1px solid var(--ink); margin-right: 8px; vertical-align: 1px; }

/* bands and sections */
.band { background: var(--sheet); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; }
.sub { color: var(--soft); max-width: 68ch; }
.examples .ex-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 24px; }
.ex { margin: 0; }
.ex-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ex-img { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--mat); }
.ex-img img { display: block; width: 100%; height: auto; }
.ex-tag { position: absolute; left: 8px; top: 8px; background: var(--ink); color: var(--sheet); font-size: 12px; padding: 4px 8px; border-radius: 4px; }
.ex-tag-after { background: var(--tape); color: var(--ink); }
.ex figcaption { font-size: 14px; color: var(--soft); margin-top: 8px; max-width: 68ch; }

.split { padding-top: 64px; padding-bottom: 64px; display: grid; gap: 24px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 24px; }
.steps li { counter-increment: s; position: relative; padding-left: 56px; max-width: 68ch; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--sheet); display: grid; place-items: center; font: 700 18px/1 var(--f-head); }
.steps p { margin: 0; color: var(--soft); }

.fit { display: grid; gap: 16px; margin-top: 24px; }
.fit-col { border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.fit-good { background: var(--mat); }
.fit-hard { background: var(--note); border-color: var(--tape); }
.fit-col ul { margin: 0; padding-left: 20px; }
.fit-col li { margin-bottom: 8px; }

.prose { padding-top: 48px; padding-bottom: 48px; }
.prose > * { max-width: 68ch; }
.prose h2 { margin-top: 32px; }
.prose h3 { margin-top: 24px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose img { border-radius: var(--radius); border: 1px solid var(--line); height: auto; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }

.more { padding-top: 48px; padding-bottom: 64px; }
.more-h { font: 700 22px/1.2 var(--f-head); margin: 0 0 12px; }
.more-list { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
.more-list li { border-bottom: 1px solid var(--line); }
.more-list a { display: flex; flex-direction: column; gap: 4px; padding: 16px 32px 16px 0; text-decoration: none; color: var(--ink); position: relative; }
.more-list a::after { content: "→"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--cobalt); font-size: 18px; }
.more-list span { color: var(--soft); font-size: 14px; }
.more-list a:hover strong { color: var(--cobalt); }

.faq-list { margin: 24px 0 0; display: grid; gap: 0; }
.faq-item { border-top: 1px solid var(--line); padding: 16px 0; max-width: 76ch; }
.faq-item dt { font-weight: 600; margin-bottom: 8px; }
.faq-item dd { margin: 0; color: var(--soft); }

.doc { padding-top: 48px; padding-bottom: 64px; }
.doc .prose { padding: 0; }
.doc-date { color: var(--soft); font-size: 14px; }
.nf { min-height: 40vh; }

/* footer */
.foot { background: var(--ink); color: var(--line); padding: 48px 0 24px; font-size: 14px; }
.foot a { color: var(--sheet); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-in { display: grid; gap: 32px; }
.foot-name { font: 700 18px/1 var(--f-head); color: var(--sheet); margin-bottom: 8px; }
.foot-h { color: var(--sheet); font-weight: 600; margin-bottom: 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.foot-base { border-top: 1px solid var(--soft); margin-top: 32px; padding-top: 16px; }
.foot-base p { margin: 0; }

/* ---------- tool ---------- */
.rw-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: var(--radius); font: 600 16px/1 var(--f-body); cursor: pointer; border: 1px solid transparent; text-decoration: none; }
.rw-btn-main { background: var(--cobalt); color: var(--sheet); }
.rw-btn-main:hover { background: var(--cobalt-dark); color: var(--sheet); }
.rw-btn-main:disabled { background: color-mix(in srgb, var(--cobalt) 45%, var(--sheet)); cursor: not-allowed; }
.rw-btn-ghost { background: var(--sheet); color: var(--ink); border-color: var(--line); }
.rw-btn-ghost:hover { border-color: var(--ink); }
.rw-btn-ghost:disabled { color: var(--soft); border-color: var(--line); cursor: not-allowed; }
.rw-drop { border: 2px dashed var(--line); border-radius: var(--radius); padding: 32px 16px; text-align: center; background: var(--mat); transition: border-color .15s, background .15s; }
.rw-drop.is-over { border-color: var(--cobalt); background: color-mix(in srgb, var(--cobalt) 8%, var(--sheet)); }
.rw-drop-ico { color: var(--soft); display: block; margin: 0 auto 12px; }
.rw-drop-hint { margin: 12px 0 4px; color: var(--soft); font-size: 14px; }
.rw-drop-meta { margin: 0; color: var(--soft); font-size: 14px; }
.rw-drop-err { margin: 12px 0 0; color: var(--danger); font-weight: 600; }
.rw-samples { margin-top: 16px; }
.rw-samples-label { font-size: 14px; color: var(--soft); margin-bottom: 8px; }
.rw-sample-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.rw-sample { display: flex; flex-direction: column; gap: 4px; padding: 4px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font: 400 12px/1.3 var(--f-body); color: var(--ink); text-align: left; min-height: 44px; }
.rw-sample:hover { border-color: var(--cobalt); }
.rw-sample img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.rw-rules { font-size: 14px; color: var(--soft); margin: 12px 0 0; }
.rw-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.rw-seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rw-seg-btn { min-height: 44px; min-width: 72px; padding: 0 16px; border: 0; background: var(--sheet); font: 600 14px/1 var(--f-body); cursor: pointer; color: var(--soft); }
.rw-seg-btn[aria-pressed="true"] { background: var(--ink); color: var(--sheet); }
.rw-size, .rw-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--soft); min-height: 44px; }
.rw-check input { width: 20px; height: 20px; accent-color: var(--cobalt); }
.rw-size input { width: 120px; accent-color: var(--cobalt); }
.rw-stage { position: relative; width: 100%; margin: 0 auto; background: repeating-conic-gradient(var(--mat) 0 25%, var(--sheet) 0 50%) 0 0 / 16px 16px; border-radius: 6px; overflow: hidden; }
.rw-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rw-overlay { touch-action: none; cursor: crosshair; }
.rw-compare { position: absolute; inset: 0; }
.rw-before-clip { position: absolute; inset: 0; }
.rw-handle { position: absolute; top: 0; bottom: 0; width: 18px; margin-left: -9px; pointer-events: none;
  background: var(--tape);
  -webkit-mask: linear-gradient(black 0 0) center / 10px 100% no-repeat, radial-gradient(circle at 0 6px, transparent 4px, black 4.5px) left / 50% 12px repeat-y, radial-gradient(circle at 100% 6px, transparent 4px, black 4.5px) right / 50% 12px repeat-y;
  mask: linear-gradient(black 0 0) center / 10px 100% no-repeat, radial-gradient(circle at 0 6px, transparent 4px, black 4.5px) left / 50% 12px repeat-y, radial-gradient(circle at 100% 6px, transparent 4px, black 4.5px) right / 50% 12px repeat-y;
  filter: drop-shadow(0 0 1px color-mix(in srgb, var(--ink) 60%, transparent)); }
.rw-handle-grip { display: none; }
.rw-compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.rw-compare-range::-webkit-slider-thumb { width: 48px; height: 400px; -webkit-appearance: none; appearance: none; }
.rw-compare-range::-moz-range-thumb { width: 48px; height: 400px; border: 0; }
.rw-tag { position: absolute; top: 8px; font-size: 12px; padding: 4px 8px; border-radius: 4px; pointer-events: none; }
.rw-tag-before { left: 8px; background: var(--ink); color: var(--sheet); }
.rw-tag-after { right: 8px; background: var(--tape); color: var(--ink); }
.rw-busy { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; background: color-mix(in srgb, var(--sheet) 82%, transparent); font-weight: 600; }
.rw-spin { width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--cobalt); animation: rwspin .8s linear infinite; }
@keyframes rwspin { to { transform: rotate(360deg); } }
.rw-hint { font-size: 14px; color: var(--soft); margin: 12px 0 0; }
.rw-warn { font-size: 14px; background: var(--note); border: 1px solid var(--tape); border-radius: 6px; padding: 8px 12px; margin: 12px 0 0; }
.rw-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rw-meta { font-size: 12px; color: var(--soft); margin: 8px 0 0; }
@media (prefers-reduced-motion: reduce) { .rw-spin { animation: none; } }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top-nav a { padding: 12px 6px; }
  .tool-card { padding: 12px; margin: 0 -4px; }
  .rw-actions .rw-btn { flex: 1 1 100%; }
  .rw-bar { gap: 6px; }
  .rw-size input { width: 100px; }
  .ex-pair { gap: 4px; }
}
@media (min-width: 640px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .hero { padding-top: 40px; }
  .examples .ex-grid { grid-template-columns: 1fr 1fr; }
  .fit { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 960px) {
  h1 { font-size: 48px; }
  .split { grid-template-columns: 1fr 2fr; gap: 48px; }
}

/* AI text replace */
.rw-stage-img img.rw-canvas { object-fit: fill; }
.rw-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin-top: 16px; }
.rw-field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.rw-field input { min-height: 44px; padding: 8px 12px; font: inherit; font-weight: 400; color: var(--ink); background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; }
.rw-field input:focus { outline: 2px solid var(--cobalt); outline-offset: 1px; border-color: var(--cobalt); }
@media (max-width: 640px) { .rw-form { grid-template-columns: 1fr; } .rw-form .rw-btn { width: 100%; } }

/* engine switch (local / AI erase) */
.rw-engine { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.rw-engine-btn { display: grid; gap: 2px; text-align: left; min-height: 56px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sheet); color: var(--ink); font: 400 13px/1.3 var(--f-body); cursor: pointer; }
.rw-engine-btn strong { font: 600 16px/1.2 var(--f-body); }
.rw-engine-btn span { color: var(--soft); }
.rw-engine-btn[aria-pressed="true"] { border: 2px solid var(--cobalt); padding: 7px 13px; background: color-mix(in srgb, var(--cobalt) 6%, var(--sheet)); }
.rw-ai-panel { margin-bottom: 12px; }
.rw-ai-panel .rw-field { max-width: 480px; }
.rw-ai-note { font-size: 13px; color: var(--soft); margin: 8px 0 0; }

/* pricing */
.doc-wide { max-width: 960px; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0; }
.price-card { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-1); display: grid; gap: 8px; align-content: start; }
.price-card h3 { margin: 0; font: 700 20px/1.2 var(--f-head); }
.price-amt { margin: 0; font: 700 32px/1 var(--f-head); color: var(--ink); min-height: 32px; }
.price-what { margin: 0; color: var(--soft); }
.price-card ul { margin: 4px 0 8px; padding-left: 18px; }
.price-card .rw-btn { width: 100%; }
.pay-note { background: var(--note); border: 1px solid var(--tape); border-radius: 6px; padding: 10px 14px; margin: 0 0 16px; font-weight: 600; }

/* pricing v2 */
.prose > .plan-grid { max-width: none; }
.plan-grid { display: grid; gap: 16px; margin: 20px 0 28px; }
.plan-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan-card { position: relative; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px 20px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 8px; }
.plan-card h3 { margin: 0; font: 700 20px/1.2 var(--f-head); }
.plan-card p { margin: 0; }
.plan-card ul { margin: 8px 0 16px; padding-left: 18px; flex: 1; }
.plan-card li { margin-bottom: 6px; font-size: 15px; }
.plan-card > .rw-btn { margin-top: auto; width: 100%; }
.plan-card.is-featured { border: 2px solid var(--cobalt); box-shadow: var(--shadow-2); }
.plan-badge { position: absolute; top: -12px; left: 20px; padding: 3px 10px; border-radius: 999px; background: var(--cobalt); color: var(--sheet); font: 600 12px/1.3 var(--f-body); }
.plan-badge-alt { background: var(--tape); color: var(--ink); }
.price-sub { color: var(--soft); font-size: 14px; min-height: 1.4em; }
@media (max-width: 760px) { .plan-grid-2, .plan-grid-3 { grid-template-columns: minmax(0, 1fr); } }

/* ===================== v3 refresh ===================== */
:root {
  --mat: #F4F6FA;
  --line: #E1E5EC;
  --line-2: #CDD3DC;
  --cobalt-50: #EEF1FD;
  --cobalt-100: #DCE3FB;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-1: 0 1px 2px color-mix(in srgb, var(--ink) 5%, transparent), 0 1px 1px color-mix(in srgb, var(--ink) 3%, transparent);
  --shadow-2: 0 2px 4px color-mix(in srgb, var(--ink) 4%, transparent), 0 12px 32px -8px color-mix(in srgb, var(--ink) 12%, transparent);
  --ok: #2E9E5B;
  --ok-ink: color-mix(in srgb, var(--ok) 70%, var(--ink));
  --ok-bg: color-mix(in srgb, var(--ok) 14%, var(--sheet));
  --night: #0E1116;
  --night-soft: color-mix(in srgb, var(--sheet) 58%, var(--night));
  --shadow-3: 0 4px 8px color-mix(in srgb, var(--ink) 4%, transparent), 0 24px 64px -16px color-mix(in srgb, var(--cobalt) 22%, transparent);
}
body { background: var(--mat); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { letter-spacing: -0.02em; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--sheet) 82%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--ink) 7%, transparent); }
.top-in { min-height: 64px; }
.brand { font: 800 19px/1 var(--f-head); letter-spacing: -0.02em; }
.brand .gf-site-icon { width: 30px; height: 30px; border-radius: 8px; }
.top-nav { gap: 2px; }
.top-nav a { padding: 8px 12px; border-radius: 999px; font-weight: 500; transition: background .15s, color .15s; }
.top-nav a:hover { background: var(--mat); }
.top-nav a[aria-current] { color: var(--ink); background: var(--cobalt-50); }
.top-btn { border-radius: 999px; padding: 0 18px; border-color: var(--line-2); transition: border-color .15s, background .15s; }
.top-btn:hover { border-color: var(--ink); background: var(--sheet); }
.top-btn[data-gf-login] { background: var(--ink); color: var(--sheet); border-color: var(--ink); }
.top-btn[data-gf-login]:hover { background: color-mix(in srgb, var(--ink) 85%, var(--sheet)); }

/* hero */
.hero { position: relative; padding: 32px 0 64px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 0%, var(--cobalt-100) 0%, transparent 70%),
    radial-gradient(30% 30% at 88% 18%, color-mix(in srgb, var(--tape) 22%, transparent) 0%, transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: radial-gradient(color-mix(in srgb, var(--cobalt) 16%, transparent) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 62%); mask-image: linear-gradient(to bottom, #000 0%, transparent 62%); }
.hero-head { text-align: center; max-width: 760px; margin: 0 auto 32px; }
.hero h1 { text-wrap: balance; max-width: none; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 16px; }
.hero .lead { margin: 0 auto; max-width: 60ch; font-size: 18px; line-height: 1.65; color: var(--soft); }
.hero-tape { display: inline-block; margin: 0 0 18px; padding: 6px 14px 6px; background: var(--tape); color: var(--ink); font: 700 12px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; transform: rotate(-1.5deg); box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 12%, transparent), 0 6px 14px -6px color-mix(in srgb, var(--ink) 30%, transparent);
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 3px, #000 3.5px) left / 51% 7px repeat-y, radial-gradient(circle at 100% 50%, transparent 3px, #000 3.5px) right / 51% 7px repeat-y;
  mask: radial-gradient(circle at 0 50%, transparent 3px, #000 3.5px) left / 51% 7px repeat-y, radial-gradient(circle at 100% 50%, transparent 3px, #000 3.5px) right / 51% 7px repeat-y; }
.trust { list-style: none; padding: 0; justify-content: center; gap: 8px; margin: 22px 0 0; }
.trust li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; background: color-mix(in srgb, var(--sheet) 78%, transparent); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink); box-shadow: var(--shadow-1); }
.trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.tool-card { max-width: 1040px; margin: 0 auto; padding: 20px; border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); border-radius: var(--radius-lg); box-shadow: var(--shadow-3); background: var(--sheet); }
.crumbs { padding-top: 20px; }

/* tool polish */
.rw-btn { border-radius: 10px; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.rw-btn-main { box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 10%, transparent), inset 0 1px 0 color-mix(in srgb, var(--sheet) 14%, transparent); }
.rw-btn-main:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--cobalt) 45%, transparent); }
.rw-drop { border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 44px 16px 36px; background: linear-gradient(180deg, var(--sheet) 0%, var(--cobalt-50) 100%); }
.rw-drop:hover { border-color: color-mix(in srgb, var(--cobalt) 55%, var(--line-2)); }
.rw-drop-ico { width: 64px; height: 64px; padding: 16px; margin-bottom: 18px; border-radius: 18px; background: var(--sheet); color: var(--cobalt); box-shadow: var(--shadow-2); }
.rw-drop .rw-btn-main { min-height: 50px; padding: 0 28px; font-size: 17px; }
.rw-drop-hint { margin-top: 14px; }
.rw-drop-meta { font-size: 13px; }
.rw-samples { margin-top: 20px; }
.rw-samples-label { font-weight: 500; color: var(--ink); }
.rw-sample-row { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.rw-sample { padding: 6px 6px 8px; border-radius: 12px; font-size: 13px; font-weight: 500; transition: border-color .15s, transform .15s, box-shadow .15s; }
.rw-sample:hover { border-color: var(--cobalt); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.rw-sample img { border-radius: 8px; }
.rw-rules { font-size: 12.5px; line-height: 1.55; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.rw-engine-btn { border-radius: 12px; }
.rw-seg { border-radius: 10px; }
.rw-stage { border-radius: 10px; }

/* sections */
.sec { padding: 80px 0; }
.sec-tint { background: var(--sheet); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.sec-head h2, .sec-head .more-h { font: 800 clamp(26px, 3.4vw, 38px)/1.15 var(--f-head); letter-spacing: -0.03em; margin: 0 0 12px; }
.sec-head .sub { margin: 0 auto; max-width: 62ch; }
.kicker { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: var(--cobalt-50); color: var(--cobalt); font: 600 12px/1.4 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }

/* examples */
.examples .ex-grid { gap: 24px; margin-top: 0; }
.ex { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px; box-shadow: var(--shadow-1); transition: box-shadow .2s, transform .2s; }
.ex:hover { box-shadow: var(--shadow-2); }
.ex-img { border-radius: 12px; border: 0; }
.ex-tag { left: 10px; top: 10px; border-radius: 999px; padding: 4px 10px; font-weight: 600; background: color-mix(in srgb, var(--ink) 78%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ex-tag-after { background: var(--tape); }
.ex figcaption { margin: 12px 6px 4px; font-size: 14px; line-height: 1.55; }
/* compare slider (built by script.js) */
.ex-cmp { position: relative; border-radius: 12px; overflow: hidden; background: var(--mat); user-select: none; -webkit-user-select: none; }
.ex-cmp img { display: block; width: 100%; height: auto; }
.ex-cmp .ex-cmp-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0); }
.ex-cmp .ex-cmp-before img { width: 100%; height: 100%; object-fit: cover; }
.ex-cmp-line { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; margin-left: -1px; background: var(--sheet); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 12%, transparent); pointer-events: none; }
.ex-cmp-knob { position: absolute; top: 50%; left: var(--x, 50%); width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--sheet); box-shadow: 0 4px 14px color-mix(in srgb, var(--ink) 28%, transparent); display: grid; place-items: center; pointer-events: none; color: var(--ink); }
.ex-cmp-knob svg { width: 22px; height: 22px; }
.ex-cmp input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ex-cmp input[type=range]:focus-visible ~ .ex-cmp-knob { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.ex-cmp .ex-tag-after { left: auto; right: 10px; }
.ex-cmp.is-intro .ex-cmp-before, .ex-cmp.is-intro .ex-cmp-line, .ex-cmp.is-intro .ex-cmp-knob { transition: clip-path .9s cubic-bezier(.65, 0, .35, 1), left .9s cubic-bezier(.65, 0, .35, 1); }

/* steps */
.steps { grid-template-columns: 1fr; gap: 16px; counter-reset: s; }
.steps li { max-width: none; padding: 28px 24px 24px; background: var(--mat); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.steps li::before { position: static; display: grid; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: var(--cobalt); color: var(--sheet); font: 800 18px/1 var(--f-head); box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--cobalt) 60%, transparent); }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { font-size: 15.5px; line-height: 1.6; }

/* fit */
.fit { gap: 20px; margin-top: 0; }
.fit-col { padding: 28px; border-radius: var(--radius-lg); background: var(--sheet); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.fit-col h3 { display: flex; align-items: center; gap: 12px; font-size: 19px; margin-bottom: 16px; }
.fit-ico { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font: 800 16px/1 var(--f-head); }
.fit-good .fit-ico { background: var(--ok-bg); color: var(--ok-ink); }
.fit-hard { background: var(--sheet); border-color: var(--line); }
.fit-hard .fit-ico { background: var(--note); color: var(--ink); border: 1px solid var(--tape); }
.fit-col ul { list-style: none; padding: 0; }
.fit-col li { position: relative; padding-left: 24px; margin-bottom: 10px; font-size: 15.5px; }
.fit-col li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.fit-good li::before { background: var(--ok); }
.fit-hard li::before { background: var(--tape); }

/* use cases */
.more { padding: 80px 0; }
.more-list { display: grid; grid-template-columns: 1fr; gap: 12px; border: 0; margin: 0; }
.more-list li { border: 0; }
.more-list a { height: 100%; padding: 20px 56px 20px 20px; background: var(--mat); border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s, background .15s, transform .15s; }
.more-list a:hover { background: var(--sheet); border-color: var(--cobalt); transform: translateY(-2px); }
.more-list a::after { right: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--sheet); border: 1px solid var(--line); display: grid; place-items: center; font-size: 15px; transition: background .15s, color .15s; }
.more-list a:hover::after { background: var(--cobalt); color: var(--sheet); border-color: var(--cobalt); }
.more-list strong { font-weight: 600; }

/* faq */
.faq { background: transparent; border: 0; }
.faq-in { display: grid; gap: 32px; }
.faq-side .sub { margin-top: 8px; }
.faq-side h2 { font: 800 clamp(26px, 3.4vw, 38px)/1.15 var(--f-head); letter-spacing: -0.03em; }
.faq-list { margin: 0; display: grid; gap: 10px; }
.faq-item { max-width: none; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--sheet); transition: box-shadow .15s, border-color .15s; }
.faq-item[open] { box-shadow: var(--shadow-2); border-color: transparent; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative; font-weight: 600; font-size: 16.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--mat) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23111418' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p { margin: 0; padding: 0 20px 20px; color: var(--soft); font-size: 15.5px; line-height: 1.65; }

/* footer */
.foot { background: var(--night); padding: 64px 0 28px; }
.foot-name { font: 800 20px/1 var(--f-head); letter-spacing: -0.02em; }
.foot-line { color: var(--night-soft); max-width: 40ch; }
.foot-h { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: var(--night-soft); margin-bottom: 14px; }
.foot a { color: var(--sheet); }
.foot-base { border-top-color: color-mix(in srgb, var(--sheet) 10%, transparent); color: var(--night-soft); }

@media (min-width: 640px) {
  .hero { padding: 48px 0 80px; }
  .hero h1 { font-size: 48px; }
  .tool-card { padding: 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .more-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .hero { padding: 64px 0 96px; }
  .hero h1 { font-size: 64px; }
  .more-list { grid-template-columns: repeat(3, 1fr); }
  .faq-in { grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
  .faq-side { position: sticky; top: 96px; }
  .sec { padding: 96px 0; }
}
@media (max-width: 640px) {
  .hero-head { margin-bottom: 24px; }
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 16.5px; }
  .tool-card { padding: 12px; border-radius: 16px; margin: 0; }
  .rw-drop { padding: 32px 12px 28px; }
  .sec { padding: 56px 0; }
  .sec-head { margin-bottom: 28px; }
  .top-in { min-height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .ex-cmp.is-intro .ex-cmp-before, .ex-cmp.is-intro .ex-cmp-line, .ex-cmp.is-intro .ex-cmp-knob { transition: none; }
}

h1, h2, .more-h { text-wrap: balance; }
.ex-cmp { aspect-ratio: 3 / 2; }
.ex-cmp > img, .ex-cmp .ex-cmp-before img { width: 100%; height: 100%; object-fit: cover; }
.faq-side h2 { font-size: clamp(26px, 3vw, 34px); }
@media (min-width: 960px) { .sec { padding: 88px 0; } .hero { padding: 56px 0 88px; } }
@media (max-width: 720px) {
  .top { position: static; }
  .top-in { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding-top: 8px; }
  .top-acct { margin-left: 0; }
  .top-nav { grid-column: 1 / -1; order: 3; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 4px -16px 0; padding: 0 12px 8px; }
  .top-nav::-webkit-scrollbar { display: none; }
  .top-nav a { white-space: nowrap; padding: 6px 12px; font-size: 14px; }
  .top-btn { min-height: 34px; }
  .trust { gap: 6px; }
  .trust li { font-size: 13px; padding: 5px 12px 5px 8px; }
}
