/* Blue & White theme — adjusted for LKS Dev & Digital */
:root {
  --bg: #f6f9ff;
  --bg-deep: #ffffff;
  --bg-soft: #edf4ff;
  --surface: rgba(255, 255, 255, 0.938);
  --surface-solid: #ffffff;
  --surface-2: #f2f7ff;
  --surface-3: #e6effb;
  --line: rgba(37, 99, 235, 0.16);
  --line-strong: rgba(37, 99, 235, 0.28);
  --text: #102a4c;
  --text-soft: #365979;
  --muted: #536f8c;
  --muted-2: #5e7690;
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --primary-soft: rgba(37, 99, 235, 0.12);
  --accent: #0284c7;
  --accent-soft: rgba(2, 132, 199, 0.12);
  --line-green: #06c755;
  --danger: #dc2626;
  --success: #16a34a;
  --shadow-sm: 0 12px 34px rgba(31, 71, 130, 0.10);
  --shadow-lg: 0 34px 90px rgba(31, 71, 130, 0.16);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --header-h: 80px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  background: var(--bg-deep);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 4%, rgba(37, 99, 235, 0.11), transparent 30%),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Thai", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--bg-deep);
  background: var(--primary);
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

p,
h1,
h2,
h3,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

ul,
ol {
  padding: 0;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 16px;
  color: var(--bg-deep);
  background: var(--primary);
  border-radius: 8px;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.55);
  outline-offset: 4px;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 2px;
  pointer-events: none;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.65);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 30px rgba(31, 71, 130, 0.064);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 12px;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.13), rgba(2, 132, 199, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 24px rgba(31, 71, 130, 0.1);
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 7px;
  width: 5px;
  height: 20px;
  border-radius: 4px;
  background: var(--primary);
}

.brand-mark i {
  position: absolute;
  left: 9px;
  bottom: 7px;
  width: 17px;
  height: 5px;
  border-radius: 4px;
  background: var(--primary);
}

.brand-mark b {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 10px;
  height: 5px;
  border-radius: 4px;
  background: var(--accent);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 14px;
  letter-spacing: -0.01em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 0.13em;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.2vw, 30px);
}

.primary-nav > a {
  position: relative;
  color: var(--text-soft);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.primary-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--primary);
  transition: right 0.25s var(--ease-out);
}

.primary-nav > a:hover,
.primary-nav > a.is-active {
  color: var(--text);
}

.primary-nav > a:hover::after,
.primary-nav > a.is-active::after {
  right: 0;
}

.nav-cta {
  padding: 10px 16px;
  color: var(--bg-deep) !important;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.18);
  transition: transform 0.2s ease, background 0.2s ease !important;
}

.nav-cta:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.916);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(138px, 16vh, 178px) 0 74px;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 250px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  z-index: -3;
  inset: 0;
  opacity: 0.44;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0, rgba(0, 0, 0, 0.75) 62%, transparent 100%);
}

.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 56% 28%, transparent 0, rgba(37, 99, 235, 0.055) 38%, var(--bg) 82%);
}

.hero-orb {
  position: absolute;
  z-index: -2;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.17;
  pointer-events: none;
}

.hero-orb-a {
  top: -160px;
  right: -40px;
  background: var(--primary);
  animation: orb-drift-a 14s ease-in-out infinite alternate;
}

.hero-orb-b {
  bottom: -160px;
  left: -120px;
  background: #60a5fa;
  animation: orb-drift-b 18s ease-in-out infinite alternate;
}

@keyframes orb-drift-a {
  to { transform: translate(-80px, 80px) scale(1.12); }
}

@keyframes orb-drift-b {
  to { transform: translate(90px, -40px) scale(0.9); }
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
  align-items: center;
  gap: clamp(48px, 6vw, 86px);
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.availability {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 27px;
  padding: 7px 12px;
  color: var(--text-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.905);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.08), 0 0 12px rgba(22, 163, 74, 0.55);
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(22, 163, 74, 0.46);
  border-radius: inherit;
  animation: pulse-ring 2.2s ease-out infinite;
}

@keyframes pulse-ring {
  0% { opacity: 0; transform: scale(0.7); }
  35% { opacity: 0.8; }
  100% { opacity: 0; transform: scale(1.5); }
}

.availability-separator {
  color: var(--muted-2);
}

.eyebrow,
.section-kicker {
  margin-bottom: 17px;
  color: var(--primary);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 25px;
  color: var(--text);
  font-size: clamp(49px, 5.7vw, 77px);
  font-weight: 720;
  line-height: 1.09;
  letter-spacing: -0.055em;
}

.gradient-text {
  display: inline-block;
  color: transparent;
  background: linear-gradient(104deg, #0f4c81 2%, var(--primary) 40%, var(--accent) 108%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 670px;
  margin-bottom: 33px;
  color: var(--text-soft);
  font-size: clamp(17px, 1.5vw, 19.5px);
  line-height: 1.78;
}

.hero-lead strong {
  color: var(--text);
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.22s var(--ease-out), background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.button svg,
.text-link svg,
.card-link svg,
.footer-line svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.22s var(--ease-out);
}

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

.button:hover svg,
.text-link:hover svg,
.footer-line:hover svg {
  transform: translateX(4px);
}

.button-primary {
  color: var(--bg-deep);
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.19), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--primary-strong), #1e40af);
  box-shadow: 0 20px 44px rgba(37, 99, 235, 0.25);
}

.button-ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.874);
}

