/* Arkinis — "Neural" premium theme */
/* Fonts are served from our own site (SIL Open Font License, see assets/fonts/README.txt). */
@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(fonts/dm-sans-latin.woff2) format("woff2")
}

@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url(fonts/manrope-latin.woff2) format("woff2")
}

/* Brand palette: midnight, neural violet, synapse cyan, champagne spark */
:root {
    --bg: #05060d;
    --bg2: #0a0c19;
    --bg3: #10132a;
    --surface: #ffffff08;
    --surface2: #ffffff0f;
    --line: #ffffff14;
    --line2: #ffffff24;
    --text: #eef0f8;
    --muted: #a2aac4;
    --dim: #6f7894;
    --violet: #7c5cff;
    --cyan: #22d3ee;
    --gold: #e9c77b;
    --grad: linear-gradient(115deg, #7c5cff, #22d3ee);
    --wrap: 1200px;
    --gut: max(calc((100vw - var(--wrap))/2), 5%);
    --radius: 18px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    background: var(--bg)
}

body {
    margin: 0;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased
}

::selection {
    background: #7c5cff66
}

h1,
h2,
h3 {
    font-family: Manrope, "DM Sans", sans-serif;
    line-height: 1.08;
    letter-spacing: -.035em;
    margin: 0 0 16px;
    color: #fff
}

h1 {
    font-size: clamp(2.7rem, 6vw, 5.4rem);
    font-weight: 800
}

h2 {
    font-size: clamp(2rem, 3.6vw, 3.3rem);
    font-weight: 800
}

h3 {
    font-size: 1.2rem;
    letter-spacing: -.02em;
    line-height: 1.25
}

p {
    color: var(--muted);
    margin: 0 0 15px
}

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

b,
strong {
    color: var(--text)
}

ul {
    color: var(--muted)
}

/* Gradient text for the emotional half of a headline */
.glow {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.gold {
    color: var(--gold)
}

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 6px
}

/* ---------- Header ---------- */
.header {
    height: 86px;
    position: sticky;
    top: 0;
    z-index: 30;
    background: #05060dcc;
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--gut);
    gap: 22px
}

/* Official Arkinis logo as SVG (assets/arkinis-logo-dark.svg), with the tagline as live text
   so both stay sharp at any size. Tagline size follows the logo width (cqi units). */
.brand {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 3px;
    width: 250px;
    container-type: inline-size
}

.brand-logo {
    display: block;
    width: 100%;
    height: auto
}

.brand-tag {
    display: block;
    font: 700 8.5px "DM Sans", Arial, sans-serif;
    font-size: 3.5cqi;
    letter-spacing: .07em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #e8ebf5;
    text-align: justify;
    text-align-last: justify
}

.brand-tag em {
    font-style: normal;
    color: #3fb6f5
}

/* Larger in the footer so the tagline reads comfortably (about 10.5px) */
.footbrand .brand {
    width: 300px;
    max-width: 100%;
    gap: 5px
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.7vw, 26px);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted)
}

.nav a {
    transition: color .2s
}

.nav a:hover,
.nav a.active {
    color: #fff
}

.nav a.active:not(.cta-nav) {
    position: relative
}

.nav a.active:not(.cta-nav):after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad)
}

.nav .cta-nav {
    padding: 10px 16px;
    border-radius: 999px;
    color: #fff;
    white-space: nowrap;
    background: linear-gradient(var(--bg2), var(--bg2)) padding-box, var(--grad) border-box;
    border: 1px solid transparent;
    box-shadow: 0 0 24px #7c5cff33
}

.nav .cta-nav:hover {
    box-shadow: 0 0 30px #22d3ee55
}

.menu {
    display: none;
    border: 0;
    background: none;
    font-size: 26px;
    color: #fff
}

