/* ===== SELF-HOSTED FONTS ===== */

/* Space Grotesk - Display font */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/space-grotesk-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/space-grotesk-vietnamese-500-normal.woff2) format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/space-grotesk-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/space-grotesk-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/space-grotesk-vietnamese-600-normal.woff2) format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/space-grotesk-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/space-grotesk-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/space-grotesk-vietnamese-700-normal.woff2) format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/space-grotesk-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Inter - Body font */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/inter-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/inter-vietnamese-400-normal.woff2) format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/inter-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/inter-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/inter-vietnamese-500-normal.woff2) format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/inter-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/inter-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/inter-vietnamese-600-normal.woff2) format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/inter-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* IBM Plex Mono - Monospace font */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Bricolage Grotesque - Accent display font */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/bricolage-grotesque-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/bricolage-grotesque-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/bricolage-grotesque-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/bricolage-grotesque-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ===== DESIGN SYSTEM ===== */
/* Light corporate theme that harmonizes with the Node Mitosis animation palette */
:root {
  /* Animation palette vars (used by the canvas animation JS) */
  --bg: #e8eeed;
  --edge: #1d4b4c;
  --node: #143537;
  --accent: #0369a1;
  --green: #2ea043;

  /* Website palette */
  --site-bg: #ffffff;
  --site-bg-alt: #f0f7f7;
  --site-bg-card: #ffffff;
  --site-fg: #0e1e20;
  --site-fg-muted: #47605f;
  --site-fg-light: #6b8180;
  --site-border: #d4dedd;
  --site-border-light: #e8eeed;
  --site-primary: #1d4b4c;
  --site-primary-hover: #143537;
  --site-accent: #0369a1;
  --site-accent-hover: #025283;
  --site-success: #10b981;
  --site-accent-glow: rgba(3, 105, 161, 0.12);
  --site-accent-glow-strong: rgba(3, 105, 161, 0.2);

  /* Typography */
  --font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Spacing */
  --max-w: 1120px;
  --section-pad: clamp(4rem, 8vw, 7rem);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: hidden;
}
body {
  margin: 0;
  background: var(--site-bg);
  color: var(--site-fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px max(24px, env(safe-area-inset-left, 0px));
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--site-border-light);
  transition: background 0.3s;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--site-fg);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--site-fg-muted);
  transition: color 0.2s;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--site-fg); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--site-primary);
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 0;
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0% 50%);
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--site-primary-hover); transform: translateY(-1px); }
@media (max-width: 768px) {
  .nav { padding: 12px max(16px, env(safe-area-inset-left, 0px)); gap: 8px; }
  .nav-logo { font-size: 0.85rem; gap: 6px; min-width: 0; }
  .nav-logo img, .nav-logo svg { width: 28px; height: 28px; flex-shrink: 0; }
  .nav-links { gap: 0; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta {
    padding: 6px 16px;
    font-size: 0.7rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  width: auto;
  margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
  margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px)));
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--bg);
}
@media (max-width: 900px) {
  .hero { justify-content: center; }
}
.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}
.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--site-bg));
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 540px;
  padding: 2rem;
  margin-top: 60px;
  margin-left: max(40px, env(safe-area-inset-left, 0px));
  margin-right: auto;
}
@media (max-width: 900px) {
  .hero canvas { opacity: 0.15; }
  .hero-content {
    text-align: center;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
}
.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(29, 75, 76, 0.12);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.5rem + 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--node);
  text-wrap: balance;
}
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--site-fg-muted);
  max-width: 540px;
  margin: 0 auto 36px;
}
/* Hexagonal cut buttons: diagonal corners matching the hex brand */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--site-primary);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 0;
  clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0% 50%);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--site-primary-hover); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--site-bg-alt);
  color: var(--site-primary);
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 0;
  clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0% 50%);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-outline:hover { background: rgba(29, 75, 76, 0.08); }

/* ===== SECTIONS ===== */
.section {
  padding-block: var(--section-pad);
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--site-accent);
  margin: 0 0 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.2rem + 2.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.section-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--site-fg-muted);
  max-width: 600px;
  margin: 0 0 48px;
}

