/* Linxshot: light, product-led website. Neutral surfaces, one blue accent. */
@font-face { font-family: Geist; src: url('../assets/fonts/geist-variable.ttf') format('truetype'); font-style: normal; font-weight: 100 900; font-display: swap; }
:root {
  --bg-primary: #f8fafc; --bg-secondary: #f1f5f9; --bg-card: #ffffff;
  --text-primary: #182230; --text-secondary: #475569; --text-muted: #64748b;
  --primary: #2563eb; --primary-hover: #1d4ed8; --border-subtle: #d8e0e9;
  --success: #047857; --warning: #92400e; --danger: #b91c1c;
  --font-sans: Geist, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --max-width: 1240px; --radius-xs: 6px; --radius-sm: 10px; --radius-md: 12px; --radius-lg: 16px;
  --shadow-sm: 0 2px 6px rgba(30, 50, 80, .04);
  --shadow-md: 0 12px 32px -16px rgba(30, 50, 80, .15);
  --shadow-lg: 0 24px 56px -24px rgba(30, 50, 80, .18);
  --layer-nav: 30; --layer-popover: 10; --layer-toast: 40;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { color-scheme: light; scroll-behavior: smooth; scrollbar-color: #94a3b8 #f1f5f9; }
body { background: var(--bg-primary); color: var(--text-primary); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 650; letter-spacing: -.035em; text-wrap: balance; }
p { text-wrap: pretty; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-underline-offset: .25em; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 5px; border-radius: 4px; }
::selection { background: #bfdbfe; color: #182230; }
.container { width: calc(100% - 64px); max-width: var(--max-width); margin-inline: auto; min-width: 0; }
.section { padding: 88px 0; }
.section-tinted { background: var(--bg-secondary); }
section[id], .feature-story[id], .legacy-anchor { scroll-margin-top: 88px; }
.legacy-anchor { display: block; height: 0; }
.section-title-wrap { max-width: 820px; margin: 0 auto 48px; text-align: center; }
.section-title { margin-bottom: 16px; font-size: clamp(1.875rem, 3.2vw, 2.5rem); font-weight: 650; letter-spacing: -.03em; line-height: 1.2; text-wrap: balance; }
.section-desc { max-width: 62ch; margin-inline: auto; color: var(--text-secondary); font-size: 1.0625rem; line-height: 1.7; }
.demo-note { color: var(--text-muted); font-size: .8125rem; line-height: 1.6; text-align: center; }
.btn, .chrome-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 22px; border-radius: var(--radius-sm); border: 1px solid transparent; text-decoration: none; font-size: .9375rem; font-weight: 600; line-height: 1.4; transition: background .18s, border-color .18s, transform .18s; }
.btn-primary, .chrome-btn { color: #ffffff; background: var(--primary); }
.btn-primary:hover, .chrome-btn:hover { background: var(--primary-hover); }
.btn-secondary { border-color: #64748b; color: var(--text-primary); background: var(--bg-card); }
.btn-secondary:hover { border-color: var(--text-primary); background: #f1f5f9; }
.btn-text { color: var(--primary-hover); padding-inline: 4px; }
.btn-text:hover { text-decoration: underline; }
.btn:active, .chrome-btn:active, button:active { transform: translateY(1px); }
.chrome-icon { width: 20px; height: 20px; flex-shrink: 0; }
.navbar-wrap { position: fixed; inset: 0 0 auto; background: rgba(248, 250, 252, .98); z-index: var(--layer-nav); border-bottom: 1px solid transparent; }
.navbar-wrap.scrolled { border-bottom-color: var(--border-subtle); }
.navbar { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text-primary); text-decoration: none; flex-shrink: 0; }
.brand-icon { display: block; width: 36px; height: 36px; flex: 0 0 auto; }
.brand-text { display: block; width: 104px; height: auto; flex: 0 0 auto; }
.brand-badge { font-size: .8rem; line-height: 1.2; padding: 6px 0 6px 12px; color: var(--text-secondary); border-left: 1px solid var(--border-subtle); margin-left: 2px; }
.nav-menu { display: flex; gap: 26px; margin-left: auto; }
.nav-link { text-decoration: none; font-size: .85rem; font-weight: 500; color: var(--text-secondary); white-space: nowrap; }
.nav-link:hover, .mobile-link:hover { color: var(--primary-hover); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle-btn { border: 0; background: transparent; display: inline-flex; align-items: center; gap: 5px; color: var(--text-secondary); padding: 8px 4px; font-size: .8rem; }
.lang-indicator { color: var(--text-primary); font-weight: 650; }
.lang-switcher { position: relative; }
.lang-chevron { width: 14px; height: 14px; flex: 0 0 14px; transition: transform 200ms ease; }
.lang-toggle-btn[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }
.lang-toggle-btn:hover { color: var(--text-primary); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: var(--layer-nav); display: grid; gap: 2px; min-width: 184px; max-height: min(70vh, 480px); overflow-y: auto; padding: 6px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--bg-card); box-shadow: var(--shadow-lg); }
.lang-menu[hidden] { display: none; }
.lang-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 8px 10px; border: 0; border-radius: var(--radius-xs); background: transparent; color: var(--text-secondary); font-size: .875rem; line-height: 1.3; text-align: left; white-space: nowrap; }
.lang-option:hover, .lang-option:focus-visible { background: var(--bg-secondary); color: var(--text-primary); outline: none; }
.lang-option[aria-checked="true"] { color: var(--primary); font-weight: 600; }
.lang-option-check { width: 16px; height: 16px; flex: 0 0 16px; visibility: hidden; }
.lang-option[aria-checked="true"] .lang-option-check { visibility: visible; }
html.i18n-loading body { opacity: 0; }
.mobile-toggle { display: none; border: 0; background: transparent; color: var(--text-primary); padding: 6px; }
.mobile-drawer { display: none; padding: 12px 24px 20px; border-bottom: 1px solid var(--border-subtle); background: var(--bg-primary); }
.mobile-drawer.open { display: grid; gap: 8px; }
.mobile-link { padding: 8px 0; text-decoration: none; color: var(--text-secondary); }
.nav-sentinel { position: absolute; left: 0; top: 24px; height: 1px; width: 1px; pointer-events: none; }
.ui-icon { width: 20px; height: 20px; flex: 0 0 20px; display: inline-block; fill: none; stroke: currentColor; stroke-width: 2; vertical-align: middle; overflow: visible; }
@media (max-width: 1050px) { .nav-menu { gap: 18px; } .brand-badge { display: none; } }
@media (max-width: 900px) { .nav-menu { display: none; } .mobile-toggle { display: grid; place-items: center; } .navbar { height: 68px; } .section { padding: 64px 0; } }
@media (max-width: 640px) { .container { width: calc(100% - 40px); } .section { padding: 56px 0; } .section-title-wrap { margin-bottom: 28px; } .section-title, .cta-banner-title { font-size: clamp(1.75rem, 7.8vw, 2rem); } .section-desc, .cta-banner-desc { font-size: 1rem; } .nav-actions { gap: 4px; } .nav-brand { gap: 8px; } }
@media (max-width: 360px) { .container { width: calc(100% - 32px); } .brand-icon { width: 32px; height: 32px; } .brand-text { width: 94px; } .lang-toggle-btn { font-size: .75rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Languages beyond English and Simplified Chinese: native font fallbacks and hyphenation for long compound words. */
:root:lang(ja) { --font-sans: Geist, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif; }
:root:lang(ko) { --font-sans: Geist, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
:root:lang(zh-Hant) { --font-sans: Geist, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; }
:root:is(:lang(de), :lang(fr), :lang(nl), :lang(da), :lang(sv), :lang(nb), :lang(fi)) :is(h1, h2, h3, h4, p, li, dd, dt, td, th, span, a, button) { hyphens: auto; overflow-wrap: break-word; }
:root:lang(ko) :is(h1, h2, h3, h4) { word-break: keep-all; overflow-wrap: anywhere; }
