/* MachineVault website. Colours and type are the app's own (src/theme/tokens.ts). No external requests. */
@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --navy: #14202B;        /* text on light backgrounds (the app's ink) */
  --night: #010716;       /* the logo's own background: hero and footer */
  --night-2: #101A2C;
  --yellow: #FFC707;      /* the logo's yellow */
  --white: #FFFFFF;
  --paper: #F3F4F1;
  --slate: #55626E;
  --line: #DADFE2;
  --on-navy-muted: #A9B4BE;
  --head: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--navy); font: 400 1.0625rem/1.6 var(--body); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }
h1, h2 { font-family: var(--head); font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--yellow); color: var(--navy); padding: 10px 14px; z-index: 10; font-weight: 600; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Hero: navy, with the asset tag ---------- */
.hero { background: var(--night); color: var(--white); overflow: hidden; }
.hero-grid { display: grid; gap: 48px; padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(56px, 9vw, 112px); }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 64px; } }
.brand { display: flex; align-items: center; gap: 12px; margin: 0 0 clamp(28px, 6vw, 64px) -10px; }
.brand img { height: clamp(84px, 12vw, 128px); width: auto; }
.wordmark { font: 700 1.375rem/1 var(--head); letter-spacing: -0.01em; }
.hero h1 { font-size: clamp(2.5rem, 7vw, 4.75rem); line-height: 0.98; }
.lede { margin: 28px 0 0; max-width: 58ch; color: #D7DEE4; font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); }
.soon { display: flex; align-items: center; gap: 12px; margin: 32px 0 0; font: 500 1.125rem/1.3 var(--head); }
.soon-mark { flex: none; width: 14px; height: 14px; background: var(--yellow); border-radius: 3px; }
.hero-contact { margin: 14px 0 0; color: var(--on-navy-muted); font-size: 0.9375rem; }
.hero-contact a { color: var(--white); }

/* The tag: a riveted ID plate, slightly askew as if fixed to a machine */
.tag-wrap { margin: 0; justify-self: center; width: min(100%, 400px); }
.tag { position: relative; background: var(--yellow); color: var(--navy); border-radius: 18px; padding: 26px 26px 20px;
  transform: rotate(-4deg); box-shadow: 0 2px 0 #C99A00, 0 30px 60px -20px rgba(0, 0, 0, 0.55); }
@media (prefers-reduced-motion: no-preference) {
  .tag { animation: settle 900ms cubic-bezier(.2, .9, .25, 1.15) 150ms both; }
  @keyframes settle { from { transform: translateY(-28px) rotate(-11deg); opacity: 0; } to { transform: rotate(-4deg); opacity: 1; } }
}
.rivet { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFE7A3, #B78800 70%); box-shadow: inset 0 -1px 1px rgba(0,0,0,.25); }
.r1 { top: 11px; left: 11px; } .r2 { top: 11px; right: 11px; } .r3 { bottom: 11px; left: 11px; } .r4 { bottom: 11px; right: 11px; }
.tag-head { display: flex; align-items: center; gap: 10px; padding: 0 6px 14px; border-bottom: 2px solid var(--navy); }
.tag-head img { height: 26px; width: auto; }
.tag-head .wordmark { font-size: 1.125rem; }
.tag-body { display: grid; grid-template-columns: 116px 1fr; gap: 18px; align-items: center; padding: 18px 6px 14px; }
.tag-qr { background: var(--white); padding: 8px; border-radius: 6px; }
.tag-qr svg { width: 100%; height: auto; }
.tag-fields { margin: 0; display: grid; gap: 8px; }
.tag-fields div { display: grid; gap: 0; }
.tag-fields dt { font-size: 0.75rem; font-weight: 600; color: #5A4300; }
.tag-fields dd { margin: 0; font: 700 1.0625rem/1.2 var(--head); }
.tag-foot { margin: 0; padding: 12px 6px 0; border-top: 2px solid var(--navy); font-size: 0.8125rem; font-weight: 600; line-height: 1.35; }
.tag-wrap figcaption { margin-top: 26px; color: var(--on-navy-muted); font-size: 0.8125rem; text-align: center; }

/* ---------- What it does ---------- */
.features { padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(56px, 8vw, 96px); }
.features h2, .platforms h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.1; max-width: 20ch; }
.feature-list { margin: 40px 0 0; border-top: 2px solid var(--navy); }
.feature { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .feature { grid-template-columns: 15rem 1fr; gap: 32px; padding: 26px 0; } }
.feature dt { font: 700 1.25rem/1.3 var(--head); }
.feature dd { margin: 0; color: var(--slate); max-width: 62ch; }

/* ---------- Industries ---------- */
.industries { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.industries-inner { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); display: grid; gap: 20px; }
@media (min-width: 900px) { .industries-inner { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; } }
.industries h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.1; }
.industries p { margin: 0; font-size: clamp(1.125rem, 1.8vw, 1.3125rem); line-height: 1.55; max-width: 52ch; }

/* ---------- Platforms ---------- */
.platforms { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.platform-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--navy); }
@media (min-width: 760px) { .platform-list { grid-template-columns: repeat(3, 1fr); } }
.platform-list li { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
@media (min-width: 760px) { .platform-list li { border-bottom: 0; padding-right: 32px; } .platform-list li + li { border-left: 1px solid var(--line); padding-left: 24px; } }
.platform-list strong { font: 700 1.25rem/1.2 var(--head); }
.platform-list span { color: var(--slate); }
.platform-note { margin: 24px 0 0; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.platform-note::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--yellow); }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--white); }
.footer-grid { display: grid; gap: 28px; padding-top: 48px; padding-bottom: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr auto; align-items: end; } }
.footer-name { margin: 0; font: 700 1.5rem/1.1 var(--head); }
.footer-slogan { margin: 6px 0 0; color: var(--on-navy-muted); }
.footer-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.footer-contact a { color: var(--white); }
.social { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.social:hover span { text-decoration: underline; text-underline-offset: 3px; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-base { border-top: 1px solid var(--night-2); padding-top: 18px; padding-bottom: 28px; color: var(--on-navy-muted); font-size: 0.875rem; }
.footer-base p { margin: 0; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-content: center; gap: 18px; padding: var(--gutter); background: var(--night); color: var(--white); text-align: left; }
.notfound h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); }
.notfound p { margin: 0; color: #D7DEE4; max-width: 44ch; }
.notfound a { color: var(--white); font-weight: 600; }