/* ---------- Buttons ---------- */
.buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 22px;
    border-radius: 999px;
    font: 700 14px "DM Sans", sans-serif;
    border: 1px solid transparent;
    transition: transform .2s, box-shadow .2s, background .2s;
    cursor: pointer
}

.btn:hover {
    transform: translateY(-2px)
}

.btn.primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 10px 34px #7c5cff4d, inset 0 1px 0 #ffffff40
}

.btn.primary:hover {
    box-shadow: 0 14px 44px #22d3ee55, inset 0 1px 0 #ffffff40
}

.btn.ghost {
    border-color: var(--line2);
    color: #fff;
    background: #ffffff08
}

.btn.ghost:hover {
    border-color: #ffffff55;
    background: #ffffff10
}

.btn.light {
    background: #fff;
    color: #0a0c19
}

/* ---------- Hero ---------- */
.hero {
    min-height: min(calc(100vh - 86px), 900px);
    min-height: min(calc(100svh - 86px), 900px);
    position: relative;
    overflow: hidden;
    padding: 80px var(--gut) 110px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 50px;
    isolation: isolate
}

.hero:before,
.pagehero:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: radial-gradient(ellipse 55% 60% at 80% 35%, #7c5cff30, transparent 70%), radial-gradient(ellipse 45% 50% at 10% 90%, #22d3ee1c, transparent 70%), var(--bg)
}

.neural {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: .9;
    mask-image: radial-gradient(ellipse 85% 85% at 65% 45%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 85% at 65% 45%, #000 40%, transparent 100%)
}

.hero-copy {
    position: relative;
    max-width: 700px
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin: 0 0 20px
}

.eyebrow:before {
    content: "";
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: .7
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px 7px 9px;
    border: 1px solid var(--line2);
    border-radius: 999px;
    background: #ffffff08;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 26px
}

.pill i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 4px #22d3ee26;
    animation: pulse 2.4s infinite
}

@keyframes pulse {
    50% {
        box-shadow: 0 0 0 8px #22d3ee00
    }
}

.hero p.lead {
    font-size: clamp(16px, 1.4vw, 19px);
    color: #c3c9de;
    max-width: 600px;
    margin: 24px 0 34px
}

.trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 38px;
    font-size: 12.5px;
    color: var(--dim)
}

.trust span:before {
    content: "✓";
    color: var(--cyan);
    margin-right: 8px
}

/* Illustrative live console */
.console {
    position: relative;
    border-radius: 22px;
    padding: 22px;
    background: linear-gradient(160deg, #141833ee, #0a0c19ee) padding-box, linear-gradient(160deg, #7c5cff88, #ffffff10 40%, #22d3ee55) border-box;
    border: 1px solid transparent;
    box-shadow: 0 40px 90px #0009, 0 0 80px #7c5cff22;
    backdrop-filter: blur(10px)
}

.console-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    letter-spacing: .16em;
    color: var(--dim);
    font-weight: 700;
    margin-bottom: 16px
}

.live {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    color: #6ee7b7
}

.live:before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    animation: pulse 2s infinite
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px
}

.metrics div {
    background: #ffffff07;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px
}

.metrics b {
    display: block;
    font: 800 22px Manrope, sans-serif;
    color: #fff
}

.metrics small {
    font-size: 10.5px;
    color: var(--dim)
}

.feed {
    display: grid;
    gap: 8px
}

.feed div {
    display: grid;
    grid-template-columns: 10px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 11px 13px;
    border-radius: 11px;
    background: #ffffff06;
    border: 1px solid var(--line);
    font-size: 12.5px;
    color: #d5daea
}

.feed i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan)
}

.feed .warn i {
    background: var(--gold);
    box-shadow: 0 0 12px var(--gold)
}

.feed .warn {
    border-color: #e9c77b44;
    background: #e9c77b0d
}

.feed small {
    color: var(--dim);
    font-size: 11px
}

.console-note {
    font-size: 10.5px;
    color: var(--dim);
    margin: 14px 0 0;
    text-align: right
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: .3em;
    color: var(--dim);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px
}