.button-ghost:hover {
  border-color: rgba(37, 99, 235, 0.42);
  background: rgba(255, 255, 255, 0.944);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.button-line {
  color: #fff;
  background: var(--line-green);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 29px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-row svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-visual {
  position: relative;
  z-index: 2;
  --rx: 0deg;
  --ry: 0deg;
  perspective: 1400px;
}

.visual-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.952);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.16s ease-out;
  backdrop-filter: blur(12px);
}

.visual-window::before {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.055), transparent 28%, transparent 70%, rgba(37, 99, 235, 0.025));
  pointer-events: none;
}

.window-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 48px;
  gap: 14px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.922);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted-2);
  opacity: 0.6;
}

.window-dots span:nth-child(1) { background: #ff8e88; }
.window-dots span:nth-child(2) { background: #0284c7; }
.window-dots span:nth-child(3) { background: var(--success); }

.window-address {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.window-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
}

.architecture-canvas {
  position: relative;
  height: 430px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(37, 99, 235, 0.08), transparent 30%),
    linear-gradient(rgba(59, 130, 246, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.055) 1px, transparent 1px),
    #edf4ff;
  background-size: auto, 30px 30px, 30px 30px, auto;
}

.architecture-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent, rgba(198, 219, 247, 0.45) 90%);
}

.architecture-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.flow-line {
  fill: none;
  stroke: url(#line-gradient);
  stroke-width: 1.35;
  stroke-dasharray: 6 9;
  animation: dash-flow 14s linear infinite;
}

.flow-two { animation-direction: reverse; animation-duration: 18s; }
.flow-three { animation-duration: 11s; }

@keyframes dash-flow {
  to { stroke-dashoffset: -300; }
}

.flow-particle {
  fill: var(--primary);
  filter: drop-shadow(0 0 8px var(--primary));
}

.particle-one {
  offset-path: path("M110 103 C230 103 226 205 350 205 S482 103 610 103");
  animation: particle-move 5.5s linear infinite;
}

.particle-two {
  fill: var(--accent);
  filter: drop-shadow(0 0 8px var(--accent));
  offset-path: path("M110 326 C234 326 228 205 350 205 S488 326 610 326");
  animation: particle-move 7s linear infinite 1.2s;
}

@keyframes particle-move {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}

.system-node {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 128px;
  padding: 11px 12px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.978);
  box-shadow: 0 12px 26px rgba(31, 71, 130, 0.096), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  animation: node-float 4.4s ease-in-out infinite alternate;
}

.system-node::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(130deg, rgba(37, 99, 235, 0.08), transparent 55%);
}

.node-icon {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 9px;
  background: var(--primary-soft);
}

.node-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.system-node small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted-2);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7.5px;
  letter-spacing: 0.11em;
}

.system-node strong {
  display: block;
  color: var(--text-soft);
  font-size: 10.5px;
  white-space: nowrap;
}

.node-web { top: 62px; left: 24px; }
.node-mobile { top: 286px; left: 24px; animation-delay: -1.4s; }
.node-data { top: 62px; right: 24px; animation-delay: -2s; }
.node-seo { top: 286px; right: 24px; animation-delay: -3.1s; }

.node-core {
  top: 168px;
  left: 50%;
  min-width: 154px;
  border-color: rgba(37, 99, 235, 0.33);
  transform: translateX(-50%);
  animation: core-float 4s ease-in-out infinite alternate;
}

.node-core .node-icon {
  color: var(--bg-deep);
  background: var(--primary);
}

.core-rings {
  position: absolute;
  z-index: -2;
  inset: 50% auto auto 50%;
  width: 188px;
  height: 188px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.core-rings i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 50%;
  animation: ring-pulse 3.4s ease-out infinite;
}

.core-rings i:nth-child(2) { animation-delay: 1.1s; }
.core-rings i:nth-child(3) { animation-delay: 2.2s; }

@keyframes ring-pulse {
  from { opacity: 0; transform: scale(0.55); }
  30% { opacity: 1; }
  to { opacity: 0; transform: scale(1.1); }
}

@keyframes node-float {
  to { transform: translateY(-5px); }
}

@keyframes core-float {
  to { transform: translate(-50%, -5px); }
}

.runtime-card {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 13px;
  width: 246px;
  padding: 11px 12px 10px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 30px rgba(31, 71, 130, 0.104);
  transform: translateX(-50%);
}

.runtime-head,
.runtime-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.runtime-head span,
.runtime-meta {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
}

.runtime-head b {
  color: var(--success);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.runtime-chart {
  height: 48px;
  margin: 3px 0 4px;
}

.runtime-chart svg {
  width: 100%;
  height: 100%;
}

.chart-area {
  fill: rgba(37, 99, 235, 0.08);
}

.chart-line {
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 5px rgba(37, 99, 235, 0.5));
}

.runtime-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.runtime-meta i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
}

.floating-chip {
  position: absolute;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  color: var(--text-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.966);
  box-shadow: var(--shadow-sm);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8.5px;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.floating-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px currentColor;
}

.chip-a {
  top: -17px;
  right: 42px;
  animation: chip-float 5.2s ease-in-out infinite alternate;
}

.chip-b {
  bottom: -16px;
  left: 30px;
  animation: chip-float 6.2s ease-in-out infinite alternate-reverse;
}

.chip-b i { background: var(--accent); }

@keyframes chip-float {
  to { transform: translateY(-7px); }
}

.stats-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(64px, 9vh, 100px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.922);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
}

.stat-card {
  position: relative;
  padding: 23px 25px 21px;
}

.stat-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 17px;
  right: 0;
  bottom: 17px;
  width: 1px;
  background: var(--line);
}

