/* United Tech Traders — corporate site
   Plain CSS, no build step. Tokens first, then layout, then components. */

/* Palette taken from the UTT logo: navy "U", silver "T", green "T". */
:root {
  --navy: #0b2c52;         /* logo navy */
  --ink: #071f3a;          /* headers, dark bands (logo navy, deepened) */
  --ink-2: #0f2d4f;        /* raised surfaces on dark */
  --text: #142030;
  --muted: #5f6670;        /* logo silver-grey, text-safe */
  --silver: #8a8c92;       /* logo silver */
  --on-dark: #e9eef4;
  --on-dark-muted: #a8b5c6;
  --accent: #1b6e35;       /* logo green */
  --accent-ink: #145428;
  --accent-bright: #4cb86b; /* green on dark backgrounds */
  --accent-soft: #e5f2e9;
  --paper: #f3f5f7;        /* alternating sections, cool silver tint */
  --white: #ffffff;
  --line: #dfe3e8;
  --line-dark: #1f3b5c;

  --font-head: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(7, 31, 58, .06), 0 12px 32px rgba(7, 31, 58, .07);
  --container: 1160px;
  --gutter: 20px;
  --section: 64px;
}
@media (min-width: 800px) {
  :root { --gutter: 32px; --section: 96px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .lead { color: var(--on-dark-muted); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--accent-bright); }

.section-head { max-width: 720px; margin-bottom: 48px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--white); color: var(--ink); padding: 8px 14px; z-index: 100; border-radius: 6px;
}
.skip-link:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 1rem/1 var(--font-body);
  padding: 14px 22px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-ink); color: var(--white); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.hero .btn--ghost, .section--dark .btn--ghost { color: var(--white); }
.hero .btn--ghost:hover, .section--dark .btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--sm { padding: 10px 16px; font-size: .93rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
}
/* navy | silver | green stripe, echoing the wordmark */
.site-header::after {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--navy) 0 33.33%, var(--silver) 33.33% 66.66%, var(--accent) 66.66%);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: auto; height: 54px; }
.brand-word { width: auto; height: 17px; }
@media (max-width: 480px) {
  .brand { gap: 8px; }
  .brand-mark { height: 42px; }
  .brand-word { height: 12px; }
}
/* the logo is dark-on-transparent, so on dark footers it sits on a white plate */
.brand--plate { display: inline-flex; background: var(--white); border-radius: 12px; padding: 10px 16px; }
.brand--plate .brand-mark { height: 44px; }
.brand--plate .brand-word { height: 14px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { color: var(--accent-ink); }
.nav a:not(.btn)[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-toggle {
  display: none;
  background: none; border: 1.5px solid var(--line); border-radius: 8px;
  padding: 8px 12px; font: 600 .9rem var(--font-body); color: var(--ink); cursor: pointer;
}
@media (max-width: 859px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 16px 24px rgba(7, 31, 58, .08);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { text-decoration: none; }
  .nav .btn { margin-top: 16px; justify-content: center; }
}

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(76, 184, 107, .16), transparent 60%),
    var(--ink);
  color: var(--on-dark);
  padding: 72px 0 80px;
}
@media (min-width: 800px) { .hero { padding: 110px 0 120px; } }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero .lead { color: var(--on-dark-muted); margin-bottom: 32px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 64px; } }

.hero-panel {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: 28px;
}
.hero-panel h2 { font-size: .8rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 16px; }
.trade-list { list-style: none; margin: 0; padding: 0; }
.trade-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 13px 0; border-top: 1px solid var(--line-dark);
  color: var(--white); font-weight: 600;
}
.trade-list li span { color: var(--on-dark-muted); font-weight: 400; font-size: .9rem; text-align: right; }

/* page hero (inner pages) */
.page-hero { background: var(--ink); color: var(--on-dark); padding: 64px 0 72px; }
@media (min-width: 800px) { .page-hero { padding: 88px 0 96px; } }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3rem); max-width: 22ch; }
.page-hero .lead { color: var(--on-dark-muted); margin: 0; }

