/* ============================================================
   Prowala Software Solutions — website design system
   Palette: teal/jade primary + amber accent on teal-ink
   ============================================================ */

:root {
  /* brand */
  --brand:      #0e8f76;
  --brand-600:  #0b7a64;
  --brand-700:  #096351;
  --brand-400:  #1cb191;
  --brand-glow: rgba(28, 177, 145, 0.30);
  --amber:      #f4a259;
  --amber-600:  #e08b3d;

  /* ink / neutrals (slight teal bias) */
  --ink:     #0b1517;   /* darkest bg (hero, footer) */
  --ink-2:   #0f2024;   /* raised dark surface */
  --text:    #15211e;   /* body text on light */
  --muted:   #57665f;   /* secondary text on light */
  --bg:      #ffffff;
  --bg-alt:  #f3f8f5;   /* alternating section bg */
  --card:    #ffffff;
  --line:    #e2ece7;

  /* on-dark text */
  --on-dark:      #e9f4ef;
  --on-dark-mut:  rgba(233, 244, 239, 0.68);

  /* type */
  --f-display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* scale / shape */
  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 10px 30px rgba(11, 60, 48, 0.09);
  --shadow-lg: 0 24px 60px rgba(11, 60, 48, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--ink); color: var(--on-dark); }

.eyebrow {
  font-family: var(--f-body);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.section.dark .eyebrow { color: var(--brand-400); }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.12; color: var(--text); letter-spacing: -0.02em; }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
