/* Linh Logistics shared styles. Mobile first. System fonts only. One accent: deep teal. */
:root {
  --bg: #f6f4ef; --surface: #ffffff; --surface-2: #ecebe4; --text: #1b2428; --muted: #55636a;
  --line: #d9d6cb; --accent: #0b6e6a; --accent-ink: #ffffff; --accent-soft: #d7ecea; --warn-bg: #fbeee6; --warn-line: #c4562a;
  --radius: 14px; --shadow: 0 1px 2px rgba(20, 30, 35, .08), 0 6px 18px rgba(20, 30, 35, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101719; --surface: #182225; --surface-2: #1f2c30; --text: #e8eeee; --muted: #9db0b3;
    --line: #2b3b3f; --accent: #4fc3bb; --accent-ink: #062321; --accent-soft: #17302f; --warn-bg: #2a1d16; --warn-line: #e07a4c;
    --shadow: none;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); background-color: var(--bg); font: 1rem/1.6 var(--font); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
.small { font-size: .9rem; color: var(--muted); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.hdr-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; max-width: 960px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--text); font-weight: 750; font-size: 1.1rem; letter-spacing: -.01em; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.lang { margin-left: auto; }
.lang select, select, input[type=text], input[type=number], input[type=search], textarea {
  font: inherit; color: var(--text); background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; min-height: 44px; padding: 8px 12px; max-width: 100%;
}
.lang select { font-weight: 600; }
.main-nav { display: flex; gap: 4px; padding: 0 12px 8px; max-width: 960px; margin: 0 auto; flex-wrap: wrap; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 600; }
.main-nav a[aria-current=page] { background: var(--accent-soft); color: var(--accent); }
.main-nav a.nav-cta { border: 1.5px solid var(--accent); color: var(--accent); }

/* layout */
main { max-width: 960px; margin: 0 auto; padding: 0 16px 48px; }
section { margin: 40px 0; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 7vw, 3rem); font-weight: 800; }
h2 { font-size: 1.5rem; font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--accent); margin: 0 0 8px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.hero { padding: 36px 0 8px; }
.hero h1 { max-width: 18ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 44px; padding: 0 22px; border-radius: 12px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn:hover { filter: brightness(1.08); }
.copy-status { font-size: .9rem; color: var(--muted); }

/* cards */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); }
.card .num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 10px; }
.sla-note { font-size: .9rem; color: var(--muted); margin-top: 12px; }
.list { padding-left: 1.2em; margin: 0; }
.list li { margin: 8px 0; }
.check { list-style: none; padding: 0; margin: 0; }
.check li { position: relative; padding-left: 30px; margin: 10px 0; }
.check li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 12px; height: 7px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }

/* what we do not do */
.notbox { background: var(--warn-bg); border: 2px solid var(--warn-line); border-radius: var(--radius); padding: 20px; }
.notbox h2 { margin-top: 0; }
.notbox ul { list-style: none; padding: 0; margin: 0 0 12px; }
.notbox li { position: relative; padding-left: 30px; margin: 10px 0; font-weight: 600; }
.notbox li::before, .notbox li::after { content: ""; position: absolute; left: 6px; top: .8em; width: 16px; height: 3px; background: var(--warn-line); transform: rotate(45deg); }
.notbox li::after { transform: rotate(-45deg); }

.cta-band { background: var(--accent-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 20px; }

/* faq */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; }
summary { cursor: pointer; padding: 12px 16px; min-height: 44px; font-weight: 700; display: flex; align-items: center; }
details p { margin: 0; padding: 0 16px 16px; color: var(--muted); }

/* form controls and result table (shared with quote.html) */
label { display: block; font-weight: 650; margin-bottom: 6px; }
.field { margin: 16px 0; }
input[type=radio], input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--accent); vertical-align: middle; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 12px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; margin: 8px 0; font-weight: 500; cursor: pointer; }
fieldset { border: 0; padding: 0; margin: 16px 0; min-width: 0; }
legend { font-weight: 700; padding: 0; margin-bottom: 6px; }
.table-wrap { overflow-x: auto; }
table.result { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.result th, table.result td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.result td.num, table.result th.num { text-align: right; white-space: nowrap; }
table.result tfoot td, table.result tfoot th { font-weight: 800; font-size: 1.1rem; border-bottom: 0; }

/* footer */
.site-footer { max-width: 960px; margin: 0 auto; padding: 24px 16px 40px; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer p { margin: 6px 0; }

@media (min-width: 640px) {
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .hdr-row { padding: 10px 24px; }
  main { padding: 0 24px 64px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
