/* ==========================================================================
   Silver Triangle Company — corporate site
   Palette: white · deep navy · turquoise accent · silver
   ========================================================================== */

:root {
  --navy-950: #060f1f;
  --navy-900: #0a1a33;
  --navy-800: #0f2546;
  --navy-700: #183461;
  --ink: #0d1b2e;
  --text: #34445a;
  --muted: #5d6c80;
  --line: #e4e9f0;
  --line-strong: #d3dbe6;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-tint: #eef6f6;
  --teal: #14a8a4;
  --teal-600: #0f8a87;
  --teal-700: #0b6f6d;
  --teal-50: #e8f7f6;
  --silver: linear-gradient(135deg, #ffffff 0%, #cfd6df 45%, #8a96a5 100%);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font-sans);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 46, .06);
  --shadow: 0 1px 2px rgba(13, 27, 46, .05), 0 8px 24px -8px rgba(13, 27, 46, .10);
  --shadow-lg: 0 2px 4px rgba(13, 27, 46, .04), 0 24px 48px -16px rgba(13, 27, 46, .18);

  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--teal) 55%, transparent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--teal-50); color: var(--ink); }

.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: 16px; top: -60px; z-index: 200; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 80px 0; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--teal); }
.eyebrow--light { color: #7fe0dc; }
.eyebrow--light::before { background: #7fe0dc; }

.h-display { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; }
.h-1 { font-size: clamp(34px, 4.2vw, 52px); letter-spacing: -.03em; font-weight: 800; }
.h-2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.025em; }
.h-3 { font-size: 21px; letter-spacing: -.015em; }
.lead { font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.65; color: var(--muted); }
.text-gradient { background: linear-gradient(100deg, var(--navy-800) 0%, var(--teal-600) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

.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--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.section-head--split p { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy-900); --btn-fg: #fff; --btn-bd: var(--navy-900);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 12px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(10, 26, 51, .45); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn--teal { --btn-bg: var(--teal-600); --btn-bd: var(--teal-600); }
.btn--teal:hover { --btn-bg: var(--teal-700); box-shadow: 0 10px 24px -10px rgba(15, 138, 135, .6); }
.btn--ghost { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bd: var(--ink); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-bd: #fff; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .3); }
.btn--outline-light:hover { --btn-bd: #fff; box-shadow: none; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; border-radius: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal-700); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13, 27, 46, .35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; border-radius: 11px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(13, 27, 46, .08), 0 4px 12px -4px rgba(13, 27, 46, .35); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 16.5px; letter-spacing: .02em; color: var(--ink); }
.brand-sub { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; padding: 8px 14px; border-radius: 9px;
  font-size: 14.5px; font-weight: 500; color: var(--text);
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--ink); background: var(--bg-soft); }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--teal); }
.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .25s var(--ease), background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 104px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 70% at 30% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 30% 20%, #000 20%, transparent 75%);
  opacity: .7;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -200px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 168, 164, .16), transparent 62%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 26px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 500; color: var(--text);
}
.hero-badge b { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--navy-900); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 560px; margin-bottom: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--teal-600); }

