/* =====================================================================
   RLS Technology Group — Design system
   Create (violet) · Operate (sky) · Protect (emerald)
   ===================================================================== */

:root {
  --ink: #070b14;
  --ink-2: #0c1322;
  --ink-3: #131c2e;
  --line-d: rgba(255, 255, 255, .09);
  --on-dark: #e9edf5;
  --on-dark-2: #a3adc2;
  --paper: #f5f7fb;
  --white: #ffffff;
  --text: #0b1220;
  --muted: #56607a;
  --line: #e2e6ef;

  --create: #8b7cf6;
  --operate: #38bdf8;
  --protect: #34d399;
  --create-ink: #5b47e0;
  --operate-ink: #0b7fb5;
  --protect-ink: #0f8a60;
  --grad: linear-gradient(90deg, var(--create), var(--operate) 52%, var(--protect));

  --f-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --r: 18px;
  --r-sm: 12px;
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 40px);
  --sec: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 12px 32px -12px rgba(11, 18, 32, .12);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.6; color: var(--text);
  background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
:focus-visible { outline: 2px solid var(--operate); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- type helpers ---------- */
.kicker { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--operate-ink); margin-bottom: 1.1em; font-weight: 500; }
.dark .kicker, .page-hero .kicker, .home-hero .kicker, .cta-band .kicker { color: var(--operate); }
.kicker-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--on-dark-2); max-width: 44rem; }
.lead.strong { color: var(--text); font-weight: 600; font-size: clamp(1.15rem, 1.9vw, 1.4rem); margin-inline: auto; }
.dark-lead { color: var(--text); }
.display { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; }
.display-2 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); letter-spacing: -.035em; }
.grad-text, h1 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; }
.section-head.center .muted { max-width: 620px; margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--white); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: .98rem; letter-spacing: -.005em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
}
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }
.btn-primary { --bg: var(--white); --fg: var(--ink); box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 10px 30px -10px rgba(56,189,248,.6); position: relative; isolation: isolate; }
.btn-primary::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: var(--grad); z-index: -1; opacity: 0; transition: opacity .3s; }
.btn-primary:hover { --fg: var(--ink); box-shadow: 0 14px 40px -12px rgba(139,124,246,.7); }
.btn-primary:hover::before { opacity: 1; }
.section:not(.dark) .btn-primary, .contact-form .btn-primary { --bg: var(--ink); --fg: var(--white); box-shadow: 0 10px 30px -12px rgba(11,18,32,.5); }
.section:not(.dark) .btn-primary:hover, .contact-form .btn-primary:hover { --fg: var(--ink); }
.btn-dark { --bg: var(--ink); --fg: var(--white); }
.btn-dark:hover { box-shadow: 0 12px 30px -12px rgba(11,18,32,.6); }
.btn-ghost-light { --bg: rgba(255,255,255,.04); --fg: var(--on-dark); border-color: rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { --bg: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); }
.btn-ghost-light .ic { width: 20px; height: 20px; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .92rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 90; height: var(--header-h); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(7,11,20,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-color: var(--line-d); }
@supports not (backdrop-filter: blur(1px)) { .site-header.is-scrolled { background: rgba(7,11,20,.97); } }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; color: var(--on-dark); }
.brand { display: inline-flex; flex-shrink: 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 36px; height: 36px; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-word b { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: .02em; color: var(--white); }
.logo-word span { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); margin-top: 3px; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 4px; }
.nav-link { position: relative; display: block; padding: 8px 12px; font-size: .92rem; font-weight: 500; color: var(--on-dark-2); border-radius: 8px; transition: color .2s; }
.nav-link:hover, .nav-link.is-active { color: var(--white); }
.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-link[data-p="create"]::after { background: var(--create); }
.nav-link[data-p="operate"]::after { background: var(--operate); }
.nav-link[data-p="protect"]::after { background: var(--protect); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-menu { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; background: transparent; border: 1px solid transparent; border-radius: 10px; color: var(--on-dark); font-size: .85rem; font-weight: 600; }
.lang-btn:hover { border-color: var(--line-d); }
.lang-btn .ic { width: 17px; height: 17px; }
.lang-btn .chev { width: 14px; height: 14px; opacity: .6; }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px; background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 14px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.lang-list a { display: flex; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: .9rem; color: var(--on-dark); font-weight: 600; }
.lang-list a span { font-weight: 400; color: var(--on-dark-2); }
.lang-list a:hover, .lang-list a[aria-current] { background: rgba(255,255,255,.06); }
.lang-list a[aria-current]::after { content: "●"; margin-left: auto; color: var(--protect); font-size: .6rem; align-self: center; }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line-d); border-radius: 12px; color: var(--on-dark); }
.menu-btn .ic { width: 22px; }

