/* Avenmark Solutions - main stylesheet. Plain CSS, no build step.
   Brand: teal #0FA3A3, navy #15233F, soft #F3F7FA, text #15233F, muted #4A5668 */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/InterVar.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #15233f;
  --navy-deep: #0c1630;
  --teal: #0fa3a3;
  --teal-bright: #19c4b8;
  --bg: #ffffff;
  --bg-soft: #f3f7fa;
  --card: #ffffff;
  --text: #15233f;
  --muted: #4a5668;
  --accent-text: #0a6e6e;
  --border: #dde5ee;
  --border-strong: #b9c6d6;
  --shadow-sm: 0 1px 2px rgba(21, 35, 63, .06), 0 4px 14px rgba(21, 35, 63, .06);
  --shadow-md: 0 2px 4px rgba(21, 35, 63, .05), 0 14px 40px rgba(21, 35, 63, .10);
  --shadow-lg: 0 30px 80px rgba(12, 22, 48, .28);
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0b1324;
  --bg-soft: #0f1a31;
  --card: #14213b;
  --text: #e8eef6;
  --muted: #a9b6c8;
  --accent-text: #3fd0cb;
  --border: #223452;
  --border-strong: #35496b;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 14px rgba(0, 0, 0, .25);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, .3), 0 14px 40px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 750; }
