/* Veil Technologies Limited — company site
   Grid: docs/packages/2026-09-30/WEB_ESTATE_GRID_2026-09-30.md
   Desktop column 1120px. Mobile gutter 20px. Both themes are first-class. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  background: var(--bg);
  color: var(--tx);
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { overflow-wrap: break-word; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

:root, [data-theme="dark"] {
  --bg: #090b0f;
  --s1: #0f1218;
  --s2: #151a22;
  --b1: #1e2530;
  --b2: #28323f;
  --acc: #7DF9C2;
  --acc-text: #7DF9C2;
  --tx: #f5f7fa;
  --tm: #8892a4;
  --header: rgba(9, 11, 15, 0.86);
}
[data-theme="light"] {
  --bg: #f4f6fa;
  --s1: #ffffff;
  --s2: #eef1f6;
  --b1: #dbe1ea;
  --b2: #c6d0dc;
  --acc: #00875A;
  --acc-text: #056B47;
  --tx: #0e1319;
  --tm: #5c6675;
  --header: rgba(244, 246, 250, 0.9);
}

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 80;
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 12px;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--acc);
  color: #08130d;
  border-radius: 8px;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 72px;
  background: var(--header);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--b1);
}
.bar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--tx);
  text-decoration: none;
}
header .brand img { height: 28px; width: auto; max-width: none; }
footer .brand {
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}
.navlinks a {
  text-decoration: none;
  color: var(--tm);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--tx); }
.navlinks a.venture {
  margin-left: 8px;
  padding-left: 18px;
  border-left: 1px solid var(--b2);
}
.tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.theme, .menu {
  background: transparent;
  color: var(--tx);
  border: 1px solid var(--b2);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.theme:hover, .menu:hover { border-color: var(--acc); }
.menu { display: none; }

.mark-light, .owu-light { display: none; }
[data-theme="light"] .mark-dark, [data-theme="light"] .owu-dark { display: none; }
[data-theme="light"] .mark-light, [data-theme="light"] .owu-light { display: block; }

main { flex: 1; padding: 72px 0 96px; }
.eyebrow {
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tm);
  margin: 0 0 20px;
}
h1, h2, h3 { font-family: Syne, sans-serif; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
.lede {
  max-width: 640px;
  margin: 28px 0 0;
  font-size: 21px;
  line-height: 1.45;
  color: var(--tx);
}
.hero-mark { height: 72px; width: auto; max-width: 100%; margin-top: 8px; object-fit: contain; object-position: left center; }

.section-label {
  margin: 72px 0 20px;
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tm);
}

.hub {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 28px 32px 28px 0;
  background: var(--s1);
  border: 1px solid var(--b1);
  border-left: 3px solid var(--acc);
  border-radius: 20px;
  text-decoration: none;
  max-width: 100%;
}
.hub > span, .row > span, .venture > span { min-width: 0; max-width: 100%; }
.hub img { height: 64px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.hub h2 { font-size: 32px; margin-bottom: 8px; }
.kicker { color: var(--acc-text); font-weight: 700; font-size: 14px; margin: 0 0 8px; }
.hub p, .row p, .door p, .venture p { color: var(--tm); margin: 0; }
.go {
  display: inline-block;
  margin-top: 16px;
  color: var(--acc-text);
  font-weight: 700;
  text-decoration: none;
}

.rows { margin-top: 8px; border-top: 1px solid var(--b1); }
.row {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 120px;
  padding: 20px 0;
  border-bottom: 1px solid var(--b1);
  text-decoration: none;
  max-width: 100%;
}
.row img { height: 64px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.row.vpn img { height: 40px; max-width: min(100%, 280px); }
.row h2 { font-size: 24px; margin-bottom: 6px; }
.row .go { margin-top: 0; }

.venture-band {
  margin-top: 88px;
  background: var(--s2);
  border-top: 1px solid var(--b1);
  border-bottom: 1px solid var(--b1);
  padding: 72px 0;
}
.venture {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  text-decoration: none;
  max-width: 100%;
}
.venture img { height: 56px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.venture h2 { font-size: 32px; margin: 8px 0 12px; }

.door { max-width: 760px; }
.door img.product { height: 44px; width: auto; max-width: 100%; margin: 0 0 18px; object-fit: contain; object-position: left center; }
.door > img.product:first-child,
.door > img.product:first-child + img.product { margin-top: -12px; }
.door.vpn img.product { height: 28px; }
.door h1 { font-size: clamp(40px, 5vw, 56px); }
.door .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}
.btn-primary { background: var(--acc); color: #08130d; }
[data-theme="light"] .btn-primary { background: #056B47; color: #ffffff; }
.btn-ghost { border: 1px solid var(--b2); color: var(--tx); }
.made { margin-top: 28px; color: var(--tm); }

.policies { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--b1); }
.policies li { border-bottom: 1px solid var(--b1); }
.policies a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  text-decoration: none;
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 20px;
}
.policies span { color: var(--tm); font-family: "DM Sans", sans-serif; font-weight: 400; font-size: 15px; }

footer {
  border-top: 1px solid var(--b1);
  padding: 28px 0 40px;
  color: var(--tm);
  font-size: 14px;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 16px; }
.foot a { color: var(--tm); text-decoration: none; }
.foot a:hover { color: var(--tx); }
.legal { font-size: 13px; line-height: 1.55; max-width: 420px; }
.legal p { margin: 0; }

@media (max-width: 1080px) {
  .menu { display: inline-flex; }
  .navlinks {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--b1);
  }
  .navlinks.open { display: flex; }
  .navlinks a { padding: 14px 0; font-size: 17px; }
  .navlinks a.venture { margin: 8px 0 0; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--b2); width: 100%; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  header, .bar { height: 64px; }
  .navlinks { top: 64px; }
  .bar { gap: 8px; }
  header .brand img { height: 24px; }
  footer .brand { font-size: 11px; letter-spacing: -0.04em; }
  .theme, .menu { padding: 6px 8px; font-size: 13px; }
  .foot { align-items: flex-start; }
  main { padding: 48px 0 72px; }
  .hero-mark { height: 52px; }
  .lede { font-size: 18px; }
  .hub, .venture, .row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hub { padding: 22px; }
  .hub h2, .venture h2 { font-size: 28px; }
  .hub img, .row img, .venture img { height: auto; max-height: 56px; width: auto; max-width: min(100%, 280px); }
  .row { min-height: 0; padding: 22px 0; }
  .row .go { margin-top: 4px; }
  .venture-band { margin-top: 64px; padding: 48px 0; }
  .policies a { flex-direction: column; align-items: flex-start; }
}