.scroll-cue:after {
    content: "";
    width: 1px;
    height: 34px;
    background: linear-gradient(var(--cyan), transparent);
    animation: drip 2.2s infinite
}

@keyframes drip {
    0% {
        transform: scaleY(0);
        transform-origin: top
    }

    50% {
        transform: scaleY(1);
        transform-origin: top
    }

    51% {
        transform-origin: bottom
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom
    }
}

/* ---------- Strip ---------- */
.strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg2);
    padding: 0 var(--gut)
}

.strip article {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 28px 22px;
    border-right: 1px solid var(--line)
}

.strip article:first-child {
    padding-left: 0
}

.strip article:last-child {
    border: 0
}

.strip i {
    font: 800 12px Manrope, sans-serif;
    font-style: normal;
    color: var(--gold);
    padding-top: 3px
}

.strip b,
.strip small {
    display: block
}

.strip b {
    font: 700 16px Manrope, sans-serif;
    color: #fff
}

.strip small {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45;
    margin-top: 4px
}

/* ---------- Sections ---------- */
.section {
    max-width: var(--wrap);
    margin: auto;
    padding: 110px 0
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px
}

.section-head h2 {
    margin: 0
}

.intro {
    max-width: 460px;
    font-size: 17px
}

.center {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 56px
}

.center .eyebrow:after {
    content: "";
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: .7
}

/* Glass card with a cursor-following glow (set by main.js) */
.glass {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #ffffff09, #ffffff03);
    transition: transform .3s, border-color .3s, box-shadow .3s;
    overflow: hidden
}

.glass:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -30%), #7c5cff22, transparent 45%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none
}

.glass:hover {
    border-color: #ffffff2a;
    transform: translateY(-4px);
    box-shadow: 0 24px 60px #0008
}

.glass:hover:before {
    opacity: 1
}

