/* vlnk.ai
   Colours come from the vlnk logo's slate, with a deep teal for the circuit traces. */
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --ink: #27323C;        /* logo slate */
  --ink-2: #4E5B66;      /* secondary text */
  --paper: #F3F6F6;
  --white: #FFFFFF;
  --trace: #0D7A69;      /* circuit traces, links */
  --trace-dark: #09594D;
  --mint: #9ADBCB;       /* traces on dark */
  --line: #D6DEE0;
  --radius: 14px;
  --wrap: 1160px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body.vl, .vl body { margin: 0; }
.vl {
  font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper);
  font-feature-settings: "ss01" 0; -webkit-font-smoothing: antialiased;
}
.vl h1, .vl h2, .vl h3 { font-family: var(--font); color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
.vl h1 { font-size: clamp(2.5rem, 5vw, 4.1rem); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; }
.vl h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.025em; }
.vl h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 750; letter-spacing: -0.01em; }
.vl p { margin: 0 0 1em; }
.vl a { color: var(--trace); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.vl a:hover { color: var(--trace-dark); text-decoration-thickness: 2px; }
.vl :focus-visible { outline: 3px solid var(--trace); outline-offset: 3px; border-radius: 4px; }
.vl ul, .vl ol { margin: 0; padding: 0; }
.vl .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.vl .narrow { max-width: 820px; }
.vl .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 40ch; }
.vl .small { font-size: .9rem; color: var(--ink-2); }
.vl .skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.vl .skip:focus { left: 12px; }

