/* Xeraxon Care Ltd | site styles (light, logo palette) */
:root {
  --ink: #0A1B3D; --text: #2E3B55; --muted: #5B6880; --bg: #F5F8FD; --white: #FFFFFF;
  --blue: #0B4FCB; --blue-hi: #0A43AE; --royal: #1E5BE0; --teal: #0A9E90; --teal-bright: #0BC5B3; --deep: #0A2E8A;
  --line: rgba(10, 27, 61, 0.10); --line-2: rgba(10, 27, 61, 0.16);
  --brand: linear-gradient(100deg, #0A3FB8 0%, #0B7AD6 55%, #0BC5B3 100%);
  --live: #0E9F6E; --build: #1E5BE0; --research: #7C4DDB;
  --font: "Lexend", "Segoe UI", system-ui, sans-serif;
  --r-md: 18px; --r-lg: 28px;
  --shadow: 0 1px 2px rgba(10, 27, 61, 0.05), 0 12px 32px -12px rgba(10, 46, 138, 0.18);
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 17px; font-weight: 350; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--blue); }
strong, b { font-weight: 600; }
:focus-visible { outline: 3px solid var(--royal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.sec { padding: 104px 0; }
.sec-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); }
.h-xl { font-size: clamp(40px, 6.6vw, 84px); letter-spacing: -0.045em; }
.h-lg { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -0.04em; }
.h-md { font-size: clamp(24px, 2.6vw, 32px); }
.h-sm { font-size: 21px; letter-spacing: -0.02em; line-height: 1.25; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 60ch; line-height: 1.6; }
.muted { color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--deep); background: rgba(11, 197, 179, 0.12); border: 1px solid rgba(11, 197, 179, 0.35); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.head { max-width: 760px; margin-bottom: 52px; }
.head.center { margin-left: auto; margin-right: auto; }
.head .lede { margin-top: 16px; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btns { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font); font-weight: 500; font-size: 16px; padding: 14px 26px; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(11, 79, 203, 0.6); }
.btn-primary:hover { background: var(--blue-hi); transform: translateY(-1px); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--royal); }
.link { color: var(--blue); font-weight: 500; text-decoration: none; border-bottom: 1.5px solid rgba(11, 79, 203, 0.3); }
.link:hover { border-color: var(--blue); }

