:root {
  --bg: #eef7f5;
  --bg-2: #dff0ea;
  --text: #0f1d21;
  --muted: #586b72;
  --line: rgba(255,255,255,.45);
  --glass: rgba(255,255,255,.42);
  --glass-strong: rgba(255,255,255,.58);
  --shadow: 0 22px 60px rgba(17, 44, 39, 0.13);
  --primary: #1d8d7a;
  --primary-2: #7ad0bf;
  --panel: rgba(255,255,255,.24);
}
html[data-theme="dark"] {
  --bg: #071417;
  --bg-2: #11242a;
  --text: #eff8f8;
  --muted: #acc5c5;
  --line: rgba(255,255,255,.12);
  --glass: rgba(14, 33, 40, .55);
  --glass-strong: rgba(16, 36, 42, .75);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  --primary: #6be1ca;
  --primary-2: #1d8d7a;
  --panel: rgba(16, 36, 42, .4);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg), var(--bg-2));
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.page-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(circle at 10% 20%, rgba(122,208,191,.35), transparent 22%),
    radial-gradient(circle at 90% 10%, rgba(29,141,122,.25), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(255,255,255,.18), transparent 30%);
}
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 88px 0; }
.inner-page .section:first-child { padding-top: 130px; }
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.site-header {
  position: sticky; top: 16px; z-index: 30; margin: 16px auto 0; width: min(1120px, calc(100% - 24px));
  border-radius: 22px;
}
.nav-wrap {
  min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 18px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand strong { display: block; font-size: 1rem; }
.brand span { display: block; font-size: .84rem; color: var(--muted); }
.brand-logo {
  width: 52px; height: 52px; border-radius: 16px; background: var(--glass-strong); display: grid; place-items: center; overflow: hidden;
  border: 1px solid var(--line);
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.site-nav { display: flex; align-items: center; gap: 10px; }
.site-nav a, .theme-toggle {
  padding: 11px 14px; border-radius: 999px; color: var(--muted); font-weight: 600; transition: .25s ease; border: 0; background: transparent; cursor: pointer;
}
.site-nav a:hover, .site-nav a.active, .theme-toggle:hover { background: var(--panel); color: var(--text); }
.menu-toggle { display:none; }
.hero { padding-top: 72px; }
.hero-grid, .split-grid, .contact-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 34px; align-items: center; }
.hero-copy h1, .narrow h1 { font-size: clamp(2.6rem, 4.8vw, 5rem); line-height: 1.02; margin: 16px 0; letter-spacing: -0.04em; }
.hero-copy p, .narrow p { font-size: 1.06rem; color: var(--muted); line-height: 1.8; max-width: 720px; }
.eyebrow {
  display:inline-flex; align-items:center; gap:10px; padding: 10px 16px; border-radius: 999px; font-weight: 700; color: var(--primary);
  background: rgba(255,255,255,.3); border: 1px solid var(--line);
}
.hero-actions, .cta-actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:28px; }
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:10px; padding: 14px 22px; border-radius: 16px; font-weight: 700; transition: transform .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color:#fff; box-shadow: 0 18px 36px rgba(29,141,122,.22); }
.btn-secondary { background: var(--panel); border:1px solid var(--line); }
.hero-metrics, .card-grid { display:grid; gap:18px; margin-top: 26px; }
.hero-metrics { grid-template-columns: repeat(3, 1fr); }
.metric, .info-card, .service-card, .stack-card, .info-block, .checklist, .cta-panel, .form-card, .contact-list { border-radius: 28px; padding: 24px; }
.metric strong, .info-card h3, .service-card h3 { display:block; margin-bottom: 10px; font-size: 1.04rem; }
.metric span, .info-card p, .service-card p, .stack-card p, .info-block p, .checklist li, .cta-panel p, .contact-list p { color: var(--muted); line-height: 1.8; }
.hero-visual { position: relative; min-height: 480px; }
.visual-card { position: relative; border-radius: 34px; padding: 28px; min-height: 420px; overflow: hidden; }
.visual-top, .visual-bottom { display:flex; justify-content: space-between; gap: 18px; color: var(--muted); font-weight: 700; }
.visual-chart { display:flex; align-items:flex-end; gap: 18px; height: 230px; padding-top: 36px; }
.bar { flex:1; border-radius: 18px 18px 6px 6px; background: linear-gradient(180deg, rgba(122,208,191,.95), rgba(29,141,122,.75)); animation: grow 1.3s ease forwards; transform-origin: bottom; }
.bar.h1 { height: 45%; } .bar.h2 { height: 68%; } .bar.h3 { height: 55%; } .bar.h4 { height: 82%; } .bar.h5 { height: 72%; }
.orb { position:absolute; border-radius:50%; filter: blur(6px); opacity:.8; animation: drift 8s ease-in-out infinite; }
.orb-a { width: 120px; height: 120px; background: rgba(122,208,191,.5); top: -20px; right: 8%; }
.orb-b { width: 160px; height: 160px; background: rgba(255,255,255,.28); bottom: 8%; left: -20px; animation-delay: -2s; }
.pulse-ring::after {
  content:""; position:absolute; inset:auto auto 30px 28px; width: 112px; height: 112px; border-radius:50%; border: 1px solid rgba(122,208,191,.5); animation: pulse 3s ease-out infinite;
}
.three-up { grid-template-columns: repeat(3,1fr); }
.two-up { grid-template-columns: repeat(2,1fr); }
.section-head { max-width: 760px; margin-bottom: 24px; }
.section-head h2, .split-grid h2, .cta-panel h2, .checklist h2 { font-size: clamp(2rem, 3vw, 3rem); line-height: 1.1; margin: 12px 0 0; }
.stack-cards { display:grid; gap:18px; }
.accent-band { position: relative; }
.cta-panel { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.icon-link { display:inline-flex; align-items:center; gap:10px; padding: 14px 18px; border-radius: 16px; background: var(--panel); border:1px solid var(--line); font-weight:700; }
.icon-link svg { width: 22px; height:22px; fill: currentColor; }
.narrow { max-width: 820px; }
.checklist ul { margin: 0; padding-left: 20px; }
.contact-grid { align-items: start; }
.contact-form { display:grid; gap:16px; }
.field-row { display:grid; grid-template-columns: repeat(2,1fr); gap:16px; }
label { display:grid; gap:8px; font-weight:600; }
input, textarea {
  width: 100%; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.35); padding: 14px 16px; font: inherit; color: var(--text); outline: none;
}
html[data-theme="dark"] input, html[data-theme="dark"] textarea { background: rgba(255,255,255,.05); }
.full { width: 100%; }
.site-footer { padding: 24px 0 48px; }
.footer-grid { display:grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-grid p, .footer-grid a { color: var(--muted); line-height:1.8; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; animation-delay: .12s; }
.delay-2 { transition-delay: .24s; animation-delay: .24s; }
.float-card { animation: bob 4s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-6px);} }
@keyframes drift { 0%,100%{ transform: translate3d(0,0,0);} 50%{ transform: translate3d(0,-14px,0);} }
@keyframes pulse { 0% { transform: scale(.8); opacity:.8; } 100% { transform: scale(1.45); opacity:0; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (max-width: 900px) {
  .hero-grid, .split-grid, .contact-grid, .footer-grid, .two-up, .three-up, .field-row, .hero-metrics { grid-template-columns: 1fr; }
  .site-header { top: 10px; }
  .menu-toggle { display:inline-flex; border: 0; background: var(--panel); color: var(--text); border-radius: 12px; padding: 10px 12px; }
  .site-nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display:none; flex-direction:column; align-items:stretch; padding: 14px; border-radius: 24px; background: var(--glass-strong); border:1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.open { display:flex; }
  .cta-panel { flex-direction:column; align-items:flex-start; }
}
