/* =========================================================
   PRA EVA — Neya-centric components (rendered from js/content.js)
   ========================================================= */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:root { --violet: #b48cff; }

/* Hero */
.hero__title { font-size: clamp(30px, 3.5vw, 64px); max-width: none; line-height: 1.08; }
.hero__lede strong { color: #fff; font-weight: 600; }
.hero__actions { align-items: center; }
.hero__teaser-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; font-size: 14px; color: var(--fg-2); text-decoration: none; }
.hero__teaser-link svg { width: 14px; height: 14px; }
.hero__teaser-link:hover { color: #fff; }
.nav__cta { min-height: 44px; }
@media (max-width: 760px) { .hero__title { font-size: 7.6vw; } .nav__cta { padding: 0 14px; font-size: 13px; } }

/* Status tags */
.status-tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid; }
.status-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-tag--available { color: var(--emerald); border-color: rgba(46,229,157,.4); }
.status-tag--preview { color: var(--cyan); border-color: rgba(47,217,244,.4); }
.status-tag--planned, .status-tag--upcoming { color: var(--amber); border-color: rgba(255,200,87,.4); }
.tag--sim { border: 1px solid rgba(255,200,87,.45); color: var(--amber); }

/* Flow strip */
.flow { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; position: relative; }
.flow::before { content: ''; position: absolute; left: 10%; right: 10%; top: 34px; height: 1px; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--emerald)); opacity: .5; }
.flow::after { content: ''; position: absolute; top: 31px; left: 10%; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px var(--cyan); animation: flowDot 4.5s var(--ease) infinite; }
@keyframes flowDot { 0% { left: 10%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 90%; opacity: 0; } }
.flow__step { position: relative; text-align: center; padding: 0 6px; }
.flow__icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: #05080c; border: 1px solid var(--line-2); position: relative; z-index: 1; }
.flow__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.flow__step--neya .flow__icon { border-color: var(--cyan); box-shadow: 0 0 0 6px rgba(47,217,244,.08), 0 0 30px rgba(47,217,244,.35); }
.flow__step--result .flow__icon svg { stroke: var(--emerald); }
.flow__step h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin: 6px 0; }
.flow__step p { color: var(--fg-2); font-size: 14px; }
@media (max-width: 900px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .flow::before { left: 33px; right: auto; top: 20px; bottom: 20px; width: 1px; height: auto; background: linear-gradient(180deg, var(--blue), var(--cyan), var(--emerald)); }
  .flow::after { display: none; }
  .flow__step { display: grid; grid-template-columns: 68px 1fr; column-gap: 18px; text-align: left; padding: 0; }
  .flow__icon { grid-row: span 3; margin: 0; }
}

/* Teaser player */
.player { margin: 48px 0 0; padding: 12px; }
.player__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.player__video, .player__fallback { width: 100%; height: 100%; object-fit: cover; display: block; }
.player__start { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; border: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,.2), rgba(0,0,0,.55)); color: #fff; }
.player__start-icon { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: #fff; color: #000; box-shadow: 0 0 0 10px rgba(255,255,255,.12); transition: transform .4s var(--ease); }
.player__start-icon svg { width: 30px; height: 30px; margin-left: 4px; }
.player__start:hover .player__start-icon { transform: scale(1.06); }
.player__caption { padding: 14px 6px 4px; color: var(--fg-2); font-size: 14px; }

/* Neya */
.neya__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.neya__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.neya__steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); }
.neya__steps .mono { color: var(--cyan); padding-top: 3px; }
.neya__steps h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.neya__steps p { color: var(--fg-2); font-size: 14.5px; }

.sim { margin-top: 56px; padding: clamp(18px, 2.4vw, 32px); }
.sim__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-end; }
.sim__kicker { color: var(--cyan); margin-bottom: 8px; }
.sim__label { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-2); }
.sim__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.sim__tabs button, .chips-filter button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 13px; color: var(--fg-2); transition: all .3s var(--ease); }
.sim__tabs button[aria-selected="true"], .chips-filter button[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.sim__request { margin-top: 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 14px; background: rgba(0,0,0,.45); border: 1px solid var(--line); }
.sim__request-text { font-size: clamp(15px, 1.3vw, 18px); }
.sim__controls { display: flex; gap: 8px; }
.sim__body { display: grid; grid-template-columns: 180px minmax(0, 1fr) 280px; gap: 16px; margin-top: 16px; align-items: start; }
.sim__phases ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sim__phases li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--fg-3); border: 1px solid transparent; transition: all .4s var(--ease); }
.sim__phases li.is-active { color: #fff; border-color: var(--cyan); background: rgba(47,217,244,.07); }
.sim__phases li.is-done { color: var(--fg-2); }
.sim__phases li.is-done .mono { color: var(--emerald); }
.sim__intent { min-height: 1.4em; margin-bottom: 10px; color: var(--cyan); text-transform: none; letter-spacing: .02em; }
.sim__board { min-width: 0; }
.sim__tasks { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sim__tasks th, .sim__tasks td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sim__tasks thead th { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); font-weight: 500; }
.sim__tasks tbody th { font-weight: 500; }
.sim__tasks tbody th .mono { color: var(--fg-3); margin-right: 4px; font-size: 11px; }
.sim__tasks tbody tr { animation: logIn .5s var(--ease) both; }
.sim__tasks td { color: var(--fg-2); }
.sim__note { color: var(--amber); font-size: 12px; }
.st-chip { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--fg-3); }
.st-chip::before, .st::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-chip--assigned, .st--assigned { color: var(--blue); border-color: rgba(61,139,255,.45); }
.st-chip--running, .st--running { color: var(--cyan); border-color: rgba(47,217,244,.45); }
.st-chip--running::before { animation: pulse 1s ease-in-out infinite; }
.st-chip--awaiting, .st--awaiting { color: var(--amber); border-color: rgba(255,200,87,.5); }
.st-chip--completed, .st--completed { color: var(--emerald); border-color: rgba(46,229,157,.45); }
.st-chip--failed, .st--failed { color: var(--red); border-color: rgba(255,77,97,.5); }
@keyframes pulse { 50% { opacity: .3; } }
.sim__approval { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,200,87,.5); background: rgba(255,200,87,.07); font-size: 14px; }
.sim__approval > div { display: flex; gap: 8px; }
.sim__result { margin-top: 14px; padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(46,229,157,.45); background: rgba(46,229,157,.06); }
.sim__result .mono { color: var(--emerald); margin-bottom: 6px; }
.sim__log { list-style: none; margin: 0; padding: 12px; border-radius: 12px; background: rgba(0,0,0,.45); border: 1px solid var(--line); max-height: 360px; min-height: 200px; overflow: auto; display: grid; align-content: start; gap: 8px; font-size: 13px; }
.sim__log li { display: grid; gap: 2px; animation: logIn .45s var(--ease) both; color: var(--fg-2); }
.sim__log li b { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); font-weight: 500; }
.sim__log li em { color: #fff; font-style: normal; }
.sim__legend { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; font-size: 12.5px; color: var(--fg-3); }
.sim__legend li, .st { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 1080px) {
  .neya__intro { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sim__body { grid-template-columns: minmax(0, 1fr); }
  .sim__phases ol { grid-auto-flow: column; overflow-x: auto; }
  .sim__phases li { white-space: nowrap; }
}
@media (max-width: 760px) {
  .sim__request { grid-template-columns: minmax(0, 1fr); }
  .sim__tasks thead { display: none; }
  .sim__tasks, .sim__tasks tbody, .sim__tasks tr, .sim__tasks th, .sim__tasks td { display: block; width: 100%; }
  .sim__tasks tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .sim__tasks th, .sim__tasks td { border: 0; padding: 3px 0; }
  .sim__tasks td:nth-of-type(1)::before { content: 'Agent · '; color: var(--fg-3); }
  .sim__tasks td:nth-of-type(2)::before { content: 'Tool · '; color: var(--fg-3); }
  .sim__tasks td:nth-of-type(3)::before { content: 'Depends on · '; color: var(--fg-3); }
}

/* Capabilities */
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 56px; }
.cap-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; text-decoration: none; min-height: 210px; transition: border-color .4s var(--ease); }
.cap-card:hover { border-color: var(--line-2); }
.cap-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.cap-card__top svg { width: 18px; height: 18px; color: var(--fg-3); transition: color .3s, transform .3s var(--ease); }
.cap-card:hover .cap-card__top svg { color: #fff; transform: translate(2px, -2px); }
.cap-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-top: 28px; }
.cap-card p { color: var(--fg-2); font-size: 14.5px; }
@media (max-width: 1080px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .caps { grid-template-columns: minmax(0, 1fr); } }

/* A2A colours */
.k--a2a { background: var(--violet); }
.t-a2a { color: var(--violet); }

