/* Ventana Technology Ltd — production build of the Claude Design page
   "Ventana Technology login redesign" (dark, mint accent).
   Faithful conversion: templating baked in (accent #45e3ac), style-hover
   attributes converted to :hover rules, fonts self-hosted, zero JavaScript.
   CSP-safe: every asset served from this origin. */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/space-grotesk-400-700.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/plex-sans-400.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/plex-sans-500.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/plex-sans-600.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/plex-mono-400.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/plex-mono-500.woff2) format("woff2");
}

:root {
  --bg: #0a0b0d;
  --bg-raise: #101216;
  --text: #eef1f3;
  --text-soft: #a7adb3;
  --text-mute: #868d94;
  --text-dim: #6b7178;
  --nav-link: #b9bfc5;
  --accent: #45e3ac;
  --accent-hi: #7defc4;
  --accent-ink: #06251a;
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.07);
  --card-line: rgba(255, 255, 255, 0.09);
  --panel-line: rgba(255, 255, 255, 0.1);

  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  min-height: 100vh;
  overflow-x: clip;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); }
::selection { background: rgba(69, 227, 172, 0.25); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; z-index: 99; font-weight: 600; }
.skip-link:focus { left: 12px; top: 12px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }

/* ambient glow behind the hero */
.glow {
  position: absolute; top: -260px; left: 50%; transform: translateX(-50%);
  width: min(900px, 100%); height: 620px;
  background: radial-gradient(closest-side, rgba(69, 227, 172, 0.1), rgba(69, 227, 172, 0) 70%);
  pointer-events: none; z-index: 0;
}

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 11, 13, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { padding-top: 16px; padding-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.mark { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2.5px; width: 24px; height: 24px; }
.mark span { background: var(--accent); border-radius: 1.5px; }
.mark span:nth-child(2), .mark span:nth-child(3) { opacity: 0.55; }
.mark span:nth-child(4) { opacity: 0.9; }

/* The header mark assembles on load (same gesture as the OMS sign-in page);
   the footer copy stays static so the moment happens once. */
.nav .mark span { opacity: 0; animation: pane-in 0.35s ease-out forwards; }
.nav .mark span:nth-child(1) { --pane-o: 1; animation-delay: 0.05s; }
.nav .mark span:nth-child(2) { --pane-o: 0.55; animation-delay: 0.15s; }
.nav .mark span:nth-child(3) { --pane-o: 0.55; animation-delay: 0.25s; }
.nav .mark span:nth-child(4) { --pane-o: 0.9; animation-delay: 0.35s; }
@keyframes pane-in {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: var(--pane-o, 1); transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .nav .mark span { animation: none; opacity: var(--pane-o, 1); }
}
.mark-sm { width: 22px; height: 22px; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.brand-name .thin { color: var(--text-mute); font-weight: 400; }

.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links a { color: var(--nav-link); }
.nav-links a:hover { color: var(--text); }

.nav-logins { display: flex; align-items: center; gap: 10px; }
.btn-login {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 8px;
  border: 1px solid transparent;
  transition: filter 0.15s, transform 0.15s, background 0.15s, border-color 0.15s;
}
.btn-login:hover { filter: brightness(1.08); transform: translateY(-1px); color: var(--accent-ink); }

/* Outline sibling — the second instance, distinct from the primary mint button. */
.btn-login-ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, 0.2); }
.btn-login-ghost .lock, .btn-login-ghost .lock::before { border-color: var(--text); }
.btn-login-ghost:hover {
  filter: none; transform: translateY(-1px); color: var(--text);
  background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.4);
}

/* padlock icon drawn in CSS (from the design) */
.lock { display: inline-flex; width: 14px; height: 11px; border: 1.6px solid var(--accent-ink); border-radius: 2px; border-top: none; position: relative; }
.lock::before {
  content: ""; position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; border: 1.6px solid var(--accent-ink); border-bottom: none;
  border-radius: 5px 5px 0 0;
}

/* ---------- hero ---------- */

.hero {
  position: relative; z-index: 1;
  padding-top: 96px; padding-bottom: 80px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(69, 227, 172, 0.3);
  background: rgba(69, 227, 172, 0.06); padding: 6px 12px; border-radius: 100px;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.badge .dot { box-shadow: 0 0 10px var(--accent); }

.hero h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(38px, 5vw, 62px); line-height: 1.04; letter-spacing: -0.025em;
  margin: 24px 0 22px; text-wrap: balance;
}
.hero h1 .accent { color: var(--accent); }
.hero-lede { font-size: 18px; line-height: 1.6; color: var(--text-soft); max-width: 520px; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.btn-solid {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--text); color: var(--bg);
  font-weight: 600; font-size: 15px; padding: 14px 24px; border-radius: 9px;
  transition: transform 0.15s;
}
.btn-solid:hover { transform: translateY(-2px); color: var(--bg); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  font-weight: 500; font-size: 15px; padding: 14px 24px; border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: border-color 0.15s, background 0.15s;
}
.btn-outline:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.04); color: var(--text); }