.stat-card strong {
  display: flex;
  align-items: baseline;
  color: var(--text);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(27px, 3vw, 37px);
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.stat-card em {
  margin-left: 3px;
  color: var(--primary);
  font-size: 0.53em;
  font-style: normal;
  letter-spacing: -0.03em;
}

.stat-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

.section {
  position: relative;
  padding: clamp(92px, 11vw, 146px) 0;
}

.section-heading {
  margin-bottom: clamp(45px, 6vw, 72px);
}

.section-heading h2,
.experience-intro h2,
.faq-intro h2,
.contact-copy h2 {
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(35px, 4.3vw, 55px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.section-heading > p,
.split-heading > p,
.centered-heading > p,
.experience-intro > p,
.faq-intro > p,
.contact-copy > p {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.82;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.58fr);
  align-items: end;
  gap: 72px;
}

.split-heading > p {
  margin: 0 0 7px;
}

.centered-heading {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.centered-heading > p {
  max-width: 650px;
  margin: 18px auto 0;
}

.section-problems {
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.86), transparent 42%);
}

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

.spotlight-card {
  --spot-x: 50%;
  --spot-y: 50%;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(360px circle at var(--spot-x) var(--spot-y), rgba(37, 99, 235, 0.11), transparent 45%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.problem-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.952));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
  z-index: 2;
  border-color: rgba(37, 99, 235, 0.29);
  box-shadow: 0 24px 48px rgba(31, 71, 130, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(-7px);
}

.problem-card > * {
  position: relative;
  z-index: 1;
}

.card-index {
  position: absolute;
  top: 24px;
  right: 25px;
  color: var(--muted-2);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.problem-icon,
.service-icon,
.step-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 30px;
  place-items: center;
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 13px;
  background: var(--primary-soft);
}

.problem-icon svg,
.service-icon svg,
.step-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.problem-card h3 {
  margin-bottom: 13px;
  font-size: 20px;
  line-height: 1.43;
  letter-spacing: -0.025em;
}

.problem-card p {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.78;
}

.card-link {
  position: absolute;
  right: 27px;
  bottom: 26px;
  left: 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-soft);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.05em;
}

.card-link svg {
  width: 16px;
  height: 16px;
}

.problem-card:hover .card-link svg {
  transform: translateX(4px);
}

.section-services {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 12%, rgba(37, 99, 235, 0.072), transparent 36%),
    var(--bg-deep);
}

.services-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 400px;
  overflow: hidden;
  flex-direction: column;
  grid-column: span 4;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.958), rgba(255, 255, 255, 0.978));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.32s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 28px 60px rgba(31, 71, 130, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.065);
  transform: translateY(-6px);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-featured {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 580px;
  padding: 31px;
  background:
    radial-gradient(circle at 90% 8%, rgba(37, 99, 235, 0.15), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.983), rgba(255, 255, 255, 0.986));
}

.service-wide {
  grid-column: span 8;
  min-height: 340px;
}

.service-support {
  grid-column: span 4;
  min-height: 340px;
}

.service-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 33px;
}

.service-number {
  color: var(--muted-2);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.service-badge {
  padding: 5px 8px;
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.055);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.service-icon {
  margin-bottom: 24px;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.service-featured h3 {
  font-size: 34px;
}

.service-card > p,
.service-copy-wrap p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.78;
}

.service-featured > p {
  max-width: 560px;
  font-size: 15.5px;
}

.service-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-soft);
  font-size: 13.5px;
}

.service-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 2px;
  width: 9px;
  height: 5px;
  border-bottom: 1.5px solid var(--primary);
  border-left: 1.5px solid var(--primary);
  transform: rotate(-45deg);
}

.tag-list,
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.tag-list span,
.case-tags span {
  padding: 5px 9px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.018);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8.5px;
  letter-spacing: 0.025em;
}

.service-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}

.service-footer span {
  display: flex;
  flex-direction: column;
}

.service-footer small {
  margin-bottom: 4px;
  color: var(--muted-2);
  font-size: 10px;
}

.service-footer strong {
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 23px;
  letter-spacing: -0.04em;
}

.service-footer a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--bg-deep);
  border-radius: 50%;
  background: var(--primary);
  transition: transform 0.25s var(--ease-out), background 0.2s ease;
}

.service-footer a:hover {
  background: #1d4ed8;
  transform: rotate(-10deg) scale(1.06);
}

.service-footer a svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-footer.compact strong {
  color: var(--text-soft);
  font-size: 14px;
  letter-spacing: -0.015em;
}

.service-copy-wrap {
  display: grid;
  grid-template-columns: 1fr 230px;
  align-items: center;
  gap: 35px;
}

.speed-widget {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 18px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.91);
}

.speed-ring {
  position: relative;
  display: grid;
  width: 88px;
  height: 88px;
  place-content: center;
  border-radius: 50%;
  background: conic-gradient(var(--primary) 0 98%, rgba(37, 99, 235, 0.09) 98% 100%);
}

.speed-ring::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #ffffff;
}

.speed-ring span,
.speed-ring small {
  position: relative;
  z-index: 1;
  text-align: center;
}