/* MCP Marketplace */
.market__ui { margin-top: 48px; }
.market__filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.field--search { position: relative; flex: 1 1 320px; max-width: 460px; }
.field--search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--fg-3); }
.field--search input { width: 100%; min-height: 48px; padding: 0 16px 0 44px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(0,0,0,.45); color: #fff; font: inherit; font-size: 15px; }
.field--search input:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(47,217,244,.2); }
.chips-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.market__count { margin: 18px 0 12px; }
.market__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mcp { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.mcp__head { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.mcp h3 { font-size: 19px; font-weight: 600; }
.mcp__cat { color: var(--cyan); }
.mcp > p:not(.mono) { color: var(--fg-2); font-size: 14px; }
.mcp__label { margin-top: 10px; }
.mcp__actions { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mcp__actions li { font-size: 12px; padding: 5px 9px; border-radius: 8px; border: 1px solid var(--line); color: var(--fg-2); }
.mcp > p.mcp__auth { font-size: 13px; }
.market__empty { grid-column: 1 / -1; padding: 32px; text-align: center; color: var(--fg-2); border: 1px dashed var(--line-2); border-radius: 14px; }
.market__setup { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: space-between; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line); color: var(--fg-2); font-size: 14px; }
@media (max-width: 1080px) { .market__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .market__grid { grid-template-columns: minmax(0, 1fr); } }

/* Integration cards */
.int-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
.int-card { padding: 26px; }
.int-card .mono { color: var(--cyan); }
.int-card h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin: 10px 0 8px; }
.int-card > p:not(.mono) { color: var(--fg-2); font-size: 14.5px; }
.int-card ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.int-card li { display: flex; gap: 10px; font-size: 14px; color: var(--fg-2); }
.int-card li::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--emerald); }
@media (max-width: 900px) { .int-cards { grid-template-columns: minmax(0, 1fr); } }

/* PraevaDoc */
.doc__wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.doc__wrap .section-head .btn { margin-top: 28px; }
.doc__note { margin-top: 14px; }
.doc { padding: 18px; }
.doc__stages { list-style: none; margin: 0 0 14px; padding: 0; display: flex; gap: 6px; }
.doc__stages li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; font-size: 13px; color: var(--fg-3); border: 1px solid var(--line); transition: all .4s var(--ease); }
.doc__stages li.is-active { color: #fff; border-color: var(--cyan); background: rgba(47,217,244,.07); }
.doc__stages li.is-done { color: var(--fg-2); border-color: rgba(46,229,157,.4); }
.doc__panes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; }
.doc__pane { border-radius: 12px; background: rgba(0,0,0,.45); border: 1px solid var(--line); padding: 16px; opacity: .35; transition: opacity .6s var(--ease); min-height: 120px; }
.doc__pane.is-on { opacity: 1; }
.doc__out { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.doc__out:empty::before { content: 'Structured documentation appears here.'; color: var(--fg-3); font-size: 14px; grid-column: 1 / -1; }
.wave { display: flex; align-items: center; gap: 3px; height: 70px; margin: 14px 0; }
.wave i { flex: 1; height: calc(var(--h) * 100%); border-radius: 2px; background: linear-gradient(180deg, var(--cyan), var(--blue)); opacity: .55; transform-origin: center; }
.doc.is-recording .wave i { animation: wave .9s ease-in-out infinite alternate; animation-delay: var(--d); opacity: 1; }
@keyframes wave { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.doc__transcript ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13.5px; }
.doc__transcript li { display: grid; grid-template-columns: 60px 1fr; gap: 8px; color: var(--fg-2); animation: logIn .45s var(--ease) both; }
.doc__transcript b { color: var(--cyan); font-weight: 500; }
.doc__block { animation: logIn .6s var(--ease) both; }
.doc__block .mono { color: var(--emerald); margin-bottom: 8px; }
.doc__block p:not(.mono), .doc__block li, .doc__block td { font-size: 13.5px; color: var(--fg-2); }
.doc__block ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.doc__block table { width: 100%; border-collapse: collapse; }
.doc__block th { text-align: left; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); font-weight: 500; padding-bottom: 4px; }
.doc__block td { padding: 4px 6px 4px 0; vertical-align: top; }
@media (max-width: 1080px) { .doc__wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .doc__panes, .doc__out { grid-template-columns: minmax(0, 1fr); } .doc__stages li { font-size: 12px; padding: 8px; } }

