/* =========================================================
   Innovative Physician Partners — Design Tokens & Styles
   ========================================================= */
:root {
  /* Brand greens */
  --green-950: #062522;
  --green-900: #0a3531;
  --green-800: #0f514c;
  --green-700: #0f6861;
  --green-600: #13807b;
  --green-500: #17a094;
  --green-300: #74d6c8;
  --green-100: #d4f1ec;
  --green-50:  #edf8f6;

  /* Blue tones */
  --blue-900: #0b2f4a;
  --blue-700: #0e5a7e;
  --blue-600: #0f7196;
  --blue-500: #1a8fb8;
  --blue-300: #7cc8e3;
  --blue-100: #dcf0f8;

  /* Neutrals */
  --ink:     #0f1f1a;
  --ink-2:   #3b4f48;
  --ink-3:   #6a7d76;
  --line:    #dfe8e4;
  --surface: #ffffff;
  --bg:      #f6faf8;

  --grad-brand: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 45%, var(--blue-700) 100%);
  --grad-accent: linear-gradient(135deg, var(--green-500), var(--blue-500));

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(6, 37, 34, .06), 0 1px 3px rgba(6, 37, 34, .05);
  --shadow: 0 10px 30px -12px rgba(6, 37, 34, .18);
  --shadow-lg: 0 30px 60px -20px rgba(6, 37, 34, .35);

  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-600);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--grad-accent); border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin: 14px 0 16px; color: var(--green-950); }
.section-head p { font-size: 18px; color: var(--ink-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--green-700); color: #fff; box-shadow: 0 8px 20px -8px rgba(15, 104, 97, .6); }
.btn--primary:hover { background: var(--green-800); transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--green-900); }
.btn--light:hover { background: var(--green-50); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--outline { border-color: var(--line); color: var(--green-900); background: #fff; }
.btn--outline:hover { border-color: var(--green-600); }

/* =================== NAV =================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--green-950); letter-spacing: -0.01em; }
.brand__sub { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-700); }
.nav__links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav__links a { position: relative; padding: 6px 0; transition: color .2s; }
.nav__links a:hover { color: var(--green-700); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad-accent); transform: scaleX(0); transition: transform .25s; border-radius: 2px; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: flex; gap: 12px; align-items: center; }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; color: var(--green-900); }

/* =================== HERO =================== */
.hero { position: relative; background: var(--green-950); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(26,143,184,.45), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(23,160,148,.4), transparent 60%);
}
.hero__grid-bg {
  position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 96px 24px 120px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px;
  border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  font-size: 13px; color: var(--green-100);
}
.pill b { background: var(--grad-accent); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.hero h1 { font-size: clamp(34px, 4vw, 52px); margin: 22px 0 22px; font-weight: 800; }
.hero h1 .hl { background: linear-gradient(90deg, var(--green-300), var(--blue-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lede { font-size: 19px; color: #c8e3d9; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 44px; font-size: 13px; color: #9cc2b5; }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 16px; height: 16px; color: var(--green-300); }

/* Dashboard mockup */
.mock { position: relative; }
.mock__window {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; border: 1px solid rgba(255,255,255,.2);
}
.mock__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #f3f7f5; border-bottom: 1px solid var(--line); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4ddd9; }
.mock__bar span { margin-left: 10px; font-size: 12px; color: var(--ink-3); font-weight: 500; }
.mock__body { padding: 20px; display: grid; gap: 14px; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.kpi small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.kpi strong { display: block; font-family: var(--font-head); font-size: 22px; color: var(--green-900); margin-top: 4px; }
.kpi em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--green-600); }
.mock__chart { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.mock__chart-head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.mock__chart-head span:last-child { color: var(--ink-3); font-weight: 500; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; }
.bars div { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--grad-accent); opacity: .9; transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2,.8,.2,1) both; }
.bars div:nth-child(odd) { background: linear-gradient(180deg, var(--blue-300), var(--blue-500)); }
@keyframes grow { from { transform: scaleY(0); } }
.mock__rows { display: grid; gap: 8px; }
.mrow { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; background: var(--bg); border-radius: 10px; font-size: 13px; }
.mrow b { font-weight: 600; color: var(--ink); }
.mrow small { color: var(--ink-3); font-size: 12px; margin-left: 6px; }
.tag { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.tag--ok { background: var(--green-100); color: var(--green-700); }
.tag--warn { background: #fff1d6; color: #9a6400; }
.tag--info { background: var(--blue-100); color: var(--blue-700); }
.mock__float {
  position: absolute; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 12px 14px; display: flex; align-items: center; gap: 12px; font-size: 13px;
  animation: float 6s ease-in-out infinite;
}
.mock__float .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); }
.mock__float .ico svg { width: 20px; height: 20px; }
.mock__float b { display: block; font-weight: 700; font-family: var(--font-head); }
.mock__float small { color: var(--ink-3); }
.mock__float--a { left: -34px; bottom: -52px; }
.mock__float--b { right: -22px; top: -22px; animation-delay: -3s; }
.mock__float--b .ico { background: var(--blue-100); color: var(--blue-700); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* =================== TWO ARMS =================== */
.arms { margin-top: -64px; position: relative; z-index: 2; }
.arms__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.arm {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.arm:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.arm::after { content: ""; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: var(--green-50); z-index: 0; }
.arm--soft::after { background: var(--blue-100); opacity: .55; }
.arm > * { position: relative; z-index: 1; }
.arm__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--grad-brand); margin-bottom: 22px; }
.arm--soft .arm__icon { background: linear-gradient(135deg, var(--blue-700), var(--green-600)); }
.arm__icon svg { width: 28px; height: 28px; }
.arm__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-700); }
.arm h3 { font-size: 28px; margin: 8px 0 12px; color: var(--green-950); }
.arm p { color: var(--ink-2); }
.arm ul { margin: 22px 0 28px; display: grid; gap: 10px; }
.arm li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.check { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; margin-top: 2px; }
.check svg { width: 12px; height: 12px; }
.arm__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green-700); }
.arm__link svg { width: 18px; height: 18px; transition: transform .2s; }
.arm__link:hover svg { transform: translateX(4px); }