/* ===== VALUE CARDS ===== */
/* ===== DESIGN A: NODOS FLOTANTES ===== */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--site-accent-glow); }
  50% { box-shadow: 0 0 20px 4px var(--site-accent-glow-strong); }
}
@keyframes dash-flow {
  from { background-position: 0 0; }
  to { background-position: 200px 0; }
}

/* NF Grid */
.nf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) {
  .nf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nf-grid { grid-template-columns: 1fr; }
}

/* NF Card */
.nf-card {
  padding: 28px;
  background: var(--site-bg-card);
  border: 1px solid var(--site-border-light);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.nf-card:hover {
  transform: translateY(-3px);
  border-color: var(--site-accent);
  box-shadow: 0 12px 40px var(--site-accent-glow);
}
.nf-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 20% 30%, var(--site-accent-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.nf-card:hover::before { opacity: 1; }

/* NF Particles (canvas container) */
.nf-particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  overflow: hidden;
}
.nf-particles canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* NF Icon */
.nf-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--site-accent-glow-strong), var(--site-accent-glow));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  color: var(--site-accent);
  margin-bottom: 16px;
  animation: glow-pulse 3s ease-in-out infinite;
}
.nf-card:nth-child(2) .nf-icon { animation-delay: 0.5s; }
.nf-card:nth-child(3) .nf-icon { animation-delay: 1s; }
.nf-card:nth-child(4) .nf-icon { animation-delay: 1.5s; }
.nf-card:nth-child(5) .nf-icon { animation-delay: 2s; }
.nf-card:nth-child(6) .nf-icon { animation-delay: 2.5s; }
.nf-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  position: relative;
}
.nf-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--site-fg-muted);
  margin: 0;
  position: relative;
}

/* NF Process Steps (unified grid) */
.nf-process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}
.nf-process-steps::before {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(16.67% + 26px);
  right: calc(16.67% + 26px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--site-accent) 0, var(--site-accent) 8px, transparent 8px, transparent 16px);
  opacity: 0.4;
  animation: dash-flow 4s linear infinite;
  z-index: 1;
}
.nf-process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 8px;
}
.nf-step-num {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--site-accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
  animation: glow-pulse 3s ease-in-out infinite;
}
.nf-process-step:nth-child(2) .nf-step-num { animation-delay: 1s; }
.nf-process-step:nth-child(3) .nf-step-num { animation-delay: 2s; }
.nf-process-step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.nf-process-step p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--site-fg-muted);
  margin: 0;
}
@media (max-width: 500px) {
  .nf-process-steps { grid-template-columns: 1fr; gap: 32px; }
  .nf-process-steps::before { display: none; }
}

/* NF Trust/Methodology items */
.nf-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 960px) {
  .nf-trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nf-trust-grid { grid-template-columns: 1fr; }
}
.nf-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--site-bg-card);
  border: 1px solid var(--site-border-light);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--site-fg);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.nf-trust-item:hover {
  border-color: var(--site-success);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.12);
  transform: translateY(-2px);
}
.nf-trust-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 10% 50%, rgba(16, 185, 129, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.nf-trust-item:hover::before { opacity: 1; }
.nf-trust-hex {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(16, 185, 129, 0.06));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  color: var(--site-success);
}

/* (Old section styles removed: replaced by NF Design A above) */

