/* Landed cost calculator, both languages. Tokens are the homepage's own
   (client/public/exportkontor/index.html :root), so the page reads as part
   of the same site. */
@font-face { font-family:'Inter'; font-style:normal; font-weight:400 700; font-display:swap; src:url('/exportkontor/assets/fonts/inter-latin.woff2') format('woff2'); }
@font-face { font-family:'Source Serif 4'; font-style:normal; font-weight:500 700; font-display:swap; src:url('/exportkontor/assets/fonts/source-serif-4-latin.woff2') format('woff2'); }
:root { --bg:#080b11; --bg-2:#0b0f17; --panel:#0f141d; --panel-2:#131926; --line:rgba(233,229,219,.09); --line-2:rgba(233,229,219,.17); --text:#f2efe8; --text-2:#b4bac6; --text-3:#8690a0; --ink:#0f1524; --gold:#c9992f; --gold-hi:#e2c27a; --gold-line:rgba(201,153,47,.45); --warn:#e0a45c; --serif:"Source Serif 4",Georgia,serif; --sans:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; --ease:cubic-bezier(.2,.7,.2,1); }
* { box-sizing:border-box; }
/* Several classes below set display, which would beat the hidden attribute. */
[hidden] { display:none !important; }
html { background:var(--bg); color-scheme:dark; scroll-behavior:smooth; }
body { margin:0; color:var(--text); background:var(--bg); font:16px/1.65 var(--sans); -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
h1,h2,h3,p { margin:0; }
h1,h2 { font-family:var(--serif); font-weight:500; line-height:1.12; letter-spacing:-.026em; }
a { color:inherit; }
.wrap { width:min(1120px,calc(100% - 32px)); margin-inline:auto; }

.header { background:var(--bg); border-bottom:1px solid var(--line); }
.header-inner { min-height:72px; display:flex; align-items:center; gap:20px; flex-wrap:wrap; padding-block:12px; }
.brand { text-decoration:none; font-size:15px; letter-spacing:.16em; font-weight:600; margin-right:auto; }
.languages { display:flex; gap:12px; font-size:12px; letter-spacing:.06em; color:var(--text-3); }
.languages a { text-decoration:none; padding:8px 2px; }
.languages a:hover { color:var(--text); }
.languages span { color:var(--gold-hi); padding:8px 2px; }
.header-action { display:inline-flex; align-items:center; min-height:44px; padding:0 18px; border:1px solid var(--gold-line); border-radius:2px; text-decoration:none; font-size:13.5px; font-weight:500; white-space:nowrap; transition:background .2s var(--ease),color .2s var(--ease),border-color .2s var(--ease); }
.header-action:hover { background:var(--gold); border-color:var(--gold); color:var(--ink); }

.intro { padding:52px 0 30px; max-width:780px; }
.eyebrow { font:600 12px/1.4 var(--sans); letter-spacing:.1em; text-transform:uppercase; color:var(--gold-hi); margin-bottom:14px; }
.intro h1 { font-size:clamp(30px,5vw,46px); }
.intro .lead { margin-top:16px; font-size:18px; color:var(--text-2); }

.lc-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:28px; align-items:start; padding-bottom:40px; }
.lc-form { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; }
.lc-card { background:var(--panel); border:1px solid var(--line); border-radius:3px; padding:clamp(18px,3vw,26px); margin:0; min-width:0; }
fieldset.lc-card { min-inline-size:0; }
.lc-card legend, .lc-card > h2 { font:600 12px/1.4 var(--sans); letter-spacing:.09em; text-transform:uppercase; color:var(--gold-hi); padding:0; margin:0 0 14px; }
.lc-card legend { float:left; width:100%; }
.lc-card legend + * { clear:both; }
.lc-step { display:inline-block; min-width:22px; color:var(--text-3); }
.lc-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; align-items:start; }
.lc-choice + .lc-pane, .lc-pane + .lc-pane, .lc-pane + .lc-field, .lc-hint + .lc-row, .lc-hint + .lc-field, .lc-row + .lc-hint { margin-top:14px; }
.lc-row.three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.lc-row + .lc-row, .lc-row + .lc-field, .lc-field + .lc-row, .lc-field + .lc-field, .lc-choice + .lc-row, .lc-choice + .lc-field, .lc-pane > * + * { margin-top:14px; }
.lc-field { display:block; min-width:0; }
.lc-row > .lc-field { margin-top:0; }
.lc-field > span { display:block; font-size:13.5px; color:var(--text-2); margin-bottom:6px; line-height:1.35; }
.lc-field small, .lc-hint { display:block; font-size:12.5px; line-height:1.5; color:var(--text-3); margin-top:6px; }
.lc-hint a { color:var(--text-2); }
.lc-field input, .lc-field select { width:100%; min-height:48px; padding:10px 12px; font:500 16px/1.3 var(--sans); font-variant-numeric:tabular-nums; color:var(--text); background:var(--bg-2); border:1px solid var(--line-2); border-radius:2px; -webkit-appearance:none; appearance:none; }
.lc-field select { background-image:linear-gradient(45deg,transparent 50%,var(--text-3) 50%),linear-gradient(135deg,var(--text-3) 50%,transparent 50%); background-position:calc(100% - 18px) 21px,calc(100% - 13px) 21px; background-size:5px 5px; background-repeat:no-repeat; padding-right:34px; }
.lc-field input:focus-visible, .lc-field select:focus-visible, .lc-choice input:focus-visible + span, .button:focus-visible, .lc-print:focus-visible, summary:focus-visible { outline:2px solid var(--gold-hi); outline-offset:2px; }
.lc-field input[aria-invalid="true"] { border-color:var(--warn); }
.lc-field input[data-lc-example] { color:var(--text-2); }
/* A freight or handling estimate the visitor has not replaced yet. */
.lc-field input.lc-estimated { border-style:dashed; border-color:var(--gold-line); color:var(--gold-hi); }
.lc-field small.lc-est { color:var(--gold-hi); opacity:.85; }
.lc-choice { display:flex; gap:8px; flex-wrap:wrap; }
.lc-choice label { position:relative; flex:1 1 0; min-width:120px; }
.lc-choice input { position:absolute; opacity:0; inset:0; margin:0; cursor:pointer; }
.lc-choice span { display:flex; align-items:center; justify-content:center; min-height:48px; padding:8px 12px; border:1px solid var(--line-2); border-radius:2px; font-size:14.5px; font-weight:500; color:var(--text-2); text-align:center; transition:border-color .2s var(--ease),color .2s var(--ease),background .2s var(--ease); }
.lc-choice input:checked + span { border-color:var(--gold); color:var(--text); background:rgba(201,153,47,.1); }
.lc-pane[hidden] { display:none; }
.lc-sub { font:600 12px/1.4 var(--sans); letter-spacing:.06em; text-transform:uppercase; color:var(--text-3); margin:20px 0 10px; }

