/* =====================================================================
   Clean light look (Apple-style): white and #f5f5f7 surfaces, #1d1d1f text,
   blue (#0071e3) pill buttons, thin frosted menu bar, the system font
   (SF Pro on Apple devices, Inter elsewhere). Replaces css/look-2026.css.
   ===================================================================== */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/vendor/webfonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/vendor/webfonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: 'Inter Fallback'; src: local('Arial'), local('Roboto'), local('Helvetica'); size-adjust: 107.1%; ascent-override: 90.4%; descent-override: 22.5%; line-gap-override: 0%; }

:root, :root:not(#x), :root:not(#x):not(#y) {
  color-scheme: light;
  --brand: #0071e3; --brand-dark: #0077ed; --accent: #0071e3; --accent-ink: #ffffff; --link: #0066cc;
  --brand-soft: rgba(0, 113, 227, .07); --brand-line: #d2d2d7;
  --bg: #ffffff; --bg-alt: #f5f5f7; --surface: #ffffff; --surface-solid: #ffffff;
  --text: #1d1d1f; --muted: #6e6e73; --line: #d2d2d7;
  --shadow: 0 4px 24px rgba(0, 0, 0, .06); --radius: 18px;
  --font-main: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Inter Fallback", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-head: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Inter Fallback", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
html { background: #fff; }
body { background: #fff; color: var(--text); font-family: var(--font-main); font-size: 17px; line-height: 1.47; letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body::before { display: none !important; }
#eb-bubbles { display: none !important; }
a { color: var(--link); }
h1, h2, h3, .hero h1, .content h2, .page-head h1 { font-family: var(--font-head); color: var(--text); font-weight: 600; letter-spacing: -.015em; }
h1, .hero h1, .page-head h1 { font-weight: 700; letter-spacing: -.02em; }
.lead, .muted, .pdf-lead { color: var(--muted); }
.lead strong { color: var(--text); }
p, li, span, a, td, th, summary { letter-spacing: inherit; word-spacing: normal; }

/* menu bar: thin, frosted, small text */
.site-header { background: rgba(251, 251, 253, .8); border-bottom: 1px solid rgba(0, 0, 0, .08);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); padding: 6px 4%; min-height: 48px; }
.brand { font-family: var(--font-head) !important; font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; color: var(--text); }
.brand span { color: var(--text) !important; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.site-header nav { gap: 2px; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.site-header nav a, .dd-btn { font-family: var(--font-main) !important; font-weight: 400 !important; font-size: 12.5px !important; color: rgba(0, 0, 0, .8) !important;
  padding: 8px 10px !important; background: none !important; border-radius: 8px !important; letter-spacing: -.01em !important; }
.site-header nav a:hover, .dd-btn:hover, .dd.open .dd-btn, .dd.current .dd-btn { color: #000 !important; background: none !important; }
.dd.current .dd-btn { font-weight: 600 !important; }
.dd-panel { background: rgba(251, 251, 253, .97) !important; border: 1px solid rgba(0, 0, 0, .08) !important; box-shadow: 0 20px 50px rgba(0, 0, 0, .12) !important; border-radius: 18px !important; }
.dd-panel a { color: var(--text) !important; font-size: 14px !important; font-weight: 500 !important; }
.dd-panel a:hover, .dd-panel a[aria-current] { background: var(--bg-alt) !important; }
.menu-toggle { color: var(--text); }
.lang-pick { color: var(--muted); }
.lang-pick select { border-color: var(--line); color: var(--text); background: #fff; font-size: 12.5px; border-radius: 8px; }
select option { background: #fff; color: var(--text); }
@media (max-width: 860px) { .site-header nav { background: #fff !important; } .dd-btn { font-size: 17px !important; } .dd-panel { background: var(--bg-alt) !important; box-shadow: none !important; } }

/* buttons: blue pills */
.btn { border-radius: 980px; background: #fff; border: 1px solid var(--line); color: var(--text); font-weight: 500; transition: background .2s, border-color .2s, color .2s; }
.btn:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 500; box-shadow: none; }
.btn.primary:hover:not(:disabled) { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: none; }
.btn.big { padding: 12px 24px; font-size: 17px; }
.btn.hd { border-color: var(--brand); color: var(--brand); }
.site-header .btn.install { background: var(--brand); color: #fff; border-color: var(--brand); }

/* cards and boxes: soft grey, no heavy borders */
.panel, .stage, .cards article, details, .plan, .steps-box, .bulk-options, .bulk-item, .upload-card, .pill, .busy-card,
.studio-panel, .result, .notice, .ad-slot { background: var(--bg-alt); border: 0; box-shadow: none; color: var(--text); }
.drop { background: var(--bg-alt) !important; border: 2px dashed #c7c7cc !important; color: var(--brand); border-radius: 22px; }
.drop.over { border-color: var(--brand) !important; background: var(--brand-soft) !important; }
.cards h3, .cards h3 a { color: var(--text); }
.pill { color: var(--text); }
.ticks li::before { color: var(--brand); }
select, input[type=color], .studio textarea, .style-card, .pill.small-pill { background: #fff; border-color: var(--line); color: var(--text); }
.tab { color: var(--muted); border-radius: 980px; }
.tab.active { background: var(--text); color: #fff; }
.chip, .segbtn { background: #fff; border-color: var(--line); color: var(--text); }
.chip.active, .segbtn.active { background: var(--text); border-color: var(--text); color: #fff; }
.swatch { border-color: rgba(0, 0, 0, .15); }
.swatch.active { outline-color: var(--brand); }
.style-card.active { border-color: var(--brand); background: var(--brand-soft); }
.field input[type=range] { accent-color: var(--brand); }
.spinner { border-color: rgba(0, 0, 0, .1); border-top-color: var(--brand); }
.bar { background: rgba(0, 0, 0, .08); } .bar div { background: var(--brand); }
.result .busy, .busy { background: rgba(255, 255, 255, .7); }
.ad-placeholder { background: var(--bg-alt); color: var(--muted); border-color: var(--line); }
.err { color: #d70015; }
details summary { color: var(--text); }

/* footer: small grey type on #f5f5f7 */
.site-footer { color: var(--muted); border-top: 0; background: var(--bg-alt); margin-top: 40px; font-size: 12px; }
.site-footer a { color: #424245; }

/* tool cards: grey tiles, product-page style */
.tool-card { background: var(--bg-alt) !important; border: 0 !important; color: var(--text) !important; box-shadow: none !important; border-radius: 22px !important; }
.tool-card::after { display: none !important; }
.tool-card:hover { transform: scale(1.015) !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .08) !important; }
.tool-ico { background: #fff !important; color: var(--brand) !important; }
.tool-name { color: var(--text) !important; font-weight: 600; }
.tool-desc { color: var(--muted) !important; }
.tool-open { background: none !important; color: var(--link) !important; padding: 0 !important; font-weight: 400; }
.tool-card:hover .tool-open { text-decoration: underline; }

/* ===== showcase on the tool pages, light version ===== */
.show { position: relative; max-width: 1240px; margin: 0 auto; padding: 36px 4% 10px; display: grid;
  grid-template-columns: 1fr minmax(240px, 380px) 1fr; gap: 28px; align-items: center; min-height: min(72vh, 640px); }
.show .show-words { font-family: var(--font-head); font-weight: 700; color: var(--text); line-height: 1; letter-spacing: -.03em;
  font-size: clamp(2.8rem, 5.6vw, 5.6rem); margin: 0; white-space: nowrap; }
.show-left { display: flex; flex-direction: column; gap: 18px; z-index: 2; }
.show-left p:not(.show-words) { color: var(--muted); max-width: 360px; margin: 0; font-size: 1.05rem; }
.show-go { display: inline-flex; align-items: center; gap: 12px; width: fit-content; background: var(--brand); color: #fff !important;
  text-decoration: none; padding: 11px 12px 11px 22px; border-radius: 980px; font-weight: 500; transition: background .2s; }
.show-go:hover { background: var(--brand-dark); }
.show-go b { width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .22); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.show-center { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; perspective: 1400px; z-index: 1; }
.show-card { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; transform-style: preserve-3d;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .12); transition: transform .45s cubic-bezier(.3,.7,.3,1), filter .45s; }
.show-card.flip { transform: rotateY(90deg) scale(.92); filter: blur(4px); }
.show-card > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.show-bg { background: #fff; transition: background .3s; }
.show-bg.checker-bg { background: conic-gradient(#ffffff 25%, #e8e8ed 0 50%, #ffffff 0 75%, #e8e8ed 0) 0 0 / 28px 28px; }
.show-card .show-cut { object-fit: cover; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .18)); }
.show-card .show-orig { clip-path: inset(0 0 0 0); transition: clip-path 1.6s cubic-bezier(.6,0,.2,1); }
.show-card.revealed .show-orig { clip-path: inset(100% 0 0 0); }
.show-scan { height: 4px !important; inset: 0 0 auto 0 !important; background: linear-gradient(90deg, transparent, #0071e3, transparent); opacity: 0; }
.show-pill { background: var(--bg-alt); color: var(--text); padding: 6px 16px; border-radius: 980px; font-size: .82rem; font-weight: 500; }
.show-right { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; z-index: 2; }
.show-modes { display: grid; grid-template-columns: repeat(4, minmax(70px, 100px)); gap: 10px; }
.show-mode { font: inherit; cursor: pointer; padding: 6px 6px 10px; border-radius: 18px; background: var(--bg-alt); border: 2px solid transparent;
  color: var(--text); display: flex; flex-direction: column; gap: 6px; align-items: center; transition: border-color .2s; }
.show-mode.active { border-color: var(--brand); background: #fff; }
.show-thumb { position: relative; width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.show-thumb > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.show-mode b { font-size: .78rem; font-weight: 600; } .show-mode small { font-size: .7rem; color: var(--muted); margin-top: -5px; }
.show-right .show-words { text-align: right; }
.show-arrows { display: flex; gap: 10px; }
.show-arrows button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-alt); color: var(--text); cursor: pointer; font-size: 1rem; }
.show-chip { display: none; }
.show + .hero { padding-top: 8px; }
.show + .hero .drop { padding: 22px 18px; gap: 8px; }
.show + .hero h1 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
@media (max-width: 1100px) {
  .show { grid-template-columns: 1fr; min-height: 0; gap: 16px; text-align: center; padding-top: 22px; }
  .show-left, .show-right { align-items: center; }
  .show-left p:not(.show-words) { margin: 0 auto; }
  .show .show-words { font-size: clamp(2.6rem, 12vw, 4.4rem); white-space: normal; }
  .show-center { max-width: 320px; margin: 0 auto; width: 100%; }
  .show-right .show-words, .show-arrows { display: none; }
  .show-modes { grid-template-columns: repeat(4, 1fr); width: 100%; max-width: 420px; }
}

/* ===== PDF tools, light ===== */
.pdf-privacy span { background: var(--bg-alt) !important; border: 0 !important; color: var(--text); }
.pdf-box { background: #fff !important; border: 0 !important; box-shadow: 0 4px 30px rgba(0, 0, 0, .07) !important; border-radius: 24px !important; }
.pdf-drop { border-color: #c7c7cc !important; color: var(--brand); }
.pdf-drop:hover, .pdf-drop.over { background: var(--brand-soft) !important; border-color: var(--brand) !important; }
.pdf-opts select, .pdf-opts input[type=text], .pdf-opts input[type=number], .pdf-field input[type=text], .pdf-field select { background: #fff !important; color: var(--text) !important; border-color: var(--line) !important; }
.pdf-files li, .pg { background: var(--bg-alt) !important; border-color: transparent !important; }
.pg.sel { border-color: var(--brand) !important; background: var(--brand-soft) !important; }
.pg .tick { border-color: #fff; background: rgba(0, 0, 0, .25); }
.pdf-files .acts button, .pg-acts button, .pdf-tabs button { background: #fff !important; color: var(--text) !important; border-color: var(--line) !important; }
.pdf-tabs button.on, .edit-tools button.on { background: var(--text) !important; color: #fff !important; border-color: var(--text) !important; }
.edit-tools button { color: var(--text) !important; border-color: var(--line) !important; background: #fff !important; }
.pdf-status.err { color: #d70015 !important; } .pdf-status.ok { color: #1a7f37 !important; }
.pdf-progress { background: var(--line) !important; } .pdf-progress i { background: var(--brand) !important; }
.vpage { box-shadow: 0 6px 24px rgba(0, 0, 0, .12) !important; }
.pdf-cards a { background: var(--bg-alt) !important; border: 0 !important; color: var(--text) !important; }
.pdf-cards a:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, .08); border: 0 !important; }
.pdf-cards span { color: var(--muted) !important; }
.more-about { background: var(--bg-alt) !important; border: 0 !important; }

/* guides */
.guide-card { background: var(--bg-alt) !important; border: 0 !important; color: var(--text) !important; }
.guide-card ul { color: var(--muted) !important; }
.guide-k { background: var(--text) !important; color: #fff !important; }

/* questions */
#faq details, #faq.hm details { background: var(--bg-alt) !important; border: 0 !important; border-radius: 14px; }
#faq.hm details p { color: var(--muted) !important; }

/* wordmark */
.brand { gap: 9px; font-size: 19px !important; font-weight: 600 !important; letter-spacing: -.022em !important; }
.brand img { width: 30px; height: 30px; border-radius: 0 !important; }
.brand span.amp { color: #0071e3 !important; font-weight: 500; margin: 0 1px; }
.brand span.wm2 { color: #1d1d1f !important; font-weight: 400; }

/* ---- phone speed (mobile_fix.py) ---- */
@media (max-width: 860px) {
  .site-header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(255, 255, 255, .98) !important; }
}

/* ---- Inter spacing (font_fix.py): Inter needs less negative tracking than SF at text sizes ---- */
body { letter-spacing: -.011em; }
small, .small, .muted.small, .aps-note, .aps-ticks li, .aps-quick a, .site-header nav a, .dd-btn { letter-spacing: 0 !important; }
