/* MycroStart Electronics: the simple site.
   Same colours and fonts as the full site in "marketing cool", without images or animation. */

@font-face {
  font-family: 'Manrope';
  src: url(fonts/manrope-latin-wght.woff2) format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url(fonts/inter-latin-wght.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #050b1d;
  --bg-2: #081431;
  --surface: rgba(148, 186, 255, .045);
  --line: rgba(148, 186, 255, .14);
  --text: #eaf2ff;
  --text-2: #b9c7e2;
  --muted: #8396ba;
  --ice: #38bdf8;
  --ice-2: #7dd3fc;
  --heat: #fb923c;
  --grad: linear-gradient(120deg, #7dd3fc 0%, #818cf8 55%, #c4b5fd 100%);
  --radius: 20px;
  --radius-s: 12px;
  --gutter: clamp(16px, 4vw, 32px);
  --head: 'Manrope', 'Avenir Next', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ice-2); text-decoration: none; }
a:hover { color: #fff; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; margin: 0 0 .5em; color: #fff; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.25; }
b { font-weight: 650; color: #fff; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand img { width: 44px; height: 44px; }
.brand-name { font: 800 1.2rem/1.1 var(--head); letter-spacing: -.02em; }
.brand-name span { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 24px; font-size: .95rem; }
.nav a { color: var(--text-2); }
.nav a:hover { color: #fff; }

/* Sections */
.hero { padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-logo { width: 100%; height: auto; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-logo { order: -1; max-width: 220px; }
}
.section { padding: clamp(56px, 8vw, 96px) 0; }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 32px; }
.eyebrow { font: 700 .78rem/1.2 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--ice); margin-bottom: 1em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-2); max-width: 40em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Quick facts under the headline */
.facts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px 18px; }
.facts b { display: block; font: 800 1.6rem/1.2 var(--head); letter-spacing: -.02em; }
.facts span { color: var(--muted); font-size: .92rem; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 6px; }
.card p { color: var(--text-2); font-size: .97rem; }

/* Cards that are links, and the main button (404 page) */
.link-card { display: block; color: inherit; }
.link-card:hover { color: inherit; border-color: rgba(125, 211, 252, .45); background: rgba(148, 186, 255, .08); }
.link-card h3 { color: var(--ice-2); }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; background: linear-gradient(135deg, #5fd0ff, #818cf8); color: #04122b; font: 700 1rem/1.2 var(--head); }
.btn:hover { color: #04122b; filter: brightness(1.08); }

/* How it works: numbered steps, then the start/stop rule */
.steps { list-style: none; padding: 0; margin: 0 0 16px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps h3::before { content: counter(step); display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; margin-right: .5em; border-radius: 50%; background: rgba(56, 189, 248, .14); color: var(--ice-2); font-size: .85rem; }
.logic { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.tag { display: inline-block; font: 700 .78rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.tag-start { background: rgba(56, 189, 248, .14); color: var(--ice-2); }
.tag-stop { background: rgba(251, 146, 60, .14); color: var(--heat); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
