/* ─────────────────────────────────────────────────────────────────────────
   We Notify — Javelle stylesheet, faithful port of the reference index.html.
   Palette/layout mirror the reference; selectors target Javelle j-* tags.
   ───────────────────────────────────────────────────────────────────────── */
:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: #0d0d0d;
  --surface-2: #161616;
  --text: #e8e8e8;
  --muted: #777;
  --accent: #b9ff66;
  --accent-2: #4ad8ff;
  --accent-dim: #8fcc44;
  --border: #222;
  --border-hi: #333;
  --ring: rgba(185, 255, 102, 0.25);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* ─── REINVENTED SCROLLBARS ───────────────────────────────────────────────
   A thin "signal rail": a recessed dark groove track with a glowing capsule
   thumb. The thumb is a lime→cyan gradient with an inner top highlight and a
   soft outer glow that intensifies on hover; pressing it brightens the core.
   Firefox uses the thin scrollbar-* properties. */
:root {
  --sb-size: 10px;
  --sb-track: #0a0a0a;
  --sb-thumb-1: var(--accent);
  --sb-thumb-2: var(--accent-2);
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--sb-track);
}
*::-webkit-scrollbar {
  width: var(--sb-size);
  height: var(--sb-size);
}
*::-webkit-scrollbar-track {
  background: var(--sb-track);
  border-radius: 999px;
  /* inset groove */
  box-shadow:
    inset 1px 1px 2px rgba(0, 0, 0, 0.7),
    inset -1px -1px 2px rgba(255, 255, 255, 0.04);
}
*::-webkit-scrollbar-thumb {
  border-radius: 999px;
  /* transparent border carves the capsule narrower than the track */
  border: 2px solid transparent;
  background-clip: content-box;
  background-image:
    /* inner top highlight */
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 45%),
    /* core gradient */
    linear-gradient(180deg, var(--sb-thumb-1), var(--sb-thumb-2));
  box-shadow:
    0 0 6px rgba(185, 255, 102, 0.35),
    inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.2s var(--ease), filter 0.2s var(--ease);
}
*::-webkit-scrollbar-thumb:hover {
  box-shadow:
    0 0 14px rgba(185, 255, 102, 0.7),
    0 0 4px rgba(74, 216, 255, 0.5),
    inset 0 0 0 1px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}
*::-webkit-scrollbar-thumb:active {
  filter: brightness(1.3) saturate(1.2);
}
*::-webkit-scrollbar-corner {
  background: var(--sb-track);
}
/* page rail: a touch wider and taller-glowing than nested scroll areas */
html::-webkit-scrollbar {
  width: 13px;
}
html::-webkit-scrollbar-thumb {
  box-shadow:
    0 0 16px rgba(185, 255, 102, 0.4),
    inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}
/* nested scroll surfaces (modal panel, plan cards) get a slimmer rail */
.modal__panel::-webkit-scrollbar { width: 8px; }
.modal__panel { scrollbar-width: thin; }