/* Identity card (dark) */
.id-card {
  position: relative; border-radius: var(--radius-lg); padding: 32px; color: #c8d3e2;
  background: radial-gradient(120% 90% at 100% 0%, #173a66 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .06);
  overflow: hidden; isolation: isolate;
}
.id-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background: repeating-linear-gradient(115deg, transparent 0 18px, rgba(255, 255, 255, .035) 18px 19px);
}
.id-card-top { display: flex; align-items: center; gap: 18px; padding-bottom: 24px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.id-card-logo { width: 76px; height: 76px; border-radius: 18px; overflow: hidden; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 12px 24px -8px rgba(0, 0, 0, .6); }
.id-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.id-card-label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #7fe0dc; font-weight: 600; margin-bottom: 6px; }
.id-card-title { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: #fff; line-height: 1.25; letter-spacing: -.01em; }
.id-rows { list-style: none; }
.id-rows li { display: grid; grid-template-columns: 128px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px dashed rgba(255, 255, 255, .1); font-size: 14px; }
.id-rows li:last-child { border-bottom: 0; }
.id-rows dt, .id-rows .k { color: #8a9ab0; }
.id-rows .v { color: #fff; font-weight: 500; }
.id-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }
.id-card-foot .apps { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; }
.id-card-foot .apps img { width: 30px; height: 30px; border-radius: 8px; background: #fff; }
.status-dot { display: inline-flex; align-items: center; gap: 8px; color: #7fe0dc; font-weight: 500; }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2fd3cd; box-shadow: 0 0 0 4px rgba(47, 211, 205, .18); }

/* ---------- Fact strip ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 28px; border-inline-start: 1px solid var(--line); }
.fact:first-child { border-inline-start: 0; padding-inline-start: 0; }
.fact-k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.fact-v { font-family: var(--font-display); font-size: 16.5px; font-weight: 700; color: var(--ink); line-height: 1.35; letter-spacing: -.01em; }

/* ---------- Generic grids & cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split--top { align-items: start; }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.card--flat:hover { transform: none; box-shadow: none; border-color: var(--line); }

.icon-box {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 24px;
  color: var(--teal-700); background: var(--teal-50); box-shadow: inset 0 0 0 1px rgba(20, 168, 164, .16);
}
.icon-box svg { width: 24px; height: 24px; }
.icon-box--navy { color: #fff; background: var(--navy-900); box-shadow: none; }
.card-num { position: absolute; top: 28px; inset-inline-end: 30px; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--line-strong); letter-spacing: .06em; }

/* Feature list with checks */
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6f6d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* About preview visual */
.visual-panel {
  position: relative; border-radius: var(--radius-lg); aspect-ratio: 1 / 1.02; overflow: hidden;
  background: #000; box-shadow: var(--shadow-lg);
}
.visual-panel img { width: 100%; height: 100%; object-fit: cover; }
.visual-panel .tag {
  position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 16px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--text);
}
.visual-panel .tag b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 15px; }

.stmt {
  position: relative; padding: 28px 30px; padding-inline-start: 34px; border-radius: var(--radius); background: var(--bg-tint);
  border: 1px solid rgba(20, 168, 164, .18); color: var(--ink); font-size: 16px; line-height: 1.7;
}
.stmt::before { content: ""; position: absolute; inset-inline-start: 0; top: 24px; bottom: 24px; width: 4px; border-radius: 4px; background: var(--teal); }
.stmt strong { color: var(--ink); }

/* ---------- Product feature ---------- */
.product {
  display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 28px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.product-visual {
  position: relative; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  background: radial-gradient(90% 80% at 0% 0%, #e2f5f4 0%, #f3fafa 55%, #fff 100%);
  border-inline-end: 1px solid var(--line);
}
.product-logo { width: 100%; max-width: 340px; margin: 0 auto; mix-blend-mode: multiply; }
.platforms { display: grid; gap: 10px; }
.platform {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.platform:hover { border-color: rgba(20, 168, 164, .45); transform: translateY(-2px); box-shadow: var(--shadow); }
.platform-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: var(--bg-soft); color: var(--ink); }
.platform-ico svg { width: 20px; height: 20px; }
.platform-ico img { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); }
.platform-name { font-weight: 600; color: var(--ink); font-size: 15px; line-height: 1.3; }
.platform-desc { font-size: 13px; color: var(--muted); line-height: 1.4; }
.platform-go { margin-inline-start: auto; color: var(--muted); }
.platform-go svg { width: 18px; height: 18px; }
.platform:hover .platform-go { color: var(--teal-700); }

.product-body { padding: 52px 52px 48px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--bg-soft); color: var(--text); border: 1px solid var(--line); }
.pill--teal { background: var(--teal-50); color: var(--teal-700); border-color: rgba(20, 168, 164, .2); }
.product-body h3 { font-size: clamp(30px, 3vw, 40px); letter-spacing: -.03em; font-weight: 800; margin-bottom: 14px; }
.product-body .lead { font-size: 17px; margin-bottom: 26px; }
.product-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 30px; font-size: 15px; }
.ownership {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; margin-bottom: 30px;
  background: var(--bg-soft); border: 1px solid var(--line); font-size: 14.5px; color: var(--text); line-height: 1.6;
}
.ownership img { width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; }
.ownership b { color: var(--ink); }

.coming-soon {
  margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 28px 32px; border-radius: var(--radius-lg); border: 1.5px dashed var(--line-strong); background: #fff;
}
.coming-soon h3 { margin: 0 0 4px; font-size: 18px; }
.coming-soon p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 27px; inset-inline-start: 28px; inset-inline-end: calc(25% - 28px); height: 1px; background: linear-gradient(90deg, var(--teal), var(--line-strong)); }
.step { position: relative; padding-inline-end: 28px; }
.step-dot {
  position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 26px;
  background: #fff; border: 1px solid var(--line-strong); font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 15px;
  box-shadow: 0 0 0 6px #fff;
}
.section--soft .step-dot { box-shadow: 0 0 0 6px var(--bg-soft); }
.step:first-child .step-dot { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: 72px 64px; color: #c8d3e2;
  background: radial-gradient(80% 120% at 100% 0%, #1b4372 0%, var(--navy-900) 50%, var(--navy-950) 100%);
  display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 255, 255, .03) 22px 23px);
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; left: -120px; bottom: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 168, 164, .35), transparent 65%);
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; font-size: 17px; max-width: 560px; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.contact-item .icon-box { width: 44px; height: 44px; border-radius: 12px; margin: 0; flex-shrink: 0; }
.contact-item .icon-box svg { width: 20px; height: 20px; }
.contact-k { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.contact-v { color: var(--ink); font-weight: 600; font-size: 15.5px; word-break: break-word; }
a.contact-v:hover { color: var(--teal-700); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--teal-700); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: 11px; border: 1px solid var(--line-strong); background: #fff; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #b9c4d3; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(20, 168, 164, .14); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #d14343; box-shadow: 0 0 0 4px rgba(209, 67, 67, .1); }
.field-error { font-size: 13px; color: #b42318; min-height: 0; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 24px; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; max-width: 360px; }
.form-note a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 2px; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-ok { background: var(--teal-50); color: var(--teal-700); border: 1px solid rgba(20, 168, 164, .25); }
.form-status.is-err { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }

.map-box { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); min-height: 340px; position: relative; }
.map-box iframe { display: block; width: 100%; height: 420px; border: 0; }
.map-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 32px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
}
.map-placeholder > div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px; max-width: 380px; box-shadow: var(--shadow); }
.map-placeholder .icon-box { margin: 0 auto 14px; }
.map-placeholder p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* Placeholder values (shown until filled in config.js) */
.is-placeholder { color: #8a6d1f !important; background: #fff8e6; border: 1px dashed #e6c975; border-radius: 6px; padding: 0 6px; font-weight: 500 !important; font-style: normal; }
.id-card .is-placeholder, .site-footer .is-placeholder { color: #f2d48a !important; background: rgba(242, 212, 138, .08); border-color: rgba(242, 212, 138, .35); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 88px 0 72px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .55;
  mask-image: radial-gradient(ellipse 60% 90% at 85% 0%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 85% 0%, #000 10%, transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 820px; margin-bottom: 18px; }
.page-hero .lead { max-width: 680px; margin: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--ink); }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }

/* ---------- Identity table ---------- */
.id-table { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.id-table-head { display: flex; align-items: center; gap: 16px; padding: 24px 28px; background: var(--navy-900); color: #fff; }
.id-table-head img { width: 48px; height: 48px; border-radius: 12px; }
.id-table-head .t { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.id-table-head .s { font-size: 13px; color: #8fa3bd; }
.id-table dl { margin: 0; }
.id-table .row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 18px 28px; border-top: 1px solid var(--line); }
.id-table .row:first-child { border-top: 0; }
.id-table dt { color: var(--muted); font-size: 14.5px; }
.id-table dd { margin: 0; color: var(--ink); font-weight: 600; font-size: 15px; }

/* Mission / vision */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { padding: 44px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.mv-card--dark { background: var(--navy-900); border-color: var(--navy-900); color: #b9c6d8; }
.mv-card--dark h3 { color: #fff; }
.mv-card h3 { font-size: 26px; margin-bottom: 14px; }
.mv-card p { margin: 0; font-size: 17px; line-height: 1.7; }

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: 72px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); font-size: 14px; }
.toc-title { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-inline-start: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0; padding-inline-start: 16px; margin-inline-start: -1px; border-inline-start: 2px solid transparent; color: var(--muted); transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-inline-start-color: var(--teal); font-weight: 600; }
.prose { max-width: 760px; font-size: 16.5px; }
.prose h2 { font-size: 24px; margin: 52px 0 14px; padding-top: 4px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 28px 0 10px; }
.prose ul { padding-inline-start: 22px; margin: 0 0 1.1em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.callout { padding: 18px 22px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 15px; margin: 0 0 1.4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #93a3b8; padding: 80px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #6f8098; }
.footer-brand p { margin: 20px 0 0; max-width: 340px; line-height: 1.7; }
.footer-legal { margin-top: 22px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); font-size: 13px; line-height: 1.6; max-width: 360px; }
.footer-legal b { color: #e6ecf3; font-weight: 600; }
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; color: #4fc9c4; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal ---------- */
.reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-ready .reveal.is-in { opacity: 1; transform: none; }
.reveal-ready .reveal[data-delay="1"] { transition-delay: .08s; }
.reveal-ready .reveal[data-delay="2"] { transition-delay: .16s; }
.reveal-ready .reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav a { padding: 8px 10px; }
  .header-cta .header-btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero .id-card { max-width: 620px; }
  .product { grid-template-columns: 1fr; }
  .product-visual { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px 24px 32px;
    background: #fff; border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    overflow-y: auto;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: 16px 4px; font-size: 18px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a:hover { background: none; }
  .main-nav a[aria-current="page"] { color: var(--teal-700); }
  .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav .nav-mobile-cta { margin-top: 24px; border: 0; }
  body.nav-open { overflow: hidden; }
  .section { padding: 84px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .section-head--split { grid-template-columns: 1fr; gap: 16px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .process { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .process::before { display: none; }
  .cta-band { grid-template-columns: 1fr; padding: 56px 40px; }
  .mv { grid-template-columns: 1fr; }
  .visual-panel { max-width: 520px; }
}
@media (min-width: 961px) { .main-nav .nav-mobile-cta { display: none; } }
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 68px 0; }
  .hero { padding: 48px 0 72px; }
  .page-hero { padding: 56px 0 48px; }
  .brand-sub { display: none; }
  .grid-2, .grid-3, .grid-4, .form-grid, .product-features { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { border-inline-start: 0 !important; padding: 20px 0 !important; }
  .fact + .fact { border-top: 1px solid var(--line); }
  .process { grid-template-columns: 1fr; }
  .id-card { padding: 24px; }
  .id-rows li { grid-template-columns: 1fr; gap: 2px; }
  .id-table .row { grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; }
  .product-visual, .product-body { padding: 32px 24px; }
  .cta-band { padding: 44px 26px; border-radius: 22px; }
  .form-card { padding: 26px 20px; }
  .mv-card { padding: 30px 26px; }
  .card { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .btn-row .btn { flex: 1 1 auto; }
  .id-card-foot { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   v2 — refinements, new components, RTL / Arabic
   ========================================================================== */

/* Language switch */
.lang-switch {
  display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink);
  transition: border-color .2s, background .2s;
}
.lang-switch svg { width: 17px; height: 17px; color: var(--teal-700); }
.lang-switch:hover { border-color: var(--ink); }
.lang-switch[lang="ar"] { font-family: "IBM Plex Sans Arabic", var(--font-sans); }

/* Hero decoration: concentric triangles echoing the logo */
.hero-deco {
  position: absolute; z-index: -1; width: 640px; height: 640px; top: -40px; inset-inline-end: -120px;
  color: var(--navy-800); opacity: .06; pointer-events: none;
}
.id-card { border-top: 1px solid transparent; }
.id-card::after {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
}

/* Who-we-are media */
.split--media { grid-template-columns: .82fr 1.18fr; }
.visual-panel { aspect-ratio: 1 / 1; }
.checklist--spaced { margin: 28px 0 32px; }
.checklist--lg { font-size: 17px; color: var(--ink); font-weight: 500; }
.checklist--sm { margin-top: 20px; font-size: 15px; gap: 10px; }
.checklist--sm li::before { width: 20px; height: 20px; background-size: 12px; }

/* Card variants */
.card--dark { background: var(--navy-900); border-color: var(--navy-900); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; overflow: hidden; isolation: isolate; }
.card--dark::after { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; inset-inline-end: -90px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(20,168,164,.35), transparent 65%); }
.card--dark h3 { color: #fff; }
.card--dark p { color: #9fb0c6; }
.card--dark .link-arrow { color: #7fe0dc; }
.card--dark:hover { border-color: var(--navy-900); box-shadow: 0 20px 40px -20px rgba(10,26,51,.6); }
.icon-box--glass { color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.card--tint { background: var(--bg-tint); border-color: rgba(20,168,164,.2); }
.card--tint:hover { transform: none; box-shadow: none; }
.card--link { display: flex; flex-direction: column; }
.card--link p { flex: 1; }
.card--link .link-arrow, .card--tint .link-arrow { margin-top: 20px; }
.card .icon-box { transition: transform .3s var(--ease); }
.card:hover .icon-box { transform: translateY(-2px); }

/* Sections */
.section--after-cta { padding-top: 40px; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.title-md { font-size: 24px; margin-bottom: 20px; }
.form-card .title-md { margin-bottom: 6px; }
.id-table--compact { margin-top: 24px; box-shadow: none; }
.id-table--compact .row { grid-template-columns: 150px 1fr; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.req { color: var(--teal-700); }
.page-hero--404 { padding: 140px 0; border: 0; text-align: center; }
.page-hero--404 .eyebrow, .page-hero--404 .btn-row { justify-content: center; }
.page-hero--404 h1, .page-hero--404 .lead { margin-left: auto; margin-right: auto; }
.page-hero--404 .lead { margin-bottom: 32px; }

/* Product logo tile & polish */
.product-body h3 { background: linear-gradient(100deg, var(--navy-900), var(--teal-700)); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }

/* Footer polish */
.site-footer { position: relative; overflow: hidden; isolation: isolate; }
.site-footer::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127,224,220,.45), transparent);
}

/* Better focus for keyboard users in dark areas */
.cta-band :focus-visible, .site-footer :focus-visible, .id-card :focus-visible { outline-color: #7fe0dc; }

/* Tablet tune-ups */
@media (max-width: 1080px) {
  .contact-grid { grid-template-columns: 1fr; }
  .hero-deco { width: 480px; height: 480px; opacity: .05; }
}
@media (max-width: 960px) {
  .split--media { grid-template-columns: 1fr; }
  .visual-panel { max-width: 460px; }
  .lang-switch { height: 44px; }
}
@media (max-width: 640px) {
  .lang-switch { padding: 0 11px; }
  .lang-switch span { font-size: 13.5px; }
  .hero-deco { display: none; }
  .id-table--compact .row { grid-template-columns: 1fr; }
  .title-md { font-size: 21px; }
  .page-hero--404 { padding: 88px 0; }
}

/* ---------- RTL / Arabic ---------- */
html[dir="rtl"] {
  --font-sans: "IBM Plex Sans Arabic", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  --font-display: "IBM Plex Sans Arabic", "Plus Jakarta Sans", var(--font-sans);
}
html[dir="rtl"] body { line-height: 1.85; }
html[dir="rtl"] *, html[dir="rtl"] *::before, html[dir="rtl"] *::after { letter-spacing: 0 !important; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { line-height: 1.4; font-weight: 700; }
html[dir="rtl"] .h-display { font-size: clamp(36px, 5vw, 62px); line-height: 1.3; }
html[dir="rtl"] .h-1 { line-height: 1.35; }
html[dir="rtl"] .eyebrow { font-size: 14px; text-transform: none; }
html[dir="rtl"] .fact-k, html[dir="rtl"] .contact-k, html[dir="rtl"] .toc-title,
html[dir="rtl"] .footer-col h4, html[dir="rtl"] .id-card-label { text-transform: none; font-size: 13px; }
html[dir="rtl"] .lead { line-height: 1.9; }
html[dir="rtl"] .brand-name { font-size: 18px; }
html[dir="rtl"] .brand-sub { font-family: var(--font-sans); }
/* Latin brand names keep their Latin typeface inside Arabic text */
html[dir="rtl"] [data-site="legalName"], html[dir="rtl"] .product-body h3, html[dir="rtl"] .platform-name { font-family: "Inter", var(--font-sans); }
html[dir="rtl"] .product-body h3 { font-family: "Plus Jakarta Sans", "Inter", sans-serif; }
/* Mirror directional icons */
html[dir="rtl"] svg.arrow, html[dir="rtl"] svg.chev { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover svg.arrow, html[dir="rtl"] .link-arrow:hover svg.arrow { transform: scaleX(-1) translateX(3px); }
html[dir="rtl"] .process::before { background: linear-gradient(270deg, var(--teal), var(--line-strong)); }
html[dir="rtl"] .hero::before { mask-image: radial-gradient(ellipse 75% 70% at 70% 20%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 75% 70% at 70% 20%, #000 20%, transparent 75%); }
html[dir="rtl"] .hero::after { right: auto; left: -200px; }
html[dir="rtl"] .text-gradient { background-image: linear-gradient(260deg, var(--navy-800) 0%, var(--teal-600) 100%); padding-bottom: .08em; }
html[dir="rtl"] .id-rows li { grid-template-columns: 140px 1fr; }
html[dir="rtl"] .field input, html[dir="rtl"] .field textarea { text-align: start; }
html[dir="rtl"] input[dir="ltr"] { text-align: right; }
@media (max-width: 640px) {
  html[dir="rtl"] .id-rows li { grid-template-columns: 1fr; }
}

/* Very small phones (≤ 400px) */
@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 10px; }
  .brand { gap: 9px; min-width: 0; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 14.5px; white-space: nowrap; }
  html[dir="rtl"] .brand-name { font-size: 16px; }
  .header-cta { gap: 8px; }
  .lang-switch { padding: 0 10px; gap: 0; }
  .lang-switch svg { display: none; }
  .nav-toggle { width: 42px; height: 42px; }
}

/* ==========================================================================
   v3 — InClinc product showcase
   ========================================================================== */
.product-tagline { margin: -4px 0 14px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--teal-700); }

/* Store button (custom, not the official badge artwork) */
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 22px 0 18px; border-radius: 14px;
  background: #0b0f17; color: #fff; border: 1px solid #0b0f17; line-height: 1.1;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.store-btn svg { width: 22px; height: 22px; color: #7fe0dc; fill: rgba(127,224,220,.18); }
.store-btn span { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.store-btn small { font-family: var(--font-sans); font-weight: 500; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .75; margin-bottom: 2px; }
html[dir="rtl"] .store-btn small { text-transform: none; font-size: 12px; }
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(11,15,23,.6); }

/* Feature rows */
.feature-rows { display: grid; gap: 96px; margin-top: 16px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-row:nth-child(even) .feature-media { order: 2; }
.feature-media {
  position: relative; display: grid; place-items: center; padding: 44px; border-radius: 28px; aspect-ratio: 5 / 4;
  background: radial-gradient(90% 90% at 50% 40%, #ffffff 0%, #eef8f8 60%, #e3f3f2 100%);
  border: 1px solid rgba(20,168,164,.16); box-shadow: var(--shadow);
  overflow: hidden;
}
.feature-media::after {
  content: ""; position: absolute; inset: auto -20% -45% -20%; height: 60%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20,168,164,.12), transparent); pointer-events: none;
}
.feature-media img { position: relative; z-index: 1; width: 100%; max-width: 420px; max-height: 320px; object-fit: contain; }
.feature-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 20px;
  background: var(--navy-900); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 15px;
}
.feature-text h3 { margin-bottom: 14px; }
.feature-text .lead { margin: 0; max-width: 520px; }

/* Why patients love */
.love-card {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: 64px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.love-wave { position: absolute; z-index: -1; top: 0; left: 0; width: 100%; height: 260px; object-fit: cover; object-position: top; opacity: .55; -webkit-mask-image: linear-gradient(#000 25%, transparent 95%); mask-image: linear-gradient(#000 25%, transparent 95%); }
.love-head { max-width: 640px; margin-bottom: 40px; }
.love-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.love-item {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 15.5px; line-height: 1.45;
}
.love-item .icon-box { width: 44px; height: 44px; margin: 0; flex-shrink: 0; border-radius: 12px; background: #fff; }
.love-item .icon-box svg { width: 20px; height: 20px; }
.love-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line);
}
.love-foot p { margin: 0; font-size: 17px; font-weight: 500; color: var(--ink); max-width: 560px; }

/* InClinc Doctor */
.doctor-card {
  display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 28px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.doctor-media {
  position: relative; display: grid; place-items: center; padding: 56px 40px;
  background: radial-gradient(120% 100% at 0% 0%, #173a66 0%, var(--navy-900) 55%, var(--navy-950) 100%);
}
.doctor-media > img { width: 100%; max-width: 320px; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); background: #fff; border-radius: 24px; padding: 24px; }
.doctor-chip {
  position: absolute; bottom: 24px; inset-inline-start: 24px; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px;
  border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #c8d3e2; font-size: 13px; line-height: 1.3;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.doctor-chip img { border-radius: 9px; background: #fff; }
.doctor-chip b { color: #fff; font-size: 14px; }
.doctor-body { padding: 56px; }
.doctor-body h2 { margin-bottom: 14px; }
.doctor-sub { margin: 28px 0 16px; font-size: 18px; }
.doctor-feats { grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-bottom: 24px; font-size: 15px; }
.doctor-body .muted { font-size: 15px; margin-bottom: 26px; }

@media (max-width: 1080px) {
  .doctor-card { grid-template-columns: 1fr; }
  .love-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row:nth-child(even) .feature-media { order: 0; }
  .feature-rows { gap: 64px; }
  .love-card { padding: 44px 32px; }
}
@media (max-width: 640px) {
  .feature-media { padding: 24px; border-radius: 22px; }
  .love-grid, .doctor-feats { grid-template-columns: 1fr; }
  .love-card { padding: 36px 20px; border-radius: 22px; }
  .doctor-body { padding: 32px 22px; }
  .doctor-media { padding: 40px 24px 96px; }
  .store-btn { width: 100%; justify-content: center; }
}

/* ---------- UI refresh (Dec 2026) ---------- */
h1, h2, h3, .h-1, .h-2 { text-wrap: balance; }
.lead, p { text-wrap: pretty; }
.section { padding: 96px 0; }
.hero { padding: 80px 0 72px; }

/* Who-we-are visual: framed logo on a navy stage instead of a full-bleed image */
.split--media { grid-template-columns: .9fr 1.1fr; align-items: center; }
.visual-panel {
  aspect-ratio: 1 / 1; max-width: 460px; width: 100%; justify-self: center;
  display: grid; place-items: center; isolation: isolate;
  background: radial-gradient(120% 100% at 0% 0%, #173a66 0%, var(--navy-900) 55%, var(--navy-950, #050d1c) 100%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.06);
}
.visual-panel::before {
  content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(20,168,164,.32), transparent 65%); filter: blur(10px);
}
.visual-panel > img {
  width: 62%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 28px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .5s var(--ease, ease);
}
.visual-panel:hover > img { transform: translateY(-4px) scale(1.015); }
.visual-panel .tag { left: 18px; right: 18px; bottom: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #9fb0c6; }
.visual-panel .tag b { color: #fff; }
.visual-panel .tag .status-dot { white-space: nowrap; }

/* Cards: softer, more consistent hover */
.card { transition: transform .25s var(--ease, ease), box-shadow .25s, border-color .25s; }
.card:not(.card--dark):not(.card--tint):hover { border-color: rgba(20,168,164,.35); }

/* Buttons: subtle lift */
.btn { transition: transform .2s var(--ease, ease), box-shadow .2s, background .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

/* Product panel: keep the logo centered in the space above the platform links */
.product-visual { justify-content: center; }
.product-logo { flex: 1; object-fit: contain; max-height: 300px; }

@media (max-width: 960px) {
  .split--media { grid-template-columns: 1fr; }
  .visual-panel { max-width: 420px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 56px; }
  .visual-panel { max-width: 100%; aspect-ratio: 4 / 3.4; }
  .visual-panel > img { width: 46%; }
  .visual-panel .tag { font-size: 12.5px; padding: 12px 14px; }
}

/* Hero without the company card: one column, text kept to a readable width */
.hero-grid { grid-template-columns: 1fr; }
.hero-grid > div { max-width: 780px; }
.hero { padding: 104px 0 96px; }
.hero .lead { max-width: 640px; }
@media (max-width: 640px) { .hero { padding: 48px 0 56px; } }

/* About: company identity text without the details table */
.about-identity { max-width: 820px; }