/* ===== SECTION DECORATIONS ===== */
#what, #how {
  position: relative;
  overflow: hidden;
}
#what::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -40px;
  width: 260px;
  height: 260px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,3 97,27 97,73 50,97 3,73 3,27' fill='none' stroke='%230369a1' stroke-width='0.8'/%3E%3Cpolygon points='50,18 82,35 82,65 50,82 18,65 18,35' fill='none' stroke='%230369a1' stroke-width='0.5'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
}
#how::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -60px;
  width: 200px;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'%3E%3Cellipse cx='100' cy='50' rx='90' ry='42' fill='none' stroke='%231d4b4c' stroke-width='0.8'/%3E%3Ccircle cx='100' cy='50' r='18' fill='none' stroke='%231d4b4c' stroke-width='0.6'/%3E%3Ccircle cx='100' cy='50' r='6' fill='%231d4b4c' opacity='0.15'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.06;
  pointer-events: none;
}
#features {
  max-width: none;
  background: var(--site-bg-alt);
  width: auto;
  margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
  margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px)));
  padding-inline: max(16px, env(safe-area-inset-left, 0px));
}
#features > div {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ===== TRIAL SECTION ===== */
.trial-section {
  background: linear-gradient(135deg, var(--site-primary), color-mix(in srgb, var(--site-accent), var(--site-primary) 40%));
  width: auto;
  margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
  margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px)));
  padding-inline: max(16px, env(safe-area-inset-left, 0px));
}
.trial-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-block: var(--section-pad);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) {
  .trial-inner { grid-template-columns: 1fr; gap: 32px; }
}
.trial-section .section-label,
.trial-section .section-title,
.trial-section .section-intro {
  color: rgba(255, 255, 255, 0.95);
}
.trial-section .section-label {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}
.trial-form-wrap {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  padding: 32px;
}
.trial-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.form-field label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.form-field input, .form-field select {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0% 50%);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #fff;
  transition: border-color 0.2s, background 0.2s;
}
.form-field input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.form-field input:focus, .form-field select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}
.form-field select option {
  background: var(--site-primary);
  color: #fff;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-submit {
  margin-top: 8px;
}
.trial-section .btn-primary {
  background: #fff;
  color: var(--site-primary);
  font-weight: 700;
}
.trial-section .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}
.form-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}
#form-status {
  font-size: 0.85rem;
  margin-top: 12px;
  min-height: 1.2em;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  transition: all 0.3s ease;
}
#form-status.status-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 10px 14px;
}
#form-status.status-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  padding: 10px 14px;
}
.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.form-submit.submit-success {
  background: var(--site-success) !important;
  color: #fff !important;
}
.form-submit.submit-sending {
  background: rgba(255, 255, 255, 0.6) !important;
  color: var(--site-primary) !important;
}
.form-field input:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 200, 200, 0.5);
}
.form-field.field-error input,
.form-field.field-error select {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.12) !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25);
}
.form-field.field-error label {
  color: #fca5a5 !important;
}
.consent-label.field-error {
  color: #fca5a5 !important;
}
.consent-label.field-error input[type="checkbox"] {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25);
}
.form-consent {
  margin: 16px 0;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  line-height: 1.5;
}
.consent-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  margin-top: 2px;
  transition: border-color 0.2s, background 0.2s;
}
.consent-label input[type="checkbox"]:checked {
  background: var(--site-accent);
  border-color: var(--site-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.5 4.5l-7 7L3 8' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.consent-label input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--site-accent);
  outline-offset: 2px;
}
.consent-label a {
  color: var(--site-accent);
  text-decoration: underline;
}
.consent-label a:hover {
  opacity: 0.8;
}
.consent-error {
  color: #ff6b6b;
  font-size: 0.8rem;
  margin-top: 4px;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--site-border-light);
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--site-fg-muted);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.82rem;
  color: var(--site-fg-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--site-fg); }

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 8px 16px;
  background: var(--site-primary);
  color: #fff;
  border-radius: 4px;
  z-index: 200;
  font-size: 0.85rem;
}
.skip-link:focus { top: 8px; }

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.legal-header {
  margin-bottom: 48px;
  border-bottom: 2px solid var(--site-primary);
  padding-bottom: 24px;
}
.legal-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--site-primary);
  margin: 0 0 8px;
}
.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--site-fg-muted);
  margin: 0;
}
.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--site-primary);
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--site-border-light);
}
.legal-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--site-fg);
  margin: 32px 0 12px;
}
.legal-body p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--site-fg);
  margin: 0 0 16px;
}
.legal-body ul {
  margin: 0 0 16px;
  padding-left: 24px;
}
.legal-body li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--site-fg);
  margin-bottom: 6px;
}
.legal-body a {
  color: var(--site-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-body a:hover {
  color: var(--site-primary);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 12px 16px;
  border: 1px solid var(--site-border-light);
  line-height: 1.5;
}
.legal-table th {
  background: var(--site-bg-alt);
  font-weight: 600;
  color: var(--site-primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.legal-table td {
  color: var(--site-fg);
}
@media (max-width: 640px) {
  .legal-content { padding: 100px 16px 60px; }
  .legal-table { font-size: 0.82rem; }
  .legal-table th,
  .legal-table td { padding: 8px 10px; }
}

/* Legal page nav (simplified) */
.legal-content + .site-footer {
  padding-left: 24px;
  padding-right: 24px;
}

/* ===== TRUST & SECURITY PAGE ===== */
.trust-page .legal-body h2 {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--site-bg-alt);
  color: var(--site-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Deployment cards (On-Prem / Cloud) */
.trust-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0 28px;
}
.trust-card {
  background: var(--site-bg-alt);
  border: 1px solid var(--site-border-light);
  border-radius: 10px;
  padding: 24px;
}
.trust-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--site-primary);
  margin: 0 0 4px;
}
.trust-card-subtitle {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--site-fg-muted);
  margin: 0 0 14px;
}
.trust-card ul {
  margin: 0;
  padding-left: 20px;
}
.trust-card li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--site-fg);
  margin-bottom: 4px;
}