/* overview data panel */
.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--panel-line); border-radius: 16px; padding: 26px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
}
.panel-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute); }
.panel-status { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.stat-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 6px; }
.stat-value { font-family: var(--display); font-size: 19px; font-weight: 600; }
.stat-value small { font-size: 14px; color: var(--text-soft); font-weight: 400; }
.panel-tags { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-family: var(--mono); font-size: 11px; color: var(--text-soft); border: 1px solid rgba(255, 255, 255, 0.12); padding: 5px 10px; border-radius: 6px; }
.tag-hi { font-family: var(--mono); font-size: 11px; color: var(--accent-ink); background: var(--accent); padding: 5px 10px; border-radius: 6px; }

/* ---------- sections ---------- */

.section { position: relative; z-index: 1; padding-top: 70px; padding-bottom: 70px; border-top: 1px solid var(--line-soft); }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.02em;
}

/* about */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
.about-copy { display: flex; flex-direction: column; gap: 20px; font-size: 16px; line-height: 1.68; color: var(--text-soft); }
.about-copy .hi { color: var(--text); }

/* services */
.services-lede { max-width: 640px; margin-bottom: 44px; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-card {
  background: rgba(255, 255, 255, 0.025); border: 1px solid var(--card-line);
  border-radius: 14px; padding: 30px;
  transition: border-color 0.18s, transform 0.18s, background 0.18s;
}
.service-card:hover { border-color: rgba(69, 227, 172, 0.4); transform: translateY(-3px); background: rgba(69, 227, 172, 0.03); }
.service-card h3 { font-family: var(--display); font-weight: 600; font-size: 22px; margin-bottom: 12px; }
.service-card p { font-size: 15px; line-height: 1.6; color: var(--text-soft); }

/* case studies */
.case-card {
  background: linear-gradient(160deg, rgba(69, 227, 172, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--panel-line); border-radius: 20px; padding: 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.case-card + .case-card { margin-top: 24px; }
.case-card h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; margin-bottom: 20px; }
.case-card .prose p { font-size: 16px; line-height: 1.66; color: var(--text-soft); }
.case-card .prose p + p { margin-top: 16px; }
.case-chip {
  margin-top: 24px; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px; color: var(--accent);
  border: 1px solid rgba(69, 227, 172, 0.3); padding: 8px 14px; border-radius: 8px;
}
.outcome-stack { display: flex; flex-direction: column; gap: 14px; }
.outcome {
  background: rgba(10, 11, 13, 0.5); border: 1px solid var(--panel-line);
  border-radius: 12px; padding: 22px;
}
.outcome-title { font-family: var(--display); font-weight: 600; font-size: 18px; margin-bottom: 6px; }
.outcome-text { font-size: 14px; color: var(--text-soft); line-height: 1.55; }

/* OMS document-flow panel (second case study) */
.flow-panel { background: rgba(10, 11, 13, 0.5); border: 1px solid var(--panel-line); border-radius: 12px; padding: 24px; }
.flow-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-mute); padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
}
.flow-head .live { color: var(--accent); letter-spacing: 0; text-transform: none; }
.flow-list { list-style: none; font-family: var(--mono); font-size: 13px; }
.flow-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft); color: var(--text-soft);
}
.flow-list li:last-child { border-bottom: 0; }
.flow-list .dot { flex: none; }
.flow-list .ok { color: var(--accent); margin-left: auto; white-space: nowrap; }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-grid h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; margin-bottom: 20px; }
.contact-lede { font-size: 16px; line-height: 1.66; color: var(--text-soft); max-width: 440px; margin-bottom: 28px; }
.detail-card { background: rgba(255, 255, 255, 0.025); border: 1px solid var(--card-line); border-radius: 16px; padding: 8px 28px; }
.detail-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line-soft);
}
.detail-row:last-child { border-bottom: 0; }
.detail-row dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mute); }
.detail-row dd { font-size: 15px; color: var(--text); text-align: right; }

/* ---------- footer ---------- */

.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.footer-inner {
  padding-top: 44px; padding-bottom: 44px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-name { font-family: var(--display); font-weight: 600; font-size: 15px; }
.footer-sub { font-size: 13px; color: var(--text-mute); }
.footer-links { display: flex; gap: 26px; font-size: 14px; }
.footer-links a { color: var(--nav-link); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 13px; color: var(--text-dim); font-family: var(--mono); }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: 56px; padding-bottom: 56px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .case-card { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .nav-links { display: none; }
  .section { padding-top: 52px; padding-bottom: 52px; }
}
@media (max-width: 620px) {
  .services-grid { grid-template-columns: 1fr; }
  /* Brand on its own row; the two login buttons share a full-width row below. */
  .nav-inner { flex-wrap: wrap; row-gap: 12px; }
  .nav-right { width: 100%; }
  .nav-logins { width: 100%; }
  .btn-login { flex: 1; justify-content: center; }
}