details.lc-card > summary { cursor:pointer; list-style:none; font:600 12px/1.4 var(--sans); letter-spacing:.09em; text-transform:uppercase; color:var(--gold-hi); display:flex; justify-content:space-between; gap:12px; align-items:center; min-height:24px; }
details.lc-card > summary::-webkit-details-marker { display:none; }
details.lc-card > summary::after { content:"+"; font-size:18px; font-weight:400; color:var(--text-3); line-height:1; }
details.lc-card[open] > summary::after { content:"\2212"; }
details.lc-card[open] > summary { margin-bottom:14px; }
.lc-optional { color:var(--text-3); font-weight:500; letter-spacing:.04em; text-transform:none; margin-left:6px; }

/* Phone only: the answer in one line, pinned to the bottom while typing. */
.lc-peek { display:none; }
.lc-result { position:sticky; top:18px; display:grid; grid-template-columns:minmax(0,1fr); gap:18px; min-width:0; }
.lc-answer { background:var(--panel-2); border:1px solid var(--gold-line); border-radius:3px; padding:clamp(20px,3vw,28px); }
.lc-answer h2 { font:600 12px/1.4 var(--sans); letter-spacing:.09em; text-transform:uppercase; color:var(--gold-hi); margin-bottom:12px; }
.lc-headline { font-family:var(--serif); font-size:clamp(21px,2.6vw,27px); line-height:1.28; letter-spacing:-.015em; }
.lc-headline strong { color:var(--gold-hi); font-weight:600; white-space:nowrap; }
.lc-second { margin-top:12px; color:var(--text-2); font-size:15.5px; }
.lc-second strong { color:var(--text); font-variant-numeric:tabular-nums; white-space:nowrap; }
.lc-empty .lc-headline { color:var(--text-2); font-size:19px; }
.lc-todo { margin:14px 0 0; padding:0; list-style:none; font-size:14px; color:var(--text-3); }
.lc-todo li { padding-left:18px; position:relative; margin:4px 0; }
.lc-todo li::before { content:""; position:absolute; left:2px; top:.62em; width:6px; height:6px; border:1px solid var(--text-3); border-radius:50%; }
.lc-warn { margin-top:12px; font-size:14px; color:var(--warn); }
#lc-plan strong { white-space:normal; }
.lc-plan-note { margin-top:6px; font-size:12.5px; line-height:1.5; color:var(--text-3); }

