/* ShipMet website. Brand colors carried over from the original site. */
:root {
  --blue: #336799;
  --blue-dark: #234a70;
  --teal: #66cdcc;
  --teal-dark: #2f9e9d;
  --ink: #1d2b3a;
  --muted: #5a6878;
  --line: #dfe6ec;
  --soft: #f3f7f9;
  --white: #ffffff;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
}
img, svg { max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: "Nunito", "Nunito Sans", system-ui, sans-serif; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 1.35rem "Nunito", system-ui, sans-serif; }
.brand img { width: 46px; height: 41px; }
.brand b { color: var(--blue); }
.brand span { color: var(--teal-dark); }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; font-size: .95rem; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.nav a:hover { color: var(--blue); }
.nav a.nav-cta { background: var(--blue); color: #fff; padding: 6px 14px; border-radius: 999px; font-weight: 700; }
.nav a.nav-cta:hover { background: var(--blue-dark); color: #fff; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--blue) 0%, #2d7f9e 55%, var(--teal) 100%); color: #fff; padding: 72px 0 80px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: 1.2rem; max-width: 34em; opacity: .95; }
.hero .art { justify-self: center; width: min(100%, 420px); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; opacity: .85; margin-bottom: .8em; }
.buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { color: var(--blue-dark); background: #eef6fb; }
.btn-ghost { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }

/* Sections */
section { padding: 72px 0; }
section.soft { background: var(--soft); }
.section-head { text-align: center; max-width: 40em; margin: 0 auto 40px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.divider { width: 56px; height: 4px; border-radius: 2px; background: var(--teal); margin: 14px auto 18px; }

.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #e5f5f5; color: var(--teal-dark); margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 14px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.checks b { display: block; }
.checks span { color: var(--muted); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 22px 56px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps b { display: block; }
.steps span { color: var(--muted); }

.note { font-size: .92rem; color: var(--muted); }
.callout { background: #e9f6f6; border-left: 4px solid var(--teal); padding: 16px 18px; border-radius: 8px; }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--soft); font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list li span { min-width: 90px; color: var(--muted); }

/* Legal pages */
.doc { max-width: 780px; margin: 0 auto; padding: 56px 20px 72px; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.doc h2 { font-size: 1.35rem; margin-top: 2em; }
.doc h3 { font-size: 1.1rem; margin-top: 1.4em; }
.doc .updated { color: var(--muted); }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: .4em; }
.toc { background: var(--soft); border-radius: var(--radius); padding: 16px 22px; margin: 24px 0; }
.toc ol { margin: 0; }

/* Footer */
.site-footer { background: #17293b; color: #c7d3de; padding: 44px 0 30px; font-size: .95rem; }
.site-footer a { color: #e6eef5; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .small { margin-top: 28px; padding-top: 18px; border-top: 1px solid #2c4258; color: #93a5b6; font-size: .85rem; }

@media (max-width: 860px) {
  .hero .wrap, .split, .grid-2, .site-footer .cols { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; }
  .hero .art { width: min(80%, 320px); }
  section { padding: 56px 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .nav { gap: 2px 14px; font-size: .9rem; }
  .site-header .wrap { padding-top: 8px; padding-bottom: 8px; }
  th, td { padding: 10px 8px; font-size: .88rem; }
  th { font-size: .72rem; letter-spacing: .02em; }
  .card { padding: 18px; }
}

/* Business page */
.hero-card { color: var(--ink); }
.hero-card h3 { margin-bottom: 14px; }
.fits .card h3 { margin-bottom: 6px; }
.lead-form label { display: block; font-weight: 700; font-size: .95rem; margin: 12px 0 4px; }
.lead-form .opt { font-weight: 400; color: var(--muted); }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #c9d4dd; border-radius: 10px; background: #fff; color: var(--ink); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.lead-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.lead-form button { margin-top: 18px; width: 100%; cursor: pointer; font: inherit; font-weight: 700; }
.lead-form button:disabled { opacity: .6; cursor: default; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 10px 12px; border-radius: 8px; margin-bottom: 8px; font-size: .95rem; }
.form-msg.err { background: #fdecec; color: #8a1f1f; }
.form-msg.ok { background: #e9f6f6; color: #1f5f5e; }
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
@media (max-width: 520px) { .lead-form .two { grid-template-columns: 1fr; } }

.lead-form fieldset.wants { border: 0; padding: 0; margin: 12px 0 0; }
.lead-form fieldset.wants legend { font-weight: 700; font-size: .95rem; margin-bottom: 4px; }
.lead-form label.tick { display: flex; align-items: center; gap: 10px; font-weight: 400; margin: 6px 0; cursor: pointer; }
.lead-form label.tick input { width: 20px; height: 20px; flex: 0 0 20px; }