.speed-ring span {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.speed-ring small {
  margin-top: 3px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  letter-spacing: 0.1em;
}

.speed-bars {
  display: flex;
  align-items: flex-end;
  height: 76px;
  gap: 7px;
}

.speed-bars i {
  width: 100%;
  height: var(--v);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(to top, rgba(37, 99, 235, 0.28), var(--primary));
  transform-origin: bottom;
  animation: bar-rise 1.2s var(--ease-out) both;
}

.speed-bars i:nth-child(2) { animation-delay: 0.1s; }
.speed-bars i:nth-child(3) { animation-delay: 0.2s; }
.speed-bars i:nth-child(4) { animation-delay: 0.3s; }

@keyframes bar-rise {
  from { transform: scaleY(0.05); }
}

.pricing-note {
  margin: 24px 0 0;
  color: var(--muted-2);
  font-size: 12px;
  text-align: center;
}

.section-work {
  border-top: 1px solid var(--line);
}

.work-heading {
  margin-bottom: 84px;
}

.case-list {
  display: grid;
  gap: clamp(72px, 9vw, 120px);
}

.case-study {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: clamp(48px, 7vw, 94px);
}

.case-reverse .case-preview {
  order: 2;
}

.case-preview {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #edf4ff;
  box-shadow: 0 34px 72px rgba(31, 71, 130, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.45s var(--ease-out), border-color 0.35s ease;
}

.case-preview:hover {
  border-color: rgba(37, 99, 235, 0.28);
  transform: translateY(-7px) rotateX(1deg);
}

.case-preview::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 68% 30%, rgba(37, 99, 235, 0.14), transparent 36%);
  pointer-events: none;
}

.mock-browser {
  position: absolute;
  inset: 38px 32px -8px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 16px 16px 0 0;
  background: #f8fbff;
  box-shadow: 0 24px 60px rgba(31, 71, 130, 0.144);
  transform: rotate(-1.2deg);
}

.mock-top {
  display: flex;
  align-items: center;
  height: 37px;
  gap: 5px;
  padding: 0 12px;
  background: #1e4f91;
}

.mock-top span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.mock-top b {
  margin-left: 12px;
  color: rgba(255, 255, 255, 0.56);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  font-weight: 500;
}

.map-layout {
  display: grid;
  grid-template-columns: 34% 66%;
  height: calc(100% - 37px);
}

.map-sidebar {
  padding: 18px;
  background: #fff;
}

.skeleton {
  display: block;
  width: 50%;
  height: 6px;
  margin-bottom: 7px;
  border-radius: 5px;
  background: #dce8f6;
}

.skeleton.long { width: 80%; height: 9px; background: #2f5f91; }
.skeleton.medium { width: 67%; margin-bottom: 22px; }

.map-list-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: 8px 6px;
  gap: 7px 9px;
  margin-bottom: 11px;
  padding: 9px;
  border: 1px solid #dbe7f4;
  border-radius: 8px;
}

.map-list-card span {
  grid-row: 1 / 3;
  border-radius: 6px;
  background: linear-gradient(145deg, #dceaff, #93c5fd);
}

.map-list-card i {
  align-self: end;
  border-radius: 4px;
  background: #e4edf7;
}

.map-list-card i:last-child { width: 60%; align-self: start; }

.map-canvas {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(35deg, transparent 47%, rgba(255, 255, 255, 0.62) 48% 50%, transparent 51%) 0 0 / 130px 110px,
    linear-gradient(-25deg, transparent 47%, rgba(255, 255, 255, 0.45) 48% 50%, transparent 51%) 0 0 / 170px 130px,
    #dbeafe;
}

.map-canvas::before,
.map-canvas::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.18);
}

.map-canvas::before { width: 160px; height: 130px; top: 12px; left: 34px; }
.map-canvas::after { width: 210px; height: 180px; right: -40px; bottom: 20px; }

.road {
  position: absolute;
  height: 8px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-width: 2px 0;
  background: rgba(180, 205, 235, 0.95);
  transform-origin: left;
}

.road-a { width: 135%; top: 54%; left: -20%; transform: rotate(-22deg); }
.road-b { width: 110%; top: 23%; left: -5%; transform: rotate(35deg); }
.road-c { width: 115%; top: 82%; left: -2%; transform: rotate(11deg); }

.map-pin {
  position: absolute;
  z-index: 3;
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: #2563eb;
  box-shadow: 0 5px 11px rgba(31, 71, 130, 0.088);
  transform: rotate(-45deg);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
}

.pin-a { top: 26%; left: 25%; }
.pin-b { top: 58%; left: 55%; }
.pin-c { top: 37%; right: 15%; }
.pin-d { bottom: 17%; left: 33%; }

.map-popup {
  position: absolute;
  z-index: 4;
  top: 42%;
  left: 44%;
  display: flex;
  flex-direction: column;
  padding: 9px 11px;
  color: #153a63;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(31, 71, 130, 0.22);
  transform: translate(-50%, -100%);
}

.map-popup b { font-size: 8px; }
.map-popup span { color: #5e7690; font-size: 6px; }

.case-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--primary);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.case-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-2);
}

.case-content h3 {
  margin-bottom: 19px;
  font-size: clamp(30px, 3.3vw, 43px);
  line-height: 1.2;
  letter-spacing: -0.042em;
}

.case-content > p {
  margin-bottom: 24px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.82;
}

.case-points {
  display: grid;
  gap: 12px;
  margin: 0;
  list-style: none;
}

.case-points li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
}

.case-points li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 1px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--primary);
  border-radius: 50%;
}

.case-points strong {
  color: var(--text-soft);
}

.faq-answer p strong {
  color: var(--text-soft);
  font-weight: 650;
}

.ops-shell {
  position: absolute;
  inset: 30px 25px -15px;
  display: grid;
  grid-template-columns: 48px 1fr;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 16px 16px 0 0;
  background: #f7faff;
  box-shadow: 0 24px 60px rgba(31, 71, 130, 0.152);
  transform: rotate(1.3deg);
}

.ops-rail {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 17px;
  padding: 14px 0;
  border-right: 1px solid rgba(37, 99, 235, 0.12);
  background: #eaf2fc;
}

.ops-rail b {
  display: grid;
  width: 25px;
  height: 25px;
  margin-bottom: 8px;
  place-items: center;
  color: #f6f9ff;
  border-radius: 7px;
  background: var(--primary);
  font-size: 10px;
}