.lc-table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }
.lc-table { border-collapse:collapse; width:100%; font-size:14.5px; }
.lc-table th, .lc-table td { text-align:right; padding:9px 0 9px 14px; border-bottom:1px solid var(--line); font-variant-numeric:tabular-nums; white-space:nowrap; vertical-align:top; }
.lc-table th:first-child, .lc-table td:first-child { text-align:left; padding-left:0; white-space:normal; color:var(--text-2); font-weight:400; }
.lc-table thead th { font-size:12px; font-weight:600; color:var(--text-3); letter-spacing:.04em; }
.lc-table tr.total td, .lc-table tr.total th { font-weight:600; color:var(--text); border-bottom-color:var(--line-2); font-size:15.5px; }
.lc-table tr.total th:first-child { color:var(--text); }
.lc-table tr.gap td, .lc-table tr.gap th { border-bottom:0; padding-top:18px; }
.lc-table td.best { color:var(--gold-hi); }
.lc-table td.bad { color:var(--warn); }
.lc-table td small { display:block; font-size:11.5px; line-height:1.35; color:var(--text-3); font-weight:400; white-space:normal; min-width:8ch; }
.lc-currency { font-size:12px; color:var(--text-3); margin-top:10px; }
.lc-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:16px; }
.lc-print { min-height:44px; padding:0 16px; font:500 13.5px/1 var(--sans); color:var(--text-2); background:none; border:1px solid var(--line-2); border-radius:2px; cursor:pointer; }
.lc-print:hover { color:var(--text); border-color:var(--text-3); }
.lc-notes { font-size:13px; color:var(--text-3); line-height:1.6; }
.lc-notes p + p { margin-top:8px; }

.lc-next { background:var(--panel); border:1px solid var(--line); border-radius:3px; padding:clamp(22px,4vw,40px); margin:8px 0 56px; }
.lc-next h2 { font-size:clamp(24px,3.4vw,32px); max-width:22ch; }
.lc-next p { margin-top:12px; color:var(--text-2); max-width:62ch; }
.lc-next .buttons { display:flex; gap:12px; flex-wrap:wrap; margin-top:22px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:50px; padding:12px 22px; text-decoration:none; font-weight:600; font-size:15px; background:var(--gold); border:1px solid var(--gold); color:var(--ink); border-radius:2px; transition:background .2s var(--ease); }
.button:hover { background:var(--gold-hi); border-color:var(--gold-hi); }
.button.ghost { background:none; color:var(--text); border-color:var(--line-2); }
.button.ghost:hover { border-color:var(--gold-line); background:none; }