h2.title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); text-wrap: balance; }
.lead { font-size: 1.06rem; color: var(--muted); max-width: 62ch; margin-top: 14px; }
.section.dark .lead { color: var(--on-dark-mut); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-body); font-weight: 600; font-size: 0.95rem;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 2px; }
.btn-accent { background: var(--amber); color: #2a1a06; box-shadow: 0 8px 22px rgba(244,162,89,.35); }
.btn-accent:hover { background: var(--amber-600); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(14,143,118,.28); }
.btn-primary:hover { background: var(--brand-600); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.32); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost.on-light { border-color: var(--line); color: var(--text); }
.btn-ghost.on-light:hover { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(11,60,48,.05); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .mark { width: 36px; height: 36px; }
.brand .wm { line-height: 1; }
.brand .wm .n1 { font-family: var(--f-display); font-weight: 800; font-size: 1.16rem; letter-spacing: -0.02em; color: var(--text); }
.brand .wm .n2 { display: block; font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-top: 3px; font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 0.93rem; font-weight: 500; color: var(--text); opacity: .82; transition: opacity .15s, color .15s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; padding: 104px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 85% 6%, rgba(28,177,145,.28), transparent 60%),
    radial-gradient(50% 60% at 8% 100%, rgba(244,162,89,.14), transparent 62%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-400); border: 1px solid rgba(28,177,145,.3); border-radius: 999px; padding: 7px 15px; margin-bottom: 26px;
}
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); color: #fff; max-width: 15ch; }
.hero h1 .accent { color: var(--brand-400); }
.hero p.sub { font-size: 1.14rem; color: var(--on-dark-mut); max-width: 56ch; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 56px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-stats .s .n { font-family: var(--f-display); font-size: 1.7rem; font-weight: 800; color: #fff; }
.hero-stats .s .c { font-size: 0.86rem; color: var(--on-dark-mut); margin-top: 2px; }

/* ---------- services ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.models { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 20px; }
.svc .role { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: .04em; color: var(--brand-600); background: rgba(14,143,118,.09); padding: 4px 11px; border-radius: 999px; margin-bottom: 14px; }
.svc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(14,143,118,.14), rgba(28,177,145,.10)); color: var(--brand-600);
}
.svc h3 { font-size: 1.12rem; margin-bottom: 8px; }
.svc p { font-size: 0.93rem; color: var(--muted); }

/* ---------- approach ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step .num {
  font-family: var(--f-display); font-weight: 800; font-size: 0.95rem; color: var(--brand);
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(14,143,118,.1); margin-bottom: 16px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--muted); }
.step .tag { display: inline-block; margin-top: 12px; font-size: 0.72rem; font-weight: 700; letter-spacing: .04em; color: var(--brand-600); background: rgba(14,143,118,.09); padding: 3px 10px; border-radius: 999px; }

/* ---------- technology ---------- */
.techgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.techcat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.techcat h4 { font-family: var(--f-body); font-size: 0.72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { font-size: 0.84rem; color: var(--text); padding: 6px 13px; border-radius: 999px; background: rgba(14,143,118,.07); border: 1px solid rgba(14,143,118,.18); }

/* ---------- work / case studies ---------- */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.wcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px 32px; transition: transform .2s, box-shadow .2s; }
.wcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.wcard .domain { font-size: 0.74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 12px; }
.wcard h3 { font-size: 1.3rem; margin-bottom: 12px; }
.wcard p { font-size: 0.94rem; color: var(--muted); margin-bottom: 16px; }
.wcard .pattern { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 600; color: var(--brand-700); background: rgba(14,143,118,.08); padding: 6px 13px; border-radius: 999px; }
.wcard .pattern .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.work-note { margin-top: 22px; font-size: 0.85rem; color: var(--muted); }
.feature-cs { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 30px; align-items: center; margin-bottom: 22px; }
.feature-cs .fdomain { font-size: 0.74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 10px; }
.feature-cs h3 { font-size: 1.45rem; margin: 0 0 12px; }
.feature-cs .feature-text > p { color: var(--muted); font-size: 0.96rem; margin-bottom: 16px; }
.feature-cs .pattern { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 600; color: var(--brand-700); background: rgba(14,143,118,.08); padding: 6px 13px; border-radius: 999px; }
.feature-cs .pattern .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.arch { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 18px; overflow-x: auto; }
.arch .mermaid { text-align: center; margin: 0; }
@media (max-width: 940px) { .feature-cs { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; }
.stat .n { font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; color: var(--brand-600); }
.stat .c { font-size: 0.85rem; color: var(--muted); margin-top: 5px; }
.values { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.values li { position: relative; padding-left: 30px; font-size: 0.95rem; color: var(--text); }
.values li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 6px; background: var(--brand);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/13px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/13px no-repeat; }
.values li b { font-weight: 700; }

/* ---------- contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact h2 { color: #fff; }
.contact h2 em { font-style: normal; color: var(--brand-400); }
.contact .cta-line { color: var(--amber); font-weight: 600; margin: 20px 0 8px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--on-dark-mut); margin-bottom: 6px; letter-spacing: .02em; }
.field input, .field textarea {
  width: 100%; font-family: var(--f-body); font-size: 0.95rem; color: #fff;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); border-radius: 11px; padding: 12px 14px;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(233,244,239,.4); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-400); background: rgba(255,255,255,.08); }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info .row .lbl { font-size: 0.7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-mut); margin-bottom: 3px; }
.contact-info .row .val { font-size: 1.02rem; font-weight: 600; color: #fff; }
.ph { color: var(--amber); font-weight: 700; }

/* ---------- footer ---------- */
.footer { background: #071012; color: var(--on-dark-mut); padding: 56px 0 30px; }
.footer .top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer .brand .wm .n1 { color: #fff; }
.footer .brand .wm .n2 { color: var(--on-dark-mut); }
.footer .tagline { max-width: 34ch; margin-top: 14px; font-size: 0.9rem; }
.footer nav { display: flex; gap: 46px; flex-wrap: wrap; }
.footer nav .col h5 { font-family: var(--f-body); color: #fff; font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.footer nav .col a { display: block; font-size: 0.9rem; padding: 4px 0; color: var(--on-dark-mut); transition: color .15s; }
.footer nav .col a:hover { color: #fff; }
.footer .bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- hero two-column + visual ---------- */
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 30px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 9px; font-size: 0.88rem; color: var(--on-dark-mut); }
.hero-trust span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-400); }

.hero-visual { position: relative; min-height: 360px; display: grid; place-items: center; }
.glass {
  position: relative; width: 100%; max-width: 380px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: 18px;
  backdrop-filter: blur(10px); padding: 20px 22px; box-shadow: 0 30px 70px rgba(0,0,0,.4);
}
.glass-head { display: flex; align-items: center; gap: 7px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.glass-head .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.d1 { background: #ff5f57; } .dot.d2 { background: #febc2e; } .dot.d3 { background: #28c840; }
.glass-title { margin-left: 8px; font-family: var(--f-body); font-size: 0.8rem; color: var(--on-dark-mut); }
.grow { display: flex; flex-direction: column; gap: 15px; padding: 20px 0; }
.grow-row { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 12px; font-size: 0.82rem; color: #fff; }
.grow-row i { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--brand-400), var(--brand)); width: var(--w); display: block; }
.glass-foot { font-size: 0.82rem; color: var(--brand-400); font-weight: 600; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.1); }
.float-chip { position: absolute; font-size: 0.76rem; font-weight: 600; color: #fff; background: rgba(14,143,118,.92); border: 1px solid rgba(255,255,255,.2); padding: 7px 13px; border-radius: 999px; box-shadow: 0 12px 26px rgba(0,0,0,.32); }
.float-chip.c-a { top: 2%; left: -6%; animation: floaty 6s ease-in-out infinite; }
.float-chip.c-b { top: 46%; right: -9%; background: rgba(244,162,89,.94); color: #2a1a06; animation: floaty 7s ease-in-out infinite .6s; }
.float-chip.c-c { bottom: 3%; left: 6%; animation: floaty 6.4s ease-in-out infinite .3s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .float-chip { animation: none; } }

/* ---------- capability marquee ---------- */
.marquee { background: var(--ink); border-top: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; padding: 15px 0; animation: scrollx 32s linear infinite; }
.marquee-track span { font-family: var(--f-display); font-weight: 600; font-size: 0.92rem; color: var(--on-dark-mut); white-space: nowrap; display: inline-flex; align-items: center; }
.marquee-track span::after { content: "•"; margin-left: 34px; color: var(--brand-400); }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- impact stats band ---------- */
.statsband { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 46px 0; }
.statsband .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.statsband .n { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: var(--text); line-height: 1; }
.statsband .n b { color: var(--brand); }
.statsband .c { font-size: 0.88rem; color: var(--muted); margin-top: 8px; }

/* ---------- industries (teal-duotone image tiles) ---------- */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.itile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); isolation: isolate; }
.itile img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(100%) contrast(.98) brightness(1.04); transition: transform .55s ease, filter .55s ease; }
.itile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(150deg, rgba(28,177,145,.55), rgba(9,60,50,.9)); mix-blend-mode: multiply; transition: opacity .45s ease; }
.itile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(6,16,18,.72), transparent 58%); }
.itile .lab { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 2; }
.itile .lab .t { font-family: var(--f-display); font-weight: 700; font-size: 1.08rem; color: #fff; letter-spacing: -.01em; }
.itile .lab .s { font-size: 0.8rem; color: rgba(255,255,255,.82); margin-top: 2px; }
.itile:hover img { transform: scale(1.06); filter: grayscale(25%) contrast(1) brightness(1); }
.itile:hover::before { opacity: .78; }

/* ---------- contact background image (duotone) ---------- */
.contact { position: relative; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); opacity: .16; }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 90% 0%, rgba(28,177,145,.22), transparent 60%); }
.contact > .container { position: relative; z-index: 1; }