/* Pain points */
.pains {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.pains article {
    padding: 28px 24px
}

.pains time {
    display: block;
    font: 800 13px Manrope, sans-serif;
    color: var(--gold);
    letter-spacing: .08em;
    margin-bottom: 40px
}

.pains h3 {
    font-size: 18px
}

.pains p {
    font-size: 14px;
    margin: 0
}

.answer {
    margin: 34px 0 0;
    font: 700 clamp(1.2rem, 2vw, 1.6rem) Manrope, sans-serif;
    color: #fff;
    letter-spacing: -.02em
}

/* Vertical cards */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.card {
    display: flex;
    flex-direction: column
}

.art {
    height: 170px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 18px 20px;
    overflow: hidden;
    border-bottom: 1px solid var(--line)
}

.art:after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#ffffff26 1px, transparent 1px);
    background-size: 18px 18px;
    mask-image: linear-gradient(200deg, #000, transparent 70%);
    -webkit-mask-image: linear-gradient(200deg, #000, transparent 70%)
}

.art span {
    position: relative;
    z-index: 1;
    font-size: 10.5px;
    letter-spacing: .18em;
    font-weight: 700;
    color: #ffffffb0
}

.art b {
    position: relative;
    z-index: 1;
    font-size: 54px;
    line-height: 1;
    font-weight: 400;
    color: #fff;
    opacity: .9;
    text-shadow: 0 0 30px currentColor
}

.a1 {
    background: radial-gradient(circle at 85% 20%, #7c5cff77, transparent 60%), #0d0f22
}

.a2 {
    background: radial-gradient(circle at 85% 20%, #22d3ee66, transparent 60%), #0b1220
}

.a3 {
    background: radial-gradient(circle at 85% 20%, #e9c77b55, transparent 60%), #14110c
}

.a4 {
    background: radial-gradient(circle at 85% 20%, #5b8cff66, transparent 60%), #0b0f1f
}

.a5 {
    background: radial-gradient(circle at 85% 20%, #2dd4bf55, transparent 60%), #08141a
}

.a6 {
    background: radial-gradient(circle at 85% 20%, #a78bfa66, transparent 60%), #110d1f
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1
}

.card h3 {
    font-size: 19px
}

.card p {
    font-size: 14.5px;
    flex: 1
}

.link {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 700;
    transition: letter-spacing .25s
}

.card:hover .link {
    letter-spacing: .02em
}

/* Dark band with steps */
.band {
    position: relative;
    background: var(--bg2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 110px var(--gut);
    overflow: hidden;
    isolation: isolate
}

.band:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse 50% 70% at 100% 50%, #22d3ee18, transparent), radial-gradient(ellipse 40% 60% at 0 0, #7c5cff1f, transparent)
}

.band-inner {
    max-width: var(--wrap);
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center
}

.band-inner>div>p:not(.eyebrow) {
    max-width: 500px;
    font-size: 17px;
    margin-bottom: 30px
}

.steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    counter-reset: s
}

.steps article {
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px
}

.steps span {
    font: 800 12px Manrope, sans-serif;
    color: var(--gold);
    letter-spacing: .1em
}

.steps b {
    font: 800 24px Manrope, sans-serif;
    color: #fff;
    letter-spacing: -.02em
}

.steps small {
    color: var(--muted);
    font-size: 14px
}

/* Feature grid */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.feature {
    padding: 28px 26px
}

.feature span {
    font: 800 11px Manrope, sans-serif;
    color: var(--gold);
    letter-spacing: .16em
}

.feature h3 {
    margin-top: 22px;
    font-size: 18.5px
}

.feature p {
    font-size: 14.5px;
    margin: 0
}

.fine {
    font-size: 13px;
    color: var(--dim);
    margin: 22px 0 26px;
    max-width: 820px
}

/* Why Arkinis */
.why {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden
}

.why article {
    background: var(--bg);
    padding: 32px 26px
}

.why i {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-style: normal;
    font-size: 20px;
    color: #fff;
    background: linear-gradient(var(--bg3), var(--bg3)) padding-box, var(--grad) border-box;
    border: 1px solid transparent;
    margin-bottom: 24px
}

.why h3 {
    font-size: 18px
}

.why p {
    font-size: 14.5px;
    margin: 0
}

/* CTA banner */
.banner {
    max-width: var(--wrap);
    margin: 0 auto 110px;
    border-radius: 28px;
    padding: 70px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(var(--bg2), var(--bg2)) padding-box, linear-gradient(120deg, #7c5cff, #ffffff14 45%, #22d3ee) border-box;
    border: 1px solid transparent
}

.banner:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse 60% 120% at 0 0, #7c5cff40, transparent 60%), radial-gradient(ellipse 50% 120% at 100% 100%, #22d3ee2e, transparent 60%)
}

.banner h2 {
    font-size: clamp(2rem, 3.4vw, 3.2rem);
    max-width: 680px
}

.banner p:not(.eyebrow) {
    color: #c3c9de;
    max-width: 600px;
    font-size: 17px;
    margin: 0
}

.banner .btn {
    flex-shrink: 0
}

/* ---------- Footer ---------- */
.footer {
    background: #030409;
    border-top: 1px solid var(--line);
    padding: 64px var(--gut) 0
}

.footgrid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px
}

.footgrid>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px
}

.footgrid b {
    font: 700 14px Manrope, sans-serif;
    margin-bottom: 6px;
    color: #fff
}

.footgrid a,
.footgrid p {
    font-size: 14px;
    color: var(--muted);
    margin: 0
}

.footgrid a:hover {
    color: #fff
}

.footbrand p {
    margin-top: 16px;
    max-width: 280px
}

.footbottom {
    border-top: 1px solid var(--line);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--dim);
    font-size: 12.5px
}

/* ---------- Inner pages ---------- */
.pagehero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 110px var(--gut) 100px;
    border-bottom: 1px solid var(--line)
}

.pagehero h1 {
    max-width: 960px;
    font-size: clamp(2.5rem, 5.4vw, 4.6rem)
}

.pagehero p:not(.eyebrow) {
    max-width: 680px;
    color: #c3c9de;
    font-size: 18px;
    margin-top: 22px
}

.pagehero .neural {
    opacity: .55
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px
}

.split p:not(.eyebrow) {
    font-size: 17px
}

.values {
    background: var(--bg2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.valuegrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 44px
}

.valuegrid article {
    padding: 28px 24px
}

.valuegrid span {
    font: 800 11px Manrope, sans-serif;
    letter-spacing: .14em;
    color: var(--gold)
}

.valuegrid h3 {
    margin-top: 20px
}

.valuegrid p {
    font-size: 14.5px;
    margin: 0
}

.detail {
    display: grid;
    grid-template-columns: 60px 1fr 260px;
    gap: 34px;
    align-items: center;
    padding: 48px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 95px
}

.detail:first-child {
    padding-top: 0
}

.detail-num {
    font: 800 15px Manrope, sans-serif;
    color: var(--gold);
    letter-spacing: .1em;
    align-self: start;
    padding-top: 8px
}

.detail h2 {
    font-size: clamp(1.8rem, 2.8vw, 2.6rem)
}

.detail>div>p:not(.eyebrow) {
    font-size: 16.5px
}

.detail ul {
    columns: 2;
    padding-left: 0;
    list-style: none;
    font-size: 14.5px;
    margin: 18px 0 0
}

.detail li,
.industrygrid li {
    padding-left: 22px;
    position: relative;
    margin-bottom: 8px;
    break-inside: avoid
}

.detail li:before,
.industrygrid li:before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid var(--cyan)
}

.detail-visual {
    height: 200px;
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    font-size: 72px;
    color: #fff;
    text-shadow: 0 0 40px #22d3ee;
    background: radial-gradient(circle at 70% 25%, #7c5cff55, transparent 60%), radial-gradient(circle at 20% 90%, #22d3ee33, transparent 60%), var(--bg3);
    border: 1px solid var(--line)
}

.notice {
    background: #e9c77b0a;
    border: 1px solid #e9c77b33;
    border-radius: 16px;
    padding: 24px 26px;
    margin: 44px 0 0
}

.notice b {
    font: 700 15px Manrope, sans-serif;
    color: var(--gold)
}

.notice p {
    font-size: 14px;
    margin: 8px 0 0
}

.notice+.casegrid {
    margin-top: 30px
}

.industrygrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px
}

.industrygrid article {
    padding: 34px;
    scroll-margin-top: 95px
}

.industrygrid h2 {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem)
}

.industrygrid ul {
    list-style: none;
    padding: 0;
    font-size: 14.5px;
    margin: 18px 0
}

.symbol {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 24px;
    border-radius: 16px;
    margin-bottom: 26px;
    background: linear-gradient(var(--bg3), var(--bg3)) padding-box, var(--grad) border-box;
    border: 1px solid transparent;
    box-shadow: 0 0 30px #7c5cff33
}

.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.tags span {
    font-size: 12px;
    border: 1px solid var(--line2);
    color: #c3c9de;
    border-radius: 999px;
    padding: 5px 12px
}

.stack {
    border-top: 1px solid var(--line)
}

.stack article {
    display: grid;
    grid-template-columns: 70px 1fr 120px;
    gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
    align-items: center;
    transition: background .3s
}

.stack article:hover {
    background: linear-gradient(90deg, transparent, #7c5cff12, transparent)
}

.stack article>span {
    font: 800 28px Manrope, sans-serif;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.stack h3 {
    margin-bottom: 6px;
    font-size: 21px
}

.stack p {
    font-size: 15px;
    margin: 0
}

.stack article>b {
    font-size: 11px;
    letter-spacing: .2em;
    color: var(--gold);
    text-align: right
}

.casegrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.caseart {
    height: 200px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 1px solid var(--line)
}

.caseart span {
    font-size: 11px;
    letter-spacing: .18em;
    font-weight: 700;
    color: #ffffffb0
}

.caseart b {
    font: 800 24px Manrope, sans-serif;
    line-height: 1.15;
    color: #fff
}

.casebody {
    padding: 26px
}

.casebody h2 {
    font-size: 22px
}

.casebody p:not(.eyebrow) {
    font-size: 14.5px
}

.contactgrid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 70px
}

.contactgrid>div>p:not(.eyebrow) {
    font-size: 16.5px
}

.next {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    gap: 18px;
    counter-reset: n
}

.next li {
    counter-increment: n;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    font-size: 15px
}

.next li:before {
    content: counter(n);
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font: 800 14px Manrope, sans-serif;
    color: #fff;
    background: linear-gradient(var(--bg3), var(--bg3)) padding-box, var(--grad) border-box;
    border: 1px solid transparent
}

.next b {
    display: block
}

.mail {
    color: var(--cyan);
    font-weight: 700;
    font-size: 18px
}

.formbox {
    padding: 38px;
    border-radius: 24px;
    background: linear-gradient(170deg, #141833, #0a0c19) padding-box, linear-gradient(160deg, #7c5cff66, #ffffff10 45%, #22d3ee44) border-box;
    border: 1px solid transparent;
    box-shadow: 0 40px 90px #0008
}

.formbox h2 {
    font-size: 28px
}

.fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.fields label {
    font-size: 13px;
    font-weight: 700;
    color: #d5daea
}

.fields .full {
    grid-column: 1/-1
}

.fields input,
.fields select,
.fields textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 13px 14px;
    border: 1px solid var(--line2);
    border-radius: 12px;
    font: 15px "DM Sans", sans-serif;
    color: var(--text);
    background: #05060d99;
    transition: border-color .2s, box-shadow .2s
}

.fields select option {
    background: var(--bg2)
}

.fields input::placeholder,
.fields textarea::placeholder {
    color: var(--dim)
}

.fields input:focus,
.fields select:focus,
.fields textarea:focus {
    outline: 0;
    border-color: var(--violet);
    box-shadow: 0 0 0 4px #7c5cff2e
}

.consent {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
    margin: 20px 0;
    align-items: flex-start
}

.consent input {
    margin-top: 4px;
    accent-color: var(--violet)
}

.consent a,
.prose a,
.inline-link {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 3px
}

.status {
    font-size: 13px;
    margin-top: 14px
}

/* Long-form text pages (privacy policy) */
.prose {
    max-width: 820px
}

.prose h2 {
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    margin-top: 44px
}

.prose h2:first-child {
    margin-top: 0
}

.prose p {
    font-size: 16px
}

/* ---------- Scroll reveal (main.js adds .pending only to off-screen items) ---------- */
.reveal.pending {
    opacity: 0;
    transform: translateY(26px)
}

.reveal.in {
    transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1)
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }

    .reveal.pending {
        opacity: 1;
        transform: none
    }
}

/* ---------- Responsive ---------- */
@media(max-width:1100px) {
    .nav {
        gap: 14px;
        font-size: 12.5px
    }

    .section {
        padding: 90px 5%
    }

    .banner {
        margin: 0 5% 90px;
        padding: 56px 44px
    }

    .footgrid {
        grid-template-columns: repeat(2, 1fr)
    }

    .pains,
    .why {
        grid-template-columns: repeat(2, 1fr)
    }

    .detail {
        grid-template-columns: 50px 1fr 200px
    }
}

/* Collapse the navigation into the menu button before the links run out of room */
@media(max-width:1080px) {
    .menu {
        display: block;
        cursor: pointer
    }

    .nav {
        display: none;
        position: absolute;
        top: 85px;
        left: 0;
        right: 0;
        background: #05060df5;
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--line);
        padding: 14px 5% 24px;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        font-size: 16px
    }

    .nav.open {
        display: flex
    }

    .nav a {
        padding: 13px 0;
        border-bottom: 1px solid var(--line)
    }

    .nav a.active:not(.cta-nav):after {
        display: none
    }

    .nav .cta-nav {
        text-align: center;
        margin-top: 16px;
        border-bottom: 1px solid transparent
    }
}