/* LLM routing */
.route { margin-top: 48px; padding: clamp(18px, 2.4vw, 32px); }
.route__controls { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: flex-end; }
.seg__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.route__slider { display: grid; gap: 10px; }
.route__range { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--fg-3); }
.route__range input { width: 160px; accent-color: var(--cyan); min-height: 44px; }
.route__check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; color: var(--fg-2); cursor: pointer; }
.route__check input { width: 18px; height: 18px; accent-color: var(--cyan); }
#route-run { margin-left: auto; }
.route__pipe { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.route__pipe li { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.35); font-size: 14px; color: var(--fg-3); transition: all .4s var(--ease); }
.route__pipe li.is-active { color: #fff; border-color: var(--cyan); box-shadow: 0 0 24px -8px var(--cyan); }
.route__pipe li.is-done { color: var(--fg-2); border-color: rgba(46,229,157,.4); }
.route__pipe li.is-done .mono { color: var(--emerald); }
.route__out { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.route__table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.route__table th, .route__table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.route__table thead th { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); font-weight: 500; }
.route__table tbody th { font-weight: 500; }
.route__table td { color: var(--fg-2); }
.route__table tr.is-out { opacity: .45; }
.route__table tr.is-out td:last-child { color: #ff8a98; }
.route__table tr.is-sel { background: rgba(46,229,157,.08); }
.route__table tr.is-sel td:last-child { color: var(--emerald); font-weight: 600; }
.route__table tr.is-fb td:last-child { color: var(--cyan); }
.route__explain { padding: 16px; border-radius: 12px; background: rgba(0,0,0,.45); border: 1px solid var(--line); font-size: 14px; color: var(--fg-2); min-height: 200px; }
.route__explain ol { margin: 0; padding-left: 18px; display: grid; gap: 10px; }
.route__explain li { animation: logIn .45s var(--ease) both; }
.route__explain b { color: #fff; font-weight: 600; margin-right: 4px; }
.route__explain em { color: var(--cyan); font-style: normal; }
.route__note { margin-top: 16px; font-size: 13px; color: var(--fg-3); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
@media (max-width: 1080px) { .route__pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); } .route__out { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { #route-run { margin-left: 0; width: 100%; justify-content: center; } .route__table { font-size: 12.5px; } .route__table th:nth-child(2), .route__table td:nth-child(2) { display: none; } }

/* Incident workflow */
.wf { margin-top: 48px; padding: clamp(18px, 2.4vw, 32px); }
.wf__top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.wf__top .btn { margin-left: auto; }
/* Fits the box with no sideways scroll: one row of equal steps on wide screens (10, or 11 with an escalation),
   then even rows of five, then two. */
.wf__steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
@media (max-width: 1180px) { .wf__steps { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 640px) { .wf__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wf__steps li { min-width: 0; display: grid; gap: 6px; align-content: start; padding: 12px 10px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.35); transition: all .4s var(--ease); }
.wf__steps li .mono { font-size: 10px; letter-spacing: .08em; overflow-wrap: anywhere; }
.wf__steps strong { font-size: 14px; font-weight: 600; line-height: 1.25; overflow-wrap: break-word; hyphens: auto; }
.wf__state { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.wf__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.wf__steps li.is-running { border-color: var(--cyan); box-shadow: 0 0 24px -8px var(--cyan); }
.wf__steps li.is-running .wf__dot { background: var(--cyan); animation: pulse 1s infinite; }
.wf__steps li.is-running .wf__state { color: var(--cyan); }
.wf__steps li.is-awaiting { border-color: var(--amber); }
.wf__steps li.is-awaiting .wf__dot { background: var(--amber); }
.wf__steps li.is-awaiting .wf__state { color: var(--amber); }
.wf__steps li.is-done { border-color: rgba(46,229,157,.4); }
.wf__steps li.is-done .wf__dot { background: var(--emerald); }
.wf__steps li.is-done .wf__state { color: var(--emerald); }
.wf__steps li.is-failed { border-color: rgba(255,77,97,.6); }
.wf__steps li.is-failed .wf__dot { background: var(--red); }
.wf__steps li.is-failed .wf__state { color: #ff8a98; }
.wf__steps li.is-skipped { opacity: .4; }
.wf__steps li.is-extra { border-style: dashed; }
.wf__panel { margin-top: 16px; padding: 18px 20px; border-radius: 12px; background: rgba(0,0,0,.45); border: 1px solid var(--line); }
.wf__stage { color: var(--cyan); margin-bottom: 8px; }
.wf__text { font-size: 16px; color: var(--fg-2); }
.wf__gate { display: flex; gap: 8px; margin-top: 14px; }

/* Demo form */
.demo__wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.form { padding: clamp(20px, 3vw, 36px); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,.5); color: #fff; font: inherit; font-size: 15px; }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fg-2) 50%), linear-gradient(135deg, var(--fg-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: #0b0f14; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(47,217,244,.2); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field__err { font-size: 13px; color: #ff8a98; }
.field__err:empty { display: none; }
.field__hint { font-size: 12.5px; color: var(--fg-3); }
.field--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--fg-2); cursor: pointer; }
.field--check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--cyan); flex: none; }
.field--hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form__status { font-size: 14px; }
.form__status.is-success { color: var(--emerald); }
.form__status.is-error { color: #ff8a98; }
.form__status.is-pending { color: var(--cyan); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 1080px) { .demo__wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 640px) { .form__grid { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-left: auto; }
.footer__nav a { font-size: 14px; color: var(--fg-2); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.footer__nav a:hover { color: #fff; }


/* AMS & IMS */
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.svc__card { padding: clamp(24px, 3vw, 40px); position: relative; overflow: hidden; }
.svc__short { position: absolute; right: 24px; top: 14px; font-size: clamp(64px, 8vw, 120px); line-height: 1; color: rgba(255,255,255,.07); pointer-events: none; }
.svc__card--ams .svc__short { color: rgba(61,139,255,.16); }
.svc__card--ims .svc__short { color: rgba(46,229,157,.14); }
.svc__card h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.02em; max-width: 16ch; position: relative; }
.svc__card > p { color: var(--fg-2); margin: 10px 0 18px; max-width: 46ch; position: relative; }
.svc__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.svc__card li { display: flex; gap: 10px; font-size: 15px; color: var(--fg-2); }
.svc__card li::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--cyan); }
.svc__card--ims li::before { background: var(--emerald); }
@media (max-width: 900px) { .svc { grid-template-columns: minmax(0, 1fr); } }

/* PraevaFlow */
.pflow__wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.pflow__points { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 10px; }
.pflow__points li { display: flex; gap: 10px; color: var(--fg-2); font-size: 15px; }
.pflow__points li::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--emerald); }
.pflow__note { margin-top: 14px; }
.pflow { padding: 18px; }
.pflow__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pflow__name { color: var(--cyan); text-transform: none; letter-spacing: .04em; }
.pflow__stages { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.pflow__stages li { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg-3); transition: all .4s var(--ease); }
.pflow__stages li.is-active { color: #fff; border-color: var(--cyan); background: rgba(47,217,244,.08); }
.pflow__stages li.is-done { color: var(--emerald); border-color: rgba(46,229,157,.4); }
.pflow__canvas { list-style: none; margin: 18px 0 0; padding: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 34px; border-radius: 12px; border: 1px dashed var(--line-2);
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 18px 18px; counter-reset: pn; }
.pnode { position: relative; display: grid; gap: 6px; padding: 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(5,8,12,.92); transition: all .4s var(--ease); }
.pnode:not(:last-child)::after { content: ''; position: absolute; right: -34px; top: 50%; width: 34px; height: 1px; background: var(--line-2); }
.pnode:nth-child(3)::after { right: 50%; top: 100%; width: 1px; height: 30px; }
/* Snake layout: row 2 runs right-to-left so step 3 flows down into step 4 */
@media (min-width: 641px) {
  .pnode:nth-child(4) { grid-area: 2 / 3; }
  .pnode:nth-child(5) { grid-area: 2 / 2; }
  .pnode:nth-child(6) { grid-area: 2 / 1; }
  .pnode:nth-child(4)::after, .pnode:nth-child(5)::after { right: auto; left: -34px; }
}
.pnode__icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.06); }
.pnode__icon svg { width: 17px; height: 17px; fill: none; stroke: var(--fg-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pnode--approval .pnode__icon svg { stroke: var(--amber); }
.pnode--action .pnode__icon svg { stroke: var(--cyan); }
.pnode--verify .pnode__icon svg, .pnode--update .pnode__icon svg { stroke: var(--emerald); }
.pnode__type { font-size: 10px; }
.pnode strong { font-size: 14px; font-weight: 600; line-height: 1.3; }
.pnode__state { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.pnode.is-running { border-color: var(--cyan); box-shadow: 0 0 26px -8px var(--cyan); }
.pnode.is-running .pnode__state { color: var(--cyan); }
.pnode.is-done { border-color: rgba(46,229,157,.45); }
.pnode.is-done .pnode__state { color: var(--emerald); }
.pnode.is-done::after { background: var(--emerald); }
.pflow__status { margin-top: 14px; font-size: 14.5px; color: var(--fg-2); min-height: 1.5em; }
@media (max-width: 1080px) { .pflow__wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .pflow__canvas { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pnode:not(:last-child)::after, .pnode:nth-child(3)::after { right: auto; left: 28px; top: 100%; width: 1px; height: 22px; }
}

/* ---------- Brand mark: PRA EVA with superscript ™ ---------- */
.brand { white-space: nowrap; letter-spacing: .02em; }
.tm { font-size: .42em; vertical-align: super; line-height: 0; margin-left: .06em; font-weight: 500; letter-spacing: 0; }
.h2 .tm { font-size: .38em; }
.hero__brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 22px; }
.hero__brand .brand { font-size: clamp(22px, 2vw, 30px); font-weight: 700; color: #fff; }
.hero__brand-sub { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2); }
.hero__brand-sub .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 12px var(--emerald); }

/* ---------- Story navigation ---------- */
.nav__links--story a { font-weight: 500; }
.mobile-menu a .mono { color: var(--cyan); margin-right: 12px; font-size: 14px; }

/* ---------- Integrations: four columns ---------- */
.igrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 48px; align-items: start; }
.icol { padding: 22px; }
.icol__head { display: flex; align-items: center; gap: 12px; }
.icol__icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(47,217,244,.06); }
.icol__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icol--kg .icol__icon svg { stroke: var(--emerald); }
.icol--ent .icol__icon svg { stroke: var(--blue); }
.icol--infra .icol__icon svg { stroke: var(--amber, #f5b84a); }
.icol h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.icol__text { margin: 12px 0 16px; font-size: 14px; color: var(--fg-2); min-height: 3em; }
.icol__group { margin: 14px 0 8px; color: var(--emerald); }
.icol__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.icol__list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.3); }
.icol__mono { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; background: rgba(255,255,255,.07); border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .02em; color: #fff; }
.icol__list strong { display: block; font-size: 14.5px; font-weight: 600; }
.icol__list small { display: block; font-size: 12.5px; color: var(--fg-3); margin-top: 2px; }
@media (max-width: 1180px) { .igrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .igrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .igrid { grid-template-columns: minmax(0, 1fr); } .icol__text { min-height: 0; } }

/* ---------- Section 08: architecture & Command Center ---------- */
.arch { margin-top: 56px; padding: clamp(18px, 2.4vw, 30px); position: relative; }
.arch__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.arch__kicker { color: var(--cyan); margin-bottom: 6px; }
.arch__title { font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.02em; }
.arch__flows { display: flex; flex-wrap: wrap; gap: 6px; }
.arch__flows button { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--fg-2); font-size: 13px; display: inline-flex; align-items: center; gap: 8px; transition: all .3s var(--ease); }
.arch__flows button i { width: 10px; height: 10px; border-radius: 50%; }
.arch__flows button[aria-selected="true"] { color: #fff; border-color: var(--line-2); background: rgba(255,255,255,.07); }
.arch__caption { margin: 14px 0 18px; color: var(--fg-2); font-size: 15px; min-height: 1.6em; }
.arch__grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.15fr); grid-template-areas: "src core cc" "rt rt cc"; gap: 28px 64px; }
.arch__sources { grid-area: src; } .arch__core { grid-area: core; } .arch__cc { grid-area: cc; } .arch__runtime { grid-area: rt; }
.arch__col, .arch__runtime { position: relative; z-index: 1; }
.arch__label { margin-bottom: 10px; }
.arch__sources ul, .arch__modules, .arch__runtime ul { list-style: none; margin: 0; padding: 0; }
.arch__sources ul { display: grid; gap: 10px; }
.arch__node { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(4,8,13,.92); transition: border-color .4s var(--ease), box-shadow .4s var(--ease), opacity .4s var(--ease); }
.arch__node strong { display: block; font-size: 14.5px; font-weight: 600; }
.arch__node span { display: block; font-size: 12px; color: var(--fg-3); margin-top: 2px; }
.arch__neya { position: relative; width: 132px; height: 132px; margin: 6px auto 26px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle, rgba(47,217,244,.25), rgba(3,10,18,.95) 62%); border: 1px solid var(--cyan); box-shadow: 0 0 40px -6px rgba(47,217,244,.6); z-index: 1; }
.arch__neya strong { font-size: 20px; letter-spacing: .02em; }
.arch__neya span:not(.arch__neya-ring) { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); }
.arch__neya-ring { position: absolute; inset: -12px; border-radius: 50%; border: 1px dashed rgba(47,217,244,.5); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.arch__modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.arch__runtime ul { display: flex; flex-wrap: wrap; gap: 10px; }
.arch__node--rt { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; padding: 10px 12px; }
.arch__node--rt i { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 8px var(--emerald); animation: pulse 1.6s ease-in-out infinite; }
.arch__node.is-on { border-color: currentColor; }
.arch[data-flow="info"] .arch__node.is-on { color: inherit; border-color: rgba(47,217,244,.7); box-shadow: 0 0 22px -8px #2fd9f4; }
.arch[data-flow="exec"] .arch__node.is-on { border-color: rgba(46,229,157,.7); box-shadow: 0 0 22px -8px #2ee59d; }
.arch[data-flow="vis"] .arch__node.is-on, .arch[data-flow="vis"] .cc__tile.is-on { border-color: rgba(180,140,255,.7); box-shadow: 0 0 22px -8px #b48cff; }
.cc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(2,6,10,.85); }
.cc__tile { padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.025); transition: border-color .4s var(--ease), box-shadow .4s var(--ease); min-width: 0; }
.cc__tile .mono { font-size: 10px; margin-bottom: 10px; color: var(--fg-2); }
.cc__tile--fleet { grid-column: 1 / -1; }
.cc__bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; }
.cc__bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--blue), rgba(61,139,255,.25)); animation: bar 3s ease-in-out infinite alternate; animation-delay: var(--d); transform-origin: bottom; }
@keyframes bar { from { transform: scaleY(.6); } to { transform: scaleY(1); } }
.cc__spark { width: 100%; height: 46px; }
.cc__spark path { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 1; animation: spark 4s ease-in-out infinite; }
@keyframes spark { 0% { stroke-dashoffset: 1; } 60%, 100% { stroke-dashoffset: 0; } }
.cc__gauges { display: grid; gap: 7px; }
.cc__gauges span { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 8px; }
.cc__gauges em { font-style: normal; font-size: 11px; color: var(--fg-3); }
.cc__gauges b { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--emerald) var(--v), rgba(255,255,255,.08) var(--v)); }
.cc__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; }
.cc__grid i { aspect-ratio: 1; border-radius: 3px; background: rgba(46,229,157,.65); }
.cc__grid i.is-warn { background: var(--amber); animation: pulse 1.2s ease-in-out infinite; }
.cc__fleet { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 14px; font-family: var(--font-mono); font-size: 11.5px; color: var(--fg-2); }
.cc__fleet li { display: flex; align-items: center; gap: 8px; }
.cc__fleet li i { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); }
.cc__fleet li span { margin-left: auto; color: var(--emerald); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.arch__wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.wire { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 1.2; transition: stroke .5s var(--ease), stroke-width .5s; }
.wire.is-on.wire--info { stroke: rgba(47,217,244,.55); }
.wire.is-on.wire--exec { stroke: rgba(46,229,157,.55); }
.wire.is-on.wire--vis { stroke: rgba(180,140,255,.55); }
.wire.is-on { stroke-width: 1.6; stroke-dasharray: 5 6; animation: dash 1s linear infinite; }
.pulse { filter: drop-shadow(0 0 4px currentColor); }
.arch__note { margin-top: 18px; font-size: 13px; color: var(--fg-3); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
@media (max-width: 1080px) {
  .arch__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "src" "core" "rt" "cc"; gap: 22px; }
  .arch__wires { display: none; }
  .arch__sources ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .arch__sources ul, .arch__modules, .cc { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Deployment ---------- */
.deploy { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "tabs" "panel"; gap: 14px; }
.deploy__tabs { grid-area: tabs; display: flex; flex-wrap: wrap; gap: 8px; }
.deploy__tabs button { min-height: 52px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: transparent; color: var(--fg-2); font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; gap: 12px; transition: all .3s var(--ease); }
.deploy__tabs button[aria-selected="true"] { color: #fff; border-color: var(--line-2); background: var(--glass-2); }
.deploy__panel { grid-area: panel; padding: clamp(20px, 2.6vw, 32px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: center; }
.deploy__panel.is-anim > * { animation: logIn .6s var(--ease) both; }
.deploy__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 10px; }
.deploy__head h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.02em; }
.deploy__info > p { color: var(--fg-2); }
.deploy__info ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.deploy__info li { display: flex; gap: 10px; font-size: 14.5px; color: var(--fg-2); }
.deploy__info li::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--emerald); }
.deploy__saas { grid-area: saas; padding: 24px; border-style: dashed; align-self: stretch; display: flex; flex-direction: column; }
.deploy__saas > p:not(.mono) { color: var(--fg-2); font-size: 15px; }
.deploy__saas-note { margin-top: auto; padding-top: 18px; }
.denv { display: grid; gap: 12px; }
.denv__boundary { position: relative; padding: 30px 14px 14px; border-radius: 16px; border: 1.5px dashed rgba(46,229,157,.55); background: rgba(46,229,157,.04); }
.denv__boundary-label { position: absolute; top: -9px; left: 14px; padding: 0 8px; background: #0a1016; color: var(--emerald); font-size: 10.5px; }
.denv__zones { display: flex; align-items: stretch; gap: 0; }
.denv__zone { flex: 1; padding: 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,.45); }
.denv__zone-name { color: var(--cyan); margin-bottom: 10px; }
.denv__zone ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.denv__zone li { font-size: 13px; padding: 7px 10px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.denv__link { flex: none; width: 70px; display: grid; place-items: center; position: relative; }
.denv__link::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--cyan) 0 6px, transparent 6px 11px); animation: dashX 1s linear infinite; }
@keyframes dashX { to { background-position: 11px 0; } }
.denv__link span { position: relative; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; text-align: center; background: #0a1016; padding: 4px; color: var(--cyan); }
.denv__ext { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); color: var(--fg-3); font-size: 13px; }
.denv__ext.is-blocked { border-color: rgba(255,77,97,.4); }
.denv__ext .mono { color: #ff8a98; }
.denv__cut { position: absolute; left: 50%; top: -13px; width: 2px; height: 13px; background: rgba(255,77,97,.6); }
.denv__cut::after { content: '×'; position: absolute; left: 50%; top: -2px; transform: translate(-50%, -50%); color: #ff8a98; font-size: 16px; line-height: 1; background: #0a1016; padding: 0 2px; }
@media (max-width: 1080px) {
  .deploy { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tabs" "panel"; }
  .deploy__panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .denv__zones { flex-direction: column; }
  .denv__link { width: auto; height: 44px; }
  .denv__link::before { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--cyan) 0 6px, transparent 6px 11px); }
  .deploy__tabs button { flex: 1 1 100%; justify-content: space-between; }
}

/* ---------- Closing finale ---------- */
.finale { position: relative; height: 560vh; background: radial-gradient(ellipse at 50% 55%, #04121c 0%, #000 62%); }
.finale__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.finale__stage { position: absolute; inset: 0; display: grid; place-items: center; }
.finale__svg { width: min(1180px, 96vw); height: auto; max-height: 92svh; overflow: visible; }
.finale__logo { position: absolute; left: 50%; top: 50%; width: min(720px, 84vw); padding: clamp(18px, 2.6vw, 34px) clamp(22px, 3.4vw, 46px); border-radius: 28px; background: linear-gradient(180deg, #ffffff, #f2f6f9); box-shadow: 0 40px 120px -30px rgba(47,217,244,.45), 0 0 0 1px rgba(255,255,255,.6); }
.finale__logo .logo-crop { width: 100%; }
.finale__logo .logo-crop img { padding: 0; }
.finale__neurons { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.finale__sweep { position: absolute; inset: 0; overflow: hidden; border-radius: 28px; pointer-events: none; mix-blend-mode: soft-light; }
.finale__sweep > span { position: absolute; top: -20%; bottom: -20%; left: 0; width: 30%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.95), transparent); transform: skewX(-18deg) translateX(-140%); }
.finale__end { position: absolute; left: 0; right: 0; bottom: clamp(28px, 9vh, 96px); padding: 0 var(--gutter); text-align: center; display: grid; justify-items: center; gap: 22px; z-index: 2; }
.finale__end::before { content: ''; position: absolute; inset: -60px 0 -40px; z-index: -1; background: radial-gradient(ellipse at 50% 60%, rgba(0,0,0,.85), transparent 70%); pointer-events: none; }
.finale__brand .brand { font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; color: var(--fg-2); }
.finale__title { font-size: clamp(28px, 3.4vw, 60px); max-width: 24ch; line-height: 1.08; }
.finale__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.fin-line { fill: none; stroke-width: 1; stroke-dasharray: 1; stroke-linecap: round; }
.fin-line--spoke { stroke: rgba(127,233,255,.42); }
.fin-line--link { stroke: rgba(255,255,255,.16); }
.fin-ring { fill: none; transform-box: fill-box; transform-origin: center; }
.fin-ring--a { stroke: rgba(127,233,255,.18); stroke-width: 1; stroke-dasharray: 2 6; animation: spin 40s linear infinite; }
.fin-ring--b { stroke: rgba(46,229,157,.55); stroke-width: 1.4; stroke-dasharray: 34 300; stroke-linecap: round; animation: spin 7s linear infinite; }
.fin-disc { fill: rgba(4,10,16,.94); stroke: rgba(127,233,255,.55); stroke-width: 1; }
.fin-core__name { fill: #fff; font-family: var(--font-ui); font-weight: 600; letter-spacing: .02em; }
.fin-core__role { fill: rgba(255,255,255,.45); font-family: var(--font-ui); font-weight: 500; letter-spacing: .22em; }
.fin-agent__ring { fill: rgba(5,11,18,.96); stroke: rgba(127,180,255,.75); stroke-width: 1.2; }
.fin-agent__dot { fill: #9cc4ff; }
.fin-agent__label { fill: rgba(255,255,255,.72); font-family: var(--font-ui); font-weight: 500; letter-spacing: .01em;
  paint-order: stroke; stroke: #02060a; stroke-width: 5px; stroke-linejoin: round; }
.fin-sys__pill { fill: rgba(10,15,22,.86); stroke: rgba(255,255,255,.14); stroke-width: 1; }
.fin-sys__dot { filter: drop-shadow(0 0 4px currentColor); }
.fin-sys__label { fill: #f2f5f8; font-family: var(--font-ui); font-weight: 500; letter-spacing: .005em; }
.fin-pulse { fill: #bff4ff; }
.fin-pulse--sys { fill: #7ff0c4; }
/* Reduced motion: finished composition, no scroll scrub */
.finale.is-static { height: auto; }
.finale.is-static .finale__sticky { position: relative; height: auto; display: grid; justify-items: center; gap: 28px; padding: 120px var(--gutter); }
.finale.is-static .finale__stage { position: relative; inset: auto; display: grid; justify-items: center; gap: 24px; }
.finale.is-static .finale__logo { position: relative; left: auto; top: auto; width: min(420px, 80vw); order: -1; }
.finale.is-static .finale__svg { opacity: .55; }
.finale.is-static .fin-line { stroke-dashoffset: 0; }
.finale.is-static .fin-pulses { display: none; }
.finale.is-static .finale__end { position: relative; top: auto; bottom: auto; }

@media (prefers-reduced-motion: reduce) {
  .flow::after { display: none; }
  .doc.is-recording .wave i { animation: none; }
  .arch__neya-ring, .fin-ring--a, .fin-ring--b, .cc__bars i, .cc__spark path, .wire.is-on, .denv__link::before { animation: none; }
}

/* =========================================================
   Review refinements — typography, rhythm, hierarchy
   ========================================================= */
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section::before { content: ''; position: absolute; top: 0; left: 50%; width: min(1200px, calc(100% - 2 * var(--gutter))); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); pointer-events: none; }
.h2 { font-size: clamp(32px, 4.2vw, 62px); line-height: 1.04; }
.doc__wrap .h2, .lifecycle__intro .h2, .pflow__wrap .h2, .demo__wrap .h2, .neya__intro .h2 { font-size: clamp(30px, 3.2vw, 48px); }
.lede { line-height: 1.6; }

/* Capabilities bento */
.caps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cap-card { min-height: 230px; padding: 28px; }
.cap-card__top { gap: 10px; }
.cap-card__icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(47,217,244,.06); }
.cap-card__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cap-card__go { margin-left: auto; }
.cap-card h3 { margin-top: 30px; }
.cap-card--wide { grid-column: span 2; background: linear-gradient(135deg, rgba(47,217,244,.11), rgba(46,229,157,.04) 45%, rgba(255,255,255,.015)); }
.cap-card--wide h3 { font-size: clamp(22px, 2vw, 28px); }
.cap-card--wide p { max-width: 52ch; font-size: 15.5px; }
@media (max-width: 1080px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .caps { grid-template-columns: minmax(0, 1fr); } .cap-card--wide { grid-column: auto; } .cap-card { min-height: 0; } }

/* Principles under "Who am I?" */
.principles { list-style: none; margin: 72px 0 0; padding: 36px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.principle { display: flex; gap: 16px; align-items: flex-start; }
.principle__icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(46,229,157,.35); background: rgba(46,229,157,.06); }
.principle__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--emerald); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.principle h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 6px; }
.principle p { color: var(--fg-2); font-size: 15px; }
@media (max-width: 900px) { .principles { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 48px; } }

/* Intro player: play control sits bottom-left so the poster stays clean */
.player__start { place-content: end start; justify-items: start; grid-auto-flow: column; align-items: center; gap: 14px; padding: clamp(18px, 3vw, 32px);
  background: linear-gradient(0deg, rgba(0,0,0,.65), transparent 45%); }
.player__start-icon { width: 64px; height: 64px; box-shadow: 0 0 0 8px rgba(255,255,255,.12); }
.player__start-icon svg { width: 24px; height: 24px; }
.player__start .mono { color: #fff; font-size: 13px; }

/* Integrations: equal-height columns */
.igrid { align-items: stretch; }

/* Closing: shorter scroll distance, same choreography */
.finale { height: 440vh; }

/* Footer */
.footer { padding: 72px 0 40px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.footer__brand p { color: var(--fg-2); margin-top: 18px; max-width: 32ch; font-size: 15px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer__cols div { display: grid; gap: 4px; align-content: start; }
.footer__cols .mono { color: var(--fg-2); margin-bottom: 8px; }
.footer__cols a { color: var(--fg-3); text-decoration: none; font-size: 14px; min-height: 32px; display: inline-flex; align-items: center; transition: color .25s; }
.footer__cols a:hover { color: #fff; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; color: var(--fg-3); font-size: 13px; }
.footer__bottom .brand { color: var(--fg-2); font-weight: 600; font-size: 15px; }
.footer__note { max-width: 760px; }
@media (max-width: 900px) { .footer__top { grid-template-columns: minmax(0, 1fr); } .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =========================================================
   Navigation bar — full width, always visible
   Logo left · story links centered · call to action right
   ========================================================= */
.nav {
  top: 0; left: 0; right: 0; width: 100%; height: 72px; margin: 0; transform: none;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 0 max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  border-radius: 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.25));
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.nav.is-scrolled { background: rgba(5,7,10,.86); border-bottom-color: rgba(255,255,255,.1); }
.nav.is-hidden { transform: none; }
.nav__brand { justify-self: start; display: inline-flex; align-items: center; border-radius: 12px; }
.logo-plate--nav { padding: 9px 14px; border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 8px 24px -12px rgba(47,217,244,.6); transition: transform .3s var(--ease); }
.nav__brand:hover .logo-plate--nav { transform: translateY(-1px); }
.logo-plate--nav .logo-crop { height: 26px; }
.nav__links { justify-self: center; margin: 0; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.nav__links a { padding: 9px 16px; font-size: 14px; color: var(--fg-2); }
.nav__links a.is-active { color: #000; background: #fff; }
.nav__links a:not(.is-active):hover { color: #fff; background: rgba(255,255,255,.08); }
.nav__cta { justify-self: end; margin: 0; }
.nav__menu { justify-self: end; }
section[id] { scroll-margin-top: 80px; }
@media (max-width: 1080px) {
  .nav { display: flex; height: 64px; gap: 10px; }
  .nav .nav__cta { margin-left: auto; }
}
@media (max-width: 760px) {
  .nav { height: 60px; }
  .logo-plate--nav { padding: 7px 11px; border-radius: 10px; }
  .logo-plate--nav .logo-crop { height: 21px; }
  .nav__cta { padding: 0 14px; font-size: 13px; min-height: 40px; }
  .nav__menu { width: 40px; height: 40px; }
  .nav__menu span:first-child { top: 16px; } .nav__menu span:last-child { top: 23px; }
  .mobile-menu { padding-top: 84px; }
}

/* =========================================================
   Storytelling — chapter label, dock, pinned story, statements
   ========================================================= */
/* Top bar: logo · chapters · where you are */
.nav__chapter { justify-self: end; margin: 0; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); white-space: nowrap; }
.nav__chapter-n { color: var(--cyan); }
.nav__chapter-n::after { content: ''; display: inline-block; width: 22px; height: 1px; margin-left: 10px; vertical-align: middle; background: var(--line-2); }
@media (max-width: 1080px) { .nav__chapter { margin-left: auto; } }
@media (max-width: 420px) { .nav__chapter-n { display: none; } }

/* Dock */
.dock { position: fixed; z-index: 60; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; }
.dock__bar { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(18,20,24,.72); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 50px -18px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08); backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%); }
.dock__btn { position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); border: 0; text-decoration: none; cursor: pointer; transition: background .25s; }
.dock__btn:hover { background: rgba(255,255,255,.16); }
.dock__btn svg { width: 22px; height: 22px; }
.dock__toggle span { position: absolute; left: 15px; right: 15px; height: 1.6px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease); }
.dock__toggle span:first-child { top: 20px; } .dock__toggle span:last-child { top: 26px; }
.dock__toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.dock__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.dock__menu { width: min(340px, calc(100vw - 32px)); display: grid; gap: 2px; padding: 8px; border-radius: 22px; background: rgba(18,20,24,.86); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.85); backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%); }
.dock__menu[hidden] { display: none; }
.dock__menu a { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 18px; border-radius: 14px; color: var(--fg-2); text-decoration: none; font-size: 18px; font-weight: 500; letter-spacing: -.02em; transition: background .2s, color .2s; }
.dock__menu a .mono { font-size: 12px; color: var(--cyan); }
.dock__menu a:hover { background: rgba(255,255,255,.07); color: #fff; }
.dock__menu a.is-active { background: #fff; color: #000; }
.dock__menu a.is-active .mono { color: #0a6fd8; }
.footer { padding-bottom: 120px; }
@media (max-width: 420px) { .dock__btn { width: 46px; height: 46px; } }

/* Pinned story — light chapter, one card that evolves */
.story { --story-bg: 0; --ink: #0b0d12; position: relative; height: 260vh; background: color-mix(in srgb, #f2f3f5 calc(var(--story-bg) * 100%), #000); color: var(--ink); }
.story__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto auto 1fr auto; justify-items: center; padding: 96px var(--gutter) 104px; overflow: hidden; opacity: clamp(0, calc(var(--story-bg) * 1.6 - .3), 1); }
.story__eyebrow { margin: 0 0 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(11,13,18,.55); }
.story__eyebrow span { color: rgba(11,13,18,.38); }
.story__lines { display: grid; place-items: center; text-align: center; }
.story__line { grid-area: 1 / 1; margin: 0; font-size: clamp(34px, 5vw, 72px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; opacity: 0; transform: translateY(24px); filter: blur(8px); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); }
.story__line em { font-style: normal; background: linear-gradient(90deg, #1f6fff, #12b6d6 60%, #10b981); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story__line.is-on { opacity: 1; transform: none; filter: none; }
.story__scene { position: relative; width: min(1100px, 100%); display: grid; place-items: center; min-height: 0; }
.story__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.story__wires path { fill: none; stroke: rgba(11,13,18,.28); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease); }
.story__wires circle { fill: #0b0d12; opacity: 0; transition: opacity .4s .6s; }
.story__wires .is-on { stroke-dashoffset: 0; opacity: 1; }

.story__card { position: relative; z-index: 2; width: min(440px, 100%); padding: 24px 24px 20px; border-radius: 26px; background: #fff; color: var(--ink);
  box-shadow: 0 1px 0 rgba(11,13,18,.04), 0 40px 80px -30px rgba(11,13,18,.35), 0 0 0 1px rgba(11,13,18,.06); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.story__card.is-approval { transform: translateY(-4px); box-shadow: 0 0 0 2px rgba(255,170,30,.55), 0 40px 80px -30px rgba(11,13,18,.35); }
.scard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.scard__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.scard__orb { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #8ff3ff, #1f6fff 55%, #10b981); box-shadow: 0 0 14px rgba(31,111,255,.5); }
.scard__status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: 12px; background: rgba(11,13,18,.05); transition: background .4s, color .4s; }
.scard__status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.scard__status b { font-weight: 600; }
.scard__status[data-status="received"] { color: #4b5563; }
.scard__status[data-status="planning"] { color: #1f6fff; background: rgba(31,111,255,.1); }
.scard__status[data-status="running"] { color: #0891b2; background: rgba(8,145,178,.1); }
.scard__status[data-status="running"] i { animation: story-pulse 1.2s ease-in-out infinite; }
.scard__status[data-status="awaiting"] { color: #b45309; background: rgba(245,158,11,.14); }
.scard__status[data-status="completed"] { color: #047857; background: rgba(16,185,129,.12); }
@keyframes story-pulse { 50% { opacity: .3; } }
.scard__kind { margin: 20px 0 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(11,13,18,.5); }
.scard__title { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.scard__text { margin: 8px 0 0; min-height: 3em; color: rgba(11,13,18,.66); font-size: 14.5px; line-height: 1.5; }
.scard__steps { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(11,13,18,.08); display: grid; gap: 9px; }
.scard__steps li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: rgba(11,13,18,.38); transition: color .4s; }
.scard__tick { width: 20px; height: 20px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(11,13,18,.18); transition: background .4s, border-color .4s; }
.scard__tick svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .3s; }
.scard__steps li.is-done { color: var(--ink); }
.scard__steps li.is-done .scard__tick { background: #10b981; border-color: #10b981; }
.scard__steps li.is-done svg { opacity: 1; }
.scard__steps li.is-now { color: var(--ink); font-weight: 600; }
.scard__steps li.is-now .scard__tick { border-color: #1f6fff; box-shadow: 0 0 0 4px rgba(31,111,255,.14); }
.scard__approve { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 0; max-height: 0; overflow: hidden; opacity: 0; font-size: 14px; font-weight: 600; transition: max-height .5s var(--ease), opacity .4s, margin .5s var(--ease); }
.is-approval .scard__approve { max-height: 60px; opacity: 1; margin-top: 16px; }
.scard__btns { display: inline-flex; gap: 6px; }
.scard__btns b { padding: 8px 14px; border-radius: 999px; font-size: 13px; background: rgba(11,13,18,.06); }
.scard__btns b.is-primary { background: #0b0d12; color: #fff; }

.story__chips { position: absolute; inset: 0; pointer-events: none; }
.schip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 16px; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px rgba(11,13,18,.06), 0 18px 40px -20px rgba(11,13,18,.35); opacity: 0; transform: scale(.85); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.schip.is-on { opacity: 1; transform: none; }
.schip__icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #f1f5ff; }
.schip__icon svg { width: 18px; height: 18px; fill: none; stroke: #1f6fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.schip strong { display: block; font-size: 13.5px; font-weight: 600; }
.schip small { display: block; font-size: 11.5px; color: rgba(11,13,18,.55); }
.schip--tl { left: 2%; top: 8%; } .schip--tr { right: 2%; top: 8%; }
.schip--ml { left: 0; top: 46%; }
.schip--bl { left: 4%; bottom: 6%; } .schip--br { right: 4%; bottom: 6%; }
.story__progress { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 18px; font-family: var(--font-mono); font-size: 11px; color: rgba(11,13,18,.35); }
.story__progress li { transition: color .3s; }
.story__progress button { display: grid; justify-items: center; gap: 8px; padding: 8px 2px; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.story__progress li:not(.is-on) button:hover span { background: rgba(11,13,18,.35); }
.story__progress button:focus-visible { outline: 2px solid #1f6fff; outline-offset: 2px; border-radius: 6px; }
.story__progress span { width: 28px; height: 3px; border-radius: 3px; background: rgba(11,13,18,.12); transition: background .4s, width .4s var(--ease); }
.story__progress .is-past span { background: rgba(11,13,18,.5); }
.story__progress .is-on { color: var(--ink); }
.story__progress .is-on span { width: 44px; background: #1f6fff; }
@media (max-width: 900px) {
  .story__stage { padding-top: 80px; padding-bottom: 92px; }
  .story__scene { align-content: center; gap: 12px; }
  .story__chips { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; order: -1; max-width: 100%; }
  .schip { position: static; padding: 5px 10px 5px 5px; border-radius: 12px; display: none; }
  .schip.is-on { display: flex; }
  .schip__icon { width: 26px; height: 26px; border-radius: 8px; }
  .schip__icon svg { width: 15px; height: 15px; }
  .schip small { display: none; }
  .story__wires { display: none; }
  .story__card { padding: 18px 18px 16px; border-radius: 22px; }
  .scard__kind { margin-top: 14px; }
  .scard__title { font-size: 19px; }
  .scard__steps { gap: 7px; margin-top: 14px; }
  .scard__steps li { font-size: 13px; }
  .story__progress { gap: 10px; }
  .story__progress span { width: 18px; } .story__progress .is-on span { width: 30px; }
}
@media (max-height: 760px) and (min-width: 901px) { .scard__steps { gap: 6px; } .story__card { padding: 18px 20px; } .story__line { font-size: clamp(30px, 4vw, 56px); } }

/* Chapter statements */
.statement { min-height: 110vh; display: grid; place-items: center; padding: 0 var(--gutter); text-align: center; }
.statement__text { margin: 0; font-family: var(--font-ui); font-size: clamp(40px, 7.4vw, 120px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.statement .sw { display: inline-block; }
.statement .sw--accent { background: linear-gradient(90deg, var(--blue), var(--cyan) 60%, var(--emerald)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
@media (prefers-reduced-motion: reduce) { .story__line, .schip, .story__wires path, .scard__approve { transition: none; } }
@media (max-width: 900px) { .story__lines { margin-bottom: 14px; } }

/* Integrations: brand marks and line icons share one tile */
.icol__list li { transition: border-color .25s, background .25s; }
.icol__list li:hover { border-color: var(--line-2); background: rgba(255,255,255,.04); }
.icol__logo { position: relative; width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.icol__logo:not(.icol__logo--icon)::before { content: ''; width: 22px; height: 22px; background: #fff;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.icol__logo--icon svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icol--obs .icol__list li:hover .icol__logo { border-color: rgba(47,217,244,.5); }
.icol--itsm .icol__list li:hover .icol__logo { border-color: rgba(61,139,255,.55); }
.icol--kg .icol__list li:hover .icol__logo { border-color: rgba(46,229,157,.5); }
.icol--ent .icol__list li:hover .icol__logo { border-color: rgba(255,255,255,.45); }

/* =========================================================
   Review meeting update — hero messages, closed loop, governed autonomy, deployment, engagement models
   ========================================================= */
/* Hero: two messages share one cell and slide sideways */
.hero__rotator { display: grid; }
.hero__slide { grid-area: 1 / 1; align-self: end; }
.hero__slide:not(.is-on) { pointer-events: none; }
.hero__title--alt { max-width: 18em; }
.hero__title .brand-tight { word-spacing: -.45em; white-space: nowrap; }
.hero__dots { display: flex; align-items: center; gap: 2px; margin-top: 18px; }
.hero__dot { width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; padding: 0; cursor: pointer; }
.hero__dot span { width: 18px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.28); transition: width .4s var(--ease), background .4s var(--ease); }
.hero__dot[aria-pressed="true"] span { width: 30px; background: #fff; }
.hero__rot-toggle { width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; color: var(--fg-3); cursor: pointer; border-radius: 50%; }
.hero__rot-toggle:hover { color: #fff; }
.hero__rot-toggle svg { width: 13px; height: 13px; }
.hero__rot-toggle .on, .hero__rot-toggle[aria-pressed="true"] .off { display: none; }
.hero__rot-toggle[aria-pressed="true"] .on { display: block; }

/* Who am I? — closed-loop intelligence */
.who__not { margin-top: 14px; font-size: 15px; color: var(--fg-3); }
.loop-head { margin-top: 56px; text-align: center; display: grid; gap: 6px; }
.loop-head .mono { color: var(--cyan); }
.loop-head__line { font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.01em; }
.flow--loop { margin-top: 36px; }
.flow--loop .flow__step--learn .flow__icon svg { stroke: var(--emerald); }
.loop-foot { margin-top: 32px; text-align: center; color: #fff; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.01em; }
.loop-foot span { color: var(--emerald); margin-right: 6px; }

/* Docs+: add-on module note */
.eyebrow .tag { margin-left: 10px; height: 22px; vertical-align: middle; }
.doc__module { margin: -6px 0 22px; padding: 10px 14px; border-left: 2px solid var(--cyan); background: rgba(47,217,244,.06); border-radius: 0 10px 10px 0; color: var(--fg-2); font-size: 14px; max-width: 46ch; }

/* PraevaFlow: approval gate, waiting/skipped states and directed connectors */
.pflow__gate { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pflow__gate[hidden] { display: none; }
.pnode.is-waiting { border-color: var(--amber, #ffc857); box-shadow: 0 0 26px -8px var(--amber, #ffc857); }
.pnode.is-waiting .pnode__state { color: var(--amber, #ffc857); }
.pnode.is-skipped { opacity: .45; }
.pnode:not(:last-child)::before { content: ''; position: absolute; z-index: 1; right: -34px; top: 50%; margin-top: -4px; color: var(--line-2); border: 4px solid transparent; border-right: 0; border-left: 6px solid currentColor; }
.pnode:nth-child(3)::before { right: 50%; margin-right: -4px; top: calc(100% + 24px); margin-top: 0; border: 4px solid transparent; border-bottom: 0; border-top: 6px solid currentColor; }
.pnode.is-done::before { color: var(--emerald); }
@media (min-width: 641px) {
  .pnode:nth-child(4)::before, .pnode:nth-child(5)::before { right: auto; left: -34px; border: 4px solid transparent; border-left: 0; border-right: 6px solid currentColor; }
}
@media (max-width: 640px) {
  .pnode:not(:last-child)::before, .pnode:nth-child(3)::before { right: auto; left: 24px; margin: 0; top: calc(100% + 16px); border: 4px solid transparent; border-bottom: 0; border-top: 6px solid currentColor; }
}

/* Governed autonomy: controls and the two differentiators */
.gov__controls { margin: 48px 0 40px; padding-top: 0; border-top: 0; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.gov__controls { align-items: start; }
.gov__controls .principle { flex-direction: column; gap: 12px; }
@media (max-width: 1080px) { .gov__controls { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gov__controls .principle { flex-direction: row; } }
@media (max-width: 640px) { .gov__controls { grid-template-columns: minmax(0, 1fr); } }
.diffs { margin-top: 56px; display: grid; gap: 24px; }
.diffs__head { text-align: center; display: grid; gap: 8px; }
.diffs__head .mono { color: var(--cyan); }
.diffs__head h3 { font-size: clamp(24px, 2.4vw, 36px); font-weight: 600; letter-spacing: -.02em; }
.diffs__head h3 em { font-style: normal; color: var(--fg-2); }
.diffs__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 16px; }
.diffs__card { padding: clamp(20px, 2.4vw, 30px); display: grid; gap: 8px; align-content: start; }
.diffs__card h4 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.diffs__card p:not(.mono) { color: var(--fg-2); font-size: 15px; }
.diffs__card .principle__icon { margin-bottom: 6px; }
.diffs__plus { align-self: center; font-size: 28px; color: var(--cyan); font-weight: 300; }
@media (max-width: 760px) { .diffs__grid { grid-template-columns: minmax(0, 1fr); } .diffs__plus { justify-self: center; line-height: 1; } }

/* Deployment: SaaS roadmap card */
.denv--soon { display: grid; place-items: center; gap: 14px; min-height: 220px; border: 1px dashed var(--line-2); border-radius: 16px; text-align: center; }
.denv__soon-icon svg { width: 44px; height: 44px; fill: none; stroke: var(--fg-3); stroke-width: 1.4; stroke-linejoin: round; }
.denv--soon .mono { display: inline-flex; align-items: center; gap: 10px; }

/* How to engage? — commercial models */
.models { margin-top: 32px; display: grid; gap: 14px; }
.models__kicker { color: var(--cyan); }
.models__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.models__card { padding: 20px; display: grid; gap: 6px; align-content: start; }
.models__card h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.models__card .mono { color: var(--fg-3); }
.models__card p:not(.mono) { color: var(--fg-2); font-size: 14.5px; margin-top: 4px; }
.models__cta { justify-self: start; }
@media (max-width: 1080px) and (min-width: 561px) { .models__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Closing: logo reveal and the core line (the orchestrator network is told earlier on the page) */
.finale { height: 210vh; }
.finale__svg { display: none; }
.finale__title { max-width: 30ch; }
.finale__desc { color: var(--fg-2); font-size: 14px; letter-spacing: .16em; text-transform: uppercase; }
.finale__desc .brand { color: #fff; font-weight: 700; letter-spacing: .04em; }
.finale__desc .tm { font-size: .78em; margin-left: .12em; vertical-align: .55em; }

/* Footer */
.footer__copy { margin-left: 14px; color: var(--fg-3); font-weight: 400; font-size: 13px; }

/* Who am I? — the tools enterprises already run, connected into one loop */
.estate { list-style: none; margin: 48px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1080px; }
.estate__item { flex: 0 1 calc(25% - 8px); min-width: 0; }
@media (max-width: 900px) { .estate__item { flex-basis: calc(50% - 5px); } }
@media (max-width: 480px) { .estate__item { flex-basis: 100%; } }
.estate__item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; }
.estate__item strong { display: block; font-size: 15px; font-weight: 600; }
.estate__item small { display: block; color: var(--fg-3); font-size: 13px; }
.estate__icon { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(47,217,244,.08); }
.estate__icon svg { width: 18px; height: 18px; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.estate__loop { margin-top: 24px; text-align: center; color: #fff; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.01em; }
.estate__loop span { color: var(--emerald); margin-right: 6px; }

/* How to engage? — commercial models side by side, the form below them */
.demo__main { display: grid; gap: 24px; }
.models { margin-top: 0; }
.models__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .models__grid { grid-template-columns: minmax(0, 1fr); } }

/* Hero headline typewriter: words never break mid-word; blinking caret */
.hero__title .tw { white-space: nowrap; }
.hero__caret { display: inline-block; width: .08em; height: .92em; margin-left: .06em; vertical-align: -.06em; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: caret-blink 1s steps(1) infinite; }
.hero__caret.is-typing { animation: none; }
@keyframes caret-blink { 50% { opacity: 0; } }

/* Heading with the emphasis reversed: the lead-in is muted and the second line is bright. */
.h2--flip { color: var(--fg-3); }
.h2--flip em { color: #fff; }

/* Intelligence thread — the shared foundation under AMS and IMS */
.thread { margin-top: 16px; padding: clamp(24px, 3vw, 40px); }
.thread__head { text-align: center; margin-bottom: 30px; }
.thread__kicker { margin: 0 0 12px; color: var(--emerald); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.thread__head h3 { margin: 0 auto 8px; max-width: 46ch; text-wrap: balance; font-size: clamp(22px, 2.4vw, 34px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; color: #fff; }
.thread__head h3 em { color: var(--emerald); }
.thread__head > p:last-child { margin: 0; color: var(--fg-2); }
.thread__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; position: relative; }
.thread__step { position: relative; padding: 20px 14px 22px; border-radius: 14px; border: 1px solid rgba(46,229,157,.25); background: rgba(46,229,157,.04); text-align: center; }
.thread__step:not(:last-child)::after { content: '›'; position: absolute; right: -21px; top: 50%; transform: translateY(-50%); color: var(--emerald); font-size: 24px; font-weight: 700; line-height: 1; }
.thread__step::before { content: ''; position: absolute; left: 50%; bottom: -15px; width: 1px; height: 15px; background: rgba(46,229,157,.6); }
.thread__steps::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: -15px; height: 1px; background: rgba(46,229,157,.6); }
.thread__n { position: absolute; left: 12px; top: 12px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--emerald); color: #04140c; font-size: 12px; font-weight: 700; }
.thread__icon svg { display: block; width: 34px; height: 34px; margin: 6px auto 12px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.thread__step h4 { margin: 0 0 6px; font-size: 13.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.thread__step p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--fg-2); }
.thread__base { position: relative; margin: 30px 0 0; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 16px 22px; border-radius: 999px; border: 1px solid rgba(46,229,157,.35); background: linear-gradient(90deg, rgba(46,229,157,.05), rgba(46,229,157,.14), rgba(46,229,157,.05)); color: var(--emerald); font-size: clamp(14px, 1.3vw, 17px); font-weight: 600; text-align: center; }
.thread__base::before { content: ''; position: absolute; left: 50%; top: -15px; width: 1px; height: 15px; background: rgba(46,229,157,.6); }
.thread__base b { margin: 0 .3em; color: #fff; }
.thread__base-icon svg { display: block; width: 26px; height: 26px; fill: none; stroke: var(--emerald); stroke-width: 1.6; }
@media (max-width: 900px) {
  .thread__steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .thread__step { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 14px 16px; text-align: left; }
  .thread__step .thread__n { position: static; grid-row: span 2; }
  .thread__icon { display: none; }
  .thread__step h4 { margin: 0 0 2px; }
  .thread__step::before, .thread__step::after, .thread__steps::after, .thread__base::before { display: none; }
  .thread__base { margin-top: 16px; border-radius: 18px; flex-direction: column; gap: 8px; }
}

/* ---------- Legal footer: Fujitsu master logo (on white, keeping its built-in clear space) + policy links ---------- */
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.footer__legal p { margin: 0; }
.footer__fujitsu { display: inline-flex; background: #fff; border-radius: 8px; line-height: 0; transition: transform .3s var(--ease); }
.footer__fujitsu:hover { transform: translateY(-1px); }
.footer__fujitsu img { height: 52px; width: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.footer__links a, .footer__linkbtn { display: inline-flex; align-items: center; line-height: 1.2; color: var(--fg-2); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); background: none; border: 0; padding: 4px 0; cursor: pointer; min-height: 32px; }
.footer__links a:hover, .footer__linkbtn:hover { color: #fff; text-decoration-color: currentColor; }
.form__privacy { margin-top: 8px; }
.form__privacy a { color: var(--fg-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Cookie consent banner ---------- */
.consent { position: fixed; z-index: 9000; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(960px, calc(100% - 32px));
  display: flex; align-items: center; gap: 16px 28px; padding: 20px 24px; border-radius: 16px;
  background: rgba(12,14,18,.96); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -20px rgba(0,0,0,.8); color: var(--fg-2); font-size: 14px; line-height: 1.5; }
.consent[hidden] { display: none; }
.consent__title { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: #fff; letter-spacing: 0; }
.consent p { margin: 0; }
.consent a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; gap: 10px; flex: none; }
.consent__actions .btn { min-height: 44px; }
@media (max-width: 700px) {
  .consent { flex-direction: column; align-items: stretch; padding: 18px 16px; bottom: 12px; }
  .consent__actions .btn { flex: 1; }
  .footer__fujitsu img { height: 44px; }
}

/* Header logo hides while the footer logo is visible (no two PRA EVA logos on screen). */
.nav__brand { transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; }
.nav__brand.is-hidden { opacity: 0; transform: translateY(-6px); visibility: hidden; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .nav__brand { transition: none; } }
/* With the escalation step (11 across), tighten the tiles a little so the longest words still fit. */
@media (min-width: 1181px) {
  .wf__steps:has(.is-extra) li { padding: 12px 7px; }
  .wf__steps:has(.is-extra) strong { font-size: 13px; }
  .wf__steps:has(.is-extra) li .mono { letter-spacing: .04em; }
}
@media (min-width: 1181px) and (max-width: 1399px) {
  .wf__steps:has(.is-extra) { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .wf__steps:has(.is-extra) li { padding: 12px 10px; }
  .wf__steps:has(.is-extra) strong { font-size: 14px; }
}
.wf__steps li { grid-template-columns: minmax(0, 1fr); }

/* ---------- Back to top ---------- */
.to-top { position: fixed; z-index: 61; right: max(16px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom));
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(18,20,24,.72); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(12px); visibility: hidden; pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, background .2s, border-color .2s; }
.to-top.is-on { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.to-top:hover { background: rgba(255,255,255,.14); border-color: var(--cyan); }
.to-top:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
.to-top[hidden] { display: none; }

/* ---------- Designed-by credit (SPASE logo, small, on white so its dark lettering stays legible) ---------- */
.footer__credit { flex-basis: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: 4px 0 0; font-size: 12px; color: var(--fg-3); }
.footer__spase { display: inline-flex; padding: 4px 8px; background: #fff; border-radius: 6px; line-height: 0; }
.footer__spase img { height: 24px; width: auto; }
.footer__fnai { font-size: 11px; letter-spacing: .08em; color: var(--fg-3); text-decoration: none; }
.footer__fnai:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Work-email verification (one-time code) ---------- */
.verify__row { display: flex; gap: 8px; align-items: stretch; }
.verify__row input { flex: 1 1 auto; min-width: 0; }
.verify__btn { flex: none; min-height: 48px; white-space: nowrap; }
.verify__row--code input { flex: 0 1 180px; letter-spacing: .4em; font-variant-numeric: tabular-nums; text-align: center; }
.verify__hint.is-verified { color: var(--emerald); font-weight: 500; }
.field--verify input[readonly] { color: var(--fg-2); border-color: rgba(46,229,157,.45); }
.otp { padding: 16px; border-radius: 14px; border: 1px dashed var(--line-2); background: rgba(47,217,244,.04); }
.otp[hidden] { display: none; }
.otp__resend { align-self: center; background: none; border: 0; padding: 8px 4px; color: var(--fg-2); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.otp__resend:disabled { color: var(--fg-3); text-decoration: none; cursor: default; }
.otp__msg.is-error { color: #ff8a98; }
.otp__msg.is-ok { color: var(--emerald); }
@media (max-width: 640px) {
  .verify__row--code { flex-wrap: wrap; }
  .verify__row--code input { flex: 1 1 140px; }
}

/* Neya portrait beside the section heading */
.neya__lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); gap: 28px; align-items: center; }
.neya__portrait { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6), 0 0 48px -12px rgba(47, 217, 244, .35); }
.neya__portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .neya__lead { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .neya__portrait { max-width: 320px; }
}

/* Contact form switched off outside the Americas */
.is-region-blocked .field, .is-region-blocked .field--full { opacity: .5; }
.region-note[hidden], .form[hidden] { display: none; }
.region-note h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.region-note p { color: var(--fg-2); margin-top: 8px; }
.region-note a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