footer { padding:28px 0 36px; color:var(--text-3); font-size:12px; border-top:1px solid var(--line); }
.footer-inner { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.footer-links { display:flex; flex-wrap:wrap; gap:12px 22px; }
.footer-links a { text-decoration:none; }
.footer-links a:hover { color:var(--text); }

@media (max-width:900px) {
  .lc-grid { grid-template-columns:minmax(0,1fr); }
  .lc-result { position:static; }
  .lc-peek { display:block; position:sticky; bottom:10px; z-index:5; padding:12px 14px; background:var(--gold); color:var(--ink); font-weight:600; font-size:14.5px; line-height:1.35; text-decoration:none; border-radius:2px; box-shadow:0 8px 24px rgba(0,0,0,.5); }
  .lc-peek[hidden] { display:none; }
}
@media (max-width:560px) {
  .intro { padding:36px 0 22px; }
  .intro .lead { font-size:16.5px; }
  .languages { order:3; }
  .header-action { padding:0 14px; }
  .lc-row.three { grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
  .lc-table { font-size:13px; }
  .lc-table th, .lc-table td { padding-left:8px; }
  .lc-table tr.total td, .lc-table tr.total th { font-size:13.5px; }
  .lc-table th:first-child, .lc-table td:first-child { min-width:96px; overflow-wrap:break-word; hyphens:auto; }
  .lc-table thead th, .lc-table td { white-space:normal; }
  .lc-next .buttons .button { flex:1 1 100%; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } * { transition:none !important; } }
/* Paper: the Exportkontor header, the date, the inputs, the result and the
   disclaimer, on white. Everything else on the page stays on screen. */
.lc-print-only { display:none; }
@media print {
  @page { margin:14mm 14mm 16mm; }
  * { -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  html, body { background:#fff !important; color:#111; color-scheme:light; }
  body { font-size:10.5pt; line-height:1.45; }
  .header, .intro, .lc-form, .lc-peek, .lc-actions, .lc-todo, .lc-notes, .lc-rates, .lc-next, footer { display:none !important; }
  .wrap { width:auto; }
  .lc-grid { display:block; padding:0; }
  .lc-result { position:static; display:block; }
  .lc-result > * + * { margin-top:12px; }
  .lc-print-only { display:block !important; }
  .lc-print-head { border-bottom:2px solid var(--gold); padding-bottom:10px; margin-bottom:16px; }
  .lc-print-brand { display:flex; align-items:center; gap:10px; font:600 13pt/1 var(--sans); letter-spacing:.16em; color:var(--ink); }
  .lc-print-mark { width:26px; height:26px; flex:none; }
  .lc-print-title { font:500 17pt/1.2 var(--serif); letter-spacing:-.01em; color:#111; margin-top:10px; }
  .lc-print-meta { font-size:9pt; color:#555; margin-top:3px; }
  .lc-answer, .lc-card { background:#fff; border:1px solid #ccc; border-radius:0; color:#111; padding:12px 14px; break-inside:avoid; }
  .lc-answer h2, .lc-card > h2 { color:#7a5a12; margin-bottom:8px; }
  .lc-headline { font-size:14pt; color:#111; }
  .lc-headline strong, .lc-second strong { color:#111; white-space:normal; }
  .lc-second { color:#222; font-size:10pt; margin-top:8px; }
  .lc-plan-note, .lc-currency { color:#555; font-size:8.5pt; }
  .lc-warn { color:#8a3a00; }
  .lc-table-wrap { overflow:visible; }
  .lc-table { font-size:9.5pt; }
  .lc-table th, .lc-table td { color:#111; border-color:#ddd; padding:5px 0 5px 10px; white-space:normal; }
  .lc-table th:first-child, .lc-table td:first-child, .lc-table thead th { color:#444; }
  .lc-table tr.total td, .lc-table tr.total th, .lc-table tr.total th:first-child { color:#111; font-size:10pt; border-bottom-color:#999; }
  .lc-table tr.gap td, .lc-table tr.gap th { padding-top:12px; }
  .lc-table td small { color:#666; }
  .lc-table td.best { color:#111; font-weight:700; }
  .lc-table td.bad { color:#8a3a00; font-weight:600; }
  .lc-print-inputs .lc-table th:first-child { width:58%; }
  .lc-print-inputs .lc-table td { text-align:left; }
  .lc-print-foot { border-top:1px solid #ccc; padding-top:8px; margin-top:16px; font-size:8.5pt; color:#555; break-inside:avoid; }
  .lc-print-foot p + p { margin-top:4px; }
}