body {
  font-family: "Noto Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

j-layout,
j-page,
j-header,
j-footer {
  display: block;
}

.we-app-shell {
  min-height: 100vh;
}

j-icon,
.j-icon {
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

/* ─── AMBIENT BACKGROUND ─── */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-fx::before {
  content: "";
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(185, 255, 102, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 255, 102, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  animation: gridDrift 40s linear infinite;
}
@keyframes gridDrift {
  to { transform: translateY(56px); }
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: float 18s ease-in-out infinite;
}
.orb.a {
  width: 480px; height: 480px; top: -160px; right: -80px;
  background: radial-gradient(circle, rgba(185, 255, 102, 0.18), transparent 70%);
}
.orb.b {
  width: 420px; height: 420px; top: 40%; left: -120px;
  background: radial-gradient(circle, rgba(74, 216, 255, 0.14), transparent 70%);
  animation-delay: -6s;
}
.orb.c {
  width: 380px; height: 380px; bottom: -120px; right: 10%;
  background: radial-gradient(circle, rgba(185, 255, 102, 0.1), transparent 70%);
  animation-delay: -12s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.08); }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ─── NAV (futuristic command bar) ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    linear-gradient(180deg, rgba(8, 10, 8, 0.82), rgba(5, 5, 5, 0.55));
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
/* scanning light beam along the bottom edge */
.nav__beam {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  filter: drop-shadow(0 0 6px rgba(185, 255, 102, 0.6));
  animation: navBeam 6s linear infinite;
  pointer-events: none;
}
@keyframes navBeam {
  0% { transform: translateX(-100%); opacity: 0; }
  10%, 90% { opacity: 1; }
  100% { transform: translateX(350%); opacity: 0; }
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}
.brand {
  font-family: "Noto Sans", monospace;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
/* hexagon-ish chip framing the brand glyph */
.brand__chip {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background:
    linear-gradient(165deg, rgba(185, 255, 102, 0.14), rgba(74, 216, 255, 0.06));
  border: 1px solid rgba(185, 255, 102, 0.28);
  box-shadow:
    inset 0 0 14px rgba(185, 255, 102, 0.12),
    0 0 18px rgba(185, 255, 102, 0.08);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.brand__chip::before {
  /* rotating conic sheen inside the chip */
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(185, 255, 102, 0.25) 60deg, transparent 130deg);
  animation: spin 7s linear infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}
.brand__chip j-icon {
  position: relative;
  z-index: 1;
  color: var(--accent);
  font-size: 22px;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}
.brand:hover .brand__chip {
  transform: translateY(-1px);
  border-color: var(--accent);
  box-shadow:
    inset 0 0 16px rgba(185, 255, 102, 0.2),
    0 0 26px rgba(185, 255, 102, 0.3);
}
.brand__name span {
  color: var(--accent);
}
/* tiny ONLINE status chip next to the brand */
.brand__status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-inline-start: 0.55rem;
  padding: 0.15rem 0.45rem;
  font-family: "Noto Sans", monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-dim);
  background: rgba(185, 255, 102, 0.06);
  border: 1px solid rgba(185, 255, 102, 0.16);
  border-radius: 100px;
}
.brand__pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@media (max-width: 760px) {
  .brand__status { display: none; }
}
.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0;
}
.nav-links a {
  position: relative;
  padding: 0.2rem 0.1rem;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 6px rgba(185, 255, 102, 0.5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
/* bracket accents that appear on hover */
.nav-links a::before {
  content: "[";
  position: absolute;
  left: -0.55rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(4px);
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a:hover::before { opacity: 1; transform: translateX(0); }
.nav-cta {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
/* language switcher: a <j-select> host wrapping a native <select>. The host is
   the styled control; the inner select is transparent and fills it. */
.language-select {
  display: inline-flex;
  align-items: center;
  position: relative;
  min-height: 2.1rem;
  min-width: 7rem;
  max-width: 10rem;
  border: 1px solid var(--border-hi);
  border-radius: 7px;
  background-color: var(--glass);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.language-select:hover {
  border-color: rgba(185, 255, 102, 0.4);
  background-color: rgba(185, 255, 102, 0.04);
}
.language-select:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--ring);
}
.language-select select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 0.4rem 1.8rem 0.4rem 0.7rem;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: var(--text);
  font-size: 0.8rem;
  font-family: "Noto Sans", system-ui, sans-serif;
  cursor: pointer;
  outline: none;
  /* custom chevron */
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 14px) 52%, calc(100% - 9px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
/* dark dropdown menu (fixes light-on-light native option list) */
.language-select select option,
.modal select option,
j-select select option,
select option {
  background: var(--surface-2);
  color: var(--text);
}

/* ─── BUTTONS (j-button) ─── */
j-button {
  position: relative;
  overflow: hidden;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 6px;
  letter-spacing: 0;
  text-transform: uppercase;
  font-family: "Noto Sans", monospace;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s, border-color 0.25s, color 0.25s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  white-space: nowrap;
  text-align: center;
  -webkit-user-select: none;
  user-select: none;
}
j-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}
j-button:hover::before { left: 130%; }
j-button:active { transform: translateY(1px) scale(0.985); }
j-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
}

/* primary = filled + primary color */
j-button[variant="filled"],
j-button[color="primary"] {
  background: linear-gradient(135deg, #d4ff99, var(--accent));
  color: #050505;
  box-shadow: 0 4px 18px rgba(185, 255, 102, 0.18);
}
j-button[variant="filled"]:hover,
j-button[color="primary"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(185, 255, 102, 0.45), 0 8px 24px rgba(185, 255, 102, 0.2);
}

/* ghost = text / outlined */
j-button[variant="text"],
j-button[variant="outlined"] {
  color: var(--text);
  border: 1px solid var(--border-hi);
  background: var(--glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: none;
}
j-button[variant="text"]::before,
j-button[variant="outlined"]::before {
  background: linear-gradient(100deg, transparent, rgba(185, 255, 102, 0.18), transparent);
}
j-button[variant="text"]:hover,
j-button[variant="outlined"]:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(185, 255, 102, 0.12);
}
.nav-cta j-button {
  flex-shrink: 0;
  min-width: 6.5rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.78rem;
  white-space: nowrap;
  text-align: center;
  line-height: 1.1;
}

/* ─── HERO ─── */
.hero {
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(185, 255, 102, 0.06), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-family: "Noto Sans", monospace;
  color: var(--accent);
  background: rgba(185, 255, 102, 0.07);
  border: 1px solid rgba(185, 255, 102, 0.15);
  border-radius: 3px;
  padding: 0.3rem 0.7rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(185, 255, 102, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(185, 255, 102, 0); }
}
h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 1.2rem;
  font-weight: 700;
}
h1 em {
  font-style: normal;
  display: inline-block;
  background: linear-gradient(100deg, var(--accent) 0%, #eaffc4 35%, var(--accent-2) 65%, var(--accent) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(185, 255, 102, 0.25));
  animation: shimmerText 6s linear infinite;
}
@keyframes shimmerText {
  to { background-position: 220% center; }
}
.hero p {
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}
.hero-note {
  font-size: 0.78rem;
  color: #555;
  font-family: "Noto Sans", monospace;
}

/* ─── STATUS CARD ─── */
.status-card {
  position: relative;
  background: linear-gradient(165deg, rgba(22, 22, 22, 0.7), rgba(13, 13, 13, 0.55));
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 1.6rem;
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: block;
}
.status-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(185, 255, 102, 0.4), transparent 40%, transparent 60%, rgba(74, 216, 255, 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.status-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(185, 255, 102, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
/* status-card is now a <seal-window-comp> wrapper: inner .notary-receipt is the
   shell, so neutralize the wrapper's own frame/overlay/hover. */
.status-card.reveal {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  overflow: visible;
}
.status-card.reveal::before { content: none; }
.status-card.reveal:hover { transform: none; box-shadow: none; }
.status-card .notary-bar { padding-inline: 1.35rem; }
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-family: "Noto Sans", monospace;
}
.status-row strong {
  color: var(--accent);
  font-weight: 700;
}
/* meter is a <j-linear-progress>; --meter-fill (bound from deliveryProgress)
   drives the fill width, which animates from 0 on mount via meterGrow. */
.meter {
  position: relative;
  display: block;
  background: var(--border);
  border-radius: 2px;
  height: 6px;
  overflow: hidden;
  margin-bottom: 1rem;
}
/* hide the framework's own fill node so our themed fill is the only bar */
.meter .j-progress__fill,
.meter .j-progress__track {
  display: none;
}
.meter .meter__fill {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  height: 100%;
  width: var(--meter-fill, 0%);
  background: linear-gradient(90deg, var(--accent-dim), var(--accent), var(--accent-2));
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(185, 255, 102, 0.6);
  overflow: hidden;
  animation: meterGrow 1.6s var(--ease) both;
}
.meter .meter__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: translateX(-100%);
  animation: meterSheen 2.4s ease-in-out infinite;
}
@keyframes meterGrow {
  from { width: 0; }
  to { width: var(--meter-fill, 0%); }
}
@keyframes meterSheen {
  to { transform: translateX(220%); }
}
.mini-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
.mini {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 0.85rem;
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
}
.mini:hover {
  transform: translateY(-3px);
  border-color: rgba(185, 255, 102, 0.3);
  background: rgba(185, 255, 102, 0.04);
}
.mini strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  font-family: "Noto Sans", monospace;
  margin-bottom: 0.05rem;
}
.mini span {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0;
}

/* ─── SECTIONS ─── */
section {
  padding: 5rem 0;
  display: block;
  /* land below the sticky header when scrolled to via nav anchors */
  scroll-margin-top: 80px;
}
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-family: "Noto Sans", monospace;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
  padding: 0.25rem 0.6rem;
  background: rgba(185, 255, 102, 0.07);
  border: 1px solid rgba(185, 255, 102, 0.15);
  border-radius: 3px;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  letter-spacing: 0;
  margin-bottom: 0.6rem;
  line-height: 1.1;
  font-weight: 700;
  background: linear-gradient(180deg, #ffffff, #b9b9b9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section-copy {
  color: var(--muted);
  margin-bottom: 3rem;
  max-width: 55ch;
  font-size: 1rem;
}

/* ─── FEATURE CARDS ─── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.card {
  position: relative;
  background: var(--surface);
  padding: 1.7rem;
  border: none;
  border-radius: 0;
  transition: background 0.3s ease, transform 0.3s var(--ease);
  isolation: isolate;
  display: block;
}
.card:hover { background: var(--surface-2); }
.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: rgba(185, 255, 102, 0.08);
  border: 1px solid rgba(185, 255, 102, 0.18);
  box-shadow: inset 0 0 12px rgba(185, 255, 102, 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.card-icon j-icon {
  color: var(--accent);
  font-size: 24px;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}
.card:hover .card-icon {
  transform: translateY(-3px) scale(1.06);
  border-color: rgba(185, 255, 102, 0.4);
  box-shadow: 0 0 20px rgba(185, 255, 102, 0.2), inset 0 0 14px rgba(185, 255, 102, 0.12);
}
.card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.45rem;
  letter-spacing: 0;
  color: var(--text);
}
.card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ─── PRICING ─── */
#pricing {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
/* price-card is now a <j-card> with j-card-section / j-card-actions */
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(13, 13, 13, 0.6), rgba(5, 5, 5, 0.4));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  gap: 0;
  overflow: visible;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s var(--ease);
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hi);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.price-card--featured {
  border-color: rgba(185, 255, 102, 0.5);
  background: linear-gradient(165deg, rgba(185, 255, 102, 0.05), rgba(5, 5, 5, 0.5));
  box-shadow: 0 0 0 1px rgba(185, 255, 102, 0.15), 0 18px 50px rgba(0, 0, 0, 0.5);
}
.price-card--featured:hover {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(185, 255, 102, 0.18), 0 24px 60px rgba(0, 0, 0, 0.55);
}
.price-card__tag {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  font-size: 0.65rem;
  font-family: "Noto Sans", monospace;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--accent);
  color: #050505;
  padding: 0.25rem 0.6rem;
  border-radius: 0 0 4px 4px;
}
.price-card .price-card__head {
  padding: 0;
}
.price-card h3 {
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-family: "Noto Sans", monospace;
  font-weight: 500;
  margin-bottom: 0;
}
.price-card--featured h3 { color: var(--accent-dim); }
.price {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -2px;
  margin: 0.5rem 0 0;
}
.price-card--featured .price {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.price small {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}
.price-card__features {
  display: grid;
  gap: 0.7rem;
  margin: 1.4rem 0 1.6rem;
  padding: 0;
  color: #999;
  font-size: 0.9rem;
}
.price-card__feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.price-card__feature j-icon {
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
}
.price-card__actions {
  margin-top: auto;
  padding: 0;
}
.price-card__actions j-button { width: 100%; }

/* ─── TESTIMONIALS ─── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.testimonial {
  position: relative;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(22, 22, 22, 0.5), rgba(13, 13, 13, 0.35));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.6rem;
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s var(--ease);
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 0.2rem;
  right: 1rem;
  font-size: 4rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(185, 255, 102, 0.12);
  pointer-events: none;
}
.testimonial:hover {
  transform: translateY(-5px);
  border-color: rgba(185, 255, 102, 0.25);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
}
.testimonial p { font-style: italic; }
.testimonial strong {
  color: var(--accent-dim);
  font-size: 0.8rem;
  font-family: "Noto Sans", monospace;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0;
}

/* ─── CTA ─── */
.cta {
  margin: 1rem 0 5rem;
  border-radius: 18px;
  border: 1px solid rgba(185, 255, 102, 0.4);
  background: linear-gradient(165deg, rgba(22, 22, 22, 0.7), rgba(8, 8, 8, 0.6));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(185, 255, 102, 0.08);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 250px at 50% 100%, rgba(185, 255, 102, 0.1), transparent 70%);
  pointer-events: none;
}
.cta::after {
  content: "";
  position: absolute;
  width: 160%;
  aspect-ratio: 1;
  left: -30%;
  top: 50%;
  translate: 0 -50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(185, 255, 102, 0.08) 60deg, transparent 140deg, rgba(74, 216, 255, 0.07) 220deg, transparent 300deg);
  animation: spin 24s linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes spin {
  to { transform: rotate(1turn); }
}
.cta h2 {
  position: relative;
  color: var(--text);
  margin-bottom: 0.6rem;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: 0;
}
.cta p {
  position: relative;
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ─── FOOTER (futuristic console) ─── */
.site-footer {
  position: relative;
  display: block;
  margin-top: 4rem;
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 120% at 50% 0%, rgba(185, 255, 102, 0.05), transparent 60%),
    linear-gradient(180deg, rgba(10, 12, 10, 0.6), rgba(5, 5, 5, 0.9));
  overflow: hidden;
}
/* glowing top hairline */
.site-footer__beam {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  filter: drop-shadow(0 0 8px rgba(185, 255, 102, 0.5));
}
/* faint grid texture */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(185, 255, 102, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 255, 102, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 20%, transparent 70%);
  pointer-events: none;
}
.site-footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.site-footer__brand .brand--footer {
  margin-bottom: 1rem;
}
.site-footer__tagline {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 34ch;
  margin-bottom: 1.2rem;
}
.site-footer__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Noto Sans", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent-dim);
  padding: 0.35rem 0.7rem;
  background: rgba(185, 255, 102, 0.05);
  border: 1px solid rgba(185, 255, 102, 0.16);
  border-radius: 100px;
}
.site-footer__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(185, 255, 102, 0.8);
  animation: pulse 2s ease-in-out infinite;
}
.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.site-footer__col-title {
  font-family: "Noto Sans", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.site-footer__col a {
  position: relative;
  width: fit-content;
  color: var(--soft, #cfd8d2);
  font-size: 0.9rem;
  color: #aab4ad;
  transition: color 0.2s, padding-inline-start 0.2s var(--ease);
}
.site-footer__col a::before {
  content: "›";
  position: absolute;
  inset-inline-start: -0.9rem;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
}
.site-footer__col a:hover {
  color: var(--accent);
  padding-inline-start: 0.5rem;
}
.site-footer__col a:hover::before { opacity: 1; }
.site-footer__coord {
  font-family: "Noto Sans", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  color: #5a6b60;
}
.site-footer__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: #555;
  font-family: "Noto Sans", monospace;
}
.site-footer__build {
  color: #4a5a50;
  letter-spacing: 1px;
}
.font-mono { font-family: "Noto Sans", monospace; }

@media (max-width: 860px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .site-footer__bar { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* ─── MODAL / DIALOG (j-dialog data-overlay, runtime-driven) ─── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 5, 3, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: modalBackdropIn 0.3s ease both;
}
.modal[hidden] {
  display: none !important;
}
/* j-dialog sub-components are custom elements → force block layout. */
j-dialog-panel { display: block; }
j-dialog-header { display: flex; }
j-dialog-content { display: block; }
j-dialog-footer { display: flex; }

.modal__panel {
  position: relative;
  width: min(460px, 92vw);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: linear-gradient(165deg, rgba(20, 20, 20, 0.96), rgba(10, 10, 10, 0.96));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(185, 255, 102, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: modalIn 0.35s var(--ease) both;
}
.modal__panel--wide {
  width: min(680px, 92vw);
}
@keyframes modalBackdropIn { from { opacity: 0; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 2rem 1.9rem 0.5rem;
}
.modal__header .section-label { margin-bottom: 0.7rem; }
.modal__header h2 {
  font-size: 1.5rem;
  letter-spacing: 0;
  margin: 0.4rem 0;
  line-height: 1.15;
}
.modal-form {
  display: grid;
  gap: 1rem;
  padding: 0.8rem 1.9rem;
}
.modal-form--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.field {
  display: grid;
  gap: 0.4rem;
}
.field--wide { grid-column: 1 / -1; }
.field label {
  font-size: 0.78rem;
  font-family: "Noto Sans", monospace;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted);
}
j-input, j-select, j-textarea {
  display: block;
  width: 100%;
}
j-input input,
j-select select,
j-textarea textarea {
  display: block;
  width: 100%;
  min-width: 0;
  font: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--glass);
  border: 1px solid var(--border-hi);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
j-select select {
  cursor: pointer;
}
j-textarea textarea {
  min-height: 90px;
  resize: vertical;
  line-height: 1.6;
}
j-input input::placeholder,
j-textarea textarea::placeholder {
  color: #666;
  opacity: 1;
}
j-input:focus-within, j-select:focus-within, j-textarea:focus-within,
j-input input:focus, j-select select:focus, j-textarea textarea:focus {
  outline: none;
}
j-input:focus-within input,
j-select:focus-within select,
j-textarea:focus-within textarea,
j-input input:focus,
j-select select:focus,
j-textarea textarea:focus {
  border-color: var(--accent);
  background: rgba(185, 255, 102, 0.04);
  box-shadow: 0 0 0 3px var(--ring);
}
.field--invalid j-input,
.field--invalid j-select,
.field--invalid j-textarea,
.field[data-invalid="true"] j-input,
.field[data-invalid="true"] j-select,
.field[data-invalid="true"] j-textarea {
  border-color: #ff6b6b;
}
.field--invalid j-input input,
.field--invalid j-select select,
.field--invalid j-textarea textarea,
.field[data-invalid="true"] j-input input,
.field[data-invalid="true"] j-select select,
.field[data-invalid="true"] j-textarea textarea {
  border-color: #ff6b6b;
}
.field small {
  font-style: normal;
  font-size: 0.75rem;
  color: #ff8585;
  min-height: 0;
}
.modal__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.8rem 1.9rem 1.9rem;
}
.modal__actions j-button[variant="text"] {
  border: none;
  background: none;
  color: var(--muted);
  text-transform: none;
  padding: 0.4rem 0;
}
.dialog-switch-action {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
}
.modal__actions j-button[variant="text"]:hover {
  color: var(--accent);
  box-shadow: none;
  transform: none;
}
.success-panel {
  text-align: center;
  padding: 1.5rem 1.9rem 0.5rem;
  display: grid;
  justify-items: center;
  gap: 0.6rem;
}
.success-panel j-icon {
  font-size: 3rem;
  color: var(--accent);
  filter: drop-shadow(0 0 20px rgba(185, 255, 102, 0.4));
}
.success-panel h3 {
  font-size: 1.35rem;
  letter-spacing: 0;
}
.success-panel p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* close button (j-icon-button) */
.modal__header j-icon-button {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.modal__header j-icon-button:hover {
  color: var(--accent);
  border-color: rgba(185, 255, 102, 0.4);
  background: rgba(185, 255, 102, 0.06);
}

/* ─── Project toast (single j-notify theme) ─── */
j-notify.toast,
.toast.j-notify,
.toast {
  --toast-accent: var(--accent);
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(165deg, rgba(22, 22, 22, 0.96), rgba(12, 12, 12, 0.96));
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--toast-accent);
  border-radius: 10px;
  padding: 0.8rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px color-mix(in srgb, var(--toast-accent) 16%, transparent);
  animation: toastIn 0.35s var(--ease) both;
}
.toast[data-level="info"] { --toast-accent: var(--accent-2); }
.toast[data-level="success"] { --toast-accent: var(--accent); }
.toast[data-level="error"] { --toast-accent: #ff6b6b; }
.toast j-icon {
  color: var(--toast-accent);
  font-size: 22px;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 22;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
}

/* ─── OPENVEE NOTARY SITE PAGE ─── */
.notary-page {
  display: block;
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 50% 8%, rgba(185, 255, 102, 0.12), transparent 62%),
    radial-gradient(760px 480px at 82% 28%, rgba(74, 216, 255, 0.09), transparent 66%),
    linear-gradient(180deg, rgba(185, 255, 102, 0.035), transparent 18rem),
    var(--bg);
}
.notary-page code,
.notary-page pre {
  font-family: "Noto Sans Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
.notary-hero {
  position: relative;
  padding: 5.5rem 0 5rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.notary-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(185, 255, 102, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 255, 102, 0.03) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 90% 80% at 20% 30%, #000 12%, transparent 70%);
  pointer-events: none;
}
/* sweeping scan beam across the hero */
.notary-hero__scan {
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(185, 255, 102, 0.05), transparent);
  animation: notaryScan 7s linear infinite;
  pointer-events: none;
}
@keyframes notaryScan {
  0% { transform: translateX(0); }
  100% { transform: translateX(440%); }
}
.notary-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.82fr);
  gap: 3rem;
  align-items: center;
}
.notary-hero__copy { min-width: 0; }
.notary-hero h1 {
  display: flex;
  flex-direction: column;
  margin: 1.3rem 0 0.9rem;
  line-height: 0.92;
  letter-spacing: -2px;
}
.notary-hero__brand {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  background: linear-gradient(100deg, var(--accent) 0%, #eaffc4 40%, var(--accent-2) 75%, var(--accent) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 28px rgba(185, 255, 102, 0.25));
  animation: shimmerText 6s linear infinite;
}
.notary-hero__word {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--text);
}
.notary-hero__eyebrow {
  margin: 0 0 1.1rem;
  color: var(--text);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
}
.notary-hero__lead {
  max-width: 56ch;
  margin: 0 0 1.3rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.7;
}
.notary-hero__statement {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.8rem;
  padding: 0.6rem 0.95rem;
  border: 1px solid rgba(185, 255, 102, 0.2);
  border-radius: 8px;
  background: rgba(185, 255, 102, 0.05);
  color: var(--soft, #d8e2dc);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.4;
}
.notary-hero__statement j-icon { color: var(--accent); font-size: 20px; flex: 0 0 auto; }
.notary-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.notary-hero__metrics {
  display: flex;
  gap: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}
.notary-hero__metrics strong {
  display: block;
  font-family: "Noto Sans", monospace;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
}
.notary-hero__metrics span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

/* ── Hero proof-receipt · OpenVEE notary seal (reinvented — not window chrome) ── */
.notary-receipt {
  position: relative;
  /* asymmetric notched corners → reads as a stamped document, not an app window */
  border-radius: 20px 6px 20px 6px;
  padding: 1px;
  background:
    linear-gradient(150deg, rgba(185, 255, 102, 0.55), rgba(74, 216, 255, 0.28) 45%, rgba(185, 255, 102, 0.08) 75%, rgba(185, 255, 102, 0.4));
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(185, 255, 102, 0.06);
  overflow: hidden;
  isolation: isolate;
  animation: receiptIn 0.7s var(--ease) both;
}
/* inner surface — the "paper" of the receipt */
.notary-receipt::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(74, 216, 255, 0.08), transparent 60%),
    linear-gradient(165deg, rgba(15, 18, 15, 0.97), rgba(6, 7, 6, 0.98));
  z-index: -1;
}
@keyframes receiptIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
}
/* travelling light along the top border — a "signing" pass */
.notary-receipt__edge {
  position: absolute;
  top: 0; left: -30%;
  width: 30%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  filter: blur(0.5px);
  animation: sealScan 3.6s var(--ease) infinite;
}
@keyframes sealScan {
  0%   { left: -30%; opacity: 0; }
  15%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
/* ── Shared notary header strip (glyph monogram + dashed lime divider) ──
   Reused by the proof-receipt, the proofs-API code card, and the FAQ
   support-index card so every OpenVEE surface drops window chrome for the
   same stamped-document language. Variant-specific right-hand content
   (waveform, method pill, etc.) is layered on per card. */
.notary-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px dashed rgba(185, 255, 102, 0.18);
  font-family: "Noto Sans", monospace;
  font-size: 0.74rem;
}
.notary-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}
/* monogram glyph replaces the macOS traffic-light dots */
.notary-glyph {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 7px 2px 7px 2px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  color: #06110a;
  font-weight: 900;
  font-size: 0.82rem;
  line-height: 1;
  box-shadow: 0 0 14px rgba(185, 255, 102, 0.4);
}
.notary-label {
  color: var(--muted);
  letter-spacing: 0.4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* live signature waveform */
.notary-receipt__wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 16px;
}
.notary-receipt__wave i {
  width: 2px;
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.85;
  transform-origin: center;
  animation: sealWave 1.1s ease-in-out infinite;
}
.notary-receipt__wave i:nth-child(2) { animation-delay: 0.12s; }
.notary-receipt__wave i:nth-child(3) { animation-delay: 0.24s; background: var(--accent-2); }
.notary-receipt__wave i:nth-child(4) { animation-delay: 0.36s; }
.notary-receipt__wave i:nth-child(5) { animation-delay: 0.48s; background: var(--accent-2); }
.notary-receipt__wave i:nth-child(6) { animation-delay: 0.60s; }
.notary-receipt__wave i:nth-child(7) { animation-delay: 0.72s; }
@keyframes sealWave {
  0%, 100% { transform: scaleY(0.28); }
  50%      { transform: scaleY(1); }
}
.notary-receipt__live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  border: 1px solid rgba(185, 255, 102, 0.3);
  background: rgba(185, 255, 102, 0.07);
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 1.5px;
}
.notary-receipt__body { position: relative; padding: 1.5rem 1.3rem 1.3rem; }
/* the seal — a rotating-rim cryptographic stamp, the card's centrepiece */
.notary-receipt__seal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
}
.notary-receipt__seal-rim {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  /* dashed conic ring = engraved seal edge */
  background:
    conic-gradient(from 0deg, var(--accent) 0 8deg, transparent 8deg 22deg) border-box;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  opacity: 0.65;
  animation: sealSpin 9s linear infinite;
}
.notary-receipt__seal-core {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(185, 255, 102, 0.45);
  background: radial-gradient(circle at 35% 30%, rgba(185, 255, 102, 0.18), rgba(185, 255, 102, 0.05));
  box-shadow: 0 0 24px rgba(185, 255, 102, 0.3), inset 0 0 12px rgba(185, 255, 102, 0.12);
  animation: pulse 2.4s ease-in-out infinite;
}
.notary-receipt__seal-core j-icon { color: var(--accent); font-size: 24px; }
@keyframes sealSpin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .notary-receipt__edge,
  .notary-receipt__wave i,
  .notary-receipt__seal-rim,
  .notary-receipt__seal-core { animation: none; }
}
.notary-receipt__rows {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.4rem;
  font-family: "Noto Sans", monospace;
  font-size: 0.84rem;
}
.notary-receipt__rows > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.notary-receipt__rows dt { color: #6b756e; }
.notary-receipt__rows dd { color: var(--text); text-align: right; }
.notary-receipt__rows dd.is-ok {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.notary-receipt__verify {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}
.notary-receipt__check {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.6rem;
  border-radius: 100px;
  border: 1px solid rgba(185, 255, 102, 0.2);
  background: rgba(185, 255, 102, 0.06);
  color: var(--accent-dim);
  font-family: "Noto Sans", monospace;
  font-size: 0.72rem;
}
.notary-receipt__check j-icon { font-size: 14px; color: var(--accent); }
.notary-answer-card,
.notary-feature-card,
.notary-use-card,
.notary-question-card,
.notary-verifier-card,
.notary-code-card,
.notary-summary-card,
.notary-faq-card {
  display: block;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background:
    linear-gradient(165deg, rgba(24, 24, 24, 0.82), rgba(8, 8, 8, 0.92));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.notary-answer-card j-card-section,
.notary-feature-card j-card-section,
.notary-use-card j-card-section,
.notary-question-card j-card-section,
.notary-verifier-card j-card-section,
.notary-code-card j-card-section,
.notary-summary-card j-card-section,
.notary-faq-card j-card-section {
  display: block;
  padding: 1.35rem;
}
.notary-intro-band,
.notary-section,
.notary-final {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}
.notary-intro-band {
  padding-top: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
}
.notary-answer-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
/* connecting rail behind the 3-step intro cards */
.notary-answer-grid::before {
  content: "";
  position: absolute;
  top: 2.5rem;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 255, 102, 0.4), rgba(74, 216, 255, 0.35), transparent);
  pointer-events: none;
}
.notary-answer-card {
  position: relative;
  border-color: rgba(185, 255, 102, 0.15);
  background:
    linear-gradient(165deg, rgba(185, 255, 102, 0.06), rgba(10, 10, 10, 0.9));
}
.notary-answer-card__no {
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  z-index: 2;
  font-family: "Noto Sans", monospace;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-dim);
  opacity: 0.5;
}
.notary-answer-card j-icon,
.notary-feature-card j-icon {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 30px;
}
.notary-answer-card span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 800;
}
.notary-answer-card p,
.notary-feature-card p,
.notary-faq-card p,
.notary-verifier-card p {
  color: var(--muted);
  line-height: 1.7;
}
.notary-section--split,
.notary-section--verify {
  background: rgba(255, 255, 255, 0.012);
}
.notary-section-head {
  max-width: 760px;
  margin-bottom: 1.8rem;
}
.notary-section-head .section-title {
  margin-bottom: 0;
}
.notary-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.82fr);
  gap: 1.6rem;
  align-items: center;
}
.notary-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.notary-feature-card {
  min-height: 100%;
}
.notary-feature-card h3,
.notary-faq-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.08rem;
  line-height: 1.3;
}
.notary-question-card {
  border-color: rgba(74, 216, 255, 0.18);
}
.notary-question-card j-card-section {
  display: grid;
  gap: 0.7rem;
}
.notary-question-card div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(74, 216, 255, 0.14);
  border-radius: 6px;
  background: rgba(74, 216, 255, 0.04);
  color: var(--text);
  font-weight: 700;
}
.notary-question-card j-icon {
  flex: 0 0 auto;
  color: var(--accent-2);
  font-size: 22px;
}
.notary-section--flow {
  overflow: hidden;
}
.notary-flow-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
}
.notary-flow-line::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 255, 102, 0.55), rgba(74, 216, 255, 0.45), transparent);
}
.notary-flow-line div {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  padding: 1.1rem 0.8rem;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: rgba(8, 8, 8, 0.86);
  text-align: center;
}
.notary-flow-line j-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(185, 255, 102, 0.24);
  border-radius: 50%;
  background: rgba(185, 255, 102, 0.08);
  color: var(--accent);
  font-size: 24px;
}
.notary-flow-line span {
  display: block;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.35;
}
.notary-principle-list,
.notary-audience-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.notary-principle-list div,
.notary-audience-list span {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.026);
}
.notary-principle-list strong,
.notary-audience-list span {
  color: var(--text);
  font-weight: 800;
}
.notary-principle-list strong {
  display: block;
  margin-bottom: 0.45rem;
}
.notary-principle-list span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}
.notary-use-grid,
.notary-future-grid {
  display: grid;
  gap: 1rem;
}
.notary-use-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.notary-future-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 1.6rem;
}
.notary-use-card,
.notary-future-grid span {
  min-width: 0;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.035), rgba(8, 8, 8, 0.78));
}
.notary-use-card {
  min-height: 100%;
}
.notary-use-grid j-icon {
  color: var(--accent);
  font-size: 27px;
}
.notary-use-card h3 {
  margin: 0.75rem 0 0.5rem;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.25;
}
.notary-use-card__lead,
.notary-use-card__benefit {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.58;
}
.notary-use-card__benefit {
  color: #b8c8be;
}
.notary-use-card__label {
  display: block;
  margin: 1rem 0 0.45rem;
  color: var(--accent);
  font-family: "Noto Sans", monospace;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.notary-use-card__examples {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.notary-use-card__examples span,
.notary-future-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.58rem;
  border: 1px solid rgba(185, 255, 102, 0.13);
  border-radius: 999px;
  background: rgba(185, 255, 102, 0.045);
  color: #cbd8cf;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}
.notary-section--future {
  background:
    radial-gradient(760px 360px at 72% 0%, rgba(74, 216, 255, 0.08), transparent 62%),
    rgba(255, 255, 255, 0.012);
}
.notary-summary-card {
  border-color: rgba(185, 255, 102, 0.26);
  background:
    linear-gradient(145deg, rgba(185, 255, 102, 0.08), rgba(8, 8, 8, 0.92));
}
.notary-summary-card j-card-section {
  display: grid;
  gap: 1rem;
}
.notary-summary-card j-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(185, 255, 102, 0.22);
  border-radius: 12px;
  background: rgba(185, 255, 102, 0.08);
  color: var(--accent);
  font-size: 26px;
}
.notary-summary-card p {
  color: var(--text);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  font-weight: 700;
  line-height: 1.7;
}
.notary-verifier-card {
  border-color: rgba(185, 255, 102, 0.24);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46), 0 0 44px rgba(185, 255, 102, 0.08);
}
.notary-verifier-card > j-card-section > span {
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}
.notary-verifier-result {
  display: flex;
  gap: 0.9rem;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid rgba(185, 255, 102, 0.16);
  border-radius: 8px;
  background: rgba(185, 255, 102, 0.055);
}
.notary-verifier-result j-icon {
  color: var(--accent);
  font-size: 28px;
}
.notary-verifier-result strong {
  color: var(--accent);
}
.notary-verifier-card j-button {
  width: 100%;
}
.notary-code-card pre {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-hi);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    #060606;
  color: #d8f8ff;
  padding: 1.2rem;
  font-size: 0.92rem;
  line-height: 1.8;
}
.notary-code-card code {
  color: #d8f8ff;
  overflow-wrap: normal;
}
.notary-audience-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.notary-audience-list span {
  text-align: center;
}
.notary-final {
  border-bottom: none;
}
.notary-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.notary-faq-card {
  background:
    linear-gradient(165deg, rgba(74, 216, 255, 0.045), rgba(8, 8, 8, 0.9));
}