@media(max-width:900px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 70px
    }

    .console {
        max-width: 520px
    }

    .scroll-cue {
        display: none
    }

    .strip {
        grid-template-columns: repeat(2, 1fr)
    }

    .strip article,
    .strip article:first-child {
        padding: 24px 18px 24px 0;
        border-right: 0
    }

    .cards,
    .features,
    .casegrid {
        grid-template-columns: repeat(2, 1fr)
    }

    .band-inner {
        grid-template-columns: 1fr;
        gap: 50px
    }

    .split {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .valuegrid {
        grid-template-columns: repeat(2, 1fr)
    }

    .detail {
        grid-template-columns: 40px 1fr
    }

    .detail-visual {
        grid-column: 2;
        height: 150px
    }

    .industrygrid {
        grid-template-columns: 1fr
    }

    .contactgrid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .banner {
        display: block
    }

    .banner .btn {
        margin-top: 28px
    }
}

@media(max-width:600px) {
    body {
        font-size: 15px
    }

    .header {
        height: 74px;
        padding: 0 16px
    }

    .nav {
        top: 73px;
        padding: 10px 16px 22px
    }

    .brand {
        width: 200px
    }

    .hero {
        padding: 50px 16px 70px;
        gap: 40px
    }

    .hero h1 {
        font-size: clamp(2.4rem, 11vw, 3.4rem)
    }

    .metrics b {
        font-size: 18px
    }

    .feed div {
        font-size: 12px;
        padding: 10px
    }

    .strip {
        grid-template-columns: 1fr;
        padding: 0 16px
    }

    .strip article,
    .strip article:first-child {
        padding: 20px 0;
        border-bottom: 1px solid var(--line)
    }

    .strip article:last-child {
        border-bottom: 0
    }

    .section {
        padding: 70px 16px
    }

    .section-head {
        display: block
    }

    .intro {
        margin-top: 18px
    }

    .pains,
    .why,
    .cards,
    .features,
    .casegrid,
    .valuegrid,
    .steps {
        grid-template-columns: 1fr
    }

    .pains time {
        margin-bottom: 18px
    }

    .band {
        padding: 70px 16px
    }

    .banner {
        margin: 0 16px 70px;
        padding: 40px 24px;
        border-radius: 22px
    }

    .footer {
        padding: 50px 16px 0
    }

    .footgrid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 18px
    }

    .footbrand {
        grid-column: 1/-1
    }

    .footbrand .brand {
        width: 280px
    }

    .footbottom {
        flex-direction: column;
        gap: 8px
    }

    .pagehero {
        padding: 64px 16px 60px
    }

    .pagehero h1 {
        font-size: clamp(2.3rem, 10.5vw, 3.3rem)
    }

    .pagehero p:not(.eyebrow) {
        font-size: 16px
    }

    .detail {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 36px 0
    }

    .detail-visual {
        grid-column: auto;
        height: 120px;
        font-size: 54px
    }

    .detail ul {
        columns: 1
    }

    .industrygrid article {
        padding: 26px 22px
    }

    .stack article {
        grid-template-columns: 44px 1fr;
        gap: 14px
    }

    .stack article>span {
        font-size: 22px
    }

    .stack article>b {
        display: none
    }

    .fields {
        grid-template-columns: 1fr
    }

    .fields .full {
        grid-column: auto
    }

    .formbox {
        padding: 26px 18px
    }
}