/* ---------- our product ---------- */
#product .product { border: 1px solid var(--line); border-radius: 20px; padding: 40px 40px 42px; background: linear-gradient(135deg, rgba(14,143,118,.07), rgba(244,162,89,.05)); box-shadow: var(--shadow); }
.product-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-600); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin-bottom: 16px; }
.product-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.pf { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.pf b { display: block; font-family: var(--f-display); font-size: 0.95rem; color: var(--text); margin-bottom: 3px; }
.pf span { font-size: 0.82rem; color: var(--muted); }
.product-tech { margin-top: 22px; font-size: 0.86rem; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .grid-3, .steps, .industries, .product-feats { grid-template-columns: repeat(2, 1fr); }
  .about-wrap, .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px 24px 20px; box-shadow: var(--shadow);
  }
  .site-header.open .nav-links a { padding: 10px 0; width: 100%; }
  .grid-3, .grid-2, .steps, .techgrid, .work, .stats, .industries, .product-feats { grid-template-columns: 1fr; }
  .statsband .row { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .footer .top { flex-direction: column; }
}

/* ---------- inner page hero ---------- */
.page-hero {
  background: var(--ink);
  color: var(--on-dark);
  padding: 96px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -20% 40% auto -10%;
  height: 70%;
  background: radial-gradient(circle, rgba(14,143,118,.28), transparent 65%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero .eyebrow { color: var(--brand-400); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 18ch; }
.page-hero .lead { color: var(--on-dark-mut); margin-top: 16px; }
.page-hero .crumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 0.82rem; color: var(--on-dark-mut); margin-bottom: 18px;
}
.page-hero .crumb a { color: var(--brand-400); }
.page-hero .crumb a:hover { color: #fff; }
.home-links {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px;
}
.home-link {
  display: block; padding: 22px 20px; border: 1px solid var(--line); border-radius: 16px;
  background: #fff; box-shadow: var(--shadow); transition: transform .18s ease, border-color .18s ease;
}
.home-link:hover { transform: translateY(-3px); border-color: var(--brand); }
.home-link h3 { font-size: 1.05rem; margin-bottom: 6px; }
.home-link p { font-size: 0.9rem; color: var(--muted); }

/* ---------- homepage: section header + CTA band ---------- */
.section-head-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 0.95rem; color: var(--brand-600); white-space: nowrap;
  transition: color .15s ease, transform .15s ease;
}
.text-link .arrow { transition: transform .18s ease; }
.text-link:hover { color: var(--brand-700); }
.text-link:hover .arrow { transform: translateX(3px); }

.home-arch {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; min-height: 220px; justify-content: center;
}
.flow-node {
  font-family: var(--f-body); font-size: 0.86rem; font-weight: 600; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 16px; width: 100%; max-width: 280px;
}
.flow-node.accent {
  background: rgba(14,143,118,.1); border-color: rgba(14,143,118,.35); color: var(--brand-700);
}
.flow-node.ok {
  background: rgba(244,162,89,.12); border-color: rgba(244,162,89,.4); color: #6b3d0f;
}
.flow-node.sm { font-size: 0.78rem; padding: 8px 10px; max-width: none; }
.flow-arrow { color: var(--brand-400); font-size: 1.1rem; line-height: 1; }
.flow-split {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%;
}

.cta-band {
  position: relative; background: var(--ink); color: var(--on-dark);
  padding: 88px 0; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(55% 80% at 90% 20%, rgba(28,177,145,.28), transparent 60%),
    radial-gradient(40% 60% at 10% 90%, rgba(244,162,89,.12), transparent 55%);
  pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap;
}
.cta-band .eyebrow { color: var(--brand-400); }
.cta-band .title { color: #fff; max-width: 18ch; }
.cta-band .lead { color: var(--on-dark-mut); max-width: 48ch; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.ind-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.ind-tile {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 20px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ind-tile strong { font-family: var(--f-display); font-size: 1.02rem; color: var(--text); }
.ind-tile span { font-size: 0.86rem; color: var(--muted); }
.ind-tile:hover {
  transform: translateY(-3px); border-color: var(--brand);
  box-shadow: var(--shadow);
}

/* ---------- homepage teasers (avoid duplicating inner pages) ---------- */
.focus-chips {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.focus-chips a {
  font-family: var(--f-display); font-weight: 600; font-size: 0.95rem;
  padding: 12px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--text);
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.focus-chips a:hover { border-color: var(--brand); color: var(--brand-700); transform: translateY(-2px); }
.focus-chips a.is-major {
  border-color: rgba(244,162,89,.55); background: rgba(244,162,89,.12); color: #6b3d0f;
}
.focus-chips a.is-major:hover { border-color: var(--amber-600); color: #2a1a06; }

.teaser-card {
  display: block; padding: 32px 34px; border-radius: 20px;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease;
}
.teaser-card:hover { transform: translateY(-3px); border-color: var(--brand); }
.teaser-card .domain {
  font-size: 0.74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: 12px;
}
.teaser-card h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); margin-bottom: 10px; }
.teaser-card p { color: var(--muted); font-size: 1rem; max-width: 62ch; }
.teaser-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  font-weight: 600; color: var(--brand-600);
}
.teaser-card:hover .teaser-more .arrow { transform: translateX(3px); }
.teaser-more .arrow { display: inline-block; transition: transform .18s ease; }
.product-teaser { background: linear-gradient(135deg, rgba(14,143,118,.07), rgba(244,162,89,.05)); }

.home-path {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 8px 0;
}
.home-path .section-head, .home-path .title { margin: 0; }
.home-path .lead { margin-top: 12px; }
.home-path-links { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 940px) {
  .home-links { grid-template-columns: 1fr 1fr; }
  .flow-split { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .home-links { grid-template-columns: 1fr; }
  .page-hero { padding: 88px 0 44px; }
  .cta-band { padding: 68px 0; }
  .section-head-row { align-items: flex-start; }
  .ind-grid { grid-template-columns: 1fr; }
}