h1 { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.4vw, 2.9rem); letter-spacing: -.03em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 2rem); margin-inline: auto; }
@media (min-width: 640px) { .container { width: min(1200px, 100% - 3rem); } }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-soft { background: var(--bg-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 10px; }
.skip-link:focus { top: 1rem; }
.text-center { text-align: center; }
.muted { color: var(--muted); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-primary { background: linear-gradient(135deg, var(--teal), var(--teal-bright)); color: #0b1630; box-shadow: 0 8px 24px rgba(15, 163, 163, .35); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(15, 163, 163, .5); }
.btn-outline { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--teal); color: var(--accent-text); }
.btn-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-light:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
[data-theme="dark"] .btn-dark { background: #fff; color: var(--navy); }
.btn-sm { padding: .55rem 1.05rem; font-size: .94rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; text-decoration: none; }
.link-arrow .icon { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 6px 24px rgba(21, 35, 63, .06); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); margin-inline-end: auto; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 1.22rem; letter-spacing: .04em; }
.brand-sub { font-weight: 500; font-size: .66rem; letter-spacing: .42em; color: var(--accent-text); margin-top: .3rem; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-list { display: flex; gap: .25rem; list-style: none; }
.nav-list a { display: block; padding: .5rem .85rem; border-radius: 999px; color: var(--text); font-weight: 560; font-size: .98rem; text-decoration: none; transition: background-color .2s, color .2s; }
.nav-list a:hover { background: var(--bg-soft); }
.nav-list a[aria-current="page"] { color: var(--accent-text); background: color-mix(in srgb, var(--teal) 12%, transparent); }
.nav-actions { display: flex; gap: .6rem; align-items: center; }
.header-tools { display: flex; align-items: center; gap: .5rem; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--border); background: transparent; color: var(--text); cursor: pointer; transition: background-color .2s, border-color .2s; }
.icon-btn:hover { background: var(--bg-soft); border-color: var(--border-strong); }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.nav-toggle { display: none; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }

@media (max-width: 1099px) {
  .js .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 55; flex-direction: column; align-items: stretch; gap: 1.5rem;
    padding: 1.5rem 1.25rem 2rem; background: var(--bg); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .js .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-list { flex-direction: column; gap: .15rem; }
  .nav-list a { font-size: 1.25rem; padding: .85rem 1rem; border-radius: var(--radius-sm); }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn { padding: 1rem 1.5rem; }
  .nav-toggle { display: inline-grid; }
}
@media (max-width: 480px) { .brand-sub { letter-spacing: .3em; } .brand-mark { width: 40px; height: 40px; } }
@media (min-width: 1100px) and (max-width: 1239px) { .nav-actions .btn-outline { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(135deg, #0a1329 0%, #15233f 55%, #0c3b4d 100%); padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem); }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.blob.b1 { width: 60vmax; height: 60vmax; inset-inline-end: -15vmax; top: -25vmax; background: radial-gradient(circle, rgba(15, 163, 163, .55), rgba(15, 163, 163, 0) 62%); animation: drift1 18s ease-in-out infinite alternate; }
.blob.b2 { width: 50vmax; height: 50vmax; inset-inline-start: -18vmax; bottom: -28vmax; background: radial-gradient(circle, rgba(40, 110, 220, .42), rgba(40, 110, 220, 0) 62%); animation: drift2 22s ease-in-out infinite alternate; }
.blob.b3 { width: 34vmax; height: 34vmax; inset-inline-start: 38%; top: 18%; background: radial-gradient(circle, rgba(25, 196, 184, .22), rgba(25, 196, 184, 0) 65%); animation: drift3 16s ease-in-out infinite alternate; }
.grid-lines { 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: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 72%); }
@keyframes drift1 { to { transform: translate(-6vmax, 8vmax) scale(1.12); } }
@keyframes drift2 { to { transform: translate(10vmax, -6vmax) scale(1.1); } }
@keyframes drift3 { to { transform: translate(-8vmax, 6vmax) scale(.85); } }

.hero-inner { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 980px) { .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 2rem; } }
.hero-badge { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); font-size: .88rem; font-weight: 560; color: #d6f4f3; margin-bottom: 1.5rem; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 0 rgba(25, 196, 184, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(25, 196, 184, 0); } 100% { box-shadow: 0 0 0 0 rgba(25, 196, 184, 0); } }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.grad-text { background: linear-gradient(100deg, #5eead4, #19c4b8 45%, #7cc4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.08rem, 1rem + .5vw, 1.3rem); color: #c3d0e2; max-width: 38rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2rem; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; color: #b4c3d8; font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-points .icon { color: var(--teal-bright); width: 1.05em; height: 1.05em; }

.hero-stage { position: relative; display: grid; gap: 1rem; }
@media (min-width: 980px) { .hero-stage { display: block; height: 540px; } }
.float-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 1rem 1.1rem; color: #e8eef6; font-size: .86rem; }
@media (min-width: 980px) {
  .float-card { position: absolute; animation: float 7s ease-in-out infinite; }
  .fc-code { inset-inline-start: 0; top: 18px; width: 340px; animation-delay: -1s; }
  .fc-phone { inset-inline-end: 6px; top: 0; width: 168px; animation-delay: -3s; }
  .fc-api { inset-inline-start: 0; bottom: 6px; width: 290px; animation-delay: -5s; }
  .fc-chat { inset-inline-end: 0; top: 296px; width: 250px; animation-delay: -2s; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (max-width: 599px) { .fc-phone { display: none; } }
@media (min-width: 600px) and (max-width: 979px) { .hero-stage { grid-template-columns: 1fr 1fr; align-items: start; } .fc-code { grid-column: 1 / -1; } .fc-phone { grid-row: span 2; } }

.win-dots { display: flex; gap: 6px; margin-bottom: .8rem; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.win-dots i:nth-child(1) { background: #ff6b6b; } .win-dots i:nth-child(2) { background: #ffd166; } .win-dots i:nth-child(3) { background: #3ddc97; }
.code { margin: 0; font: 500 .8rem/1.7 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; color: #cfe0f5; white-space: pre; overflow: hidden; }
.code .k { color: #7cc4ff; } .code .f { color: #5eead4; } .code .s { color: #ffd39a; } .code .c { color: #8ea2c0; }
.phone-screen { border-radius: 14px; background: linear-gradient(180deg, rgba(15, 163, 163, .35), rgba(21, 35, 63, .6)); padding: .7rem; min-height: 250px; display: flex; flex-direction: column; gap: .55rem; }
.ph-bar { height: 8px; width: 40%; border-radius: 6px; background: rgba(255, 255, 255, .5); }
.ph-hero { height: 70px; border-radius: 10px; background: linear-gradient(135deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .08)); position: relative; overflow: hidden; }
.ph-hero::after { content: ""; position: absolute; inset: auto 10px 10px 10px; height: 26px; background: linear-gradient(90deg, transparent 0 8%, rgba(255, 255, 255, .55) 8% 12%, transparent 12% 24%, rgba(255, 255, 255, .55) 24% 28%, transparent 28% 40%, rgba(255, 255, 255, .55) 40% 44%, transparent 44% 56%, rgba(255, 255, 255, .55) 56% 60%, transparent 60% 72%, rgba(255, 255, 255, .55) 72% 76%, transparent 76%); -webkit-mask-image: linear-gradient(0deg, #000, transparent); mask-image: linear-gradient(0deg, #000, transparent); }
.ph-row { display: flex; gap: .5rem; align-items: center; }
.ph-row i { width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .25); flex: none; }
.ph-row span { display: block; height: 7px; border-radius: 5px; background: rgba(255, 255, 255, .3); flex: 1; }
.ph-row span + span { max-width: 45%; }
.ph-btn { margin-top: auto; height: 30px; border-radius: 999px; background: var(--teal-bright); }
.api-flow { display: flex; align-items: center; justify-content: space-between; gap: .35rem; margin: .6rem 0 .8rem; position: relative; }
.api-node { display: grid; place-items: center; gap: .3rem; font-size: .72rem; font-weight: 600; text-align: center; color: #d6e2f3; z-index: 1; }
.api-node b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #1f3552; border: 1px solid rgba(255, 255, 255, .22); color: var(--teal-bright); }
.api-line { position: absolute; inset-inline: 40px; top: 21px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 6px, transparent 6px 12px); }
.api-line::after { content: ""; position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 12px var(--teal-bright); animation: travel 3.2s linear infinite; }
@keyframes travel { from { inset-inline-start: 0; } to { inset-inline-start: calc(100% - 8px); } }
.pill-ok { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 650; padding: .2rem .6rem; border-radius: 999px; background: rgba(61, 220, 151, .16); color: #7ff0bd; }
.fc-title { display: flex; align-items: center; justify-content: space-between; font-weight: 650; font-size: .82rem; color: #fff; }
.bubble { background: #0fa3a3; color: #04202a; border-radius: 14px 14px 4px 14px; padding: .6rem .8rem; font-weight: 560; margin-top: .6rem; line-height: 1.45; }
.bubble small { display: block; text-align: end; font-size: .72rem; margin-top: .2rem; }
.bubble-in { background: rgba(255, 255, 255, .14); color: #e8eef6; border-radius: 14px 14px 14px 4px; margin-top: .5rem; }
.bubble-in small { text-align: start; }

/* ---------- Trust strip ---------- */
.trust-strip { padding-block: 2.25rem; border-bottom: 1px solid var(--border); background: var(--bg); }
.trust-label { text-align: center; font-size: .82rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.trust-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 560px) { .trust-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .trust-list { grid-template-columns: repeat(5, 1fr); } }
.trust-item { display: flex; align-items: center; justify-content: center; gap: .65rem; font-weight: 650; padding: .75rem 1rem; border-radius: 14px; background: var(--bg-soft); }
.trust-item .icon { color: var(--accent-text); width: 1.4em; height: 1.4em; }

/* ---------- Section heads & cards ---------- */
.section-head { max-width: 46rem; margin: 0 auto 3.25rem; text-align: center; }
.section-head.left { margin-inline: 0; text-align: start; }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .9rem; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, rgba(15, 163, 163, .16), rgba(21, 35, 63, .06)); color: var(--accent-text); margin-bottom: 1.25rem; transition: transform .3s var(--ease), background-color .3s; }
.card-icon .icon { width: 28px; height: 28px; }
.service-card { display: flex; flex-direction: column; }
.service-card p { color: var(--muted); }
.service-card .link-arrow { margin-top: auto; padding-top: .5rem; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--teal) 45%, var(--border)); }
.service-card:hover .card-icon { transform: scale(1.08) rotate(-4deg); background: linear-gradient(135deg, var(--teal), var(--teal-bright)); color: #0b1630; }

/* ---------- Product spotlight ---------- */
.spotlight { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 980px) { .spotlight { grid-template-columns: .95fr 1.05fr; gap: 4rem; } }
.spotlight h2 { margin-bottom: .75rem; }
.spotlight p.lead { color: var(--muted); font-size: 1.12rem; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: 1.5rem 0 2rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; background: var(--card); border: 1px solid var(--border); font-size: .92rem; font-weight: 560; }
.chip .icon { width: 1em; height: 1em; color: var(--accent-text); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row.center { justify-content: center; }
.browser { border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(21, 35, 63, .12); overflow: hidden; color: #15233f; transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); transition: transform .6s var(--ease); }
.browser:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.browser-bar { display: flex; align-items: center; gap: 1rem; padding: .7rem 1rem; background: #eef3f8; border-bottom: 1px solid #dde5ee; }
.browser-bar .win-dots { margin: 0; }
.url-pill { flex: 1; min-width: 0; text-align: center; font-size: .78rem; color: #4a5668; background: #fff; border-radius: 999px; padding: .25rem .8rem; border: 1px solid #dde5ee; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-body { display: grid; grid-template-columns: 56px 1fr; min-height: 340px; }
.mk-side { background: #15233f; display: flex; flex-direction: column; align-items: center; gap: .8rem; padding: 1rem 0; }
.mk-side i { width: 28px; height: 28px; border-radius: 9px; background: rgba(255, 255, 255, .16); }
.mk-side i:first-child { background: #0fa3a3; }
.mk-main { padding: 1.1rem; display: grid; gap: .9rem; background: #f6f9fc; align-content: start; }
.mk-title { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .92rem; }
.mk-title span { font-size: .72rem; font-weight: 600; padding: .15rem .6rem; border-radius: 999px; background: rgba(15, 163, 163, .14); color: #0b6f6f; }
.mk-card { background: #fff; border: 1px solid #e3eaf2; border-radius: 12px; padding: .85rem; display: grid; gap: .55rem; }
.mk-label { font-size: .74rem; color: #4a5668; font-weight: 600; display: flex; justify-content: space-between; }
.mk-progress { height: 10px; border-radius: 99px; background: #e3eaf2; overflow: hidden; }
.mk-progress i { display: block; height: 100%; width: 100%; border-radius: 99px; background: linear-gradient(90deg, #0fa3a3, #19c4b8); transform-origin: left; animation: fill 4.5s ease-in-out infinite alternate; }
@keyframes fill { from { transform: scaleX(.3); } to { transform: scaleX(.92); } }
.mk-msg { background: #dcf8ee; border-radius: 10px 10px 10px 2px; padding: .55rem .7rem; font-size: .8rem; line-height: 1.45; }
.mk-msg code { background: #fff; border-radius: 5px; padding: 0 .3rem; color: #0b6f6f; font-weight: 700; }
.mk-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.mk-tile { background: #fff; border: 1px solid #e3eaf2; border-radius: 10px; padding: .55rem; display: grid; gap: .4rem; }
.mk-tile b { display: block; height: 14px; width: 60%; border-radius: 5px; background: #cfdbe8; }
.mk-tile span { font-size: .68rem; color: #4a5668; font-weight: 600; }
.mk-tile.ok b { background: #7be0c0; } .mk-tile.wait b { background: #ffd48a; } .mk-tile.bad b { background: #ffa5a5; }
.mock-caption { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 1rem; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; position: relative; display: grid; gap: 2rem; }
.timeline::before, .timeline::after { content: ""; position: absolute; inset-inline-start: 27px; top: 28px; bottom: 28px; width: 3px; border-radius: 3px; }
.timeline::before { background: var(--border); }
.timeline::after { background: linear-gradient(180deg, var(--teal), var(--teal-bright)); transform: scaleY(0); transform-origin: top; transition: transform 1.6s var(--ease); }
.timeline.is-visible::after { transform: scaleY(1); }
.tl-step { position: relative; padding-inline-start: 5rem; }
.tl-num { position: absolute; inset-inline-start: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; background: var(--card); border: 3px solid var(--border); color: var(--accent-text); z-index: 1; transition: background-color .5s, border-color .5s, color .5s; }
.timeline.is-visible .tl-num { background: var(--teal); border-color: var(--teal); color: #0b1630; }
.timeline.is-visible .tl-step:nth-child(2) .tl-num { transition-delay: .4s; } .timeline.is-visible .tl-step:nth-child(3) .tl-num { transition-delay: .8s; } .timeline.is-visible .tl-step:nth-child(4) .tl-num { transition-delay: 1.2s; }
.tl-step h3 { margin-bottom: .3rem; } .tl-step p { color: var(--muted); margin: 0; max-width: 34rem; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .timeline::before, .timeline::after { inset-inline: 28px; top: 27px; bottom: auto; width: auto; height: 3px; }
  .timeline::after { transform: scaleX(0); transform-origin: left; }
  .timeline.is-visible::after { transform: scaleX(1); }
  .tl-step { padding-inline-start: 0; padding-top: 5rem; }
}

/* ---------- Why / features ---------- */
.why-item { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.5rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-item .card-icon { margin: 0; width: 48px; height: 48px; border-radius: 14px; flex: none; }
.why-item .card-icon .icon { width: 24px; height: 24px; }
.why-item h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.why-item p { margin: 0; color: var(--muted); font-size: .98rem; }
.tech-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.tech-chip { display: flex; align-items: center; gap: .85rem; padding: .9rem 1.1rem; border-radius: 16px; background: var(--card); border: 1px solid var(--border); font-weight: 620; transition: transform .25s var(--ease), border-color .25s; }
.tech-chip:hover { transform: translateY(-3px); border-color: var(--teal); }
.tech-badge { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; font-size: .78rem; font-weight: 800; letter-spacing: -.01em; color: #fff; background: linear-gradient(135deg, var(--navy), #2a4570); }
.tech-chip:nth-child(even) .tech-badge { background: linear-gradient(135deg, #0b8a8a, var(--teal-bright)); color: #06222a; }

/* ---------- CTA + contact strip ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; padding: clamp(2.5rem, 6vw, 4.5rem); text-align: center; color: #fff; background: linear-gradient(135deg, #0a1329, #15233f 50%, #0c4a57); }
.cta-band::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; aspect-ratio: 1; z-index: -1; background: radial-gradient(circle, rgba(15, 163, 163, .5), transparent 65%); animation: drift1 16s ease-in-out infinite alternate; }
.cta-band h2 { color: #fff; max-width: 36rem; margin-inline: auto; }
.cta-band p { color: #c3d0e2; max-width: 36rem; margin: 0 auto 2rem; font-size: 1.12rem; }
.cta-band .btn-row { justify-content: center; }
.contact-strip { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 700px) { .contact-strip { grid-template-columns: 1fr 1fr; } }
.contact-tile { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); text-decoration: none; color: var(--text); transition: transform .25s var(--ease), border-color .25s; }
.contact-tile:hover { transform: translateY(-3px); border-color: var(--teal); text-decoration: none; }
.contact-tile .card-icon { margin: 0; flex: none; }
.contact-tile small { display: block; color: var(--muted); font-size: .85rem; }
.contact-tile strong { font-size: 1.1rem; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1329; color: #c3d0e2; padding-top: 4.5rem; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.site-footer .brand { color: #fff; margin-bottom: 1.1rem; }
.site-footer .brand-sub { color: var(--teal-bright); }
.site-footer p { color: #a9b8cd; max-width: 26rem; }
.footer-title { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .6rem; }
.site-footer a { color: #c3d0e2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; overflow-wrap: anywhere; }
.footer-contact .icon { margin-top: .3rem; color: var(--teal-bright); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.5rem; text-align: center; font-size: .92rem; color: #a3b3ca; }

.wa-float { position: fixed; inset-inline-end: 1.25rem; bottom: 1.25rem; z-index: 70; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #05331a; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.1); }
.wa-float .icon { width: 32px; height: 32px; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding-block: clamp(3.5rem, 7vw, 5.5rem); background: linear-gradient(135deg, #0a1329, #15233f 60%, #0c3b4d); }
.page-hero .blob.b1 { width: 45vmax; height: 45vmax; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.2rem + 3.6vw, 3.8rem); margin-bottom: 1rem; }
.page-hero p { color: #c3d0e2; font-size: 1.2rem; max-width: 40rem; margin: 0; }
.breadcrumb { list-style: none; display: flex; gap: .5rem; font-size: .9rem; color: #a9bad2; margin-bottom: 1.25rem; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: .5rem; opacity: .6; }
.breadcrumb a { color: #c3d0e2; }

.service-block { display: grid; gap: 2rem; padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: 24px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 16px); }
.service-stack { display: grid; gap: 1.75rem; }
.sb-head { display: flex; gap: 1.25rem; align-items: flex-start; }
.sb-head .card-icon { margin: 0; flex: none; width: 64px; height: 64px; }
.sb-head h2 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.1rem); margin-bottom: .35rem; }
.sb-head p { margin: 0; color: var(--muted); }
.sb-cols { display: grid; gap: 1.75rem; }
@media (min-width: 900px) { .sb-cols { grid-template-columns: 1.15fr 1fr 1fr; } }
.sb-cols h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent-text); margin-bottom: .75rem; }
.sb-cols p { color: var(--muted); }
.check-list { list-style: none; display: grid; gap: .55rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--muted); }
.check-list .icon { color: var(--accent-text); margin-top: .28rem; width: 1.05em; height: 1.05em; }
.sb-foot { padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.service-index { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 3rem; justify-content: center; }
.faq { max-width: 52rem; margin-inline: auto; display: grid; gap: .8rem; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 0 1.4rem; transition: border-color .2s; }
.faq details[open] { border-color: var(--teal); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 0; font-weight: 650; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s var(--ease); color: var(--accent-text); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; }

.feature-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.feature { padding: 1.5rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.feature .card-icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 1rem; }
.feature .card-icon .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 2rem; border-radius: 24px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.price-card h3 { font-size: 1.1rem; color: var(--muted); font-weight: 650; margin-bottom: .75rem; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card .check-list { margin: 1.5rem 0; }
.price-card .btn { margin-top: auto; }
.price-card.featured { background: linear-gradient(160deg, #0a1329, #15233f 60%, #0c4a57); color: #fff; border-color: transparent; box-shadow: 0 24px 60px rgba(12, 22, 48, .35); }
.price-card.featured h3, .price-card.featured .price small, .price-card.featured .check-list li { color: #c3d0e2; }
.price-card.featured .check-list .icon { color: var(--teal-bright); }
.badge { position: absolute; top: -14px; inset-inline-start: 2rem; padding: .3rem .9rem; border-radius: 999px; background: linear-gradient(135deg, var(--teal), var(--teal-bright)); color: #0b1630; font-size: .82rem; font-weight: 750; }
.plan-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .98rem; }
.plan-table th, .plan-table td { padding: .6rem 0; text-align: start; border-bottom: 1px solid var(--border); }
.plan-table th { font-weight: 600; color: var(--muted); }
.plan-table thead th:last-child, .plan-table td { text-align: end; }
.plan-table td { font-weight: 650; }
.note { font-size: .92rem; color: var(--muted); margin-top: 1.5rem; padding: 1rem 1.25rem; border-radius: 14px; background: var(--bg-soft); border-inline-start: 4px solid var(--teal); }
.soon-card { text-align: center; padding: 3rem 2rem; border: 2px dashed var(--border-strong); border-radius: 24px; background: transparent; }
.soon-card .card-icon { margin-inline: auto; }
.soon-card p { color: var(--muted); max-width: 30rem; margin-inline: auto; }

/* About */
.prose { max-width: 46rem; }
.prose p { color: var(--muted); font-size: 1.12rem; }
.split { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.2fr; gap: 5rem; } }
.mission-card { padding: 2rem; border-radius: 24px; color: #fff; background: linear-gradient(135deg, #0a1329, #15233f 60%, #0c4a57); box-shadow: var(--shadow-md); }
.mission-card h3 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-bright); }
.mission-card p { font-size: 1.25rem; line-height: 1.5; margin: 0; font-weight: 560; }
.placeholder-card { padding: 2rem; border: 2px dashed var(--border-strong); border-radius: var(--radius); text-align: center; color: var(--muted); }
.placeholder-card .avatar { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1rem; background: var(--bg-soft); display: grid; place-items: center; color: var(--muted); }
.placeholder-card .avatar .icon { width: 34px; height: 34px; }
.placeholder-card strong { display: block; color: var(--text); }
.todo-tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; padding: .15rem .6rem; border-radius: 6px; background: #fff3cd; color: #6b4e00; }

/* Contact */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.3fr .9fr; gap: 3rem; } }
.form { display: grid; gap: 1rem; padding: clamp(1.25rem, 3.5vw, 2rem); border-radius: 24px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 650; font-size: .95rem; }
.field label .req { color: var(--accent-text); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1.5px solid var(--border-strong); border-radius: 12px; padding: .8rem 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15, 163, 163, .22); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #d64545; }
.form-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.form-note { font-size: .9rem; color: var(--muted); margin: 0; }
.form-status { font-weight: 600; margin: 0; min-height: 1.5em; color: var(--accent-text); }
.side-stack { display: grid; gap: 1.25rem; align-content: start; }
.map-placeholder { display: grid; place-items: center; text-align: center; min-height: 220px; padding: 1.5rem; border-radius: var(--radius); border: 2px dashed var(--border-strong); background: repeating-linear-gradient(45deg, transparent 0 14px, color-mix(in srgb, var(--border) 50%, transparent) 14px 15px); color: var(--muted); }
.map-placeholder .icon { width: 36px; height: 36px; margin: 0 auto .5rem; color: var(--accent-text); }
.hp { position: absolute; inset-inline-start: -9999px; }

.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 4rem; }
.error-code { font-size: clamp(5rem, 18vw, 11rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; background: linear-gradient(135deg, var(--teal), var(--navy)); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="dark"] .error-code { background: linear-gradient(135deg, var(--teal-bright), #7cc4ff); -webkit-background-clip: text; background-clip: text; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .timeline::after { transform: none; }
  .browser { transform: none; }
  .mk-progress i { transform: scaleX(.64); }
}
@media print { .site-header, .wa-float, .hero-bg { display: none; } }

/* ---------- Social links ---------- */
.social { display: flex !important; gap: .6rem; margin-top: 1.25rem; }
.site-footer .social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); color: #fff; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.site-footer .social a:hover { background: var(--teal); border-color: var(--teal); color: #0b1630; transform: translateY(-2px); text-decoration: none; }
.social .icon { width: 20px; height: 20px; }
.contact-tile-row { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

/* Contact page: right column stretches to the form's height, tiles share the space equally */
@media (min-width: 960px) {
  .contact-grid .side-stack { grid-template-rows: repeat(5, 1fr); align-content: stretch; }
  .contact-grid .contact-tile-row { align-items: stretch; }
}
.contact-tile strong { line-height: 1.3; }
.form h2 { margin-bottom: 0; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.2rem); }