/* ═══════════════════════════════════════════════════════════════════════════
   OPENVEE NOTARY — futuristic HUD reinvention (layered over the base styles)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Sticky section rail (in-page index) ── */
.notary-rail {
  position: sticky;
  top: 4rem;
  z-index: 55;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 6, 5, 0.72);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
}
.notary-rail__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 3rem;
}
.notary-rail__tag {
  flex: 0 0 auto;
  font-family: "Noto Sans", monospace;
  font-size: 0.66rem;
  letter-spacing: 1.5px;
  color: #4a5a50;
}
.notary-rail__links {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.notary-rail__links::-webkit-scrollbar { display: none; }
.notary-rail__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  padding: 0.35rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.notary-rail__links a span {
  font-family: "Noto Sans", monospace;
  font-size: 0.62rem;
  color: var(--accent-dim);
  opacity: 0.7;
}
.notary-rail__links a:hover {
  color: var(--accent);
  border-color: rgba(185, 255, 102, 0.35);
  background: rgba(185, 255, 102, 0.06);
}

/* ── HUD card frame: corner brackets + hover lift/glow ── */
.notary-answer-card,
.notary-feature-card,
.notary-use-card,
.notary-question-card,
.notary-verifier-card,
.notary-code-card,
.notary-summary-card,
.notary-faq-card {
  position: relative;
  border-radius: 12px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s var(--ease);
}
/* corner brackets via layered gradients on a ::after overlay */
.notary-feature-card::after,
.notary-answer-card::after,
.notary-use-card::after,
.notary-faq-card::after {
  content: "";
  position: absolute;
  inset: 9px;
  pointer-events: none;
  border-radius: 6px;
  background:
    linear-gradient(var(--accent), var(--accent)) left top / 12px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) left top / 1px 12px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right bottom / 12px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right bottom / 1px 12px no-repeat;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.notary-feature-card:hover::after,
.notary-answer-card:hover::after,
.notary-use-card:hover::after,
.notary-faq-card:hover::after {
  opacity: 0.55;
}
.notary-feature-card:hover,
.notary-answer-card:hover,
.notary-use-card:hover,
.notary-question-card:hover,
.notary-faq-card:hover,
.notary-code-card:hover,
.notary-summary-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 255, 102, 0.4);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5), 0 0 34px rgba(185, 255, 102, 0.1);
}