/* Feature items with icons */
.trust-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0 28px;
}
.trust-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.trust-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--site-bg-alt);
  border: 1px solid var(--site-border-light);
  border-radius: 8px;
  font-size: 1.1rem;
  color: var(--site-primary);
  flex-shrink: 0;
  line-height: 1;
}
.trust-feature h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--site-fg);
  margin: 0 0 4px;
}
.trust-feature p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--site-fg-muted);
  margin: 0;
}

/* Checkmark list (AI Safety Controls) */
.trust-checks {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 20px 0 28px;
}
.trust-check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.trust-check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--site-success);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.trust-check div {
  font-family: var(--font-body);
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--site-fg);
}
.trust-check strong {
  font-weight: 600;
}

/* Numbered steps (Incident Response) */
.trust-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 20px 0 28px;
}
.trust-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.trust-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--site-primary);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}
.trust-step div {
  font-family: var(--font-body);
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--site-fg);
}
.trust-step strong {
  font-weight: 600;
}

/* CTA block at bottom */
.trust-cta {
  background: var(--site-bg-alt);
  border: 1px solid var(--site-border-light);
  border-radius: 10px;
  padding: 28px;
  margin: 36px 0 8px;
}
.trust-cta h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--site-primary);
  margin: 0 0 8px;
}
.trust-cta p {
  font-family: var(--font-body);
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--site-fg);
  margin: 0;
}

@media (max-width: 640px) {
  .trust-cards { grid-template-columns: 1fr; }
  .trust-feature { gap: 12px; }
  .trust-feature-icon { width: 34px; height: 34px; font-size: 0.95rem; }
  .trust-cta { padding: 20px; }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--site-primary);
  color: #ffffff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.5;
}
.cookie-banner[hidden] {
  display: none !important;
}
/* Push footer content above fixed banner */
body.has-cookie-banner {
  padding-bottom: 72px;
}
.cookie-banner p {
  margin: 0;
  max-width: 640px;
}
.cookie-banner a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner a:hover {
  opacity: 0.85;
}
.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  border: none;
  padding: 10px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0% 50%);
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.cookie-btn-accept {
  background: #ffffff;
  color: var(--site-primary);
}
.cookie-btn-reject {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: none;
}
.cookie-btn:hover {
  opacity: 0.85;
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 14px 16px;
    gap: 12px;
  }
  .cookie-banner p { font-size: 0.82rem; }
  .cookie-buttons { justify-content: center; }
}

/* ===== HIDDEN ANIMATION UI ===== */