/* =================== SERVICES =================== */
.lifecycle {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: 40px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.stage { padding: 32px; position: relative; }
.stage + .stage { border-left: 1px solid var(--line); }
.stage__when { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-700); }
.stage__num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-accent); color: #fff; font-size: 12px; }
.stage h3 { font-size: 22px; margin: 14px 0 10px; color: var(--green-950); }
.stage p { font-size: 15px; color: var(--ink-2); }
.stage__meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--green-50); color: var(--green-800); border: 1px solid var(--green-100); }
.stage::after {
  content: ""; position: absolute; top: 44px; right: -9px; width: 16px; height: 16px; background: #fff;
  border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: rotate(45deg); z-index: 2;
}
.stage:last-child::after { display: none; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.svc:hover { border-color: var(--green-300); transform: translateY(-3px); box-shadow: var(--shadow); }
.svc__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); margin-bottom: 18px; }
.svc:nth-child(even) .svc__icon { background: var(--blue-100); color: var(--blue-700); }
.svc__icon svg { width: 22px; height: 22px; }
.svc h4 { font-size: 18px; color: var(--green-950); margin-bottom: 8px; }
.svc p { font-size: 15px; color: var(--ink-2); }

/* =================== PLATFORM =================== */
.platform { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.explorer { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: start; }
.tabs { display: grid; gap: 6px; position: sticky; top: 100px; }
.tab {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 14px 16px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--ink-2);
  transition: background .2s, border-color .2s, color .2s;
}
.tab:hover { background: var(--bg); }
.tab[aria-selected="true"] { background: var(--green-50); border-color: var(--green-100); color: var(--green-900); }
.tab__ico { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--bg); color: var(--green-700); border: 1px solid var(--line); }
.tab[aria-selected="true"] .tab__ico { background: var(--grad-brand); color: #fff; border-color: transparent; }
.tab__ico svg { width: 20px; height: 20px; }
.tab b { display: block; font-family: var(--font-head); font-size: 15px; font-weight: 700; }
.tab small { display: block; font-size: 12.5px; color: var(--ink-3); }

.panel { display: none; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; animation: fade .35s ease; }
.panel.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.panel__head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.panel__kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-700); }
.panel h3 { font-size: 30px; margin: 6px 0 10px; color: var(--green-950); }
.panel h3 sup { font-size: 14px; color: var(--green-600); }
.panel__desc { color: var(--ink-2); max-width: 560px; font-size: 16.5px; }
.pricing-note { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; max-width: 260px; }
.pricing-note small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.pricing-note span { font-size: 14px; font-weight: 600; color: var(--green-800); }
.caps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cap { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.cap h5 { font-family: var(--font-head); font-size: 15.5px; margin: 0 0 6px; color: var(--green-900); display: flex; align-items: center; gap: 10px; }
.cap h5::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad-accent); flex: none; }
.cap p { font-size: 14.5px; color: var(--ink-2); }