/* Buttons */
.vl .btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.vl .btn--ink { background: var(--ink); color: #fff; }
.vl .btn--ink:hover { background: #111a21; color: #fff; }
.vl .btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.vl .btn--line:hover { background: var(--ink); color: #fff; }
.vl .btn--mint { background: var(--mint); color: var(--ink); }
.vl .btn--mint:hover { background: #fff; color: var(--ink); }
.vl .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

/* Wordmark */
.vl .wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.vl .wordmark .mark { width: 38px; height: 38px; }
.vl .wordmark b { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.vl .wordmark b span { font-weight: 700; }

/* Header */
.vl .site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 246, 246, .92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.vl .site-header.is-scrolled { border-bottom-color: var(--line); }
.vl .site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.vl .nav { display: flex; align-items: center; gap: 28px; }
.vl .nav ul { display: flex; gap: 26px; list-style: none; }
.vl .nav ul a { color: var(--ink); text-decoration: none; font-weight: 650; font-size: .98rem; }
.vl .nav ul a:hover, .vl .nav ul a[aria-current] { color: var(--trace); text-decoration: underline; }
.vl .nav .btn { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.vl .nav-toggle { display: none; }

/* Hero */
.vl .hero { padding: 64px 0 72px; }
.vl .hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.vl .hero h1 { max-width: 13ch; }
.vl .hero__where { margin-top: 28px; font-size: .95rem; color: var(--ink-2); }
.vl .hero__figure { margin: 0; }
.vl .traces { width: 100%; height: auto; display: block; overflow: visible; font-family: var(--font); }
.vl .traces__labels text { font-size: 18px; font-weight: 650; fill: var(--ink); }
.vl .traces .tr { fill: none; stroke: var(--trace); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.vl .traces__in circle { fill: var(--paper); stroke: var(--trace); stroke-width: 3; }
.vl .gate rect { fill: var(--white); stroke: var(--ink); stroke-width: 2.5; }
.vl .gate__title { font-size: 20px; font-weight: 800; fill: var(--ink); letter-spacing: -0.01em; }
.vl .gate__items text { font-size: 16.5px; font-weight: 600; fill: var(--ink-2); }
.vl .gate__items circle { fill: var(--trace); }
.vl .traces .out { fill: var(--trace); }
.vl .out__label { font-size: 18px; font-weight: 750; fill: var(--ink); }

/* The one moment of motion: the traces draw in when the page loads */
@media (prefers-reduced-motion: no-preference) {
  .vl .traces .tr { stroke-dasharray: 1; stroke-dashoffset: 1; animation: vl-draw .9s cubic-bezier(.5, 0, .2, 1) forwards; }
  .vl .traces .tr--1 { animation-delay: .15s; }
  .vl .traces .tr--2 { animation-delay: .3s; }
  .vl .traces .tr--3 { animation-delay: .45s; }
  .vl .traces .tr--4 { animation-delay: .6s; }
  .vl .traces .gate { opacity: 0; animation: vl-fade .5s ease-out 1.1s forwards; }
  .vl .traces .tr--out { animation-delay: 1.5s; animation-duration: .5s; }
  .vl .traces .out, .vl .traces .out__label { opacity: 0; animation: vl-fade .4s ease-out 1.95s forwards; }
  .vl .traces .out { transform-origin: 530px 210px; animation-name: vl-pop; }
}
@keyframes vl-draw { to { stroke-dashoffset: 0; } }
@keyframes vl-fade { to { opacity: 1; } }
@keyframes vl-pop { 0% { opacity: 0; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.15); } 100% { opacity: 1; transform: scale(1); } }

/* Sections */
.vl .section { padding: 88px 0; }
.vl .section--white { background: var(--white); }
.vl .intro { font-size: 1.1rem; color: var(--ink-2); max-width: 62ch; margin-bottom: 48px; }

.vl .now__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
.vl .now h2 { max-width: 20ch; }
.vl .now p { max-width: 58ch; }
.vl .asked { background: var(--white); border-radius: var(--radius); padding: 30px 32px; border: 1px solid var(--line); }
.vl .asked h3 { font-size: 1rem; color: var(--ink-2); font-weight: 700; margin-bottom: 14px; }
.vl .asked ul { list-style: none; }
.vl .asked li { padding: 12px 0 12px 30px; border-top: 1px solid var(--line); position: relative; font-weight: 650; line-height: 1.45; }
.vl .asked li::before { content: "?"; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); color: var(--trace); font-size: .8rem; font-weight: 800; display: grid; place-items: center; }

/* Services: a single trace runs down the list, with a terminal at each service */
.vl .services { list-style: none; }
.vl .service { position: relative; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 8px 48px; padding: 0 0 40px 48px; }
.vl .service:last-child { padding-bottom: 0; }
.vl .service::before { content: ""; position: absolute; z-index: 1; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 3px solid var(--trace); box-sizing: border-box; }
.vl .service::after { content: ""; position: absolute; left: 9.5px; top: 0; bottom: 0; width: 3px; background: var(--trace); }
.vl .service:first-child::after { top: 15px; }
.vl .service:last-child::after { bottom: auto; height: 15px; }
.vl .service h3 { font-size: 1.3rem; margin: 0; }
.vl .service p { color: var(--ink-2); max-width: 62ch; margin: 0; }

/* Steps: a real sequence, so they're numbered */
.vl .steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.vl .steps::before { content: ""; position: absolute; left: 22px; right: calc((100% - 84px) / 4 - 23px); top: 22px; height: 3px; background: var(--trace); }
.vl .steps li { counter-increment: step; position: relative; padding-top: 68px; }
.vl .steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); border: 3px solid var(--trace); color: var(--ink); font-weight: 800; display: grid; place-items: center; }
.vl .steps p { color: var(--ink-2); margin: 0; }

.vl .frameworks { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vl .frameworks > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; background: var(--paper); }
.vl .frameworks ul { list-style: none; }
.vl .frameworks li { padding: 10px 0; border-top: 1px solid var(--line); line-height: 1.45; }
.vl .frameworks li:first-child { border-top: 0; }

.vl .who__grid { display: grid; grid-template-columns: 150px 1fr; gap: 56px; align-items: start; }
.vl .who__mark { color: var(--ink); }
.vl .who__mark .mark { width: 100%; max-width: 140px; margin-top: 6px; height: auto; display: block; }
.vl .who p { max-width: 62ch; }
.vl .more { font-weight: 700; }

.vl .faq details, .vl .faq h2 { max-width: 860px; }
.vl .faq h2 { margin-bottom: 24px; }
.vl details { border-top: 1px solid var(--line); }
.vl details:last-of-type { border-bottom: 1px solid var(--line); }
.vl summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-weight: 750; font-size: 1.1rem; position: relative; }
.vl summary::-webkit-details-marker { display: none; }
.vl summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.6rem; font-weight: 500; color: var(--trace); }
.vl details[open] summary::after { content: "\2212"; }
.vl details > div { padding: 0 0 18px; color: var(--ink-2); max-width: 68ch; }

.vl .cta { background: var(--ink); color: #fff; padding: 72px 0; }
.vl .cta h2 { color: #fff; }
.vl .cta p { color: #D3DBDF; max-width: 52ch; }
.vl .cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.vl .cta__inner > p { margin: 0; }

/* Inner pages */
.vl .page-head { padding: 72px 0 56px; }
.vl .page-head .lead { max-width: 52ch; }
.vl .page-head--404 { padding: 120px 0; }
.vl .prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.vl .prose h2:first-child { margin-top: 0; }
.vl .prose p { max-width: 66ch; }
.vl .ticks { list-style: none; }
.vl .ticks li { position: relative; padding: 8px 0 8px 32px; max-width: 64ch; }
.vl .ticks li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--trace); }
.vl .contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; }
.vl .contact-grid h2 { font-size: 1.4rem; }

/* WordPress + Elementor: let the site styles through */
.vl .elementor-widget-text-editor, .vl .elementor-widget-html { color: inherit; font-family: inherit; font-size: inherit; line-height: inherit; font-weight: inherit; }
.vl .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.vl .e-con.vl-row { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; --gap: 0px; --content-width: 100%; padding: 0; max-width: none; }
.vl .e-con.vl-row > .elementor-widget, .vl .e-con.vl-row > .e-con-inner > .elementor-widget { width: 100%; }
.vl .vl-row .lead p:last-child { margin-bottom: 0; }
.vl .vl-row .page-head .lead, .vl .vl-row .hero .lead { margin-bottom: 0; }

/* Footer */
.vl .site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: .95rem; color: var(--ink-2); }
.vl .footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.vl .footer-grid p { margin: 0 0 .6em; max-width: 36ch; }
.vl .footer-grid .wordmark { margin-bottom: 14px; }
.vl .site-footer ul { list-style: none; }
.vl .site-footer li { margin-bottom: 6px; }
.vl .site-footer nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.vl .site-footer nav a:hover { color: var(--trace); text-decoration: underline; }
.vl .footer-base { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .88rem; }
.vl .footer-base a { color: var(--ink-2); }