/* feature/answer/use icons sit in a chip */
.notary-feature-card j-icon,
.notary-answer-card j-icon,
.notary-use-grid j-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: rgba(185, 255, 102, 0.08);
  border: 1px solid rgba(185, 255, 102, 0.2);
  box-shadow: inset 0 0 14px rgba(185, 255, 102, 0.08);
  font-size: 24px;
}

/* ── Section head: index marker + accent rule ── */
.notary-section,
.notary-intro-band,
.notary-final {
  scroll-margin-top: 7.4rem;
  position: relative;
}
.notary-section .section-label,
.notary-section-head .section-label {
  position: relative;
}
/* a thin accent tick before each section title block */
.notary-section-head {
  position: relative;
  padding-top: 0.4rem;
}
.notary-section-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px rgba(185, 255, 102, 0.5);
}

/* ── Use-case grid: HUD tiles with hover ── */
.notary-use-card,
.notary-future-grid span,
.notary-principle-list div,
.notary-audience-list span {
  position: relative;
  border-radius: 10px;
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
}
.notary-use-card:hover,
.notary-future-grid span:hover,
.notary-principle-list div:hover,
.notary-audience-list span:hover {
  transform: translateY(-3px);
  border-color: rgba(185, 255, 102, 0.32);
  background: rgba(185, 255, 102, 0.045);
}

