:root {
  --bg: #ffffff;
  --bg-soft: #f3f7fd;
  --ink: #0e2744;
  --muted: #4d6480;
  --blue: #1565e0;
  --blue-deep: #0d47a1;
  --blue-soft: #e8f1fc;
  --line: #d4e3f5;
  --card: #ffffff;
  --ok: #0f9f6e;
  --danger: #d14343;
  --wa: #1aa37a;
  --max: 1140px;
  --font: "Inter", "Segoe UI", sans-serif;
  --display: "Manrope", "Segoe UI", sans-serif;
  --shadow: 0 18px 50px -28px rgba(21, 101, 224, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(820px 320px at 0% -8%, rgba(21, 101, 224, 0.08), transparent 60%),
    radial-gradient(640px 280px at 100% 0%, rgba(56, 152, 236, 0.1), transparent 55%),
    var(--bg);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.skip {
  position: absolute; left: 1rem; top: -40px; background: var(--blue); color: #fff;
  padding: .4rem .7rem; border-radius: .5rem; z-index: 80;
}
.skip:focus { top: .6rem; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }

.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(145deg, #4c8dff, #1565e0 55%, #0d47a1);
  display: grid; place-items: center; color: #fff; font-weight: 800;
  font-family: var(--display);
}
.brand strong { display: block; font-family: var(--display); letter-spacing: -0.03em; font-size: 1.05rem; }
.brand small { display: block; color: var(--muted); font-size: .72rem; letter-spacing: .04em; }
.nav { display: flex; gap: 1.15rem; align-items: center; }
.nav a { color: var(--muted); font-size: .92rem; }
.nav a:hover { color: var(--blue); }
.nav .btn { color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; border-radius: 999px;
  padding: .78rem 1.15rem; font-weight: 700; text-decoration: none;
}
.btn-primary { background: linear-gradient(90deg, #1d4ed8, #1565e0 45%, #3b82f6); color: #fff; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: #fff; color: var(--blue-deep); border: 1px solid #b9d0f0; }
.btn-ghost:hover { background: var(--blue-soft); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-block { width: 100%; }

.hero { padding: 1.4rem 0 1rem; }
.hero-grid {
  display: grid; grid-template-columns: 1.25fr .82fr; gap: 1.25rem; align-items: stretch;
}
.hero-visual {
  position: relative; min-height: 620px; border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 62, 0.12) 8%, rgba(8, 28, 62, 0.18) 38%, rgba(8, 36, 78, 0.88) 100%);
}
.hero-copy {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.6rem 1.6rem 1.5rem; color: #fff;
}
.eyebrow {
  margin: 0 0 .7rem; color: var(--blue);
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
}
.hero-copy .eyebrow { color: #d6e6ff; }
h1 {
  margin: 0 0 .75rem; font-family: var(--display);
  font-size: clamp(2.15rem, 4vw, 3.45rem); line-height: 1.02; letter-spacing: -0.04em;
  max-width: 18ch;
}
.lead { margin: 0 0 1rem; color: var(--muted); font-size: 1.05rem; max-width: 52ch; }
.hero-copy .lead { color: #e7f0ff; }
.cta-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: .9rem; }
.hero-points {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1rem;
}
.hero-points li {
  position: relative; padding-left: 1.05rem;
  color: #f4f8ff; font-size: .92rem; line-height: 1.35;
}
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .45rem;
  width: .42rem; height: .42rem; border-radius: 50%; background: #8ec5ff;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.2rem 1.15rem 1.1rem;
  box-shadow: var(--shadow);
}
.form-card h2 { margin: 0 0 .3rem; font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.03em; color: var(--ink); }
.form-card .hint { margin: 0 0 .85rem; color: var(--muted); font-size: .9rem; }
label { display: block; margin: .65rem 0 .28rem; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
input, select, textarea {
  width: 100%; border-radius: 12px; border: 1px solid #c5d8f2;
  background: #f7faff; color: var(--ink); padding: .72rem .8rem; color-scheme: light;
}
textarea { min-height: 84px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8aa0b8; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(21, 101, 224, .45); outline-offset: 1px; border-color: var(--blue); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: .9rem; }
.status { min-height: 1.2em; margin: .55rem 0 0; font-size: .86rem; color: var(--muted); }
.status.ok { color: var(--ok); }
.status.err { color: var(--danger); }
.fine { margin: .7rem 0 0; color: var(--muted); font-size: .75rem; }

.erp-band { padding: .2rem 0 1.5rem; }
.erp-band p { margin: 0 0 .7rem; color: var(--blue-deep); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.erp-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; }
.erp-row a {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 58px; padding: .75rem .6rem;
  border: 1px solid #b9d4f5; border-radius: 14px;
  background: #fff; color: var(--blue-deep);
  font-family: var(--display); font-weight: 800; letter-spacing: -0.03em;
  box-shadow: 0 10px 24px -18px rgba(21, 101, 224, .9);
}
.erp-row a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.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;
}
.table-wrap {
  overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow);
}
.compare { width: 100%; border-collapse: collapse; min-width: 880px; }
.compare th, .compare td { padding: .85rem 1rem; text-align: left; vertical-align: top; }
.compare thead th { color: #fff; font-family: var(--display); letter-spacing: -0.02em; }
.compare thead th:first-child { background: #0e2744; width: 14%; }
.compare thead th:nth-child(2) { background: #5c7190; width: 28%; }
.compare thead th:nth-child(3) { background: #1565e0; width: 28%; }
.compare thead th:nth-child(4),
.compare thead th:nth-child(5) { background: #0b3f86; width: 15%; text-align: center; }
.compare td.save {
  text-align: center; font-family: var(--display); font-weight: 800;
  font-size: 1.05rem; color: #0d47a1; background: #e8f2ff; white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.compare tbody th { font-family: var(--display); font-size: .98rem; color: var(--ink); background: #f7faff; }
.compare td { color: var(--muted); border-bottom: 1px solid var(--line); }
.compare tbody th { border-bottom: 1px solid var(--line); }
.compare td:last-child { color: var(--ink); background: #f3f8ff; }

.soft-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; }
.soft-card {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue);
  border-radius: 18px; padding: 1rem .95rem 1.05rem;
  box-shadow: 0 16px 36px -28px rgba(21, 101, 224, .8);
  display: flex; flex-direction: column; gap: .35rem;
}
.soft-card .ico {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: .2rem;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center;
}
.soft-card .ico svg { width: 22px; height: 22px; }
.soft-card h3 { margin: 0; font-family: var(--display); font-size: 1.08rem; letter-spacing: -0.03em; }
.soft-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.soft-card .where { margin-top: .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-deep); }
.more-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.more-list a, .more-list span {
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  border-radius: 999px; padding: .5rem .8rem; font-weight: 600; font-size: .92rem;
}
.more-list a:hover { border-color: var(--blue); color: var(--blue-deep); background: var(--blue-soft); }
.notify {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.2rem; align-items: center;
  background: linear-gradient(115deg, #0d47a1, #1565e0 52%, #3b82f6);
  color: #fff; border-radius: 24px; padding: 1.35rem 1.4rem;
}
.notify h2 { color: #fff; margin: 0 0 .4rem; }
.notify p { margin: 0; color: #e6efff; }
.notify ul { margin: .7rem 0 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.notify li { padding-left: 1.1rem; position: relative; }
.notify li::before { content: ""; position: absolute; left: 0; top: .5rem; width: .45rem; height: .45rem; border-radius: 50%; background: #fff; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }

.section, .erp-band, #enquiry { scroll-margin-top: 84px; }
.section { padding: 3.2rem 0; }
.section h2 {
  margin: 0 0 .55rem; font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.04em; line-height: 1.1; color: var(--ink);
}
.sub { margin: 0 0 1.4rem; color: var(--muted); max-width: 64ch; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.4rem; align-items: center; }
.split.reverse { grid-template-columns: .9fr 1.1fr; }
.frame {
  border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: #fff;
}
.frame img { width: 100%; height: 420px; object-fit: cover; }
.frame figcaption { padding: .75rem .95rem .85rem; color: var(--muted); font-size: .86rem; background: #fff; }
.kicker { color: var(--blue); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; margin: 0 0 .45rem; }
.checks { margin: .9rem 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 1.4rem; margin: .45rem 0; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: .45rem; width: .7rem; height: .4rem; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 1.05rem 1rem 1.1rem;
  box-shadow: 0 16px 36px -28px rgba(21, 101, 224, .7);
}
.card h3 { margin: .35rem 0 .35rem; font-family: var(--display); font-size: 1.12rem; letter-spacing: -0.03em; color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }
.num { color: var(--blue); font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; }

.band {
  position: relative; border-radius: 28px; overflow: hidden; min-height: 360px;
  border: 1px solid var(--line);
}
.band img { width: 100%; height: 540px; object-fit: cover; }
.band-copy {
  position: absolute; inset: auto 0 0 0; padding: 2rem 1.4rem 1.25rem;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 40, 90, .55) 22%, rgba(8, 32, 74, .92) 100%);
  color: #fff;
}
.band-copy h2 { max-width: 18ch; color: #fff; }
.band-copy .kicker { color: #d6e6ff; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-top: 1.2rem; }
.step {
  background: rgba(255, 255, 255, .96); border: 1px solid #fff;
  border-radius: 16px; padding: .85rem; color: var(--ink);
}
.step strong { display: block; margin-bottom: .25rem; color: var(--blue-deep); }
.step span { color: var(--muted); font-size: .88rem; }

.faq-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); padding: .85rem 0; }
.faq summary { cursor: pointer; font-weight: 700; font-family: var(--display); letter-spacing: -0.02em; color: var(--ink); }
.faq details p { margin: .45rem 0 0; color: var(--muted); }

.footer { border-top: 1px solid var(--line); padding: 1.6rem 0 2rem; color: var(--muted); font-size: .9rem; background: var(--bg-soft); }
.footer .row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer strong { color: var(--ink); }

.stickybar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
  padding: .65rem .8rem;
}
.stickybar .inner { display: flex; gap: .45rem; }
.stickybar .btn { flex: 1; padding: .7rem .4rem; }

@media (max-width: 980px) {
  .nav a:not(.btn) { display: none; }
  .hero-grid, .split, .split.reverse, .grid-3, .grid-4, .steps, .row-2, .form-actions, .notify, .pair {
    grid-template-columns: 1fr;
  }
  .soft-grid, .erp-row { grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 0; }
  .hero-copy { justify-content: flex-start; padding: 1.35rem 1.15rem 1.2rem; }
  h1 { max-width: none; }
  .frame img { height: 280px; }
  .faq-layout { grid-template-columns: 1fr; }
  .band { min-height: 0; display: flex; flex-direction: column; }
  .band img { height: 220px; position: relative; }
  .band-copy { position: relative; background: var(--bg-soft); color: var(--ink); }
  .band-copy h2 { color: var(--ink); }
  .band-copy .kicker { color: var(--blue); }
  .stickybar { display: block; }
  body { padding-bottom: 76px; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .top-inner { min-height: 64px; }
  .soft-grid, .erp-row, .hero-points { grid-template-columns: 1fr; }
  .hero-copy .cta-row { flex-direction: column; align-items: stretch; }
  .hero-copy .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Glass trial. Remove class "theme-glass" from body to restore the solid white layout. */
body.theme-glass { background: #d7e4f2; }
body.theme-glass::before,
body.theme-glass::after {
  content: "";
  position: fixed;
  inset: -40px;
  z-index: -2;
  pointer-events: none;
}
body.theme-glass::before {
  background:
    url("/services/internal-software-development/img/wexon-office-floor.jpg") center / cover no-repeat;
  filter: blur(7px) saturate(1.05);
  transform: scale(1.04);
}
body.theme-glass::after {
  z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.18) 40%, rgba(244,248,252,.32));
}
body.theme-glass .top,
body.theme-glass .form-card,
body.theme-glass .soft-card,
body.theme-glass .card,
body.theme-glass .erp-row a,
body.theme-glass .frame,
body.theme-glass .table-wrap,
body.theme-glass .footer,
body.theme-glass .stickybar,
body.theme-glass .more-list span,
body.theme-glass .step,
body.theme-glass .next-steps article,
body.theme-glass .check {
  background: rgba(255, 255, 255, .42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(255, 255, 255, .65);
}
body.theme-glass .top { background: rgba(255, 255, 255, .55); }
body.theme-glass .compare tbody th { background: rgba(247, 250, 255, .55); }
body.theme-glass .compare td:last-child,
body.theme-glass .compare td.save { background: rgba(232, 242, 255, .62); }
body.theme-glass .frame figcaption { background: rgba(255, 255, 255, .92); color: #1a2c42; }

body.theme-glass {
  --ink: #07111f;
  --muted: #1c334c;
  font-size: 17.5px;
}
body.theme-glass .top,
body.theme-glass .form-card,
body.theme-glass .soft-card,
body.theme-glass .card,
body.theme-glass .erp-row a,
body.theme-glass .frame,
body.theme-glass .table-wrap,
body.theme-glass .footer,
body.theme-glass .stickybar,
body.theme-glass .more-list span,
body.theme-glass .step,
body.theme-glass .next-steps article {
  background: rgba(255, 255, 255, .9);
}
body.theme-glass .nav a,
body.theme-glass label,
body.theme-glass .form-card h2,
body.theme-glass .soft-card h3,
body.theme-glass .card h3,
body.theme-glass .brand strong {
  color: #071525;
  font-weight: 700;
}
body.theme-glass .form-card .hint,
body.theme-glass .fine,
body.theme-glass .soft-card p,
body.theme-glass .card p,
body.theme-glass .checks li,
body.theme-glass .sub,
body.theme-glass .lead,
body.theme-glass .compare td,
body.theme-glass .more-list span {
  color: #1a2c42;
  font-size: 1.05rem;
}
body.theme-glass label { font-size: .82rem; letter-spacing: .06em; }
body.theme-glass .erp-row a {
  color: #08306b;
  font-size: 1.08rem;
}
body.theme-glass .kicker,
body.theme-glass .section h2,
body.theme-glass .sub,
body.theme-glass .erp-band p {
  color: #071525;
  background: rgba(255, 255, 255, .9);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: .12rem .45rem;
  border-radius: 8px;
}
body.theme-glass .section h2 { font-size: clamp(1.85rem, 3vw, 2.55rem); }
body.theme-glass .hero-copy,
body.theme-glass .hero-copy h1,
body.theme-glass .hero-copy .hero-points li { color: #fff; background: none; }
body.theme-glass .hero-copy .lead { color: #f4f8ff; background: none; font-size: 1.08rem; }
body.theme-glass .hero-copy .eyebrow { color: #dbe7ff; background: none; }
body.theme-glass .hero-copy h1 { font-size: clamp(2.3rem, 4vw, 3.6rem); }
body.theme-glass .band-copy,
body.theme-glass .band-copy h2,
body.theme-glass .band-copy .kicker,
body.theme-glass .notify,
body.theme-glass .notify h2,
body.theme-glass .notify p,
body.theme-glass .notify li {
  color: #fff;
  background: none;
}
body.theme-glass .compare thead th { color: #fff; background-color: inherit; }
body.theme-glass .compare thead th:first-child { background: #0e2744; }
body.theme-glass .compare thead th:nth-child(2) { background: #5c7190; }
body.theme-glass .compare thead th:nth-child(3) { background: #1565e0; }
body.theme-glass .compare thead th:nth-child(4),
body.theme-glass .compare thead th:nth-child(5) { background: #0b3f86; }
body.theme-glass .compare tbody th { color: #071525; font-size: 1.02rem; background: rgba(255,255,255,.94); }
body.theme-glass .compare td.save { color: #08306b; font-size: 1.15rem; background: #e7f1ff; }
