/* Webwise — site styles
   Theme: flyer palette — deep night navy, violet→blue neon, cyan highlights. */

@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-extrabold.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --ink: #060A1A;
  --night: #0B1130;
  --night-2: #111a42;
  --line: rgba(150, 160, 255, .16);
  --line-strong: rgba(168, 140, 255, .38);
  --text: #EEF1FF;
  --muted: #A7AFD3;
  --violet: #A855F7;
  --indigo: #6366F1;
  --blue: #3B82F6;
  --cyan: #38D9F5;
  --paper: #F4F6FD;
  --paper-ink: #0B1026;
  --paper-muted: #4A5378;
  --grad: linear-gradient(100deg, #3B82F6 0%, #7C6CF8 45%, #A855F7 75%, #C084FC 100%);
  --grad-text: linear-gradient(95deg, #4F8BFF 0%, #8B6CFA 50%, #B266F2 100%);
  --glow: 0 0 0 1px rgba(168, 85, 247, .35), 0 10px 40px -8px rgba(124, 108, 248, .55);
  --radius-lg: 22px;
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --script: "Caveat", "Inter Display", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.1rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(168, 85, 247, .45); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--paper-ink); padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { color: var(--cyan); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; font-size: .82rem; margin: 0 0 1rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: #D5DAF2; max-width: 38em; }
.muted { color: var(--muted); }
.script { font-family: var(--script); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8em 1.5em; border-radius: 999px;
  font: 600 1rem/1.2 var(--font); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(192, 132, 252, .6), 0 14px 48px -6px rgba(124, 108, 248, .8); }
.btn-ghost { background: rgba(255, 255, 255, .03); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--cyan); box-shadow: 0 0 24px -6px rgba(56, 217, 245, .6); }
.btn-light { background: #fff; color: var(--paper-ink); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(255, 255, 255, .5); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { color: var(--cyan); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link svg { width: 18px; height: 18px; }

/* ---------- Top bar ---------- */
.topbar { background: #04071A; border-bottom: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { text-decoration: none; color: #CDD3F0; }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; gap: 22px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; color: var(--violet); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(6, 10, 26, .82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); transition: background-color .2s ease; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.scrolled::before { background: rgba(6, 10, 26, .94); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.brand-mark { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 1.72rem; letter-spacing: -.035em; }
.brand-tag { font-weight: 600; font-size: .58rem; letter-spacing: .2em; color: #D9DDF3; margin-top: 6px; white-space: nowrap; }
.nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-list a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .98rem; color: #D6DBF4; position: relative; }
.nav-list a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav-list a[aria-current="page"] { color: #fff; }
.nav-list a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad); box-shadow: 0 0 10px rgba(168, 85, 247, .9); }
.header-cta { flex: none; min-height: 46px; padding-inline: 1.25em; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-mobile-cta { display: none; }

@media (max-width: 1080px) {
  .header-cta { display: none; }
}
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 0; top: var(--header-offset, 80px); margin: 0; background: #060A1A; padding: 24px var(--gutter) 40px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; overflow-y: auto; }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { font-size: 1.35rem; padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-list a[aria-current="page"]::after { left: 6px; right: auto; width: 40px; bottom: -1px; }
  .nav-mobile-cta { display: grid; gap: 12px; margin-top: 28px; }
  .nav-mobile-cta .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .topbar .topbar-loc, .topbar .topbar-mail { display: none; }
  .topbar .wrap { justify-content: center; }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 42px; }
  .brand-name { font-size: 1.45rem; }
  .brand-tag { font-size: .5rem; letter-spacing: .16em; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.paper { background: var(--paper); color: var(--paper-ink); border-radius: clamp(24px, 4vw, 44px); }
.paper .muted, .paper .section-head p { color: var(--paper-muted); }
.paper .kicker { color: #5B4BE8; }
.band { background: linear-gradient(180deg, var(--night) 0%, #0A0F2A 100%); border-block: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 80px); padding-bottom: 0; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(124, 108, 248, .30), rgba(59, 130, 246, .10) 55%, transparent 75%); z-index: -1; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(6, 10, 26, .9)); z-index: -1; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 1.8em; }
.hero-quote { border-left: 2px solid var(--violet); padding-left: 16px; margin: 34px 0 0; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .9rem; line-height: 1.45; color: #E5E8F8; max-width: 26em; }
.hero-quote span { color: #7FB2FF; }
.perks { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 40px; max-width: 560px; }
.perks li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-weight: 600; font-size: .95rem; line-height: 1.25; }
.perks svg { width: 40px; height: 40px; color: var(--violet); filter: drop-shadow(0 0 8px rgba(168, 85, 247, .55)); }
.skyline { width: 100%; height: auto; margin-top: clamp(32px, 5vw, 56px); color: var(--violet); }
.skyline .glow { filter: drop-shadow(0 0 6px rgba(168, 85, 247, .9)); }

/* Page hero (inner pages) */
.page-hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; right: -15%; top: -40%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(closest-side, rgba(124, 108, 248, .28), rgba(59, 130, 246, .08) 60%, transparent 75%); z-index: -1; }
.page-hero h1 { max-width: 15em; }
.page-hero .lead { margin-top: .6em; }
.page-hero .btn-row { margin-top: 30px; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #5D668F; }
.crumbs a { text-decoration: none; color: #C8CEEC; }
.crumbs li[aria-current] { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs ol { flex-wrap: nowrap; min-width: 0; }
.crumbs li { flex: none; }
.crumbs li[aria-current] { flex: 0 1 auto; }
.crumbs a:hover { color: #fff; }

/* ---------- Device mockup ---------- */
.devices { position: relative; aspect-ratio: 1.25 / 1; width: 100%; max-width: 620px; justify-self: end; }
.laptop { position: absolute; left: 0; top: 4%; width: 88%; }
.laptop-screen { background: #0A0E20; border: 10px solid #1A1E2E; border-bottom-width: 14px; border-radius: 18px 18px 6px 6px; aspect-ratio: 16 / 10; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), 0 0 60px -10px rgba(124, 108, 248, .45); }
.laptop-base { height: 16px; margin: 0 -7%; background: linear-gradient(180deg, #C9CCD8, #8B8FA0); border-radius: 0 0 16px 16px; box-shadow: 0 18px 30px -10px rgba(0, 0, 0, .8); position: relative; }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; transform: translateX(-50%); background: #7A7E90; border-radius: 0 0 8px 8px; }
.phone { position: absolute; right: 0; bottom: 2%; width: 30%; aspect-ratio: 9 / 19; border-radius: 26px; border: 7px solid #1A1E2E; background: #0A0E20; overflow: hidden; box-shadow: 0 30px 60px -10px rgba(0, 0, 0, .85), 0 0 40px -6px rgba(124, 108, 248, .5); }
.mini { position: relative; height: 100%; background: linear-gradient(180deg, #0B1035 0%, #24206B 55%, #4A3C9A 78%, #E08DB5 100%); color: #fff; font-family: var(--font); }
.mini-sky { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; }
.mini-nav { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 4% 6%; font-size: clamp(6px, .8vw, 10px); font-weight: 600; }
.mini-nav b { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 1.15em; }
.mini-nav b img { width: 1.5em; }
.mini-nav span { opacity: .85; margin-left: 1.2em; }
.mini-hero { position: relative; padding: 6% 6% 0; }
.mini-hero strong { display: block; font-weight: 800; font-style: italic; font-size: clamp(14px, 2.3vw, 30px); line-height: 1.02; letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.mini-hero small { display: block; margin-top: 6px; font-size: clamp(6px, .75vw, 10px); opacity: .9; }
.mini-hero i { display: inline-block; margin-top: 10px; padding: .5em 1.1em; border-radius: 6px; background: var(--grad); font-style: normal; font-weight: 700; font-size: clamp(6px, .75vw, 10px); box-shadow: 0 0 14px rgba(168, 85, 247, .8); }
.phone .mini-nav { padding-top: 14%; }
.phone .mini-hero strong { font-size: clamp(12px, 1.5vw, 19px); }
.phone .mini-hero { padding-top: 14%; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { background: linear-gradient(180deg, rgba(20, 28, 72, .7), rgba(11, 17, 48, .7)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); position: relative; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.icon-badge { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(168, 85, 247, .12); border: 1px solid rgba(168, 85, 247, .38); margin-bottom: 20px; color: #C9A6FF; box-shadow: 0 0 22px -6px rgba(168, 85, 247, .7); }
.icon-badge svg { width: 28px; height: 28px; }
.service-card { display: flex; flex-direction: column; }
.service-card .text-link { margin-top: auto; padding-top: 14px; }
.service-card:hover { border-color: var(--line-strong); }
.service-card.feature { border-color: rgba(168, 85, 247, .45); box-shadow: 0 0 60px -20px rgba(168, 85, 247, .6); }

.checklist { list-style: none; display: grid; gap: 16px; }
.checklist li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; }
.checklist li > svg { width: 30px; height: 30px; margin-top: -1px; }
.checklist strong { display: block; font-weight: 600; }
.checklist span { display: block; font-size: .95rem; color: var(--muted); }
.paper .checklist span { color: var(--paper-muted); }
.tick-list { list-style: none; display: grid; gap: 10px; }
.tick-list li { position: relative; padding-left: 30px; }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 14px; height: 8px; border-left: 2.5px solid var(--violet); border-bottom: 2.5px solid var(--violet); transform: rotate(-45deg); filter: drop-shadow(0 0 4px rgba(168, 85, 247, .8)); }
.tick-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }

/* Included panel */
.included { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(32px, 5vw, 64px); }
.included h2 { margin-bottom: .2em; }
.mission-card { background: var(--ink); color: var(--text); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(11, 16, 38, .7); }
.mission-card::before { content: ""; position: absolute; right: -30%; top: -40%; width: 90%; height: 120%; background: radial-gradient(closest-side, rgba(124, 108, 248, .35), transparent 70%); }
.mission-card > * { position: relative; }
.mission-script { font-family: var(--script); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: .95; color: #B37BFF; transform: rotate(-6deg); transform-origin: left; margin: 6px 0 26px; text-shadow: 0 0 18px rgba(168, 85, 247, .55); }
.mission-words { list-style: none; display: grid; gap: 4px; font-size: 1.35rem; font-weight: 600; }
.mission-words li:nth-child(1) { color: #8FB6FF; }
.mission-words li:nth-child(2) { color: #B79CFF; }
.mission-words li:nth-child(3) { color: #D9A8FF; }
.mission-card .btn-row { margin-top: 28px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: rgba(11, 17, 48, .6); }
.stat { padding: clamp(22px, 3vw, 36px); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 14px rgba(124, 108, 248, .45)); }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-weight: 600; }
.stats.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Industries */
.industries { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.industries h2 { color: var(--cyan); }
.industry-list { list-style: none; display: grid; gap: 12px; margin-top: 24px; font-size: 1.1rem; }
.industry-list li { display: flex; align-items: center; gap: 12px; }
.industry-list svg { width: 22px; height: 22px; color: var(--violet); flex: none; }
.promise-list { list-style: none; display: grid; gap: 14px; }
.promise { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(11, 17, 48, .55); }
.promise svg { width: 40px; height: 40px; color: var(--violet); filter: drop-shadow(0 0 8px rgba(168, 85, 247, .6)); }
.promise strong { display: block; font-size: 1.1rem; }
.promise span { color: var(--muted); font-size: .97rem; }

/* Steps (true sequence) */
.steps { list-style: none; display: grid; grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr)); gap: 22px; counter-reset: step; position: relative; }
.step { position: relative; padding: 30px 26px 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(11, 17, 48, .6); counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-weight: 800; font-size: 1.15rem; color: #fff; background: var(--grad); box-shadow: 0 0 22px rgba(124, 108, 248, .7); margin-bottom: 20px; }
.step h3 { margin-bottom: .4em; }
.step p { color: var(--muted); margin: 0; }
.paper .step { background: #fff; border-color: #E2E6F5; }
.paper .step p { color: var(--paper-muted); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: clamp(24px, 4vw, 40px); padding: clamp(36px, 6vw, 72px); background: radial-gradient(120% 140% at 0% 0%, #3B2A9E 0%, #1B1D6B 40%, #0B1130 75%); border: 1px solid var(--line-strong); box-shadow: 0 0 80px -30px rgba(168, 85, 247, .8); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: #D3D8F4; margin: 0; font-size: 1.12rem; }
.cta-contact { display: grid; gap: 14px; }
.contact-pill { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 16px; background: rgba(6, 10, 26, .55); border: 1px solid var(--line-strong); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-pill:hover { border-color: var(--cyan); box-shadow: 0 0 26px -8px rgba(56, 217, 245, .7); }
.contact-pill svg { width: 26px; height: 26px; color: var(--violet); flex: none; }
.contact-pill small { display: block; color: var(--muted); font-size: .82rem; }
.contact-pill b { display: block; font-size: 1.12rem; font-weight: 600; overflow-wrap: anywhere; }

/* Partner teaser / quote */
.statement { font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.18; letter-spacing: -.025em; max-width: 24em; }
.statement em { font-style: normal; color: #B79CFF; }

/* Comparison table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: rgba(11, 17, 48, .55); }
.compare th, .compare td { text-align: left; padding: 18px 22px; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: .95rem; color: var(--muted); font-weight: 600; background: rgba(6, 10, 26, .5); }
.compare thead th:last-child { color: #fff; background: linear-gradient(100deg, rgba(59, 130, 246, .25), rgba(168, 85, 247, .3)); }
.compare td:first-child { color: var(--muted); width: 22%; font-weight: 600; }
.compare td:nth-child(2) { color: #8D95BB; width: 34%; }
.compare td:last-child { color: #fff; }

/* Showcase (partner work) */
.showcase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.show-item { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--night); display: flex; flex-direction: column; text-decoration: none; color: inherit; position: relative; transition: transform .3s cubic-bezier(.2, .7, .2, 1), border-color .3s ease, box-shadow .3s ease; }
a.show-item:hover, a.show-item:focus-visible { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 24px 60px -20px rgba(124, 108, 248, .55), 0 0 0 1px rgba(168, 85, 247, .35); }
a.show-item:focus-visible { outline: none; }
.show-screen { aspect-ratio: 16 / 10; position: relative; overflow: hidden; display: flex; flex-direction: column; color: #fff; background: #0A0E20; border-bottom: 1px solid var(--line); }
.show-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.show-bar { display: flex; justify-content: space-between; align-items: center; padding: 3% 5%; font-size: .66rem; font-weight: 700; letter-spacing: .04em; background: rgba(0, 0, 0, .4); position: relative; z-index: 1; }
.show-bar i { font-style: normal; padding: 3px 8px; border-radius: 4px; background: #F5B014; color: #1A1200; }
.show-copy { margin-top: auto; padding: 0 6% 8%; position: relative; z-index: 1; }
.show-copy strong { display: block; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.show-copy i { display: inline-block; margin-top: 10px; font-style: normal; font-weight: 700; font-size: .68rem; padding: 5px 10px; border-radius: 5px; }

/* Partner screenshots — zoomed-in top crop of each real site */
.partner-shot { aspect-ratio: 16 / 10; position: relative; }
.partner-shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 10, 26, .4));
  opacity: 0; transition: opacity .3s ease;
}
.partner-shot img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.partner-card:hover .partner-shot img,
.partner-card:focus-visible .partner-shot img { transform: scale(1.04); }
.partner-card:hover .partner-shot::after,
.partner-card:focus-visible .partner-shot::after { opacity: 1; }

.show-item figcaption { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.partner-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.partner-head strong { font-size: 1.1rem; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.partner-cat { color: var(--cyan); font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.partner-desc { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.partner-meta { display: inline-flex; align-items: center; gap: 6px; color: #9DA6CF; font-size: .85rem; font-weight: 600; }
.partner-meta svg { width: 14px; height: 14px; color: var(--violet); flex: none; }

/* Hover-reveal link bar: slides up from the bottom when the card is hovered */
.partner-link {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin: 12px -22px -22px; padding: 14px 22px;
  background: linear-gradient(90deg, rgba(59, 130, 246, .25), rgba(168, 85, 247, .35));
  border-top: 1px solid rgba(168, 85, 247, .4);
  color: #fff; font-weight: 600; font-size: .92rem;
  transform: translateY(100%); opacity: 0;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), opacity .25s ease;
}
.partner-host { display: inline-flex; align-items: center; gap: 8px; }
.partner-host::before { content: "↗"; color: var(--cyan); font-weight: 800; }
.partner-arrow svg { width: 18px; height: 18px; }
.partner-card:hover .partner-link,
.partner-card:focus-visible .partner-link { transform: translateY(0); opacity: 1; }
.partner-card:hover .partner-arrow svg,
.partner-card:focus-visible .partner-arrow svg { transform: translateX(4px); transition: transform .25s ease; }

/* Touch devices: always show the link so it's not hidden behind a hover state */
@media (hover: none) {
  .partner-link { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .show-item, .partner-link, .partner-arrow svg { transition: none; }
  a.show-item:hover, a.show-item:focus-visible { transform: none; }
}

/* Case studies */
.case { display: flex; flex-direction: column; }
.case .tag { align-self: flex-start; font-size: .8rem; font-weight: 600; color: var(--cyan); border: 1px solid rgba(56, 217, 245, .4); padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.case-metric { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 12px; }
.case-metric b { font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-metric span { color: var(--muted); font-size: .95rem; line-height: 1.3; }

/* Service detail blocks */
.svc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); padding-block: clamp(44px, 6vw, 72px); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc:first-of-type { border-top: 0; padding-top: 0; }
.svc h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.svc-intro p { color: var(--muted); }
.svc-intro .icon-badge { margin-bottom: 22px; }
.svc-body { display: grid; gap: 18px; align-content: start; }
.svc-points { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.svc-points li { padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(11, 17, 48, .55); }
.svc-points strong { display: block; margin-bottom: 4px; }
.svc-points span { color: var(--muted); font-size: .95rem; display: block; line-height: 1.5; }
.svc-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.svc-jump a { text-decoration: none; font-weight: 600; font-size: .92rem; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); color: #D6DBF4; }
.svc-jump a:hover { border-color: var(--cyan); color: #fff; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(11, 17, 48, .55); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--violet); border-bottom: 2px solid var(--violet); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 22px 20px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.member { text-align: left; }
.avatar { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; color: #fff; background: var(--grad); box-shadow: 0 0 24px -4px rgba(124, 108, 248, .8); margin-bottom: 18px; }
.member h3 { font-size: 1.15rem; margin-bottom: .2em; }
.member p { color: var(--cyan); font-weight: 600; font-size: .95rem; margin: 0; }

/* Values */
.value-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--line); }
.value { padding: clamp(24px, 3vw, 40px) clamp(18px, 3vw, 36px); border-right: 1px solid var(--line); }
.value:first-child { padding-left: 0; }
.value:last-child { border-right: 0; padding-right: 0; }
.value h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .35em; }
.value p { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.prose-col p { color: #CBD1EE; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: rgba(11, 17, 48, .6); text-decoration: none; transition: border-color .2s ease; }
.post-card:hover { border-color: var(--line-strong); }
.post-card:hover h3 { color: #fff; text-decoration: underline; text-decoration-color: var(--violet); text-underline-offset: 5px; }
.post-art { aspect-ratio: 16 / 9; display: grid; place-items: center; position: relative; overflow: hidden; }
.post-art svg { width: 22%; height: auto; color: #fff; opacity: .95; filter: drop-shadow(0 0 16px rgba(255, 255, 255, .35)); }
.art-1 { background: radial-gradient(90% 120% at 10% 10%, #4F46E5, #1E1B4B 70%); }
.art-2 { background: radial-gradient(90% 120% at 90% 10%, #2563EB, #0B1E4F 70%); }
.art-3 { background: radial-gradient(90% 120% at 50% 100%, #9333EA, #2A0E4F 70%); }
.art-4 { background: radial-gradient(90% 120% at 0% 100%, #0891B2, #0B1E3A 70%); }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .85rem; color: var(--muted); margin-bottom: 10px; display: flex; gap: 10px; flex-wrap: wrap; }
.post-meta .cat { color: var(--cyan); font-weight: 600; }
.post-card h3 { font-size: 1.22rem; line-height: 1.25; color: #F2F4FF; }
.post-card p { color: var(--muted); font-size: .98rem; margin: 0; }
.post-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin-bottom: 22px; }
.post-feature .post-art { aspect-ratio: auto; min-height: 320px; }
.post-feature .post-body { padding: clamp(26px, 4vw, 44px); justify-content: center; }
.post-feature h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* Article */
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: none; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: .95rem; margin-top: 18px; }
.article-meta .cat { color: var(--cyan); font-weight: 600; }
.article { font-size: 1.12rem; line-height: 1.75; color: #D5DAF2; }
.article h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 1.8em 0 .55em; color: #fff; }
.article h3 { margin: 1.5em 0 .4em; color: #fff; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article li { margin-bottom: .5em; }
.article li::marker { color: var(--violet); }
.article strong { color: #fff; }
.article a { color: var(--cyan); }
.article blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--violet); font-size: 1.25rem; font-weight: 600; color: #fff; }
.article-cta { margin-top: 48px; padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: linear-gradient(120deg, rgba(59, 130, 246, .14), rgba(168, 85, 247, .18)); }
.article-cta h2 { margin-top: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: grid; grid-template-columns: 60px 1fr; gap: 18px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(11, 17, 48, .6); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
a.contact-card:hover { border-color: var(--cyan); box-shadow: 0 0 30px -10px rgba(56, 217, 245, .7); }
.contact-card .icon-badge { margin: 0; }
.contact-card small { display: block; color: var(--muted); font-size: .88rem; }
.contact-card b { display: block; font-size: 1.2rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-card em { display: block; font-style: normal; color: var(--cyan); font-size: .92rem; font-weight: 600; margin-top: 2px; }
.form-card { padding: clamp(24px, 4vw, 40px); }
.form-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.field { display: grid; gap: 8px; margin-bottom: 18px; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label, legend { font-weight: 600; font-size: .95rem; }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: rgba(6, 10, 26, .7);
  border: 1px solid var(--line-strong); border-radius: 12px; padding: 13px 15px; min-height: 50px;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(168, 85, 247, .25); }
fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .93rem; font-weight: 600; color: #CBD1EE; transition: all .15s ease; }
.chip input:checked + span { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 0 16px -2px rgba(124, 108, 248, .7); }
.chip input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.form-note { font-size: .9rem; color: var(--muted); margin-top: 14px; }
.form-error { color: #FDA4AF; font-size: .92rem; margin: 0 0 12px; min-height: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); background: #04071A; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-top: 64px; }
.footer-brand img { width: 230px; height: auto; }
.footer-brand p { color: var(--muted); margin-top: 18px; max-width: 26em; }
.footer-col h2 { font-size: .95rem; letter-spacing: .02em; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { text-decoration: none; color: #B9C0E2; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; display: grid; gap: 8px; color: #B9C0E2; }
.footer-signoff { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 18px; margin-top: 48px; }
.footer-signoff .skyline { margin: 0; }
.footer-signoff .sign { font-family: var(--script); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); white-space: nowrap; color: #E9E4FF; padding-bottom: 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 22px 28px; border-top: 1px solid var(--line); color: #7E87B2; font-size: .88rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.notfound h1 { font-size: clamp(4rem, 14vw, 9rem); line-height: 1; }
.notfound .btn-row { justify-content: center; }

/* ---------- Load moment ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; }
  .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .hero-copy > *:nth-child(4) { animation-delay: .18s; }
  .hero-copy > *:nth-child(5) { animation-delay: .24s; }
  .devices { animation: rise 1s .15s cubic-bezier(.2, .7, .2, 1) both; }
  .skyline .glow { animation: hum 5s ease-in-out infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hum { 0%, 100% { opacity: 1; } 50% { opacity: .72; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero-grid, .included, .industries, .cta-band, .split, .contact-grid, .svc, .post-feature { grid-template-columns: 1fr; }
  .devices { justify-self: center; max-width: 560px; }
  .grid-3, .post-grid, .showcase { grid-template-columns: 1fr 1fr; }
  .grid-4, .team { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stats.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
  .stats.cols-3 .stat:nth-child(2) { border-right: 1px solid var(--line); }
  .stats.cols-3 .stat { border-bottom: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .post-feature .post-art { min-height: 220px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .perks { grid-template-columns: 1fr 1fr; gap: 18px; }
  .perks li { flex-direction: row; align-items: center; }
  .perks svg { width: 32px; height: 32px; }
  .btn-row .btn { flex: 1 1 100%; }
  .grid-3, .grid-2, .post-grid, .showcase, .steps, .svc-points, .tick-list.cols-2 { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .value-trio { grid-template-columns: 1fr; }
  .value { border-right: 0; border-bottom: 1px solid var(--line); padding-inline: 0; }
  .value:last-child { border-bottom: 0; }
  .stats.cols-3 { grid-template-columns: 1fr; }
  .stats.cols-3 .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats.cols-3 .stat:last-child { border-bottom: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-signoff { grid-template-columns: 1fr; justify-items: center; }
  .footer-signoff .skyline:first-child { display: none; }
  .footer-bottom { flex-direction: column; }
  .compare th, .compare td { padding: 14px; font-size: .95rem; }
  .compare td:first-child { width: auto; }
  .hero-quote { font-size: .82rem; }
  .included { padding: 28px 20px; }
  .paper.included-shell { border-radius: 24px; }
}
@media (max-width: 560px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100%; }
  .compare tr { border-bottom: 1px solid var(--line); padding: 14px 0; }
  .compare tr:last-child { border-bottom: 0; }
  .compare td { border: 0; padding: 4px 18px; }
  .compare td:first-child { color: #fff; }
  .compare td:nth-child(2)::before { content: "Typical agency: "; font-weight: 600; color: #6F789F; }
  .compare td:last-child::before { content: "Webwise partnership: "; font-weight: 600; color: var(--cyan); }
}
@media (max-width: 400px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 340px) { .team { grid-template-columns: 1fr; } }
@media print {
  .site-header, .topbar, .site-footer, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
}
.section + .section-tight { padding-top: 0; }

/* ---------- Contact form states ---------- */
.req { color: #F0A6FF; font-weight: 800; }
.optional, .legend-hint { color: var(--muted); font-weight: 400; font-size: .88rem; }
.legend-hint { display: block; margin-top: 2px; }
.form-card .field-error { margin: 0; min-height: 0; color: #FDA4AF; font-size: .88rem; line-height: 1.35; }
.field-error:empty { display: none; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #FB7185; box-shadow: 0 0 0 3px rgba(251, 113, 133, .2); }
fieldset[aria-invalid="true"] .chip span { border-color: #FB7185; }
fieldset .field-error { margin-top: 10px; }
.form-error:empty { display: none; }
.form-card .form-error { color: #FECDD3; padding: 12px 14px; border-radius: 12px; background: rgba(251, 113, 133, .1); border: 1px solid rgba(251, 113, 133, .35); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-submit[aria-busy="true"] { opacity: .75; cursor: progress; }
.form-success { text-align: left; padding: 8px 0; }
.form-success:focus { outline: none; }
.form-success .icon-badge { color: #fff; }
.form-success h2 { margin-bottom: .3em; }
.form-success .success-text { font-size: 1.1rem; color: #D5DAF2; }