/* ── Flow line: glowing nodes + numbered steps ── */
.notary-flow-line div {
  border-radius: 12px;
  counter-increment: flowstep;
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.notary-flow-line { counter-reset: flowstep; }
.notary-flow-line div::before {
  content: counter(flowstep, decimal-leading-zero);
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  font-family: "Noto Sans", monospace;
  font-size: 0.62rem;
  color: var(--accent-dim);
  opacity: 0.7;
}
.notary-flow-line div:hover {
  transform: translateY(-3px);
  border-color: rgba(185, 255, 102, 0.35);
}
.notary-flow-line j-icon {
  box-shadow: 0 0 18px rgba(185, 255, 102, 0.18), inset 0 0 12px rgba(185, 255, 102, 0.1);
}

/* ── Hero: tighten + add monospace kicker feel to statement ── */
.notary-hero__statement {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(185, 255, 102, 0.18);
  border-radius: 8px;
  background: rgba(185, 255, 102, 0.04);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ── Code card: OpenVEE proofs-API header (matches the proof-receipt seal) ── */
/* These cards are now <seal-window-comp> wrappers: the inner .notary-receipt is
   the real shell, so strip the wrapper's own frame/hover/overlays to avoid a
   double frame. Body content styling (rows, results, code) still applies. */
.notary-code-card,
.notary-summary-card,
.notary-question-card,
.notary-verifier-card {
  display: block;
  border: none;
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  transform: none;
}
.notary-code-card::before, .notary-code-card::after,
.notary-summary-card::before, .notary-summary-card::after,
.notary-question-card::before, .notary-question-card::after,
.notary-verifier-card::before, .notary-verifier-card::after { content: none; }
.notary-code-card:hover,
.notary-summary-card:hover,
.notary-question-card:hover,
.notary-verifier-card:hover { transform: none; box-shadow: none; border-color: transparent; }
.notary-code-card .notary-bar,
.notary-summary-card .notary-bar,
.notary-question-card .notary-bar,
.notary-verifier-card .notary-bar { padding-inline: 1.35rem; }
.notary-code-card .notary-receipt__body { padding-top: 1.1rem; }
.notary-code-card__req { color: var(--accent); font-weight: 700; }
.notary-code-card__label { color: #4a5a50; }

@media (max-width: 1180px) {
  .notary-feature-grid,
  .notary-use-grid,
  .notary-future-grid,
  .notary-audience-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .notary-flow-line,
  .notary-principle-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .notary-flow-line::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .notary-hero {
    min-height: auto;
    padding: 4rem 0;
  }
  .notary-hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .notary-hero__metrics { gap: 1.4rem; }
  .notary-two-col,
  .notary-answer-grid,
  .notary-faq-grid {
    grid-template-columns: 1fr;
  }
  .notary-intro-band,
  .notary-section,
  .notary-final {
    padding: 3.4rem 0;
  }
}

@media (max-width: 560px) {
  .notary-hero h1 {
    font-size: 3.1rem;
  }
  .notary-hero__actions j-button {
    width: 100%;
  }
  .notary-feature-grid,
  .notary-flow-line,
  .notary-principle-list,
  .notary-use-grid,
  .notary-future-grid,
  .notary-audience-list {
    grid-template-columns: 1fr;
  }
  .notary-code-card pre {
    font-size: 0.76rem;
    padding: 0.8rem;
  }
}

/* ─── FAQ PAGE ─── */
.faq-page {
  display: block;
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 72% 10%, rgba(74, 216, 255, 0.09), transparent 65%),
    radial-gradient(780px 460px at 24% 18%, rgba(185, 255, 102, 0.1), transparent 62%),
    var(--bg);
}
.faq-page .nav-links a[aria-current="page"] {
  color: var(--accent);
}
.faq-hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5rem;
  border-bottom: 1px solid var(--border);
}
.faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(185, 255, 102, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 255, 102, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 74% 70% at 50% 15%, #000 24%, transparent 74%);
  pointer-events: none;
}
.faq-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: 3rem;
  align-items: center;
}
.faq-hero h1 {
  max-width: 10ch;
  text-wrap: balance;
}
.faq-hero__lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.8;
  text-wrap: pretty;
}
.faq-hero__actions,
.faq-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.faq-summary-card,
.faq-card,
.faq-cta {
  display: block;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background:
    linear-gradient(165deg, rgba(24, 24, 24, 0.82), rgba(8, 8, 8, 0.92));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.faq-summary-card {
  border-color: rgba(185, 255, 102, 0.24);
}
.faq-summary-card j-card-section,
.faq-card j-card-section,
.faq-cta j-card-section {
  display: block;
  padding: 1.35rem;
}
.faq-summary-card__title {
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}
.faq-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.faq-topic-grid j-button {
  width: 100%;
  justify-content: flex-start;
  text-transform: none;
}
.faq-content {
  padding: 5rem 0;
}
.faq-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.faq-rail {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 0.4rem;
  padding: 1rem;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: rgba(8, 8, 8, 0.72);
}
.faq-rail span {
  margin-bottom: 0.45rem;
  color: var(--accent);
  font-family: "Noto Sans", monospace;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}
.faq-rail j-button {
  justify-content: flex-start;
  border: 0;
  box-shadow: none;
  text-transform: none;
}
.faq-rail j-button,
.faq-rail a {
  padding: 0.55rem 0.6rem;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.faq-rail j-button::before {
  display: none;
}
.faq-rail j-button:hover,
.faq-rail a:hover {
  background: rgba(185, 255, 102, 0.07);
  color: var(--accent);
  transform: none;
}
.faq-groups {
  display: grid;
  gap: 3rem;
}
.faq-group {
  scroll-margin-top: 5.5rem;
}
.faq-group h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.1;
  text-wrap: balance;
}
.faq-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.faq-card {
  min-height: 100%;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.035), rgba(8, 8, 8, 0.9));
}
.faq-card h3 {
  margin-bottom: 0.65rem;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.35;
}
.faq-card p,
.faq-cta p {
  color: var(--muted);
  line-height: 1.72;
}
.faq-cta-section {
  padding-bottom: 5rem;
}
.faq-cta {
  border-color: rgba(185, 255, 102, 0.28);
  background:
    linear-gradient(135deg, rgba(185, 255, 102, 0.1), rgba(74, 216, 255, 0.05)),
    rgba(10, 10, 10, 0.94);
}
.faq-cta j-card-section {
  padding: 2rem;
}
.faq-cta h2 {
  margin-bottom: 0.7rem;
  max-width: 760px;
  font-size: clamp(1.65rem, 3.5vw, 2.8rem);
  line-height: 1.08;
  text-wrap: balance;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FAQ — futuristic HUD reinvention (matches OpenVEE Notary design language)
   ═══════════════════════════════════════════════════════════════════════════ */

/* hero scan beam */
.faq-hero { padding: 5.5rem 0 5rem; }
.faq-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(185, 255, 102, 0.05), transparent);
  animation: notaryScan 7s linear infinite;
  pointer-events: none;
}
.faq-hero h1 {
  letter-spacing: -2px;
  background: linear-gradient(180deg, #ffffff, #b9b9b9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* hero "support index" card — now a seal-window-comp (renders .notary-receipt) */
.faq-summary-card { display: block; }
.faq-summary-card .notary-bar { padding-inline: 1.35rem; }
.faq-summary-card__title { letter-spacing: 1px; }
.faq-topic-grid j-button {
  border: 1px solid rgba(185, 255, 102, 0.16);
  background: rgba(185, 255, 102, 0.04);
  color: var(--soft, #d8e2dc);
  font-size: 0.82rem;
  padding: 0.6rem 0.85rem;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.faq-topic-grid j-button::before {
  content: "›";
  margin-right: 0.4rem;
  color: var(--accent);
  font-weight: 800;
}
.faq-topic-grid j-button:hover {
  transform: translateX(2px);
  border-color: rgba(185, 255, 102, 0.45);
  background: rgba(185, 255, 102, 0.09);
  color: var(--accent);
}

/* console-style sticky rail */
.faq-rail {
  border-radius: 12px;
  background: rgba(5, 6, 5, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.faq-rail a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.faq-rail a::before {
  content: counter(railitem, decimal-leading-zero);
  counter-increment: railitem;
  font-family: "Noto Sans", monospace;
  font-size: 0.62rem;
  color: var(--accent-dim);
  opacity: 0.6;
}
.faq-rail { counter-reset: railitem; }
.faq-rail a:hover { transform: translateX(2px); }

/* numbered group headers with accent rule */
.faq-groups { counter-reset: faqgroup; }
.faq-group h2 {
  position: relative;
  counter-increment: faqgroup;
  padding-left: 3.2rem;
}
.faq-group h2::before {
  content: counter(faqgroup, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.05em;
  font-family: "Noto Sans", monospace;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.55;
}
.faq-group h2::after {
  content: "";
  position: absolute;
  left: 0.1rem;
  bottom: -0.55rem;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px rgba(185, 255, 102, 0.5);
}

/* HUD q/a cards: corner accent + hover lift/glow */
.faq-card {
  position: relative;
  border-radius: 12px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s var(--ease);
}
.faq-card::after {
  content: "";
  position: absolute;
  inset: 9px;
  pointer-events: none;
  border-radius: 6px;
  background:
    linear-gradient(var(--accent), var(--accent)) left top / 12px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) left top / 1px 12px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right bottom / 12px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right bottom / 1px 12px no-repeat;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.faq-card:hover::after { opacity: 0.5; }
.faq-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 255, 102, 0.4);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5), 0 0 34px rgba(185, 255, 102, 0.1);
}
.faq-card h3 {
  position: relative;
  padding-left: 1.3rem;
}
.faq-card h3::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  font-family: "Noto Sans", monospace;
  font-weight: 800;
  color: var(--accent);
}

/* CTA card glow */
.faq-cta {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.faq-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 500px 200px at 50% 120%, rgba(185, 255, 102, 0.12), transparent 70%);
  pointer-events: none;
}

@media (max-width: 1040px) {
  .faq-hero__grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .faq-rail {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .faq-rail span {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .faq-hero {
    padding: 4.8rem 0 3.4rem;
  }
  .faq-content {
    padding: 3.4rem 0;
  }
  .faq-card-grid,
  .faq-topic-grid,
  .faq-rail {
    grid-template-columns: 1fr;
  }
  .faq-hero__actions j-button,
  .faq-cta__actions j-button {
    width: 100%;
  }
  .faq-cta-section {
    padding-bottom: 3.4rem;
  }
}

/* ─── 404 / NOT FOUND ─── */
.nf {
  display: block;
  min-height: 100vh;
}
.nf__wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  width: min(720px, 90%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}
.nf__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-family: "Noto Sans", monospace;
  color: var(--accent);
  background: rgba(185, 255, 102, 0.07);
  border: 1px solid rgba(185, 255, 102, 0.15);
  border-radius: 3px;
  padding: 0.3rem 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

/* giant glitchy 404 */
.nf__code {
  position: relative;
  line-height: 0.9;
  margin-bottom: 0.5rem;
}
.nf__glitch {
  position: relative;
  display: inline-block;
  font-family: "Noto Sans", monospace;
  font-weight: 700;
  font-size: clamp(6rem, 26vw, 15rem);
  letter-spacing: -0.04em;
  background: linear-gradient(100deg, var(--accent) 0%, #eaffc4 40%, var(--accent-2) 70%, var(--accent) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(185, 255, 102, 0.25));
  animation: shimmerText 6s linear infinite;
}
.nf__glitch::before,
.nf__glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  opacity: 0.7;
}
.nf__glitch::before {
  background: var(--accent-2);
  -webkit-text-fill-color: transparent;
  animation: glitchX 2.6s infinite steps(2, end);
  mix-blend-mode: screen;
}
.nf__glitch::after {
  background: var(--accent);
  -webkit-text-fill-color: transparent;
  animation: glitchY 3.4s infinite steps(2, end);
  mix-blend-mode: screen;
}
@keyframes glitchX {
  0%, 92%, 100% { transform: translate(0, 0); opacity: 0; }
  93% { transform: translate(-4px, 2px); opacity: 0.6; }
  96% { transform: translate(3px, -2px); opacity: 0.5; }
}
@keyframes glitchY {
  0%, 88%, 100% { transform: translate(0, 0); opacity: 0; }
  90% { transform: translate(3px, 1px); opacity: 0.6; }
  94% { transform: translate(-3px, -1px); opacity: 0.4; }
}

.nf__mark {
  width: 56px;
  height: 56px;
  margin: 0.5rem 0 1.5rem;
  color: var(--accent);
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(185, 255, 102, 0.08);
  border: 1px solid rgba(185, 255, 102, 0.18);
  box-shadow: 0 0 26px rgba(185, 255, 102, 0.16);
  animation: flapPulse 3s var(--ease) infinite;
}
.nf__mark j-icon {
  font-size: 34px;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 34;
}
@keyframes flapPulse {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.6; transform: translateY(-3px); }
}

.nf__title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: -1px;
  margin-bottom: 0.8rem;
  background: linear-gradient(180deg, #ffffff, #b9b9b9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.nf__copy {
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 2rem;
  font-size: 1.02rem;
  line-height: 1.7;
}
.nf__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.nf__hint {
  font-size: 0.82rem;
  color: #555;
  font-family: "Noto Sans", monospace;
}
.nf__hint a {
  color: var(--accent);
}
.nf__hint a:hover {
  text-decoration: underline;
}

/* Locale fonts. Keep icons on Material Symbols by excluding j-icon glyphs. */
j-layout[lang="ar"],
j-layout[lang="ar"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-page[lang="ar"],
j-page[lang="ar"] :where(:not(j-icon):not(.material-symbols-rounded)) {
  font-family: "Noto Kufi Arabic", "Noto Sans", system-ui, sans-serif;
}
j-layout[lang="ur"],
j-layout[lang="ur"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-page[lang="ur"],
j-page[lang="ur"] :where(:not(j-icon):not(.material-symbols-rounded)) {
  font-family: "Noto Nastaliq Urdu", "Noto Sans", system-ui, sans-serif;
}
j-layout[lang="hi"],
j-layout[lang="hi"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-page[lang="hi"],
j-page[lang="hi"] :where(:not(j-icon):not(.material-symbols-rounded)) {
  font-family: "Noto Sans Devanagari", "Noto Sans", system-ui, sans-serif;
}
j-layout[lang="zh"],
j-layout[lang="zh"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-page[lang="zh"],
j-page[lang="zh"] :where(:not(j-icon):not(.material-symbols-rounded)) {
  font-family: "Noto Sans SC", "Noto Sans", system-ui, sans-serif;
}
j-layout[lang="ja"],
j-layout[lang="ja"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-page[lang="ja"],
j-page[lang="ja"] :where(:not(j-icon):not(.material-symbols-rounded)) {
  font-family: "Noto Sans JP", "Noto Sans", system-ui, sans-serif;
}
j-layout[lang="ko"],
j-layout[lang="ko"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-page[lang="ko"],
j-page[lang="ko"] :where(:not(j-icon):not(.material-symbols-rounded)) {
  font-family: "Noto Sans KR", "Noto Sans", system-ui, sans-serif;
}
j-layout [lang="en"], j-layout [lang="es"], j-layout [lang="fr"], j-layout [lang="pt"], j-layout [lang="de"], j-layout [lang="ru"], j-layout [lang="id"], j-layout [lang="tr"],
j-layout [lang="en"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-layout [lang="es"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-layout [lang="fr"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-layout [lang="pt"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-layout [lang="de"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-layout [lang="ru"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-layout [lang="id"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-layout [lang="tr"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-page [lang="en"], j-page [lang="es"], j-page [lang="fr"], j-page [lang="pt"], j-page [lang="de"], j-page [lang="ru"], j-page [lang="id"], j-page [lang="tr"],
j-page [lang="en"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-page [lang="es"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-page [lang="fr"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-page [lang="pt"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-page [lang="de"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-page [lang="ru"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-page [lang="id"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-page [lang="tr"] :where(:not(j-icon):not(.material-symbols-rounded)) {
  font-family: "Noto Sans", system-ui, sans-serif;
}
j-layout [lang="ar"],
j-layout [lang="ar"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-page [lang="ar"],
j-page [lang="ar"] :where(:not(j-icon):not(.material-symbols-rounded)) {
  font-family: "Noto Kufi Arabic", "Noto Sans", system-ui, sans-serif;
}
j-layout [lang="ur"],
j-layout [lang="ur"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-page [lang="ur"],
j-page [lang="ur"] :where(:not(j-icon):not(.material-symbols-rounded)) {
  font-family: "Noto Nastaliq Urdu", "Noto Sans", system-ui, sans-serif;
}
j-layout [lang="hi"],
j-layout [lang="hi"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-page [lang="hi"],
j-page [lang="hi"] :where(:not(j-icon):not(.material-symbols-rounded)) {
  font-family: "Noto Sans Devanagari", "Noto Sans", system-ui, sans-serif;
}
j-layout [lang="zh"],
j-layout [lang="zh"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-page [lang="zh"],
j-page [lang="zh"] :where(:not(j-icon):not(.material-symbols-rounded)) {
  font-family: "Noto Sans SC", "Noto Sans", system-ui, sans-serif;
}
j-layout [lang="ja"],
j-layout [lang="ja"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-page [lang="ja"],
j-page [lang="ja"] :where(:not(j-icon):not(.material-symbols-rounded)) {
  font-family: "Noto Sans JP", "Noto Sans", system-ui, sans-serif;
}
j-layout [lang="ko"],
j-layout [lang="ko"] :where(:not(j-icon):not(.material-symbols-rounded)),
j-page [lang="ko"],
j-page [lang="ko"] :where(:not(j-icon):not(.material-symbols-rounded)) {
  font-family: "Noto Sans KR", "Noto Sans", system-ui, sans-serif;
}
j-layout[dir="rtl"] .field label,
j-layout[dir="rtl"] .badge,
j-layout[dir="rtl"] .section-label,
j-layout[dir="rtl"] .nav-links,
j-page[dir="rtl"] .field label,
j-page[dir="rtl"] .badge,
j-page[dir="rtl"] .section-label,
j-page[dir="rtl"] .nav-links {
  text-transform: none;
}

/* ─── RESPONSIVE ─── */
/* ─── MOBILE NAV DRAWER ─── */
/* hamburger: hidden on desktop, shown on small screens */
.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--border-hi);
  border-radius: 9px;
  background: var(--glass);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.nav-burger:hover {
  border-color: rgba(185, 255, 102, 0.4);
  background: rgba(185, 255, 102, 0.06);
  color: var(--accent);
}
.nav-burger j-icon { font-size: 24px; }

/* the drawer panel: fixed right-side overlay */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  width: min(320px, 84vw);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.2rem 1.3rem 1.6rem;
  background: linear-gradient(180deg, rgba(12, 14, 12, 0.98), rgba(6, 7, 6, 0.99));
  border-left: 1px solid var(--glass-border);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.6);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
}
.nav-drawer.j-drawer--open,
.nav-drawer[aria-hidden="false"] {
  transform: translateX(0);
}
/* backdrop scrim */
.nav-drawer__scrim {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(3, 5, 3, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.nav-drawer.j-drawer--open ~ .nav-drawer__scrim,
.nav-drawer[aria-hidden="false"] ~ .nav-drawer__scrim {
  opacity: 1;
  pointer-events: auto;
}
.nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}
.nav-drawer__close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.nav-drawer__close:hover {
  color: var(--accent);
  border-color: rgba(185, 255, 102, 0.4);
  background: rgba(185, 255, 102, 0.06);
}
.nav-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.nav-drawer__links a {
  padding: 0.85rem 0.6rem;
  border-radius: 8px;
  color: var(--soft, #d8e2dc);
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, padding-inline-start 0.2s var(--ease);
}
.nav-drawer__links a:hover {
  background: rgba(185, 255, 102, 0.07);
  color: var(--accent);
  padding-inline-start: 1rem;
}
.nav-drawer__cta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}
.nav-drawer__cta j-button { width: 100%; }
.nav-drawer__lang { width: 100%; max-width: none; margin-bottom: 0.2rem; }
.nav-drawer__lang select { width: 100%; }

/* RTL: drawer slides from the left */
j-layout[dir="rtl"] .nav-drawer,
[dir="rtl"] .nav-drawer {
  right: auto;
  left: 0;
  border-left: 0;
  border-right: 1px solid var(--glass-border);
  box-shadow: 24px 0 60px rgba(0, 0, 0, 0.6);
  transform: translateX(-100%);
}
[dir="rtl"] .nav-drawer.j-drawer--open,
[dir="rtl"] .nav-drawer[aria-hidden="false"] {
  transform: translateX(0);
}

@media (max-width: 930px) {
  .hero-grid,
  .pricing,
  .modal-form--two {
    grid-template-columns: 1fr;
  }
  .cards,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  /* on mobile the header keeps only Start free + hamburger; language select
     moves into the drawer feel via the burger */
  .nav-cta .language-select { display: none; }
  .hero { padding: 5rem 0 4rem; }
  .cta { padding: 2.5rem 1.5rem; }
  .nav-cta j-button[variant="text"] { display: none; }
  .toast { left: 1rem; right: 1rem; bottom: 1rem; }
}

/* above the mobile breakpoint the drawer + scrim never show */
@media (min-width: 931px) {
  .nav-drawer,
  .nav-drawer__scrim { display: none; }
}

/* ─── RTL / LOGICAL ALIGNMENT ─────────────────────────────────────────────
   Text follows the document direction (start = left in LTR, right in RTL)
   instead of being hard-left. The dir attribute on <j-page> (rtl for ar/ur)
   drives the native flow; these rules make block text + a few flex rows honor
   it so the whole layout mirrors, not just inline text. */
h1, .hero p, .hero-note,
.section-title, .section-copy,
.card h3, .card p,
.price-card h3,
.testimonial,
.field label, .modal__header,
.nf__title, .nf__copy {
  text-align: start;
}

/* RTL: mirror the directional pieces that use physical layout */
j-layout[dir="rtl"] .nf__wrap,
j-layout[dir="rtl"] .cta,
j-layout[dir="rtl"] .section-heading--center,
j-page[dir="rtl"] .nf__wrap,
j-page[dir="rtl"] .cta,
j-page[dir="rtl"] .section-heading--center {
  text-align: center;
}
j-layout[dir="rtl"] .meter .meter__fill,
j-page[dir="rtl"] .meter .meter__fill {
  inset: 0 0 0 auto;
}
j-layout[dir="rtl"] .price-card__tag,
j-page[dir="rtl"] .price-card__tag {
  right: auto;
  left: 1.5rem;
}
j-layout[dir="rtl"] .testimonial::before,
j-page[dir="rtl"] .testimonial::before {
  right: auto;
  left: 1rem;
}
j-layout[dir="rtl"] .language-select select,
j-page[dir="rtl"] .language-select select {
  padding: 0.4rem 0.7rem 0.4rem 1.8rem;
  background-position: 14px 52%, 9px 52%;
}
/* flex rows already mirror automatically under dir=rtl; keep the nav chevron
   underline origin logical */
j-layout[dir="rtl"] .nav-links a::after,
j-page[dir="rtl"] .nav-links a::after {
  transform-origin: right;
}

/* ─── FUTURE LAYER ─────────────────────────────────────────────────────────
   Forward-looking, CSS-only enhancements (no JS, no template logic):
   scroll-driven charge beam + reveals (animation-timeline), holographic
   aurora, CRT film grain, @property energy-ring border, HUD corner brackets,
   branded text selection. Everything degrades gracefully via @supports and
   is silenced by the global prefers-reduced-motion block. */

/* 1 ▸ SCROLL CHARGE BEAM — a lime→cyan energy line across the very top of the
   viewport that "charges" with reading progress. Pure CSS scroll timeline;
   browsers without support just never see it (scaleX(0)). */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 90;
  pointer-events: none;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent) 55%, var(--accent-2));
  box-shadow: 0 0 10px rgba(185, 255, 102, 0.55), 0 0 22px rgba(74, 216, 255, 0.25);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
@supports (animation-timeline: scroll()) {
  body::after {
    animation: futureCharge linear both;
    animation-timeline: scroll(root);
  }
}
@keyframes futureCharge {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
/* charge from the right edge when the page runs RTL */
:root:has(j-page[dir="rtl"]) body::after,
:root:has(j-layout[dir="rtl"]) body::after {
  transform-origin: 100% 50%;
}

/* 2 ▸ HOLOGRAPHIC AURORA — a slow, hue-drifting light field breathing over
   the top of the ambient background (sits with the grid + orbs in .bg-fx). */
.bg-fx::after {
  content: "";
  position: absolute;
  inset: -20% -12% auto;
  height: 72%;
  background:
    radial-gradient(ellipse 55% 45% at 16% 6%, rgba(185, 255, 102, 0.09), transparent 62%),
    radial-gradient(ellipse 48% 42% at 84% 10%, rgba(74, 216, 255, 0.08), transparent 62%),
    conic-gradient(from 210deg at 50% -12%,
      transparent 42%, rgba(185, 255, 102, 0.05) 48%,
      rgba(74, 216, 255, 0.06) 53%, transparent 61%);
  filter: blur(34px);
  mix-blend-mode: screen;
  animation: futureAurora 26s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes futureAurora {
  from { transform: translateX(-3%) skewX(-3deg); filter: blur(34px) hue-rotate(0deg); }
  to   { transform: translateX(3%) skewX(3deg);  filter: blur(40px) hue-rotate(-22deg); }
}

/* 3 ▸ FILM GRAIN — a barely-there animated CRT/lens grain above everything,
   killing flat-black banding and giving the dark surfaces physical texture. */
body::before {
  content: "";
  position: fixed;
  inset: -60%;
  z-index: 300;
  pointer-events: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="240" height="240"><filter id="g"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/></filter><rect width="240" height="240" filter="url(%23g)"/></svg>');
  background-size: 220px 220px;
  opacity: 0.035;
  mix-blend-mode: overlay;
  animation: futureGrain 1.4s steps(7) infinite;
}
@keyframes futureGrain {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(6%, -4%); }
  100% { transform: translate(-5%, 5%); }
}

/* 4 ▸ SCROLL-DRIVEN REVEALS — cards rise into place as they enter the
   viewport, driven by the scroll position itself (scrubs both directions,
   no JS observers). Only a `from` keyframe is declared so the resting state
   stays the element's own computed style — hover lifts keep working. */
@supports (animation-timeline: view()) {
  .card,
  .testimonial,
  .price-card,
  .mini,
  .section-title,
  .section-copy,
  .cta {
    animation: futureRise linear both;
    animation-timeline: view();
    animation-range: entry 5% entry 45%;
  }
  @media (prefers-reduced-motion: reduce) {
    .card, .testimonial, .price-card, .mini,
    .section-title, .section-copy, .cta {
      animation: none;
    }
  }
}
@keyframes futureRise {
  from { opacity: 0; transform: translateY(26px) scale(0.985); }
}

/* 5 ▸ ENERGY-RING BORDER — a comet of light endlessly orbiting the featured
   plan's border, via a registered @property angle (real conic interpolation).
   Without @property support it settles into a static gradient ring. */
@property --jv-orbit {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.price-card--featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  padding: 1px;
  background: conic-gradient(from var(--jv-orbit),
    transparent 0deg, rgba(185, 255, 102, 0.9) 38deg,
    rgba(74, 216, 255, 0.85) 78deg, transparent 120deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: futureOrbit 6s linear infinite;
  pointer-events: none;
}
@keyframes futureOrbit {
  to { --jv-orbit: 360deg; }
}

/* 6 ▸ HUD CORNER BRACKETS — feature cards acquire targeting brackets on
   hover, like a heads-up display locking onto the card. */
.card::before,
.card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s, transform 0.3s var(--ease);
  pointer-events: none;
}
.card::before {
  top: 10px;
  inset-inline-start: 10px;
  border-top: 1px solid var(--accent);
  border-inline-start: 1px solid var(--accent);
}
.card::after {
  bottom: 10px;
  inset-inline-end: 10px;
  border-bottom: 1px solid var(--accent-2);
  border-inline-end: 1px solid var(--accent-2);
}
.card:hover::before,
.card:hover::after {
  opacity: 1;
  transform: scale(1);
}

/* 7 ▸ BRANDED SELECTION + BALANCED HEADLINES */
::selection {
  background: rgba(185, 255, 102, 0.9);
  color: #050505;
  text-shadow: none;
}
h1,
h2,
.section-title {
  text-wrap: balance;
}