.ops-rail i {
  width: 16px;
  height: 3px;
  border-radius: 3px;
  background: rgba(37, 99, 235, 0.22);
}

.ops-main {
  padding: 23px;
}

.ops-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
}

.ops-head small,
.ops-metrics small {
  display: block;
  color: #536f8c;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 6.5px;
  letter-spacing: 0.1em;
}

.ops-head strong {
  display: block;
  margin-top: 4px;
  color: #153a63;
  font-size: 11px;
}

.ops-head > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  color: var(--success);
  border: 1px solid rgba(22, 163, 74, 0.18);
  border-radius: 999px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 6px;
}

.ops-head > span i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 7px currentColor;
}

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

.ops-metrics > div {
  padding: 12px;
  border: 1px solid rgba(37, 99, 235, 0.11);
  border-radius: 9px;
  background: #ffffff;
}

.ops-metrics strong {
  display: block;
  margin: 9px 0 3px;
  color: #173b63;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 15px;
}

.ops-metrics em {
  color: var(--success);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 6px;
  font-style: normal;
}

.ops-chart {
  height: 160px;
  margin-top: 15px;
  padding: 13px 10px 0;
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 10px;
  background:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px) 0 0 / 100% 32px,
    #f4f8fd;
}

.ops-chart svg {
  width: 100%;
  height: 100%;
}

.ops-area { fill: rgba(37, 99, 235, 0.08); }
.ops-line { fill: none; stroke: var(--primary); stroke-width: 1.6; vector-effect: non-scaling-stroke; }

.scale-stage {
  position: absolute;
  inset: 34px;
  padding: 23px;
  border: 1px solid rgba(37, 99, 235, 0.17);
  border-radius: 18px;
  background:
    radial-gradient(circle at 76% 28%, rgba(2, 132, 199, 0.11), transparent 30%),
    #f3f7fc;
  box-shadow: 0 22px 58px rgba(31, 71, 130, 0.128);
}

.scale-header,
.scale-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.scale-header span,
.scale-header b,
.scale-bottom {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7.5px;
  letter-spacing: 0.1em;
}

.scale-header span { color: var(--muted); }

.scale-header b {
  padding: 5px 8px;
  color: var(--success);
  border: 1px solid rgba(22, 163, 74, 0.18);
  border-radius: 999px;
}

.scale-count {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  margin: 38px 0 30px;
}

.scale-count small {
  width: 100%;
  margin-bottom: 4px;
  color: var(--muted-2);
  font-size: 8px;
}

.scale-count strong {
  color: var(--text);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 47px;
  line-height: 1;
  letter-spacing: -0.08em;
}

.scale-count span {
  margin-left: 8px;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

.scale-grid {
  display: flex;
  align-items: end;
  height: 140px;
  gap: 8px;
  padding: 0 2px 13px;
  border-bottom: 1px solid var(--line);
}

.scale-grid i {
  width: 100%;
  height: var(--h);
  border-radius: 5px 5px 1px 1px;
  background: linear-gradient(to top, rgba(2, 132, 199, 0.12), rgba(2, 132, 199, 0.9));
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.04);
  transform-origin: bottom;
  animation: scale-bars 2.2s var(--ease-out) both;
}

.scale-grid i:nth-child(2n) { animation-delay: 0.08s; }
.scale-grid i:nth-child(3n) { animation-delay: 0.16s; }

@keyframes scale-bars {
  from { opacity: 0.2; transform: scaleY(0.1); }
}

.scale-bottom {
  margin-top: 15px;
  color: var(--muted-2);
  letter-spacing: 0;
}

.scale-bottom span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--success);
}

.scale-bottom i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.section-process {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(rgba(59, 130, 246, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.922), rgba(255, 255, 255, 0.972));
  background-size: 64px 64px, 64px 64px, auto;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
  list-style: none;
}

.process-step {
  position: relative;
  min-height: 344px;
  padding: 28px 25px;
  background: rgba(255, 255, 255, 0.986);
}

.process-step::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.08), transparent 55%);
  transition: opacity 0.25s ease;
}

.process-step:hover::before {
  opacity: 1;
}

.process-step > * {
  position: relative;
  z-index: 1;
}

.step-number {
  margin-bottom: 35px;
  color: var(--muted-2);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.step-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
}

.step-icon svg {
  width: 20px;
  height: 20px;
}

.process-step h3 {
  margin-bottom: 12px;
  font-size: 19px;
}

.process-step p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.process-step > span {
  position: absolute;
  right: 25px;
  bottom: 26px;
  left: 25px;
  padding-top: 14px;
  color: var(--text-soft);
  border-top: 1px solid var(--line);
  font-size: 10.5px;
}

.section-experience {
  overflow: hidden;
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.83fr) minmax(440px, 1.17fr);
  align-items: start;
  gap: clamp(60px, 9vw, 120px);
}

.experience-intro {
  position: sticky;
  top: calc(var(--header-h) + 50px);
}

.experience-intro > p {
  margin: 24px 0 0;
}

.experience-quote {
  position: relative;
  margin-top: 37px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.916), rgba(255, 255, 255, 0.972));
}

.experience-quote svg {
  position: absolute;
  top: 13px;
  right: 17px;
  width: 46px;
  height: 46px;
  fill: rgba(37, 99, 235, 0.08);
}

.experience-quote p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.78;
}

.experience-timeline {
  position: relative;
  border-top: 1px solid var(--line);
}

.experience-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 98px;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 40px;
  min-height: 155px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 39px;
  left: 94.5px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.09), 0 0 16px rgba(37, 99, 235, 0.3);
}

.timeline-year {
  color: var(--primary);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
}