/* ---------- partner strip ---------- */
.strip { border-bottom: 1px solid var(--line); background: var(--white); }
.strip-inner { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; padding: 26px 0; }
.strip-label { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.strip-item { font-weight: 600; color: var(--ink); font-size: .97rem; }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column;
}
.card p { color: var(--muted); }
.card .card-link { margin-top: auto; font-weight: 600; text-decoration: none; }
.card .card-link::after { content: " →"; }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-ink);
  display: grid; place-items: center; margin-bottom: 20px;
}
.card-icon svg { width: 22px; height: 22px; }

/* steps */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; border-top: 2px solid var(--line-dark); padding-top: 22px; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font: 800 .95rem var(--font-head); color: var(--accent-bright); margin-bottom: 10px;
}
.steps p { color: var(--on-dark-muted); margin: 0; }

/* feature list */
.features { display: grid; gap: 28px 48px; }
@media (min-width: 800px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.feature svg { color: var(--accent); width: 24px; height: 24px; margin-top: 3px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; }

/* split layout */
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split--wide-left { grid-template-columns: 1.4fr 1fr; } }

/* ticks */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .5em;
  width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* brand card */
.brand-card {
  display: grid; gap: 28px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 32px; box-shadow: var(--shadow);
}
@media (min-width: 800px) { .brand-card { grid-template-columns: 220px 1fr; padding: 44px; gap: 44px; } }
.brand-logo {
  background: #0e2a47; border-radius: 12px; aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center; color: var(--white);
  font: 800 2rem var(--font-head); letter-spacing: -0.02em;
}
.brand-logo { padding: 20px; }
.brand-logo img { width: 100%; height: auto; }
.brand-card .meta { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.pill {
  display: inline-block; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink); margin-right: 6px;
}

/* grade table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-head); color: var(--ink); background: var(--paper); font-size: .9rem; }
tr:last-child td { border-bottom: 0; }
.grade { display: inline-block; font-weight: 700; padding: 3px 10px; border-radius: 999px; font-size: .85rem; white-space: nowrap; }
.grade--a { background: #e4f5ee; color: #14603f; }
.grade--b { background: #e7f0fa; color: #2f6db0; }
.grade--c { background: #fbf1da; color: #7a5f14; }

/* service detail blocks */
.service { padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.service:first-child { border-top: 0; padding-top: 0; }
.service h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.service .kicker { color: var(--accent-ink); font-weight: 600; margin-bottom: 8px; }

/* facts list (company details) */
.facts { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.facts div { display: grid; gap: 4px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
@media (min-width: 600px) { .facts div { grid-template-columns: 200px 1fr; gap: 16px; } }
.facts dt { font-weight: 600; color: var(--ink); }
.facts dd { margin: 0; color: var(--muted); }

/* ---------- contact form ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .93rem; color: var(--ink); margin-bottom: 6px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  font: 400 1rem var(--font-body);
  color: var(--text);
  background: var(--white);
  border: 1.5px solid #cfd5da;
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(27, 110, 53, .2);
}
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.hidden { position: absolute; left: -9999px; }

.contact-card {
  background: var(--paper); border-radius: 16px; padding: 30px;
}
.contact-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-card p { color: var(--muted); }
.contact-card .item { padding: 16px 0; border-top: 1px solid var(--line); }
.contact-card .item:first-of-type { border-top: 0; padding-top: 0; }
.contact-card a { font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: var(--white); padding: 64px 0; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .86); margin: 0; }
.cta-inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .cta-inner { grid-template-columns: 1fr auto; } }
.cta-band .btn--light { background: var(--white); color: var(--accent-ink); }
.cta-band .btn--light:hover { background: var(--ink); color: var(--white); }

/* ---------- prose (privacy etc.) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 64px 0 32px; font-size: .94rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--accent-bright); }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer .brand { margin-bottom: 16px; }
.footer-tagline { color: var(--white); font-weight: 600; letter-spacing: .02em; margin-bottom: 6px; }
.site-footer h4 { color: var(--white); font: 600 .8rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.legal { padding-top: 24px; font-size: .84rem; line-height: 1.6; display: grid; gap: 8px; }
@media (min-width: 800px) { .legal { grid-template-columns: 1fr auto; } }

/* placeholder marker — remove once real details are in (see README) */
.todo { background: #fff3c4; color: #6b4e00; border-radius: 4px; padding: 0 4px; font-style: normal; }
.site-footer .todo, .section--dark .todo, .page-hero .todo { background: #4a3b10; color: #ffd978; }
