/* veinz.co — the company site. One page, no scripts, no third-party anything. */

@font-face { font-family: "Jakarta"; src: url("/fonts/jakarta-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/jakarta-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/jakarta-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/jakarta-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/jakarta-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg: #ffffff;
  --bg-tint: #f4f8fb;
  --ink: #07123a;
  --text: #2b3546;
  --muted: #5b6678;
  --line: #e2e8ef;
  --navy: #03045e;
  --deep: #021a4a;
  --accent: #0369a1;
  --accent-soft: #e6f2fa;
  --cyan: #7dd3fc;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(7, 18, 58, .05), 0 8px 24px rgba(7, 18, 58, .06);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070b14;
    --bg-tint: #0b111d;
    --ink: #eef3fa;
    --text: #c6cfdc;
    --muted: #8f9bb0;
    --line: #1b2433;
    --accent: #5cc0f5;
    --accent-soft: #10243a;
    --card: #0d1422;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 "Jakarta", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.13rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }

/* ------------------------------------------------------------ header */

.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--ink); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px;
  background: var(--navy); color: #fff;
  font-weight: 700; font-size: .98rem; letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(3, 4, 94, .22); }
.btn.small { padding: 9px 16px; font-size: .9rem; border-radius: 10px; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: none; }
.btn.light { background: #fff; color: var(--navy); }
@media (prefers-color-scheme: dark) {
  .top .btn.small, .section .btn:not(.light) { background: #e8eef7; color: #03045e; }
}

/* ------------------------------------------------------------ hero */

.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, #0b5b96 0%, transparent 60%), linear-gradient(160deg, #021a4a 0%, #03045e 55%, #020a2e 100%);
  color: #dbe7f5;
  padding: 92px 0 96px;
}
.veins { position: absolute; inset: 0; width: 100%; height: 100%; }
.veins .v { stroke: #7dd3fc; stroke-width: 2.2; opacity: .22; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 3.6s ease-out forwards; }
.veins .v2, .veins .v3, .veins .v5, .veins .v6, .veins .v7 { stroke-width: 1.4; opacity: .16; }
.veins .v2 { animation-delay: .5s; } .veins .v3 { animation-delay: .8s; } .veins .v4 { animation-delay: .2s; }
.veins .v5 { animation-delay: 1s; } .veins .v6 { animation-delay: 1.2s; } .veins .v7 { animation-delay: 1.4s; } .veins .v8 { animation-delay: .6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .veins .v { animation: none; stroke-dashoffset: 0; } }

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.eyebrow { color: var(--cyan); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 18px; }
.hero .lead { margin-top: 22px; font-size: 1.14rem; color: #c4d4e8; max-width: 38em; }
.hero .lead strong { color: #fff; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .btn:not(.ghost) { background: #fff; color: var(--navy); }

.hero-phones { position: relative; height: 520px; }
.phone {
  border-radius: 34px; padding: 9px; background: #0b1220;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone img { border-radius: 26px; }
.hero-phones .phone { position: absolute; width: 238px; }
.hero-phones .front { right: 8%; top: 18px; transform: rotate(3deg); }
.hero-phones .back { right: 44%; top: 70px; transform: rotate(-6deg); opacity: .9; }

/* ------------------------------------------------------------ sections */

.section { padding: 96px 0; }
.section.tint { background: var(--bg-tint); }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.kicker img { border-radius: 6px; }
.sub { margin-top: 14px; max-width: 44em; color: var(--muted); font-size: 1.06rem; }
.section h2 + .cards { margin-top: 40px; }
.sub + .cards { margin-top: 36px; }

.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.card.plain { box-shadow: none; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.icon { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------ product */

.product { background: var(--bg-tint); }
.product-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.product-shots { display: grid; place-items: center; }
.product-shots .phone { width: min(290px, 80%); transform: rotate(-2deg); }
.product .lead { margin-top: 14px; font-size: 1.1rem; color: var(--text); }
.ticks { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; color: var(--muted); }
.ticks li strong { color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230369a1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* ------------------------------------------------------------ contact */

.contact { padding: 72px 0 96px; }
.contact-box {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: linear-gradient(135deg, #03045e, #0369a1); color: #d6e6f6;
  border-radius: 26px; padding: 48px 52px;
}
.contact-box h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.contact-box p { margin-top: 10px; max-width: 40em; }
.contact-box .btn { flex: none; }

/* ------------------------------------------------------------ footer */

.foot { border-top: 1px solid var(--line); padding: 30px 0 40px; }
.foot-grid { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; }
.foot nav a { color: var(--muted); font-size: .92rem; }
.foot .fine { margin-left: auto; color: var(--muted); font-size: .88rem; }

/* ------------------------------------------------------------ smaller screens */

@media (max-width: 960px) {
  .hero-grid, .product-grid { grid-template-columns: 1fr; }
  .hero-phones { height: 420px; }
  .hero-phones .front { right: 12%; }
  .hero-phones .back { right: auto; left: 10%; }
  .cards.three { grid-template-columns: 1fr 1fr; }
  .product-shots { order: 2; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .bar { justify-content: space-between; }
  .hero { padding: 64px 0 40px; }
  .hero-phones { height: 360px; }
  .hero-phones .phone { width: 180px; }
  .section { padding: 68px 0; }
  .cards.three, .cards.two { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .contact-box { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
  .foot .fine { margin-left: 0; width: 100%; }
}