.mobile-menu { position: fixed; inset: 0; z-index: 120; background: rgba(7,11,20,.98); color: var(--on-dark); overflow-y: auto; }
.mobile-menu-inner { min-height: 100%; padding: 20px var(--pad) 40px; display: flex; flex-direction: column; }
.menu-close { align-self: flex-end; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-d); border-radius: 12px; color: var(--on-dark); display: flex; align-items: center; justify-content: center; }
.menu-close .ic { width: 22px; }
.mobile-menu ul { margin: 24px 0 28px; }
.mobile-menu li a { display: block; padding: 14px 0; font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; border-bottom: 1px solid var(--line-d); }
.mobile-menu li a[aria-current] { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mobile-langs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.mobile-langs a { min-width: 52px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-d); border-radius: 10px; font-weight: 600; font-size: .9rem; }
.mobile-langs a[aria-current] { background: var(--white); color: var(--ink); }
body.menu-open { overflow: hidden; }

/* ---------- language suggestion ---------- */
.lang-banner { position: fixed; z-index: 95; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; background: var(--ink-2); color: var(--on-dark); border: 1px solid var(--line-d); border-radius: 999px; box-shadow: 0 18px 50px -18px rgba(0,0,0,.6); font-size: .92rem; max-width: calc(100% - 32px); }
.lang-banner a { background: var(--white); color: var(--ink); padding: 7px 14px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.lang-banner button { background: transparent; border: 0; color: var(--on-dark-2); width: 34px; height: 34px; border-radius: 50%; }
.lang-banner button:hover { background: rgba(255,255,255,.08); color: var(--white); }

/* ---------- shared dark backdrops ---------- */
.grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 80%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 80%); }

/* ---------- home hero ---------- */
.home-hero { position: relative; min-height: 100svh; display: flex; align-items: center; background: var(--ink); color: var(--on-dark); overflow: hidden; padding: calc(var(--header-h) + 48px) 0 64px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.eco-canvas, .hero-bg .asset, .hero-bg .asset img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.hero-fade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,11,20,.96) 0%, rgba(7,11,20,.82) 34%, rgba(7,11,20,.2) 64%, rgba(7,11,20,.1) 100%),
              linear-gradient(180deg, rgba(7,11,20,.6) 0%, transparent 18%, transparent 78%, var(--ink) 100%); }