/* Core foundation */
.core { margin-top: 64px; border-radius: var(--radius-lg); background: var(--grad-brand); color: #fff; padding: 48px; position: relative; overflow: hidden; }
.core::before { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.05); }
.core__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; position: relative; }
.core__head h3 { font-size: 28px; }
.core__head p { color: #cfe7de; max-width: 520px; margin-top: 8px; }
.core__badge { font-size: 13px; font-weight: 600; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 8px 14px; border-radius: 999px; }
.core__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.core__item { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 22px; }
.core__item svg { width: 26px; height: 26px; color: var(--green-300); margin-bottom: 14px; }
.core__item h5 { font-family: var(--font-head); font-size: 16px; margin: 0 0 6px; }
.core__item p { font-size: 14px; color: #cfe7de; }

/* =================== LOOP =================== */
.loop { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.loop__steps { display: grid; gap: 14px; }
.lstep { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.lstep__n { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; background: #fff; border: 1px solid var(--line); color: var(--green-700); }
.lstep h5 { font-family: var(--font-head); font-size: 16px; margin: 2px 0 4px; color: var(--green-950); }
.lstep p { font-size: 14.5px; color: var(--ink-2); }
.orbit { position: relative; aspect-ratio: 1; max-width: 520px; margin: 0 auto; width: 100%; }
.orbit svg { width: 100%; height: 100%; }

/* =================== PACKAGES =================== */
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pkg { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.pkg:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pkg--featured { background: var(--green-950); color: #fff; border-color: var(--green-950); position: relative; box-shadow: var(--shadow-lg); }
.pkg--featured::before { content: "Most comprehensive"; position: absolute; top: -12px; left: 26px; background: var(--grad-accent); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.pkg__tier { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-700); }
.pkg--featured .pkg__tier { color: var(--blue-300); }
.pkg h4 { font-size: 22px; margin: 8px 0 10px; color: var(--green-950); }
.pkg--featured h4 { color: #fff; }
.pkg__desc { font-size: 14.5px; color: var(--ink-2); min-height: 66px; }
.pkg--featured .pkg__desc { color: #bcd8cd; }
.pkg ul { margin: 22px 0 28px; display: grid; gap: 10px; flex: 1; }
.pkg li { display: flex; gap: 10px; font-size: 14.5px; align-items: center; }
.pkg li .check { margin-top: 0; }
.pkg--featured .check { background: rgba(116,214,200,.18); color: var(--green-300); }
.pkg li.core-li { color: var(--ink-3); }
.pkg--featured li.core-li { color: #9cc2b5; }
.pkg .btn { width: 100%; }

.matrix-wrap { margin-top: 48px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow-x: auto; }
.matrix { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14.5px; }
.matrix th, .matrix td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.matrix th:first-child, .matrix td:first-child { text-align: left; }
.matrix thead th { font-family: var(--font-head); font-size: 13.5px; color: var(--green-900); background: var(--bg); }
.matrix tbody tr:last-child td { border-bottom: 0; }
.matrix td:first-child b { font-weight: 600; color: var(--green-950); }
.matrix td:first-child small { display: block; color: var(--ink-3); font-size: 12.5px; }
.dot { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green-100); color: var(--green-700); }
.dot svg { width: 13px; height: 13px; }
.dash { color: #c3cfca; }

/* =================== WHY =================== */
.why { background: var(--green-950); color: #fff; position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 100% 0%, rgba(26,143,184,.35), transparent 60%); }
.why .container { position: relative; }
.why .section-head h2 { color: #fff; }
.why .section-head p { color: #c8e3d9; }
.why .eyebrow { color: var(--green-300); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__card { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.why__card svg { width: 30px; height: 30px; color: var(--blue-300); margin-bottom: 18px; }
.why__card h4 { font-size: 18px; margin-bottom: 8px; }
.why__card p { font-size: 14.5px; color: #bcd8cd; }

/* =================== CONTACT =================== */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__info h2 { font-size: clamp(30px, 4vw, 42px); color: var(--green-950); margin: 14px 0 16px; }
.contact__info > p { font-size: 18px; color: var(--ink-2); }
.contact__list { margin-top: 32px; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list .ci { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); flex: none; }
.contact__list .ci svg { width: 20px; height: 20px; }
.contact__list b { display: block; font-family: var(--font-head); color: var(--green-950); }
.contact__list span { font-size: 14.5px; color: var(--ink-2); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s; min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-500); background: #fff; box-shadow: 0 0 0 4px rgba(23,160,148,.12); }
.interest { display: flex; flex-wrap: wrap; gap: 8px; }
.interest label { cursor: pointer; }
.interest input { position: absolute; opacity: 0; pointer-events: none; }
.interest span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: all .2s; }
.interest input:checked + span { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.interest input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.form__note { font-size: 12.5px; color: var(--ink-3); }
.form__ok { display: none; padding: 14px 16px; border-radius: 10px; background: var(--green-50); color: var(--green-800); font-weight: 500; font-size: 14.5px; border: 1px solid var(--green-100); }

/* =================== FOOTER =================== */
.footer { background: var(--green-950); color: #a9c7bc; padding: 72px 0 32px; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand__name { color: #fff; }
.footer .brand__sub { color: var(--blue-300); }
.footer__about { margin-top: 18px; max-width: 320px; }
.footer h6 { font-family: var(--font-head); font-size: 14px; color: #fff; margin: 0 0 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 13px; }
.footer__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__badges span { border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 4px 12px; font-size: 12px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 72px; }
  .mock { max-width: 560px; margin: 0 auto; width: 100%; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .why__grid, .core__grid { grid-template-columns: repeat(2, 1fr); }
  .explorer { grid-template-columns: 1fr; }
  .tabs { position: static; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .loop { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta .btn--outline { display: none; }
  .nav__toggle { display: grid; place-items: center; }
  .nav.open .nav__links {
    display: grid; position: absolute; top: 76px; left: 0; right: 0; gap: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 8px 24px 16px; box-shadow: var(--shadow);
  }
  .nav.open .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav.open .nav__links a::after { display: none; }
  .arms__grid, .contact { grid-template-columns: 1fr; }
  .lifecycle { grid-template-columns: 1fr; }
  .stage + .stage { border-left: 0; border-top: 1px solid var(--line); }
  .stage::after { display: none; }
  .caps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero__inner { padding: 56px 16px 104px; }
  .section { padding: 72px 0; }
  .nav__cta .btn--primary { display: none; }
  .arm, .panel, .core, .form { padding: 26px 20px; }
  .svc-grid, .pkg-grid, .why__grid, .core__grid, .form__row { grid-template-columns: 1fr; }
  .mock__kpis { grid-template-columns: 1fr 1fr; }
  .mock__kpis .kpi:last-child { display: none; }
  .mock__float--a { left: -6px; bottom: -24px; }
  .mock__float--b { right: -6px; top: -28px; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
}

/* 5 service cards: last one fills the remaining row */
.svc-grid .svc:last-child { grid-column: span 2; }
@media (max-width: 640px) { .svc-grid .svc:last-child { grid-column: auto; } }

/* Brand logo image */
.brand__logo { height: 44px; width: auto; }
.brand__logo--light { height: 48px; filter: brightness(0) invert(1); }
@media (max-width: 640px) { .brand__logo { height: 36px; } }

/* Product screenshot */
.shot { margin: 0 0 64px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }
.shot__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #f3f7f6; border-bottom: 1px solid var(--line); }
.shot__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4ddd9; }
.shot__bar span { margin-left: 10px; font-size: 12px; color: var(--ink-3); font-weight: 500; }
.shot img { width: 100%; height: auto; max-height: 640px; object-fit: cover; object-position: top; }