.timeline-item h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.tech-marquee {
  margin-top: clamp(75px, 9vw, 110px);
  overflow: hidden;
  border-block: 1px solid var(--line);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 24px;
  padding: 18px 0;
  animation: marquee 32s linear infinite;
}

.marquee-track span {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.marquee-track i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.section-commitments {
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.874), rgba(37, 99, 235, 0));
}

.commitment-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 18px;
}

.commitment-panel {
  padding: clamp(27px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.938), rgba(255, 255, 255, 0.978));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.commitment-yes {
  border-color: rgba(37, 99, 235, 0.2);
}

.commitment-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.commitment-head > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.19);
  border-radius: 50%;
  background: var(--primary-soft);
}

.commitment-no .commitment-head > span {
  color: var(--danger);
  border-color: rgba(220, 38, 38, 0.18);
  background: rgba(220, 38, 38, 0.08);
}

.commitment-head svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.commitment-head small {
  display: block;
  margin-bottom: 3px;
  color: var(--muted-2);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.commitment-head h3 {
  margin: 0;
  font-size: 20px;
}

.commitment-panel ul {
  display: grid;
  gap: 0;
  margin: 0;
  list-style: none;
}

.commitment-panel li {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: start;
  gap: 12px;
  padding: 16px 0;
  color: var(--text-soft);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
  font-size: 13.5px;
  line-height: 1.68;
}

.commitment-panel li span {
  color: var(--muted-2);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

.commitment-no > p {
  margin: 24px 0 0;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.68;
}

.section-faq {
  background: var(--bg-deep);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  align-items: start;
  gap: clamp(70px, 9vw, 130px);
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-h) + 50px);
}

.faq-intro > p {
  margin: 20px 0 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 84px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--text-soft);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.faq-list summary:hover span,
.faq-list details[open] summary span {
  color: var(--text);
}

.faq-list summary i {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.faq-list summary i::before,
.faq-list summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  background: var(--primary);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.faq-list summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.35s var(--ease-out), opacity 0.25s ease;
}

.faq-answer > p {
  overflow: hidden;
}

.faq-list details[open] .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-answer p {
  max-width: 720px;
  margin: 0;
  padding: 0 50px 26px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.82;
}

.section-contact {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 30%, rgba(37, 99, 235, 0.1), transparent 31%),
    linear-gradient(145deg, #eef5ff, #ffffff 65%);
  isolation: isolate;
}

.contact-glow {
  position: absolute;
  z-index: -1;
  top: 20%;
  right: -180px;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: var(--primary);
  filter: blur(140px);
  opacity: 0.08;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr);
  align-items: start;
  gap: clamp(58px, 8vw, 105px);
}

.contact-copy h2 {
  max-width: 590px;
  font-size: clamp(40px, 4.8vw, 61px);
}

.contact-copy > p {
  max-width: 590px;
  margin: 24px 0 0;
}

.line-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  max-width: 430px;
  margin-top: 34px;
  padding: 16px 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  background: rgba(6, 199, 85, 0.92);
  box-shadow: 0 20px 38px rgba(6, 199, 85, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.25s var(--ease-out), background 0.2s ease;
}

.line-card:hover {
  background: #08d45c;
  transform: translateY(-3px);
}

.line-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.11);
}

.line-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line-card small,
.line-card strong {
  display: block;
}

.line-card small {
  margin-bottom: 2px;
  opacity: 0.8;
  font-size: 10px;
}

.line-card strong {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 16px;
}

.line-arrow {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.response-card {
  display: grid;
  gap: 17px;
  max-width: 500px;
  margin-top: 38px;
}

.response-card > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
}

.response-card span {
  padding-top: 2px;
  color: var(--muted-2);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

.response-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.response-card strong {
  display: block;
  color: var(--text-soft);
  font-size: 13px;
}

.contact-form-card {
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.955);
  box-shadow: 0 34px 80px rgba(31, 71, 130, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
}

.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.form-head small {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.form-head h3 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.03em;
}

.form-head > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
}

.form-head > span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.field {
  display: block;
}

.field-full {
  grid-column: 1 / -1;
}

.field > span {
  display: block;
  margin-bottom: 7px;
  color: var(--text-soft);
  font-size: 11.5px;
  font-weight: 650;
}

.field em,
.privacy-check em {
  color: var(--primary);
  font-style: normal;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: rgba(255, 255, 255, 0.916);
  font-size: 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 38px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 17px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5e7690;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(37, 99, 235, 0.52);
  background-color: rgba(255, 255, 255, 0.972);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: rgba(220, 38, 38, 0.65);
}

.field-error {
  display: none;
  margin-top: 6px;
  color: var(--danger);
  font-size: 10px;
}

.field.has-error .field-error {
  display: block;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}

.privacy-check.has-error {
  color: var(--danger);
}

.privacy-check input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--primary);
}

.form-submit {
  width: 100%;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted-2);
  font-size: 9.5px;
  line-height: 1.55;
  text-align: center;
}

.form-result {
  text-align: center;
}

.form-result[hidden] {
  display: none;
}

.result-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin: 10px auto 20px;
  place-items: center;
  color: var(--bg-deep);
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 8px rgba(22, 163, 74, 0.07), 0 12px 28px rgba(22, 163, 74, 0.13);
}

.result-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-result h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.form-result > p {
  color: var(--muted);
  font-size: 13px;
}

.form-result textarea {
  width: 100%;
  min-height: 230px;
  margin: 10px 0 16px;
  padding: 15px;
  color: var(--text-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.922);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.7;
  resize: vertical;
}

.result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.result-reset {
  margin-top: 15px;
  padding: 5px;
  color: var(--muted);
  border: 0;
  border-bottom: 1px solid var(--muted-2);
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  padding-top: 44px;
  padding-bottom: 34px;
}