.home-hero-inner { position: relative; }
.home-hero h1 { max-width: 13ch; margin-bottom: .35em; color: var(--white); }
.home-hero .lead { max-width: 36rem; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-pillars { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(40px, 7vw, 72px); }
.hero-pillars a { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px 12px 16px; border-radius: 14px; background: rgba(12,19,34,.6); border: 1px solid var(--line-d); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .25s, transform .25s var(--ease); border-left: 3px solid var(--c); }
.hero-pillars a:hover { transform: translateY(-2px); border-color: var(--c); }
.hero-pillars .p-create { --c: var(--create); } .hero-pillars .p-operate { --c: var(--operate); } .hero-pillars .p-protect { --c: var(--protect); }
.p-verb { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.p-name { font-weight: 600; color: var(--white); font-size: .98rem; }

/* ---------- page hero ---------- */
.page-hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; padding: calc(var(--header-h) + clamp(56px, 9vw, 104px)) 0 clamp(64px, 9vw, 112px); isolation: isolate; }
.page-hero.slim { padding-bottom: 56px; }
.page-hero.nf { min-height: 80svh; display: flex; align-items: center; }
.hero-glow { position: absolute; z-index: -1; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; right: -18vw; top: -30vw; border-radius: 50%; filter: blur(40px); opacity: .55;
  background: radial-gradient(circle, color-mix(in srgb, var(--tone) 55%, transparent) 0%, transparent 62%); }
.tone-brand { --tone: #6b7cf8; } .tone-create { --tone: var(--create); } .tone-operate { --tone: var(--operate); } .tone-protect { --tone: var(--protect); }
.page-hero-inner { display: grid; gap: 48px; align-items: center; }
.page-hero.has-visual .page-hero-inner { grid-template-columns: 1.1fr .9fr; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -.04em; line-height: 1.04; color: var(--white); max-width: 16ch; font-weight: 800; }
.page-hero h1 em { background: linear-gradient(90deg, var(--tone), color-mix(in srgb, var(--tone) 55%, #fff)); -webkit-background-clip: text; background-clip: text; }
.tone-brand h1 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.page-hero .kicker { color: var(--tone); }
.page-hero .lead { margin-bottom: 2rem; }
.muted-light { color: var(--on-dark-2); }
.crumbs ol { display: flex; gap: 8px; font-size: .82rem; color: var(--on-dark-2); margin-bottom: 28px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a:hover { color: var(--white); }

/* ---------- coded visuals ---------- */
.viz { position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto; width: 100%; }
.asset { margin: 0; } .asset img { width: 100%; height: auto; border-radius: var(--r); }

.viz-create .dev { position: absolute; background: linear-gradient(160deg, #1a2440, #0c1322); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(139,124,246,.12), inset 0 1px 0 rgba(255,255,255,.08); padding: 8px; }
.dev-desk { left: 0; top: 14%; width: 82%; aspect-ratio: 16/10.5; transform: perspective(1200px) rotateY(-14deg) rotateX(6deg); animation: float 9s ease-in-out infinite; }
.dev-tab { right: 2%; top: 38%; width: 38%; aspect-ratio: 3/4; transform: perspective(1200px) rotateY(-10deg); animation: float 8s ease-in-out -2s infinite; }
.dev-phone { left: 14%; bottom: 4%; width: 22%; aspect-ratio: 9/19; border-radius: 18px !important; animation: float 7s ease-in-out -4s infinite; }
.dev-bar { display: flex; gap: 5px; padding: 3px 4px 8px; } .dev-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.18); }
.dev-screen { height: calc(100% - 18px); border-radius: 8px; background: #0f1830; overflow: hidden; padding: 10%; display: flex; flex-direction: column; gap: 8%; }
.dev-phone .dev-screen, .dev-tab .dev-screen { height: 100%; }
.m-hero { flex: 1.3; border-radius: 6px; background: linear-gradient(120deg, rgba(139,124,246,.9), rgba(56,189,248,.7)); }
.m-row { flex: 1; display: flex; gap: 8%; } .m-row span { flex: 1; border-radius: 5px; background: rgba(255,255,255,.08); }
.m-line { height: 6px; border-radius: 3px; background: rgba(255,255,255,.2); } .m-line.s { width: 60%; }
.m-btn { height: 14px; width: 55%; border-radius: 7px; background: var(--white); margin-top: auto; }

.viz-operate { color: var(--operate); }
.viz-operate .links { position: absolute; inset: 0; width: 100%; height: 100%; }
.viz-operate .links path { stroke-dasharray: 4 6; animation: dash 3s linear infinite; }
.viz-operate .core { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 28%; background: linear-gradient(160deg, #13304a, #0c1322); border: 1px solid rgba(56,189,248,.4); box-shadow: 0 0 80px -10px rgba(56,189,248,.55); color: var(--operate); }
.viz-operate .core .ic { width: 44%; }
.viz-operate .n { position: absolute; width: 11%; aspect-ratio: 1; border-radius: 30%; background: #0f1a2c; border: 1px solid rgba(56,189,248,.35); box-shadow: 0 0 24px -6px rgba(56,189,248,.6); transform: translate(-50%, -50%); animation: pulse 4s ease-in-out infinite; }
.n1 { left: 20%; top: 22.5%; } .n2 { left: 80%; top: 22.5%; animation-delay: -.6s !important; } .n3 { left: 15%; top: 62.5%; animation-delay: -1.2s !important; } .n4 { left: 85%; top: 62.5%; animation-delay: -1.8s !important; } .n5 { left: 35%; top: 85%; animation-delay: -2.4s !important; } .n6 { left: 67.5%; top: 86%; animation-delay: -3s !important; } .n7 { left: 50%; top: 15%; animation-delay: -3.4s !important; }

.viz-protect { display: grid; place-items: center; }
.viz-protect .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(52,211,153,.3); }
.viz-protect .r1 { inset: 4%; border-style: dashed; animation: spin 60s linear infinite; }
.viz-protect .r2 { inset: 17%; border-color: rgba(52,211,153,.45); box-shadow: inset 0 0 60px -20px rgba(52,211,153,.5); }
.viz-protect .r3 { inset: 30%; background: radial-gradient(circle, rgba(52,211,153,.18), transparent 70%); animation: pulse 5s ease-in-out infinite; }
.viz-protect .r1::before { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--protect); top: -5px; left: 50%; box-shadow: 0 0 16px var(--protect); }
.viz-protect .shield { position: relative; width: 34%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 28%; background: linear-gradient(160deg, #123a30, #0c1322); border: 1px solid rgba(52,211,153,.5); color: var(--protect); box-shadow: 0 0 90px -10px rgba(52,211,153,.55); }
.viz-protect .shield .ic { width: 50%; }

@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash { to { stroke-dashoffset: -40; } }

/* ---------- sections ---------- */
.section { padding: var(--sec) 0; position: relative; }
.section.paper { background: var(--paper); }
.section.dark { background: var(--ink); color: var(--on-dark); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark .muted { color: var(--on-dark-2); }

/* trust pillars */
.trust .section-head .muted { font-size: 1.05rem; }
.tp-wrap { position: relative; }
.tp-line { position: absolute; left: 0; right: 0; top: 34px; width: 100%; height: 20px; }
.tp-path { stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.tp-wrap.in .tp-path { stroke-dashoffset: 0; }
.tp-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.tp { text-align: center; padding: 0 12px; }
.tp-ic { width: 88px; height: 88px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 26px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--c); position: relative; }
.tp-ic::after { content: ""; position: absolute; inset: -6px; border-radius: 30px; border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.tp-ic .ic { width: 36px; height: 36px; }
.tp-create { --c: var(--create-ink); } .tp-operate { --c: var(--operate-ink); } .tp-protect { --c: var(--protect-ink); }
.tp-verb { display: block; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c); margin-bottom: 6px; }
.tp h3 { font-size: 1.4rem; }
.tp p { color: var(--muted); max-width: 30ch; margin-inline: auto; }

/* service cards */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { --c: var(--create); --ci: var(--create-ink); position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; overflow: hidden; }
.svc-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c); }
.svc-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); opacity: .6; transition: opacity .35s; pointer-events: none; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--c) 55%, rgba(11,18,32,.4)); border-color: color-mix(in srgb, var(--c) 40%, var(--line)); }
.svc-card:hover::after { opacity: 1; }
.tone-operate { --c: var(--operate); --ci: var(--operate-ink); } .tone-protect { --c: var(--protect); --ci: var(--protect-ink); } .tone-create { --c: var(--create); --ci: var(--create-ink); }
.svc-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.svc-ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--ci); }
.svc-ic .ic { width: 26px; height: 26px; }
.svc-verb { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ci); }
.svc-card h3 { font-size: 1.6rem; margin-bottom: .3em; }
.svc-tag { color: var(--muted); margin-bottom: 22px; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin-bottom: 28px; font-size: .9rem; color: #2b3448; }
.svc-list li { position: relative; padding-left: 14px; line-height: 1.35; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 2px; background: var(--c); }
.svc-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ci); }
.svc-link .ic { width: 18px; transition: transform .25s var(--ease); }
.svc-link:hover .ic { transform: translateX(4px); }

/* why */
.why-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.why-head { position: sticky; top: calc(var(--header-h) + 40px); }
.why-list { display: grid; gap: 4px; }
.why-item { display: flex; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line-d); }
.why-item:last-child { border-bottom: 1px solid var(--line-d); }
.why-n { font-family: var(--f-mono); font-size: .85rem; color: var(--operate); padding-top: 4px; min-width: 28px; }
.why-item h3 { font-size: 1.3rem; margin-bottom: .3em; }
.why-item p { color: var(--on-dark-2); margin: 0; }