/* Floating pill nav */
.nav { position: sticky; top: 14px; z-index: 100; padding: 0 16px; }
.nav-in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 68px; padding: 0 10px 0 18px; background: rgba(255, 255, 255, 0.84); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.menu a { display: block; color: var(--text); text-decoration: none; font-size: 15px; padding: 8px 13px; border-radius: 999px; transition: background .2s, color .2s; }
.menu a:hover { background: rgba(30, 91, 224, 0.07); color: var(--ink); }
.menu a[aria-current="page"] { background: rgba(30, 91, 224, 0.1); color: var(--deep); font-weight: 500; }
.nav-end { display: flex; align-items: center; gap: 8px; }
.lang { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 13px; }
.lang:hover { border-color: var(--royal); }
.nav .btn { padding: 11px 20px; font-size: 15px; }
.burger { display: none; background: var(--white); border: 1px solid var(--line-2); border-radius: 999px; width: 46px; height: 46px; cursor: pointer; color: var(--ink); }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; }
.drawer { display: none; max-width: 1180px; margin: 8px auto 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 8px 20px; box-shadow: var(--shadow); }
.drawer.open { display: block; }
.drawer a { display: block; padding: 13px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer a:last-child { border-bottom: 0; }
@media (max-width: 1100px) { .menu, .nav-end .btn { display: none; } .burger { display: block; } .brand img { height: 40px; } }

/* Aurora */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.orb.a { width: 520px; height: 520px; background: #7DB4FF; left: -140px; top: -60px; animation: drift1 22s ease-in-out infinite alternate; }
.orb.b { width: 460px; height: 460px; background: #5FE3D2; right: -120px; top: 80px; animation: drift2 26s ease-in-out infinite alternate; }
.orb.c { width: 380px; height: 380px; background: #A9C4FF; left: 40%; top: 340px; opacity: 0.35; animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(120px, 80px) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-100px, 120px) scale(0.95); } }
@keyframes drift3 { to { transform: translate(-80px, -60px) scale(1.15); } }

/* Hero */
.hero { position: relative; overflow: hidden; margin-top: -82px; padding: 200px 0 56px; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.6; }
.hero-in { position: relative; z-index: 2; text-align: center; }
.hero .h-xl { max-width: 15ch; margin: 0 auto; }
.hero .lede { margin: 24px auto 36px; }
.hero .btns { justify-content: center; }

/* Showcase (real products) */
.showcase { position: relative; z-index: 2; margin: 72px auto 0; max-width: 1120px; background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: var(--r-lg); box-shadow: 0 30px 80px -30px rgba(10, 46, 138, 0.35); padding: 22px; text-align: left; }
.sc-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 8px 18px; font-size: 14px; color: var(--muted); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: block; }
.sc-live { display: inline-flex; align-items: center; gap: 8px; color: var(--live); font-weight: 500; }
.sc-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.sc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sc-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 16px; transition: box-shadow .25s, translate .25s; opacity: 0; transform: translateY(18px); animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.sc-card:nth-child(2) { animation-delay: .15s; }
.sc-card:nth-child(3) { animation-delay: .3s; }
.sc-card:nth-child(4) { animation-delay: .45s; }
.sc-card:hover { translate: 0 -4px; box-shadow: var(--shadow); }
@keyframes rise { to { opacity: 1; transform: none; } }
.sc-top { display: flex; align-items: center; gap: 12px; }
.sc-top strong { display: block; color: var(--ink); font-size: 18px; letter-spacing: -0.02em; }
.sc-top span { font-size: 13px; color: var(--muted); }
.sc-metric { font-size: 30px; font-weight: 600; color: var(--ink); letter-spacing: -0.04em; line-height: 1; }
.sc-metric small { display: block; font-size: 13px; font-weight: 350; color: var(--muted); letter-spacing: 0; margin-top: 6px; }
.sc-spark { height: 36px; width: 100%; }
.sc-spark path { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.8s .6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 1000px) { .sc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sc-grid { grid-template-columns: 1fr; } }

/* App icons */
.ico { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; object-fit: cover; background: var(--bg); border: 1px solid var(--line); }
.mono { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; display: none; place-items: center; font-weight: 600; font-size: 20px; color: #fff; }
.ico.failed { display: none; }
.ico.failed + .mono { display: grid; }
.mono.show { display: grid; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; }
.stat b { display: block; font-size: clamp(40px, 4.4vw, 56px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--deep); }
.stat span { display: block; color: var(--muted); margin-top: 10px; font-size: 15px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px; position: relative; overflow: hidden; }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--brand); }
.pillar dt { font-size: 14px; font-weight: 500; color: var(--teal); margin-bottom: 12px; }
.pillar dd { font-size: 24px; font-weight: 600; color: var(--ink); letter-spacing: -0.03em; line-height: 1.2; }
.pillar dd small { display: block; font-size: 16px; font-weight: 350; color: var(--muted); margin-top: 12px; letter-spacing: 0; line-height: 1.55; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; grid-column: span 3; display: flex; flex-direction: column; gap: 12px; }
.tile.wide { grid-column: span 4; }
.tile.narrow { grid-column: span 2; }
.tile p { color: var(--muted); }
.tile .ex { font-size: 14px; margin-top: auto; }
.tile .ex a { color: var(--blue); text-decoration: none; }
.art { height: 150px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line); position: relative; overflow: hidden; margin-bottom: 8px; }
.art svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.art svg.lines path { fill: none; stroke: rgba(30, 91, 224, 0.4); stroke-width: 1.5; stroke-dasharray: 5 6; animation: flow 3s linear infinite; }
.art .n { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--royal); box-shadow: 0 0 0 6px rgba(30, 91, 224, 0.12); animation: float 5s ease-in-out infinite; }
.art .n.t { background: var(--teal-bright); box-shadow: 0 0 0 6px rgba(11, 197, 179, 0.16); animation-delay: 1s; }
@keyframes float { 50% { transform: translateY(-6px); } }
@keyframes flow { to { stroke-dashoffset: -44; } }
.phone { position: absolute; left: 50%; top: 16px; width: 82px; height: 150px; transform: translateX(-50%); border-radius: 16px; border: 2px solid var(--ink); background: var(--white); overflow: hidden; }
.phone i { display: block; height: 10px; margin: 10px 9px 0; border-radius: 4px; background: rgba(30, 91, 224, 0.18); animation: shimmer 2.4s ease-in-out infinite; }
.phone i:first-child { height: 36px; background: var(--brand); }
.phone i:nth-child(3) { animation-delay: .4s; } .phone i:nth-child(4) { animation-delay: .8s; }
@keyframes shimmer { 50% { opacity: 0.4; } }
.chip { position: absolute; width: 70px; height: 70px; left: 50%; top: 50%; margin: -35px 0 0 -35px; border-radius: 14px; background: var(--ink); box-shadow: 0 0 0 10px rgba(11, 197, 179, 0.12); animation: pulse 2.6s ease-in-out infinite; }
.chip::after { content: ""; position: absolute; inset: 20px; border-radius: 6px; background: var(--brand); }
@keyframes pulse { 50% { box-shadow: 0 0 0 22px rgba(11, 197, 179, 0.04); } }
.pin { position: absolute; background: var(--line-2); }
.wave { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; gap: 6px; }
.wave i { width: 7px; height: 56px; border-radius: 4px; background: var(--teal-bright); animation: vox 1.2s ease-in-out infinite; }
.wave i:nth-child(odd) { background: var(--royal); }
.wave i:nth-child(2) { animation-delay: .1s; } .wave i:nth-child(3) { animation-delay: .2s; } .wave i:nth-child(4) { animation-delay: .3s; } .wave i:nth-child(5) { animation-delay: .4s; } .wave i:nth-child(6) { animation-delay: .5s; } .wave i:nth-child(7) { animation-delay: .6s; } .wave i:nth-child(8) { animation-delay: .7s; } .wave i:nth-child(9) { animation-delay: .8s; }
@keyframes vox { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .tile, .tile.wide, .tile.narrow { grid-column: auto; } }