/* Tablet */
@media (max-width: 980px) {
  .vl .hero__grid, .vl .now__grid { grid-template-columns: 1fr; gap: 40px; }
  .vl .hero__figure { max-width: 620px; }
  .vl .service { grid-template-columns: 1fr; }
  .vl .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .vl .steps::before { display: none; }
  .vl .who__grid { grid-template-columns: 100px 1fr; gap: 32px; }
}
/* Mobile */
@media (max-width: 760px) {
  .vl { font-size: 16.5px; }
  .vl .wrap { padding: 0 20px; }
  .vl .nav-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 700 .95rem var(--font); cursor: pointer; }
  .vl .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; align-items: stretch; padding: 8px 20px 24px; border-bottom: 1px solid var(--line); gap: 12px; }
  .vl .nav.is-open { display: flex; }
  .vl .nav ul { flex-direction: column; gap: 0; }
  .vl .nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .vl .site-header .wrap { position: relative; min-height: 68px; }
  .vl .hero { padding: 36px 0 56px; }
  .vl .traces__labels text { font-size: 21px; }
  .vl .gate__title { font-size: 23px; }
  .vl .gate__items text { font-size: 17px; }
  .vl .out__label { font-size: 21px; }
  .vl .section { padding: 64px 0; }
  .vl .steps, .vl .frameworks, .vl .contact-grid, .vl .footer-grid { grid-template-columns: 1fr; }
  .vl .who__grid { grid-template-columns: 1fr; }
  .vl .who__mark .mark { max-width: 72px; }
  .vl .service { padding-left: 40px; }
  .vl .asked { padding: 22px 20px; }
  .vl .footer-base { flex-direction: column; }
}
@media print {
  .vl .site-header, .vl .cta, .vl .hero__figure { display: none; }
}