/* before / after */
.ba-shell { background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 40px 80px -40px rgba(11,18,32,.3); padding: 14px; }
.ba-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 6px 6px 14px; }
.tabs { display: flex; gap: 4px; background: var(--paper); padding: 4px; border-radius: 999px; overflow-x: auto; }
.tabs button { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); white-space: nowrap; min-height: 40px; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.demo-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--paper); border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; }
.demo-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f5b841; }
.dark .demo-badge, .dash .demo-badge { background: rgba(255,255,255,.05); border-color: var(--line-d); color: var(--on-dark-2); }
.demo-badge.warn { background: #fff8e6; border-color: #f4d58a; color: #7a5a06; margin-bottom: 1.5em; }
.ba { --pos: 50%; position: relative; aspect-ratio: 16/8.5; border-radius: 16px; overflow: hidden; background: var(--paper); user-select: none; touch-action: pan-y; }
.ba-layer { position: absolute; inset: 0; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-tag { position: absolute; left: 14px; bottom: 14px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 8px; background: rgba(0,0,0,.65); color: #fff; }
.ba-tag-after { left: auto; right: 14px; background: var(--ink); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 0 20px rgba(0,0,0,.25); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--white); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.ba-handle span::before, .ba-handle span::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; border: solid var(--ink); border-width: 0 0 2px 2px; }
.ba-handle span::before { left: 12px; transform: translateY(-50%) rotate(45deg); }
.ba-handle span::after { right: 12px; transform: translateY(-50%) rotate(-135deg); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-range:focus-visible + * , .ba:focus-within .ba-handle span { outline: 3px solid var(--operate); outline-offset: 2px; }

/* old-site mock */
.mock-old { height: 100%; background: #e9e4d4; font-family: "Times New Roman", Times, serif; color: #202080; display: flex; flex-direction: column; }
.old-top { background: linear-gradient(#3a5fcd, #1f3a8a); color: #ffef8a; padding: 2.2% 3%; font-size: clamp(.8rem, 2vw, 1.5rem); text-shadow: 2px 2px 0 #000; }
.old-nav { background: #c0c0c0; border-block: 2px outset #eee; padding: 1% 3%; font: bold clamp(.5rem, 1.1vw, .8rem) Arial, sans-serif; color: #000080; text-decoration: underline; }
.old-body { flex: 1; display: grid; grid-template-columns: 1fr 30%; gap: 3%; padding: 3%; }
.old-img { background: repeating-linear-gradient(45deg, #b8b09a 0 10px, #cfc8b3 10px 20px); border: 3px ridge #999; }
.mock-old h4 { font-family: "Comic Sans MS", "Comic Sans", cursive; color: #c00; font-size: clamp(.8rem, 2.2vw, 1.7rem); letter-spacing: 0; margin-bottom: .4em; }
.mock-old p { font-size: clamp(.55rem, 1.2vw, .95rem); line-height: 1.35; color: #333; }
.old-btn { display: inline-block; background: #ffcc00; border: 2px outset #fff; padding: 3px 10px; font: bold clamp(.55rem, 1.1vw, .85rem) Arial; color: #000; }
.old-counter { align-self: center; margin-bottom: 2%; background: #000; color: #0f0; font: clamp(.5rem, 1vw, .8rem) monospace; padding: 2px 8px; letter-spacing: .3em; }
/* new-site mock */
.mock-new { height: 100%; background: linear-gradient(160deg, #fff, #f2f4fb); display: flex; flex-direction: column; font-family: var(--f-body); color: var(--text); }
.new-top { display: flex; align-items: center; gap: 4%; padding: 2.4% 4%; font-size: clamp(.65rem, 1.4vw, 1rem); border-bottom: 1px solid var(--line); }
.new-top b { font-family: var(--f-display); }
.new-nav { display: flex; gap: 10px; margin-left: auto; } .new-nav i { width: clamp(20px, 4vw, 44px); height: 6px; border-radius: 3px; background: #dfe3ec; }
.new-cta { background: var(--ink); color: #fff; font-size: .8em; padding: .4em 1em; border-radius: 99px; }
.new-body { flex: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 5%; padding: 5% 4% 4%; align-items: center; }
.mock-new h4 { font-size: clamp(.95rem, 3vw, 2.4rem); letter-spacing: -.03em; line-height: 1.05; margin-bottom: .4em; }
.mock-new p { font-size: clamp(.55rem, 1.25vw, .95rem); color: var(--muted); line-height: 1.4; }
.new-btn { display: inline-block; background: var(--create-ink); color: #fff; font-weight: 600; font-size: clamp(.55rem, 1.2vw, .9rem); padding: .6em 1.2em; border-radius: 99px; }
.new-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6%; } .new-chips span { font-size: clamp(.5rem, 1vw, .75rem); padding: .3em .8em; border-radius: 99px; background: #e9f9f2; color: var(--protect-ink); font-weight: 600; }
.new-visual { height: 100%; min-height: 60%; border-radius: 14px; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.6), transparent 40%), linear-gradient(135deg, var(--create), var(--operate)); box-shadow: 0 20px 40px -20px rgba(91,71,224,.6); }
/* state panels */
.state { height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 5% 8%; }
.state-bad { background: repeating-linear-gradient(-45deg, #f4f1ee 0 14px, #efebe7 14px 28px); }
.state-good { background: linear-gradient(160deg, #0c1322, #0f1c30); color: var(--on-dark); }
.state-h { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.state-list { display: grid; gap: clamp(6px, 1.4vw, 14px); font-size: clamp(.8rem, 1.6vw, 1.1rem); }
.state-list li { display: flex; gap: 12px; align-items: flex-start; }
.state-list .ic { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; }
.state-bad .ic { background: #fde2e2; color: #b42318; }
.state-good .ic { background: rgba(52,211,153,.15); color: var(--protect); }
.state-good li:nth-child(odd) { margin-left: auto; margin-right: 0; }

/* advantage */
.advantage { overflow: hidden; }
.advantage::before { content: ""; position: absolute; width: 900px; height: 900px; left: -300px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(139,124,246,.18), transparent 60%); pointer-events: none; }
.adv-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; position: relative; }
.adv-line { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--on-dark-2); margin: 0 0 .5em; }
.adv-line strong { color: var(--white); }
.adv-line.l0 strong { color: var(--create); } .adv-line.l1 strong { color: var(--operate); } .adv-line.l2 strong { color: var(--protect); }
.adv-close { margin-top: 1.6em; font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; color: var(--white); }
.flow { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.flow-node { position: relative; width: 100%; max-width: 340px; text-align: center; }
.flow-node span { display: block; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line-d); background: rgba(255,255,255,.03); font-weight: 600; color: var(--white); }
.flow-node + .flow-node::before { content: ""; position: absolute; left: 50%; top: -30px; height: 30px; width: 2px; margin-left: -1px; background: linear-gradient(var(--line-d), rgba(255,255,255,.3)); }
.flow-node + .flow-node::after { content: ""; position: absolute; left: 50%; top: -9px; width: 7px; height: 7px; margin-left: -4px; border: solid rgba(255,255,255,.5); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.f-biz span { background: transparent; border-style: dashed; color: var(--on-dark-2); }
.f-create span { border-color: rgba(139,124,246,.5); box-shadow: inset 3px 0 0 var(--create); }
.f-operate span { border-color: rgba(56,189,248,.5); box-shadow: inset 3px 0 0 var(--operate); }
.f-protect span { border-color: rgba(52,211,153,.5); box-shadow: inset 3px 0 0 var(--protect); }
.f-one span { background: var(--white); color: var(--ink); font-family: var(--f-display); font-size: 1.1rem; box-shadow: 0 0 0 1px transparent, 0 20px 60px -20px rgba(56,189,248,.6); position: relative; }
.f-one span::before { content: ""; position: absolute; inset: -2px; border-radius: 16px; background: var(--grad); z-index: -1; }

/* process */
.steps-wrap { position: relative; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.steps-line { position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--line); border-radius: 2px; }
.steps-line span { display: block; height: 100%; width: var(--p, 0%); background: var(--grad); border-radius: inherit; transition: width .2s linear; }
.step-n { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); font-family: var(--f-mono); font-size: .85rem; color: var(--muted); margin-bottom: 22px; transition: border-color .4s, color .4s, background .4s; }
.step.active .step-n { border-color: var(--ink); background: var(--ink); color: var(--white); }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted); font-size: .96rem; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.plan { padding: 32px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); border-top: 3px solid var(--c); }
.plan h3 { margin-top: 20px; font-size: 1.35rem; }
.plan-price { display: flex; flex-direction: column; gap: 2px; margin: 12px 0 14px; min-height: 64px; justify-content: flex-end; }
.price-pre { font-size: .85rem; color: var(--muted); }
.price { font-family: var(--f-display); font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.price-text { font-size: 1.7rem; }
.plan p { color: var(--muted); margin: 0; font-size: .95rem; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 1.08rem; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { width: 20px; flex: none; transition: transform .3s var(--ease); color: var(--muted); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-a p { color: var(--muted); padding-bottom: 22px; margin: 0; max-width: 62ch; }

/* CTA band */
.cta-band { position: relative; background: var(--ink); color: var(--on-dark); padding: clamp(88px, 12vw, 150px) 0; text-align: center; overflow: hidden; isolation: isolate; }
.cta-glow { position: absolute; inset: auto 0 -60%; height: 120%; z-index: -1; background: radial-gradient(ellipse 50% 50% at 30% 50%, rgba(139,124,246,.3), transparent 70%), radial-gradient(ellipse 45% 50% at 50% 60%, rgba(56,189,248,.25), transparent 70%), radial-gradient(ellipse 50% 50% at 70% 50%, rgba(52,211,153,.2), transparent 70%); }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.035em; color: var(--white); max-width: 18ch; margin-inline: auto; }
.cta-band p { color: var(--on-dark-2); font-size: 1.15rem; max-width: 38rem; margin: 0 auto 2.2rem; }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* service page grids */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-item { position: relative; padding: 26px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.svc-item:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 50%, var(--line)); box-shadow: 0 20px 40px -24px color-mix(in srgb, var(--c) 60%, transparent); }
.svc-dot { display: block; width: 10px; height: 10px; border-radius: 3px; background: var(--c); margin-bottom: 18px; box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 18%, transparent); }
.svc-item h3 { font-size: 1.12rem; margin-bottom: .35em; }
.svc-item p { color: var(--muted); font-size: .95rem; margin: 0; }
.pts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.pt-ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--ci); margin-bottom: 16px; }
.pt-ic .ic { width: 20px; }
.pt p { color: var(--muted); margin: 0; }

.mini-tl { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.mini-tl li { padding: 22px 20px; border-radius: var(--r-sm); border: 1px solid var(--line-d); background: rgba(255,255,255,.03); font-weight: 600; color: var(--white); }
.mini-tl li span { display: block; font-family: var(--f-mono); font-size: .75rem; color: var(--c); margin-bottom: 12px; font-weight: 500; }

/* portfolio */
.port-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.port-card { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.port-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11,18,32,.35); }
.port-thumb { aspect-ratio: 4/3; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.t-a { background: linear-gradient(160deg, #e8f5ff, #d4ecff); --acc: #0b7fb5; }
.t-b { background: linear-gradient(160deg, #1b1e24, #2b2f38); --acc: #f5a524; }
.t-c { background: linear-gradient(160deg, #f6efe4, #ecdcc4); --acc: #7a4a1e; }
.pt-bar { display: flex; gap: 5px; } .pt-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(0,0,0,.18); }
.t-b .pt-bar i { background: rgba(255,255,255,.25); }
.pt-hero { flex: 1; border-radius: 10px; background: rgba(255,255,255,.55); padding: 8% 7%; display: flex; flex-direction: column; gap: 8px; }
.t-b .pt-hero { background: rgba(255,255,255,.06); }
.pt-hero b { font-family: var(--f-display); font-size: 1.1rem; letter-spacing: -.02em; color: var(--acc); }
.pt-hero span { height: 7px; width: 80%; border-radius: 4px; background: rgba(0,0,0,.12); } .pt-hero span.s { width: 55%; }
.t-b .pt-hero span { background: rgba(255,255,255,.15); }
.pt-hero em { margin-top: auto; width: 34%; height: 18px; border-radius: 9px; background: var(--acc); }
.pt-row { display: flex; gap: 8px; height: 22%; } .pt-row span { flex: 1; border-radius: 8px; background: rgba(255,255,255,.5); }
.t-b .pt-row span { background: rgba(255,255,255,.06); }
.port-meta { padding: 20px 22px 24px; }
.port-meta h3 { margin-bottom: .2em; } .port-meta p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }

/* dashboard */
.dash { border-radius: 22px; border: 1px solid var(--line-d); background: linear-gradient(180deg, #0e1628, #0a111f); box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(56,189,248,.08); overflow: hidden; }
.dash-top { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line-d); flex-wrap: wrap; }
.dash-dots { display: flex; gap: 6px; } .dash-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.dash-title { font-family: var(--f-mono); font-size: .8rem; color: var(--on-dark-2); margin-right: auto; }
.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-d); }
.tile { background: #0c1424; padding: 22px 20px; display: flex; flex-direction: column; gap: 4px; }
.tile-k { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); }
.tile-v { font-family: var(--f-display); font-size: 1.7rem; font-weight: 700; color: var(--white); letter-spacing: -.02em; }
.tile-s { font-size: .85rem; color: var(--on-dark-2); }
.tile.t1 .tile-v, .tile.t5 .tile-v { color: var(--protect); }
.tile.t4 .tile-v { color: #f5b841; }
.tile.chart { grid-column: span 1; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 52px; margin-top: 8px; }
.bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(var(--operate), rgba(56,189,248,.2)); transform-origin: bottom; }
.dash.in .bars i { animation: grow .9s var(--ease) both; }
.dash.in .bars i:nth-child(n) { animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes grow { from { transform: scaleY(0); } }

/* lifecycle */
.lifecycle { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.lc { position: relative; padding: 26px 22px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); }
.lc:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 38px; width: 8px; height: 8px; border: solid var(--protect-ink); border-width: 2px 2px 0 0; transform: rotate(45deg); z-index: 1; }
.lc-n { display: inline-block; font-family: var(--f-mono); font-size: .75rem; color: var(--protect-ink); background: #e6f8f0; padding: 4px 8px; border-radius: 6px; margin-bottom: 16px; }
.lc p { color: var(--muted); font-size: .94rem; margin: 0; }
.loop-note { text-align: center; font-size: 1.6rem; color: var(--protect-ink); margin: 18px 0 0; opacity: .6; }
.principles { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.principles ul { display: grid; gap: 14px; }
.principles li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-sm); border: 1px solid var(--line-d); background: rgba(255,255,255,.03); font-size: 1.05rem; }
.principles .ic { flex: none; width: 24px; color: var(--protect); }

/* industries */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.ind { padding: 26px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: transform .3s var(--ease), box-shadow .3s; }
.ind:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ind h3 { font-size: 1.25rem; margin-bottom: 16px; }
.ind dl { margin: 0; display: grid; gap: 10px; }
.ind dl div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; font-size: .92rem; }
.ind dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; font-weight: 500; }
.ind dd { margin: 0; color: var(--muted); line-height: 1.45; }
.r-create dt { color: var(--create-ink); } .r-operate dt { color: var(--operate-ink); } .r-protect dt { color: var(--protect-ink); }
.note { margin-top: 40px; color: var(--muted); font-size: .95rem; max-width: 70ch; }

/* about */
.story { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; }
.story p { color: var(--muted); font-size: 1.08rem; }
.story .dark-lead { color: var(--text); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.5; font-weight: 500; }
.vals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.val { padding: 28px 24px; border-radius: var(--r); border: 1px solid var(--line-d); background: rgba(255,255,255,.03); }
.val p { color: var(--on-dark-2); margin: 0; }
.founder { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: center; }
.founder-photo { aspect-ratio: 4/5; border-radius: var(--r); }
.placeholder-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border: 2px dashed #d7dbe6; background: repeating-linear-gradient(45deg, #fff 0 12px, #f7f8fb 12px 24px); color: var(--muted); font-size: .85rem; text-align: center; padding: 20px; }
.placeholder-box .ic { width: 56px; height: 56px; opacity: .5; }
.placeholder-text { background: #fff8e6; box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 0 4px; border-radius: 4px; }
.role { color: var(--muted); font-weight: 600; }

/* resources */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: .9rem; color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post[hidden] { display: none; }
.post-art { aspect-ratio: 16/9; position: relative; overflow: hidden; background: var(--ink-2); }
.post-art span { position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, var(--c1), transparent 55%), radial-gradient(circle at 75% 70%, var(--c2), transparent 50%); opacity: .8; }
.post-art::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; }
.a0 { --c1: rgba(52,211,153,.6); --c2: rgba(56,189,248,.4); } .a1 { --c1: rgba(139,124,246,.7); --c2: rgba(56,189,248,.35); } .a2 { --c1: rgba(56,189,248,.6); --c2: rgba(139,124,246,.35); }
.post-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--operate-ink); margin-bottom: 10px; }
.post h3 { font-size: 1.15rem; line-height: 1.3; }
.post-body > p:not(.post-cat) { color: var(--muted); font-size: .94rem; }
.post .demo-badge { margin-top: auto; align-self: flex-start; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: start; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 28px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cfd5e1; border-radius: 12px; font: inherit; font-size: 1rem; background: var(--white); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--operate-ink); box-shadow: 0 0 0 4px rgba(56,189,248,.18); }
.field [aria-invalid="true"] { border-color: #d92d20; }
.field.check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.field.check input { width: 22px; height: 22px; min-height: 0; flex: none; margin-top: 2px; accent-color: var(--ink); }
.field.check label { flex: 1; font-weight: 400; font-size: .92rem; color: var(--muted); }
.field.check .err { flex-basis: 100%; }
.err { color: #b42318; font-size: .84rem; margin: 0; min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 18px 0 0; font-weight: 600; }
.form-status.ok { color: var(--protect-ink); } .form-status.bad { color: #b42318; }
.fine { font-size: .84rem; color: var(--muted); margin: 16px 0 0; } .fine a { text-decoration: underline; text-underline-offset: 3px; }
.contact-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.side-block { padding: 26px 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.side-h { font-weight: 700; font-family: var(--f-display); font-size: 1.1rem; margin-bottom: 14px; }
.side-link { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 500; word-break: break-word; }
.side-link .ic { width: 22px; height: 22px; flex: none; color: var(--operate-ink); }
.side-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.expect { display: grid; gap: 12px; }
.expect li { display: flex; gap: 10px; color: var(--muted); font-size: .95rem; }
.expect .ic { width: 20px; flex: none; color: var(--protect-ink); margin-top: 2px; }

/* legal prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose p { color: var(--muted); }
.prose a { color: var(--operate-ink); text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer { background: #05080f; color: var(--on-dark-2); padding: 80px 0 32px; border-top: 1px solid var(--line-d); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-motto { margin: 22px 0 8px; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-tag { font-size: .94rem; max-width: 34ch; }
.site-footer h2 { font-size: .75rem; font-family: var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); font-weight: 500; margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a:hover { color: var(--white); }
.socials { display: flex; gap: 14px; margin-top: 18px; font-size: .9rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--line-d); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-langs a[aria-current] { color: var(--white); font-weight: 600; }

/* ---------- WhatsApp + sticky CTA ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.sticky-cta { display: none; }
.btn-wa { --bg: #25d366; --fg: #fff; width: 52px; padding: 0; flex: none; }
.btn-wa svg { width: 26px; height: 26px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .primary-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .tile.chart { grid-column: span 2; }
  .svc-grid, .posts, .port-grid { grid-template-columns: repeat(2, 1fr); }
  .vals { grid-template-columns: repeat(2, 1fr); }
  .lifecycle, .mini-tl { grid-template-columns: repeat(3, 1fr); }
  .lc:nth-child(3)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .svc-cards, .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plans { margin-bottom: 36px; }
  .why-grid, .adv-grid, .faq-grid, .principles, .story, .contact-grid, .founder { grid-template-columns: 1fr; }
  .why-head, .contact-side { position: static; }
  .page-hero.has-visual .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-visual { max-width: 360px; width: 80%; margin-inline: auto; }
  .founder { gap: 32px; } .founder-photo { max-width: 320px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps-line { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps-line span { width: 100%; height: var(--p, 0%); }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; padding-bottom: 28px; }
  .step-n { grid-row: span 2; margin: 0; }
  .step h3 { margin-top: 10px; }
  .pts { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  :root { --header-h: 64px; }
  .header-cta { display: none; }
  .lang-btn span { display: none; }
  .logo-word span { display: none; }
  .home-hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); align-items: flex-end; }
  .hero-bg { opacity: .55; }
  .hero-fade { background: linear-gradient(180deg, rgba(7,11,20,.35) 0%, rgba(7,11,20,.75) 50%, var(--ink) 100%); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-pillars { display: grid; grid-template-columns: 1fr; }
  .tp-list { grid-template-columns: 1fr; gap: 40px; }
  .tp-line { display: none; }
  .svc-list { grid-template-columns: 1fr; }
  .svc-grid, .posts, .port-grid, .vals, .pts, .form-grid, .ind-grid { grid-template-columns: 1fr; }
  .lifecycle, .mini-tl { grid-template-columns: 1fr; }
  .lc::after { display: none; }
  .ba { aspect-ratio: 4/5; }
  .new-body, .old-body { grid-template-columns: 1fr; }
  .new-visual { min-height: 80px; }
  .old-img { min-height: 60px; }
  .ba-bar { flex-direction: column; align-items: stretch; }
  .ba-bar .demo-badge { align-self: flex-start; }
  .state-good li:nth-child(odd) { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding-bottom: 80px; }
  .wa-float { display: none; }
  .sticky-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(7,11,20,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line-d); transform: translateY(110%); transition: transform .35s var(--ease); }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn-primary { flex: 1; }
  body[data-page="contact"] .sticky-cta { display: none; }
  .lang-banner { bottom: 84px; border-radius: 16px; flex-wrap: wrap; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- motion preferences: only intrusive effects are gated ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dev-desk, .dev-tab, .dev-phone, .viz-protect .r1, .viz-operate .links path, .viz-operate .n, .viz-protect .r3 { animation: none; }
  .js .reveal { transform: none; transition-duration: .3s; }
}

@media print {
  .site-header, .wa-float, .sticky-cta, .lang-banner, .cta-band, .hero-bg { display: none !important; }
  .page-hero, .home-hero, .section.dark { background: #fff !important; color: #000 !important; }
}
