/* MYPOSMAN new site, Ocean & Amber (kj's pick, 30 Oct 2026). Mobile first, no external fonts. */
:root {
    --navy: #0b2545;
    --ocean: #13509e;
    --ocean-2: #1c6fb8;
    --sky: #8dcbf2;
    --sky-soft: #e8f4fc;
    --amber: #f59e0b;
    --amber-dark: #d97706;
    --ink: #10223b;
    --muted: #5b6b80;
    --line: #dbe4ee;
    --paper: #ffffff;
    --wa: #128c4a;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(11, 37, 69, .12);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; }
a { color: var(--ocean); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--amber); color: var(--navy); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 10px; border: 0; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .08s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: #fbb23a; }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--ocean); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0f7a40; }
.btn-sm { padding: 8px 14px; font-size: 14px; white-space: nowrap; }
/* narrow phones: "Sign up free" stays on one line (kj's screenshot, 16 Nov 2026) */
@media (max-width: 380px) { .btn-sm { padding: 8px 10px; } .menu summary { padding: 8px 10px; } .topbar-row { gap: 10px; } }
.wide { width: 100%; }

/* top bar */
.topbar { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 5; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.logo { color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .06em; font-size: 19px; }
.logo span { color: var(--sky); }
.nav { display: none; gap: 20px; align-items: center; }
.nav-sep { width: 1px; height: 18px; background: #3d5f86; }  /* our pages | the home page's sections */
.nav a, .link-light { color: #dbeaf7; text-decoration: none; font-size: 15px; }
.nav a:hover, .link-light:hover { color: #fff; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }

/* hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--ocean) 65%, var(--ocean-2) 100%); color: #fff; padding: 40px 0 48px; }
.hero-grid { display: grid; gap: 28px; }
.eyebrow { color: var(--sky); font-weight: 700; letter-spacing: .04em; font-size: 14px; margin-bottom: 10px; }
.hero h1 { font-size: clamp(30px, 7vw, 50px); letter-spacing: -.01em; }
.lead { font-size: 18px; color: #dbeaf7; max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-cards { display: grid; gap: 16px; }

/* cards and forms */
.card { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card h2 { font-size: 20px; margin-bottom: 4px; }
.card label { display: block; font-size: 14px; font-weight: 600; margin: 12px 0 0; }
.card input[type=text], .card input[type=number], .card select { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
.choice { border: 0; padding: 0; margin: 12px 0 0; display: flex; gap: 18px; flex-wrap: wrap; }
.choice legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 6px; }
.choice label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 500; }
.quote .btn { margin-top: 16px; }
.quote-result { margin-top: 14px; padding: 14px; background: var(--sky-soft); border-radius: 10px; font-size: 15px; }
.quote-result .btn { margin-top: 8px; }
.quote-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 4px; }
.quote-price strong { font-size: 32px; color: var(--navy); line-height: 1.1; }
.quote-price span { font-size: 17px; font-weight: 700; color: var(--ocean); }
.quote-what { font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.quote-notes { margin: 0 0 6px; padding-left: 18px; font-size: 13px; color: var(--muted); display: grid; gap: 3px; }
.quote-error { margin: 10px 0 0; color: #b42318; font-size: 14px; font-weight: 600; }
.btn-ghost-navy { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-ghost-navy:hover { background: #fff; }
.btn[disabled] { opacity: .7; cursor: wait; }
.dims { border: 0; padding: 0; margin: 12px 0 0; }
.dims legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 6px; }
.dims-row { display: flex; align-items: center; gap: 6px; }
.dims-row span { color: var(--muted); }
.card input::placeholder { color: #9aa3ad; font-style: italic; opacity: 1; }
.card .dims-row input { margin-top: 0; min-width: 0; text-align: center; }
.inline { display: flex; gap: 8px; margin-top: 10px; }
.inline input { margin-top: 0 !important; }

/* trust strip */
.trust { background: var(--sky-soft); border-bottom: 1px solid var(--line); }
.trust-row { list-style: none; margin: 0 auto; padding: 18px 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.trust-row li { display: flex; flex-direction: column; }
.trust-row strong { font-size: 20px; color: var(--navy); }
.trust-row span { font-size: 13px; color: var(--muted); }

/* sections */
.section { padding: 56px 0; }
.tint { background: #f5f9fd; }
.section-title { font-size: clamp(24px, 5vw, 34px); color: var(--navy); text-align: center; }
.section-lead { text-align: center; color: var(--muted); max-width: 40em; margin: 0 auto 28px; }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: var(--navy); font-weight: 800; margin-bottom: 10px; }
.steps h3 { font-size: 18px; }
.steps p { color: var(--muted); margin: 0; }
.routes { display: grid; gap: 16px; margin-bottom: 24px; }
.route { box-shadow: none; border: 1px solid var(--line); }
.route h3 { color: var(--navy); font-size: 18px; }
.route-time { font-size: 22px; font-weight: 800; color: var(--ocean); margin-bottom: 4px; }
.points { display: grid; gap: 14px; }
.point { padding: 18px 20px; border-left: 4px solid var(--amber); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: 0 1px 0 var(--line); }
.point h3 { font-size: 17px; color: var(--navy); }
.point p { color: var(--muted); margin: 0; }
.point-no { border-left-color: #b42318; }  /* goods we can't ship */
.faq-more { margin-top: 18px; }
.faq-group + .faq-group { margin-top: 36px; }
.faq-group h2 { font-size: 20px; color: var(--navy); }
.narrow { max-width: 760px; }
.faq { margin-top: 24px; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 700; color: var(--amber-dark); }
.faq details[open] summary::after { content: "\2013"; }
.faq summary h3 { display: inline; font-size: 16px; color: var(--navy); margin: 0; }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }
.contact { background: var(--navy); color: #fff; }
.contact .section-title { color: #fff; }
.contact .section-lead { color: #dbeaf7; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* footer */
.footer { background: #071a33; color: #b8cbe0; padding: 36px 0 20px; }
.footer-row { display: grid; gap: 20px; }
.footer p { margin: 8px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a { color: #dbeaf7; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer .fine { color: #8ea6c2; }
.dev-note { margin-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 14px; }

/* prices page (1 Nov 2026): tables built from the public prices API */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--ocean) 100%); color: #fff; padding: 32px 0 28px; }
.page-hero h1 { font-size: clamp(28px, 6vw, 42px); }
.page-hero .lead { margin-bottom: 18px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.jump a:hover { background: rgba(255, 255, 255, .14); }
.prices { padding-bottom: 48px; }
.as-of { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.price-ship { padding-top: 28px; scroll-margin-top: 64px; }
.price-ship > h2 { font-size: clamp(22px, 5vw, 30px); color: var(--navy); margin-bottom: 4px; }
.price-card { box-shadow: none; border: 1px solid var(--line); margin-top: 14px; padding: 14px 12px; }
.price-card h3 { color: var(--navy); font-size: 18px; margin-bottom: 2px; }
.price-card .from { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-table th, .price-table td { text-align: left; vertical-align: top; padding: 10px 6px; border-top: 1px solid var(--line); }
.price-table thead th { border-top: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding-top: 0; }
.price-table tbody th { font-weight: 600; color: var(--navy); white-space: nowrap; width: 1%; }
.price-table td strong { display: block; color: var(--ink); }
.price-table td small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.ex-row th, .ex-row td { background: var(--sky-soft); }
.examples { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 13px; color: var(--muted); }
.examples b { color: var(--ocean); margin-left: 4px; }
.terms { margin-top: 14px; background: #f5f9fd; border-radius: var(--radius); padding: 0 16px; }
.terms summary { cursor: pointer; padding: 12px 0; font-weight: 600; color: var(--ocean); }
.terms ul { margin: 0; padding: 0 0 14px 18px; color: var(--muted); font-size: 14px; display: grid; gap: 6px; }
.price-more { margin-top: 36px; padding: 22px; border-radius: var(--radius); background: var(--sky-soft); border-left: 4px solid var(--amber); }
.price-more h2 { color: var(--navy); font-size: 20px; }
.contact-cta.left { justify-content: flex-start; }

@media (min-width: 640px) {
    .trust-row { grid-template-columns: repeat(5, 1fr); }
    .steps, .routes { grid-template-columns: repeat(3, 1fr); }
    .points { grid-template-columns: repeat(2, 1fr); }
    .footer-row { grid-template-columns: 1fr auto; align-items: start; }
    .price-card { padding: 20px 22px; }
    .price-table { font-size: 15px; }
}
@media (min-width: 1100px) {
    .nav { display: flex; }
}
@media (min-width: 960px) {
    .hero { padding: 64px 0 72px; }
    .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
}

/* China to Malaysia shipping page (4 Nov 2026, mansion #67): the answer first, then the details */
.crumbs { font-size: 13px; color: #b9d3ea; margin-bottom: 10px; }
.crumbs a { color: #dbeaf7; }
.answer { font-size: 19px; color: #fff; font-weight: 600; max-width: 34em; margin: 12px 0 4px; }
.answer-note { font-size: 13px; color: #b9d3ea; margin: 0 0 18px; }
.trust-line { margin: 0 auto; padding: 14px 16px; text-align: center; font-weight: 600; color: var(--navy); max-width: 46em; }
.times-table td { font-weight: 600; color: var(--ink); }
.which { color: var(--muted); margin-top: 16px; }
.route-for { font-size: 14px; font-weight: 700; color: var(--ocean); }
/* the sticky button must not cover the last words (review, 4 Nov): the room sits inside the dark
   footer, not under it, so no white strip shows at the bottom (kj, 4 Nov) */
.wa-sticky ~ .footer { padding-bottom: 96px; }
.wa-sticky { position: fixed; right: 16px; bottom: 16px; z-index: 20; background: var(--wa); color: #fff; font-weight: 700; padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow); text-decoration: none; }
@media (min-width: 900px) {
    .steps-4 { grid-template-columns: repeat(4, 1fr); }
    .points-2, .routes-2 { grid-template-columns: repeat(2, 1fr); }
    .wa-sticky { display: none; }
    .wa-sticky ~ .footer { padding-bottom: 20px; }
}

/* phone menu (4 Nov 2026, kj on his phone): below 960 px the top links hide, so a Menu button
   opens them. A <details> element: works without JavaScript. */
.menu { position: static; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; color: #fff; font-weight: 600; font-size: 15px; padding: 8px 12px; border: 1.5px solid #3d5f86; border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::before { content: "\2630\00a0"; }
.menu[open] summary { background: #12365f; }
.menu-links { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-top: 1px solid #1d3f66; box-shadow: var(--shadow); padding: 6px 16px 14px; display: grid; }
.menu-links a { color: #dbeaf7; text-decoration: none; font-size: 17px; padding: 12px 0; border-bottom: 1px solid #16375c; }
.menu-links a:last-child { border-bottom: 0; }
/* three groups: our pages, the home page's sections, the customer app (kj, 16 Nov 2026) */
.menu-sep { height: 2px; background: #3d5f86; margin: 6px 0; border-radius: 1px; }
.menu-links a:has(+ .menu-sep) { border-bottom: 0; }
/* the page you are on (kj, 16 Nov 2026) */
.menu-links a[aria-current="page"] { color: #fff; font-weight: 700; border-left: 4px solid var(--amber); padding-left: 12px; margin-left: -16px; }
.nav a[aria-current="page"] { color: #fff; font-weight: 600; box-shadow: inset 0 -2px 0 var(--amber); padding-bottom: 4px; }
@media (min-width: 1100px) { .menu { display: none; } }
@media (max-width: 1099px) { .topbar-actions .link-light { display: none; } } /* Log in sits in the menu on phones */
/* the menu's motion (4 Nov): fade + a short slide, the icon turns into a cross */
/* closing (the state it goes back to): a little longer and softer, so it settles away (kj, 4 Nov) */
.menu.js-anim .menu-links { opacity: 0; transform: translateY(-10px); transition: opacity .36s ease-in, transform .36s ease-in; pointer-events: none; }
/* opening: quick and soft */
.menu.js-anim.is-open .menu-links { opacity: 1; transform: none; pointer-events: auto; transition: opacity .28s ease-out, transform .3s cubic-bezier(.2, .7, .2, 1); }
.menu summary { transition: background-color .2s ease; }
.menu.js-anim summary::before { content: "\2630\00a0"; }
.menu.js-anim.is-open summary::before { content: "\2715\00a0"; }
.menu.js-anim.is-open summary, .menu.js-anim:not(.is-open) summary { background: transparent; }
.menu.js-anim.is-open summary { background: #12365f; }
.quote .hint { flex-basis: 100%; margin: 2px 0 0; font-size: 13px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .menu.js-anim .menu-links, .menu summary { transition: none; } }