.footer-top > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.footer-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
}

.footer-line svg {
  width: 15px;
  height: 15px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 30px;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

.footer-bottom a {
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--primary);
}

.mobile-line-cta {
  position: fixed;
  z-index: 850;
  right: 15px;
  bottom: max(15px, env(safe-area-inset-bottom));
  left: 15px;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  gap: 10px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(6, 199, 85, 0.95);
  box-shadow: 0 16px 40px rgba(31, 71, 130, 0.152);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.mobile-line-cta .pulse-dot {
  width: 7px;
  height: 7px;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.mobile-line-cta .pulse-dot::after {
  border-color: rgba(255, 255, 255, 0.48);
}

.toast {
  position: fixed;
  z-index: 1100;
  right: 20px;
  bottom: 20px;
  max-width: min(360px, calc(100% - 40px));
  padding: 12px 16px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.989);
  box-shadow: var(--shadow-lg);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity 0.25s ease, transform 0.3s var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy .reveal:nth-child(2) { transition-delay: 0.06s; }
.hero-copy .reveal:nth-child(3) { transition-delay: 0.12s; }
.hero-copy .reveal:nth-child(4) { transition-delay: 0.18s; }
.hero-copy .reveal:nth-child(5) { transition-delay: 0.24s; }
.hero-copy .reveal:nth-child(6) { transition-delay: 0.3s; }

@media (max-width: 1120px) {
  :root { --container: 1000px; }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.86fr);
    gap: 40px;
  }

  .architecture-canvas { height: 400px; }
  .system-node { min-width: 116px; padding: 9px 10px; }
  .node-web, .node-mobile { left: 14px; }
  .node-data, .node-seo { right: 14px; }
  .runtime-card { width: 220px; }

  .service-card { grid-column: span 6; }
  .service-featured { grid-column: span 6; }
  .service-wide { grid-column: span 7; }
  .service-support { grid-column: span 5; }

  .case-study {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.78fr);
    gap: 55px;
  }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 903;
  }

  .primary-nav {
    position: absolute;
    z-index: 902;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    min-height: 100vh;
    overflow-y: auto;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 2px;
    padding: calc(var(--header-h) + 34px) 24px max(40px, env(safe-area-inset-bottom));
    visibility: hidden;
    opacity: 0;
    background:
      radial-gradient(circle at 90% 5%, rgba(37, 99, 235, 0.14), transparent 32%),
      rgba(255, 255, 255, 0.994);
    overscroll-behavior: contain;
    transform: translateY(-14px);
    transition: opacity 0.25s ease, transform 0.3s var(--ease-out), visibility 0.3s;
  }

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .primary-nav > a {
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 20px;
  }

  .primary-nav > a::after {
    display: none;
  }

  .primary-nav .nav-cta {
    margin-top: 18px;
    padding: 15px 20px;
    border-bottom: 0;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero h1 {
    max-width: 780px;
    font-size: clamp(50px, 8.2vw, 72px);
  }

  .hero-visual {
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .architecture-canvas { height: 430px; }
  .node-web, .node-mobile { left: 24px; }
  .node-data, .node-seo { right: 24px; }

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

  .stat-card:nth-child(2)::after { display: none; }
  .stat-card:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }

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

  .split-heading > p {
    max-width: 680px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .problem-card {
    min-height: 280px;
  }

  .service-featured,
  .service-card,
  .service-wide,
  .service-support {
    grid-column: span 6;
    min-height: 420px;
  }

  .service-featured {
    min-height: 520px;
  }

  .service-wide {
    min-height: 420px;
  }

  .service-copy-wrap {
    grid-template-columns: 1fr;
  }

  .speed-widget {
    max-width: 270px;
  }

  .case-study,
  .case-reverse {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .case-reverse .case-preview {
    order: 0;
  }

  .case-preview {
    min-height: 470px;
  }

  .case-content {
    max-width: 720px;
  }

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

  .experience-layout {
    grid-template-columns: 1fr;
  }

  .experience-intro,
  .faq-intro {
    position: static;
  }

  .experience-intro > p,
  .experience-quote {
    max-width: 700px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .faq-intro {
    max-width: 620px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    max-width: 760px;
  }

  .contact-form-card {
    width: min(100%, 760px);
  }

  .footer-top {
    grid-template-columns: auto auto;
  }

  .footer-top > p {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header {
    background: rgba(255, 255, 255, 0.927);
    backdrop-filter: blur(14px);
  }

  .brand-copy strong { font-size: 13px; }
  .brand-copy small { font-size: 7.5px; }

  .hero {
    padding: 112px 0 58px;
  }

  .hero-grid { background-size: 48px 48px; }

  .availability {
    margin-bottom: 22px;
    font-size: 10.5px;
  }

  .eyebrow,
  .section-kicker {
    font-size: 9px;
  }

  .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(42px, 12.5vw, 60px);
    line-height: 1.08;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
  }

  .architecture-canvas {
    height: 390px;
  }

  .window-bar {
    grid-template-columns: auto 1fr;
  }

  .window-status { display: none; }
  .floating-chip { display: none; }

  .system-node {
    min-width: 107px;
    gap: 7px;
    padding: 8px;
  }

  .node-icon {
    width: 27px;
    height: 27px;
  }

  .node-icon svg { width: 15px; height: 15px; }
  .system-node strong { font-size: 8.5px; }
  .system-node small { font-size: 6px; }
  .node-web, .node-mobile { left: 10px; }
  .node-data, .node-seo { right: 10px; }
  .node-web, .node-data { top: 48px; }
  .node-mobile, .node-seo { top: 267px; }
  .node-core { top: 148px; min-width: 136px; }
  .runtime-card { bottom: 10px; width: 205px; }

  .stats-grid {
    margin-top: 70px;
  }

  .stat-card {
    padding: 19px 17px;
  }

  .stat-card strong { font-size: 28px; }
  .stat-card p { font-size: 10px; }

  .section {
    padding: 86px 0;
  }

  .section-heading h2,
  .experience-intro h2,
  .faq-intro h2,
  .contact-copy h2 {
    font-size: clamp(33px, 10vw, 47px);
  }

  .section-heading > p,
  .split-heading > p,
  .centered-heading > p,
  .experience-intro > p,
  .faq-intro > p,
  .contact-copy > p {
    font-size: 14.5px;
  }

  .problem-card {
    min-height: 320px;
    padding: 23px;
  }

  .card-link {
    right: 23px;
    left: 23px;
  }

  .services-bento {
    display: grid;
    grid-template-columns: 1fr;
  }

  .service-featured,
  .service-card,
  .service-wide,
  .service-support {
    grid-column: auto;
    min-height: auto;
  }

  .service-featured {
    padding: 26px;
  }

  .service-featured h3 { font-size: 29px; }

  .service-copy-wrap {
    display: block;
  }

  .speed-widget {
    margin: 25px 0;
  }

  .case-list {
    gap: 82px;
  }

  .case-preview {
    min-height: 390px;
  }

  .mock-browser {
    inset: 25px 18px -5px;
  }

  .map-sidebar { padding: 12px; }

  .ops-shell {
    inset: 23px 15px -8px;
    grid-template-columns: 38px 1fr;
  }

  .ops-main { padding: 16px; }
  .ops-metrics > div { padding: 9px; }
  .ops-metrics strong { font-size: 12px; }
  .ops-chart { height: 145px; }

  .scale-stage {
    inset: 24px 18px;
    padding: 18px;
  }

  .scale-count { margin: 30px 0 24px; }
  .scale-count strong { font-size: 39px; }
  .scale-grid { height: 120px; gap: 5px; }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: 300px;
  }

  .experience-timeline::before { left: 77px; }

  .timeline-item {
    grid-template-columns: 58px 1fr;
    gap: 36px;
  }

  .timeline-item::before { left: 73.5px; }

  .commitment-grid {
    grid-template-columns: 1fr;
  }

  .faq-list summary {
    min-height: 76px;
  }

  .faq-list summary span { font-size: 14.5px; }
  .faq-answer p { padding-right: 10px; }

  .contact-form-card {
    padding: 22px;
    border-radius: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-full { grid-column: auto; }

  .form-head > span { display: none; }

  .footer-top {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .footer-top > p {
    text-align: left;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 92px;
  }

  .mobile-line-cta {
    display: flex;
  }

  .toast {
    right: 16px;
    bottom: 82px;
    left: 16px;
    max-width: none;
  }
}

@media (max-width: 440px) {
  .brand-copy small { display: none; }
  .brand-mark { width: 32px; height: 32px; }

  .hero h1 {
    font-size: 41px;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .architecture-canvas {
    height: 350px;
  }

  .system-node {
    min-width: 94px;
  }

  .node-icon { display: none; }
  .node-web, .node-data { top: 39px; }
  .node-mobile, .node-seo { top: 234px; }
  .node-core { top: 126px; }
  .runtime-card { width: 186px; }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-card {
    min-height: 108px;
  }

  .stat-card strong { font-size: 24px; }

  .service-card,
  .problem-card,
  .commitment-panel {
    border-radius: 17px;
  }

  .case-preview {
    min-height: 330px;
  }

  .map-layout { grid-template-columns: 29% 71%; }
  .map-list-card { grid-template-columns: 28px 1fr; }
  .map-popup { display: none; }

  .ops-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .ops-metrics > div:last-child { display: none; }

  .ops-chart { height: 115px; }
  .scale-grid { height: 88px; }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 28px;
  }

  .experience-timeline::before { left: 4px; }
  .timeline-item::before { left: 0; }

  .result-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

  .visual-window {
    transform: none !important;
  }
}

@media print {
  :root {
    --bg: #fff;
    --bg-deep: #fff;
    --text: #111;
    --text-soft: #222;
    --muted: #444;
    --muted-2: #666;
    --line: #ccc;
  }

  body {
    color: #111;
    background: #fff;
  }

  .site-header,
  .scroll-progress,
  .hero-visual,
  .mobile-line-cta,
  .toast,
  .hero-grid,
  .hero-orb,
  .tech-marquee {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .hero-layout,
  .case-study,
  .experience-layout,
  .faq-layout,
  .contact-layout {
    display: block;
  }

  .section {
    padding: 40px 0;
  }

  .service-card,
  .problem-card,
  .case-preview,
  .commitment-panel,
  .contact-form-card {
    break-inside: avoid;
    box-shadow: none;
  }
}

/* LINE LIFF entry */
.line-card small b {
  color: inherit;
  font-weight: 700;
}

.liff-entry-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  box-shadow: 0 14px 40px rgba(37, 99, 235, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.liff-entry-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.14);
}

.liff-entry-card > svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.liff-entry-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #0284c7);
  color: #fff;
  font: 800 12px/1 var(--font-mono, ui-monospace, monospace);
  letter-spacing: 0.08em;
}

.liff-entry-card small,
.liff-entry-card strong {
  display: block;
}

.liff-entry-card small {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.liff-entry-card strong {
  font-size: 0.98rem;
}

.footer-line small {
  margin-left: 4px;
  opacity: 0.72;
  font-size: 0.74em;
}