/* Values carousel */
.carousel { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.carousel-track { display: flex; gap: 18px; width: max-content; animation: slide 48s linear infinite; padding: 6px 0; }
.carousel:hover .carousel-track { animation-play-state: paused; }
.vcard { width: 290px; flex-shrink: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.vcard b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -0.04em; margin-bottom: 8px; color: var(--ink); }
.vcard span { color: var(--muted); font-size: 16px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Pill tabs (use cases) */
.pilltabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.ptab { font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--text); background: var(--white); border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ptab:hover { border-color: var(--royal); }
.ptab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.case { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.case[hidden] { display: none; }
.case-l { padding: 44px; display: flex; flex-direction: column; gap: 16px; animation: fadein .45s ease; }
.case-l p { color: var(--muted); }
.case-r { background: var(--brand); padding: 44px; color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 12px; position: relative; overflow: hidden; }
.case-r::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.28); right: -120px; bottom: -140px; }
.case-r small { opacity: .88; font-size: 14px; }
.case-r strong { font-size: 26px; letter-spacing: -0.03em; line-height: 1.2; }
.case-r a { color: #fff; font-weight: 500; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } .case-l, .case-r { padding: 28px; } }

/* Steps */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { counter-increment: s; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.steps p { color: var(--muted); font-size: 16px; margin-top: 10px; }
.steps .out { font-size: 14px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 16px; }
.steps .out strong { display: block; color: var(--ink); font-weight: 500; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* Lists */
.list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.item p { color: var(--muted); margin: 12px 0 16px; }
.item .ex { font-size: 14px; margin: 0; }
.item .ex a { color: var(--blue); text-decoration: none; }
.item .ex a:hover { text-decoration: underline; }
@media (max-width: 860px) { .list { grid-template-columns: 1fr; } }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.values > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; }
.values dt { font-size: 24px; font-weight: 600; color: var(--ink); letter-spacing: -0.03em; }
.values dd { color: var(--muted); margin-top: 6px; font-size: 16px; }

/* Dark bands (motto, final CTA) */
.dark { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.dark .orb { opacity: 0.3; }
.dark > *:not(.aurora) { position: relative; z-index: 1; }
.dark h2 { color: #fff; }
.dark .lede, .dark p { color: rgba(255, 255, 255, 0.74); }
.dark .kicker { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); color: #9FF1E6; }
.dark .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.motto { padding: 120px 0; text-align: center; }
.motto .h-xl { max-width: 16ch; margin: 0 auto; }
.motto p { max-width: 54ch; margin: 24px auto 0; font-size: 18px; }
.final { padding: 20px 0 110px; }
.final-box { border-radius: 36px; padding: 88px 40px; text-align: center; }
.final-box .h-xl { max-width: 14ch; margin: 0 auto; }
.final-box .lede { margin: 22px auto 34px; }

/* Inner hero */
.phero { position: relative; overflow: hidden; margin-top: -82px; padding: 190px 0 64px; }
.phero .wrap { position: relative; z-index: 1; }
.phero .lede { margin-top: 20px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* Portfolio live cards */
.plive { display: grid; gap: 22px; }
.pcard { display: grid; grid-template-columns: 1.35fr 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.pcard-l { padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.pcard-head { display: flex; align-items: center; gap: 16px; }
.pcard-head h3 { font-size: 28px; }
.pcard-head .cat { font-size: 14px; color: var(--muted); }
.pcard-l > p { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.facts div { background: var(--bg); border-radius: 12px; padding: 12px 14px; }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { font-size: 15px; font-weight: 500; color: var(--ink); }
.plinks { display: flex; flex-wrap: wrap; gap: 8px; }
.plinks a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 15px; }
.plinks a:hover { border-color: var(--royal); color: var(--blue); }
.plinks a.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.pcard-r { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 30px; min-height: 300px; }
.pcard-r .big { width: 104px; height: 104px; border-radius: 26px; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.5); object-fit: cover; background: rgba(255, 255, 255, 0.2); }
.pcard-r .mono { width: 104px; height: 104px; border-radius: 26px; font-size: 40px; }
.sig-label { display: inline-block; font-size: 13px; font-weight: 500; margin-bottom: 10px; background: rgba(255, 255, 255, 0.94); color: var(--ink); padding: 4px 12px; border-radius: 999px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatches { list-style: none; }
.sw { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.95); box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.35); }
@media (max-width: 860px) { .pcard { grid-template-columns: 1fr; } .pcard-l { padding: 26px; } .pcard-r { min-height: 240px; order: -1; } }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.proj { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.proj .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.proj .cat { font-size: 13px; color: var(--muted); }
.proj p { color: var(--muted); font-size: 15px; }
.proj .stack { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; margin-top: auto; }
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--ink); background: var(--bg); border-radius: 999px; padding: 4px 10px; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--build); }
.badge.live::before { background: var(--live); }
.badge.research::before { background: var(--research); }
.subhead { margin: 80px 0 24px; }
.subhead p { color: var(--muted); margin-top: 8px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 26px; }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 500; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--royal); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow); }
.fr2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 15px; font-weight: 500; color: var(--ink); }
.field .opt { font-weight: 350; color: var(--muted); }
.field input, .field select, .field textarea { font-family: var(--font); font-size: 16px; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 13px 14px; width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); background: var(--white); box-shadow: 0 0 0 4px rgba(30, 91, 224, 0.12); }
.field .err { display: none; font-size: 14px; color: #C62A2F; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #C62A2F; }
.field.bad .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); margin: 6px 0 24px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.form .btn { width: 100%; }
.status { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 12px; font-size: 15px; }
.status.ok { display: block; background: #E7F7F0; border: 1px solid #9ADFC2; color: #0B6B4A; }
.status.bad { display: block; background: #FDECEC; border: 1px solid #F3B1B3; color: #9B1C20; }
.aside { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px 28px; }
.aside dl > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.aside dl > div:last-child { border-bottom: 0; }
.aside dt { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.aside dd { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .form { padding: 26px; } }
@media (max-width: 560px) { .fr2 { grid-template-columns: 1fr; } }

.prose { max-width: 76ch; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px; }
.prose h2 { font-size: 24px; margin: 36px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: 10px; }

/* Footer */
.foot { background: var(--white); border-top: 1px solid var(--line); padding: 72px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.foot .brand img { height: 70px; }
.foot p { color: var(--muted); font-size: 15px; margin-top: 16px; max-width: 34ch; }
.foot h2 { font-size: 15px; font-weight: 600; letter-spacing: 0; margin-bottom: 14px; }
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot ul a { color: var(--muted); text-decoration: none; font-size: 15px; }
.foot ul a:hover { color: var(--blue); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot p.motto-line { font-weight: 600; color: var(--ink); font-size: 18px; letter-spacing: -0.02em; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } .sec { padding: 72px 0; } .wrap { padding: 0 20px; } .prose { padding: 26px; } .hero { padding-top: 160px; } }

/* Scroll reveal (only with JS) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
[id], input, select, textarea, .status { scroll-margin-top: 110px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sc-card { opacity: 1; transform: none; }
  .sc-spark path { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
  .carousel { overflow-x: auto; }
}

/* Valutri documents (support, privacy, terms) */
.doc-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--ink); background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px 6px 6px; margin-bottom: 20px; }
.doc-brand .ico { width: 34px; height: 34px; border-radius: 10px; }
.doc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.doc-tabs a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 18px; }
.doc-tabs a:hover { border-color: var(--royal); }
.doc-tabs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.doc > * { max-width: 900px; }
.doc .faq { max-width: none; margin: 0; }
.doc-h { font-size: 26px; margin: 56px 0 18px; }
.doc-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); }
.doc-contact p { margin-top: 6px; }
.doc-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 12px; }
.doc-prices div { background: var(--brand); color: #fff; border-radius: var(--r-md); padding: 24px; }
.doc-prices span { display: block; font-size: 14px; opacity: .9; }
.doc-prices b { display: block; font-size: 34px; font-weight: 600; letter-spacing: -0.04em; margin-top: 6px; }
.doc-prices small { font-size: 14px; opacity: .9; }
.doc-note { font-size: 14px; margin: 10px 0 16px; }
.doc-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.doc-card p + p { margin-top: 12px; }
.doc-help { margin-top: 16px; background: #EEF6FF; border: 1px solid #C9DDF8; border-radius: var(--r-lg); padding: 28px; }
.doc-help p { margin-top: 10px; }
.doc-callout { background: #FFF7E8; border: 1px solid #F1D9A6; border-radius: 14px; padding: 18px 20px; margin: 18px 0 8px; color: var(--ink); }
.prose h3 { font-size: 18px; margin: 22px 0 6px; letter-spacing: -0.02em; }
.prose ul { padding-left: 22px; margin: 8px 0 14px; color: var(--muted); }
.prose li { margin-bottom: 8px; }
.prose li strong { color: var(--ink); }
.doc .prose { max-width: none; }
@media (max-width: 560px) { .doc-prices { grid-template-columns: 1fr; } }

/* Companies House record */
.record { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 26px; margin-top: 8px; max-width: 760px; }
.record strong { display: block; color: var(--ink); font-weight: 600; }
.record span { color: var(--muted); font-size: 15px; }
.foot-base a { color: var(--blue); }
