@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root{
  --navy:#10283f;
  --navy-2:#18344e;
  --navy-3:#203d58;
  --ink:#1d2c38;
  --muted:#5d6d79;
  --muted-light:#b7c5d0;
  --blue:#3573c8;
  --blue-dark:#245da7;
  --teal:#2e8b8b;
  --teal-soft:#eaf6f4;
  --violet:#6b63b5;
  --warm:#f6f5f1;
  --paper:#ffffff;
  --soft:#f1f5f7;
  --line:#dde6ea;
  --line-dark:rgba(255,255,255,.14);
  --success:#2e7d64;
  --review:#a16b20;
  --radius:22px;
  --shadow:0 18px 55px rgba(20,48,68,.10);
  --max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);line-height:1.65}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}
button,input,textarea{font:inherit}
.container{width:min(calc(100% - 40px),var(--max));margin:0 auto}

h1,h2,h3,h4{font-family:Manrope,Inter,sans-serif;letter-spacing:-.035em;line-height:1.08;margin:0;color:inherit}
h1{font-size:clamp(3rem,6vw,5.8rem)}
h2{font-size:clamp(2.15rem,4vw,3.9rem)}
h3{font-size:clamp(1.2rem,2vw,1.65rem)}
p{margin:0}
.lead{font-size:clamp(1.05rem,1.55vw,1.25rem);color:var(--muted);max-width:760px}
.lead.light{color:#d5e0e7}
.eyebrow{font-size:.76rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--teal);margin-bottom:14px}
.eyebrow.light{color:#8dd0c9}
.gradient-text{background:linear-gradient(100deg,#55a7c8,#4b75c2 55%,#6c64b7);-webkit-background-clip:text;background-clip:text;color:transparent}
.note{font-size:.78rem;color:#788895;margin-top:16px}

/* Header */
.site-header{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.94);border-bottom:1px solid rgba(18,48,70,.08);backdrop-filter:blur(14px)}
.header-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.wordmark{font-family:Manrope,sans-serif;font-size:1.62rem;font-weight:800;letter-spacing:-.055em;white-space:nowrap}
.wordmark .sql{background:linear-gradient(90deg,var(--blue),var(--teal));-webkit-background-clip:text;background-clip:text;color:transparent}
.wordmark .corp{color:var(--navy)}
.nav{display:flex;align-items:center;gap:22px;font-size:.91rem;font-weight:650;color:#405260}
.nav a{transition:color .18s ease}
.nav a:hover,.nav a.active{color:var(--navy)}
.nav-cta{background:var(--navy);color:#fff!important;padding:10px 16px;border-radius:999px}
.menu-btn{display:none;width:44px;height:44px;border:1px solid var(--line);background:#fff;color:var(--navy);border-radius:12px;cursor:pointer}

/* Buttons */
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:0 20px;border-radius:999px;font-size:.93rem;font-weight:750;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--blue);color:#fff;box-shadow:0 10px 28px rgba(53,115,200,.18)}
.btn-primary:hover{background:var(--blue-dark)}
.btn-secondary{background:#fff;border:1px solid #cfd9de;color:var(--navy)}
.btn-dark{background:var(--navy);color:#fff}
.btn-light{background:#fff;color:var(--navy)}

/* Hero */
.hero{padding:84px 0 88px;background:linear-gradient(180deg,#fbfcfc 0%,#f4f7f7 100%);overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:64px;align-items:center}
.hero h1{max-width:820px;color:var(--navy)}
.hero .lead{margin-top:24px}
.hero-proof{display:flex;flex-wrap:wrap;gap:8px 0;margin-top:26px;color:#61737e;font-size:.8rem;font-weight:700}
.hero-proof span{display:inline-flex;align-items:center;padding:0;border:0;border-radius:0;background:transparent}
.hero-proof span:not(:last-child)::after{content:"•";margin:0 11px;color:#aab7be;font-weight:500}
.hero-photo{position:relative;min-height:560px;border-radius:30px;overflow:hidden;box-shadow:var(--shadow);background:#dbe4e8}
.hero-photo img{width:100%;height:100%;min-height:560px;object-fit:cover;object-position:center}
.hero-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,rgba(16,40,63,.58) 100%)}
.hero-caption{position:absolute;z-index:2;left:26px;right:26px;bottom:24px;background:rgba(255,255,255,.94);border-radius:18px;padding:18px 20px;box-shadow:0 10px 35px rgba(13,35,50,.14)}
.hero-caption strong{display:block;color:var(--navy);font-family:Manrope;font-size:1.05rem}
.hero-caption span{display:block;color:var(--muted);font-size:.86rem;margin-top:5px}

/* Section basics */
.section{padding:104px 0}
.section-light{background:#fff}
.section-warm{background:var(--warm)}
.section-soft{background:var(--soft)}
.section-dark{background:var(--navy);color:#fff}
.section-dark h2,.section-dark h3{color:#fff}
.section-dark .lead{color:#d2dde4}
.section-heading{display:flex;justify-content:space-between;gap:54px;align-items:flex-end;margin-bottom:48px}
.section-heading>div:first-child{max-width:720px}
.section-heading .lead{max-width:540px}

.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}

.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:0 8px 30px rgba(22,52,72,.045)}
.card h3{margin-bottom:10px;color:var(--navy)}
.card p{color:var(--muted)}
.card-dark{background:rgba(255,255,255,.055);border:1px solid var(--line-dark);border-radius:var(--radius);padding:28px}
.card-dark p{color:#c9d6de}
.icon-dot{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#eaf3f7;color:var(--blue);font-weight:850;margin-bottom:22px}

/* Practical value cards */
.value-card{padding:28px;border-top:3px solid #d7e3e8;background:#fff;border-radius:0 0 18px 18px;box-shadow:0 8px 24px rgba(25,52,69,.04)}
.value-card:nth-child(1){border-top-color:var(--blue)}
.value-card:nth-child(2){border-top-color:var(--teal)}
.value-card:nth-child(3){border-top-color:#7087a4}
.value-card:nth-child(4){border-top-color:var(--violet)}
.value-card h3{margin-bottom:10px;color:var(--navy)}
.value-card p{color:var(--muted)}

/* Business area cards */
.area-card{display:flex;flex-direction:column;min-height:255px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px;position:relative;overflow:hidden}
.area-card::after{content:"";position:absolute;width:130px;height:130px;border-radius:50%;right:-45px;bottom:-55px;background:#edf3f6}
.area-icon{width:44px;height:44px;border-radius:13px;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:800;margin-bottom:28px}
.area-card h3{color:var(--navy);margin-bottom:10px}
.area-card p{color:var(--muted);position:relative;z-index:2}
.area-card a{margin-top:auto;padding-top:24px;color:var(--blue);font-weight:750;position:relative;z-index:2}

/* Operational layer graphic */
.ops-board{background:#fff;border:1px solid var(--line);border-radius:26px;padding:26px;box-shadow:var(--shadow)}
.ops-row{display:grid;grid-template-columns:150px 1fr;gap:18px;align-items:center;padding:15px 0;border-bottom:1px solid #edf1f3}
.ops-row:last-child{border-bottom:0}
.ops-label{font-size:.75rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#778995}
.ops-nodes{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.ops-nodes span{background:#f7f9fa;border:1px solid #e1e8eb;border-radius:12px;padding:12px 9px;text-align:center;font-size:.79rem;font-weight:650;color:#455b69}
.ops-row.emphasis .ops-nodes span{background:#edf6f5;border-color:#d1e8e4;color:#285f62}

/* Human + product sections */
.photo-panel{position:relative;border-radius:26px;overflow:hidden;min-height:500px;background:#d9e2e6;box-shadow:var(--shadow)}
.photo-panel img{width:100%;height:100%;min-height:500px;object-fit:cover}
.photo-label{position:absolute;left:22px;bottom:22px;right:22px;padding:16px 18px;border-radius:16px;background:rgba(255,255,255,.94);color:var(--navy);font-weight:750}
.photo-credit{font-size:.68rem;color:#6e7d87;margin-top:8px}

.product-showcase{background:#fff;border:1px solid var(--line);border-radius:26px;overflow:hidden;box-shadow:var(--shadow)}
.product-head{padding:26px 28px 18px}
.product-kicker{font-size:.75rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--teal);margin-bottom:8px}
.product-head p{color:var(--muted);margin-top:10px}
.product-workspace{margin:0 18px 18px;border:1px solid #dfe7ea;border-radius:18px;background:#f8fafb;overflow:hidden}
.workspace-bar{height:42px;background:#eef3f5;display:flex;align-items:center;gap:7px;padding:0 14px}
.workspace-bar i{width:8px;height:8px;border-radius:50%;background:#9eb0ba}
.workspace-body{display:grid;grid-template-columns:132px 1fr;min-height:300px}
.workspace-nav{background:#fff;border-right:1px solid #e3eaed;padding:18px 12px;display:flex;flex-direction:column;gap:11px}
.workspace-nav span{height:10px;border-radius:5px;background:#e7edef}
.workspace-nav span:first-child{background:#c9dde5}
.workspace-main{padding:22px}
.workspace-title{height:15px;width:42%;background:#b8c8d0;border-radius:7px;margin-bottom:18px}
.workspace-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}
.workspace-summary div{background:#fff;border:1px solid #e0e7ea;border-radius:13px;padding:14px;min-height:70px}
.workspace-summary b{display:block;height:10px;width:52%;background:#cbd7dc;border-radius:5px;margin-bottom:10px}
.workspace-summary i{display:block;height:8px;background:#eef2f4;border-radius:5px}
.workspace-list{display:grid;gap:9px}
.workspace-list div{height:44px;background:#fff;border:1px solid #e3e9ec;border-radius:11px;position:relative}
.workspace-list div::before{content:"";position:absolute;left:14px;top:12px;width:10px;height:10px;border-radius:50%;background:#6ea9ad}
.workspace-list div::after{content:"";position:absolute;left:34px;right:18px;top:13px;height:8px;background:#e7edef;border-radius:4px}
.ai-note{margin:0 18px 18px;padding:15px 17px;border-radius:14px;background:#edf6f5;color:#325f62;font-size:.84rem}

/* Banking */
.bank-layout{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.feature-list{display:grid;gap:10px;margin-top:26px}
.feature{display:flex;gap:10px;align-items:flex-start;color:var(--muted);font-size:.94rem}
.feature::before{content:"✓";display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px;border-radius:50%;background:#e8f3f1;color:var(--teal);font-size:.72rem;font-weight:900;margin-top:1px}
.section-dark .feature{color:#d4dfe6}
.section-dark .feature::before{background:rgba(141,208,201,.14);color:#9cdbd3}
.integration-card{background:#fff;border:1px solid var(--line);border-radius:26px;padding:26px;box-shadow:var(--shadow)}
.integration-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:12px;align-items:center}
.flow-node{padding:18px 14px;border:1px solid #dce5e9;border-radius:15px;text-align:center;background:#f7f9fa;color:#455a68;font-weight:700;font-size:.85rem}
.flow-node.featured{background:var(--navy);border-color:var(--navy);color:#fff}
.flow-node small{display:block;font-weight:500;opacity:.78;margin-top:4px}
.flow-arrow{color:#7e929e;font-weight:900;text-align:center}
.review-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.review-item{padding:14px;border-radius:12px;background:#f7f9fa;border:1px solid #e2e9ec;color:#526773;font-size:.82rem;font-weight:650}
.review-outcome{margin-top:16px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.outcome{padding:13px;border-radius:12px;text-align:center;font-size:.8rem;font-weight:750}
.outcome.ok{background:#e9f5ef;color:var(--success)}
.outcome.review{background:#fbf2e4;color:var(--review)}

/* Journey */
.journey{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.step{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px 16px;min-height:180px}
.step-num{font-family:Manrope;font-weight:800;color:var(--blue);font-size:.78rem;margin-bottom:18px}
.step h4{font-size:1rem;color:var(--navy);margin-bottom:7px}
.step p{font-size:.83rem;color:var(--muted)}

/* Salesforce */
.sf-stack{display:grid;gap:12px}
.sf-layer{padding:18px 20px;border:1px solid #dfe7ea;border-radius:15px;background:#fff;color:#506571;font-weight:650}
.sf-layer.core{background:#edf3fb;color:#285b9c;border-color:#d5e2f3}
.sf-layer small{display:block;font-weight:500;color:#7a8992;margin-top:4px}

/* Clients */
.client-intro{display:grid;grid-template-columns:.85fr 1.15fr;gap:64px;align-items:start}
.logo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.client{min-height:92px;display:flex;align-items:center;justify-content:center;text-align:center;padding:14px;border:1px solid var(--line);border-radius:15px;background:#fff;color:#435764;font-size:.8rem;font-weight:750}
.trust-strip{display:flex;gap:14px;flex-wrap:wrap;margin-top:24px;color:#6e7f89;font-size:.82rem}
.trust-strip span{padding-right:14px;border-right:1px solid #cad5da}
.trust-strip span:last-child{border-right:0}

/* CTA and footer */
.cta{border-radius:28px;background:#f4f7f8;padding:52px;max-width:960px;margin:0 auto}
.section-dark .cta{background:rgba(255,255,255,.065);border:1px solid var(--line-dark)}
.cta p{margin-top:16px;color:var(--muted);max-width:720px}
.section-dark .cta p{color:#cedae1}
.footer{background:#0b1d2d;color:#b8c7d1;padding:70px 0 28px}
.footer .wordmark .corp{color:#fff}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:36px}
.footer h4{color:#fff;font-size:.9rem;margin-bottom:15px}
.footer-links{display:grid;gap:9px;font-size:.86rem}
.footer a:hover{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:50px;padding-top:20px;display:flex;justify-content:space-between;gap:25px;font-size:.75rem;color:#8196a4}

/* Interior page heroes */
.page-hero{padding:84px 0 82px;background:var(--warm)}
.page-hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:58px;align-items:center}
.page-hero h1{color:var(--navy);font-size:clamp(2.8rem,5.5vw,5rem)}
.page-hero .lead{margin-top:22px}
.page-hero-photo{border-radius:25px;overflow:hidden;min-height:390px;box-shadow:var(--shadow)}
.page-hero-photo img{width:100%;height:100%;min-height:390px;object-fit:cover}
.risk-panel{background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;box-shadow:var(--shadow)}
.risk-flow{display:grid;gap:10px}
.risk-node{padding:15px;border-radius:12px;background:#f7f9fa;border:1px solid #e0e7ea;color:#506471;font-weight:650;font-size:.84rem}
.risk-core{background:#edf5f4;border-color:#d6e8e5;color:#2e6766}
.metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.metric{padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff}
.metric strong{display:block;font-family:Manrope;color:var(--navy);font-size:2rem}
.metric span{display:block;color:var(--muted);font-size:.82rem;margin-top:4px}

.reveal{opacity:0;transform:translateY(16px);transition:opacity .55s ease,transform .55s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}.btn{transition:none}}

@media (max-width:980px){
  .nav{position:absolute;top:76px;left:20px;right:20px;display:none;flex-direction:column;align-items:stretch;gap:4px;background:#fff;border:1px solid var(--line);padding:14px;border-radius:16px;box-shadow:var(--shadow)}
  .nav.open{display:flex}.nav a{padding:10px 12px}.menu-btn{display:block}
  .hero-grid,.split,.bank-layout,.page-hero-grid,.client-intro{grid-template-columns:1fr}
  .hero-photo{min-height:470px}.hero-photo img{min-height:470px}
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .journey{grid-template-columns:repeat(3,1fr)}
  .section-heading{display:block}.section-heading .lead{margin-top:20px}
  .logo-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:680px){
  .container{width:min(calc(100% - 28px),var(--max))}
  .section{padding:76px 0}.hero{padding:64px 0 70px}.page-hero{padding:64px 0}
  h1{font-size:clamp(2.75rem,13vw,4.3rem)}
  .hero-photo,.hero-photo img{min-height:390px}
  .hero-caption{left:14px;right:14px;bottom:14px}
  .grid-4,.grid-3,.grid-2,.journey,.logo-grid,.metrics,.footer-grid{grid-template-columns:1fr}
  .ops-row{grid-template-columns:1fr;gap:7px}.ops-nodes{grid-template-columns:repeat(2,1fr)}
  .workspace-body{grid-template-columns:82px 1fr}.workspace-summary{grid-template-columns:1fr}.workspace-summary div:nth-child(n+2){display:none}
  .integration-flow{grid-template-columns:1fr}.flow-arrow{transform:rotate(90deg)}
  .cta{padding:34px 24px}.footer-bottom{display:block}.footer-bottom span{display:block;margin-top:8px}
}

/* Version 2.1: labeled product workspaces */
.product-workspace.real-ui{background:#f5f8fa;color:var(--ink)}
.app-top{height:48px;background:#fff;border-bottom:1px solid #e1e8eb;display:flex;align-items:center;justify-content:space-between;padding:0 16px}
.app-brand{font-family:Manrope,sans-serif;font-weight:800;color:var(--navy);font-size:.92rem}
.app-user{font-size:.72rem;color:#71828d;font-weight:650}
.app-shell{display:grid;grid-template-columns:112px 1fr;min-height:340px}
.app-nav{background:#fff;border-right:1px solid #e1e8eb;padding:14px 10px;display:grid;align-content:start;gap:5px}
.app-nav span{padding:8px 9px;border-radius:8px;font-size:.68rem;font-weight:700;color:#687b87}
.app-nav span.active{background:#eaf2f8;color:var(--blue-dark)}
.app-content{padding:16px;min-width:0}
.app-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:13px}
.app-heading small{display:block;color:#7d8c95;font-size:.64rem;font-weight:650;margin-bottom:2px}
.app-heading h4{font-size:1rem;color:var(--navy);letter-spacing:-.02em}
.status-pill,.ui-tag{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;font-size:.61rem;font-weight:800;white-space:nowrap}
.status-pill{background:#eaf6f4;color:#32706f}
.ui-tag{background:#eef2f5;color:#5d707b}
.ui-tag.urgent{background:#fff0ec;color:#a64c37}
.ui-tag.new{background:#edf3fb;color:#3267a8}
.ui-tag.ok{background:#eaf6ef;color:#2f755f}
.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}
.stat-card{background:#fff;border:1px solid #e1e8eb;border-radius:10px;padding:10px}
.stat-card strong{display:block;font-family:Manrope,sans-serif;font-size:1rem;color:var(--navy);line-height:1}
.stat-card span{display:block;color:#7a8992;font-size:.58rem;margin-top:5px;font-weight:650}
.task-stack{display:grid;gap:7px}
.task-row{display:grid;grid-template-columns:8px 1fr auto;gap:8px;align-items:center;background:#fff;border:1px solid #e1e8eb;border-radius:10px;padding:9px 10px}
.task-dot{width:7px;height:7px;border-radius:50%;background:var(--teal)}
.task-row.urgent .task-dot{background:#d36b52}
.task-copy{min-width:0}
.task-copy strong{display:block;font-size:.67rem;color:#3b515f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.task-copy small{display:block;font-size:.57rem;color:#86949c;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.assistant-card{margin-top:10px;border-radius:11px;background:#edf6f5;border:1px solid #d8ebe8;padding:10px 11px}
.assistant-card strong{display:block;color:#2e6766;font-size:.66rem}
.assistant-card p{font-size:.61rem;line-height:1.45;color:#557578;margin-top:3px}
.case-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:9px}
.context-card,.conversation-card{background:#fff;border:1px solid #e1e8eb;border-radius:11px;padding:11px}
.context-card h5,.conversation-card h5{font-family:Manrope,sans-serif;margin:0 0 8px;color:var(--navy);font-size:.72rem}
.context-line{padding:6px 0;border-bottom:1px solid #edf1f3}
.context-line:last-child{border-bottom:0}
.context-line span{display:block;font-size:.54rem;color:#87959d;text-transform:uppercase;letter-spacing:.04em;font-weight:750}
.context-line strong{display:block;font-size:.63rem;color:#4b606d;margin-top:1px}
.message{border-radius:9px;padding:8px 9px;font-size:.61rem;line-height:1.4;margin-bottom:7px}
.message.customer{background:#f1f5f7;color:#506570;margin-right:14px}
.message.agent{background:#edf3fb;color:#3c6090;margin-left:14px}
.suggestion-box{margin-top:8px;border-top:1px solid #e5ebee;padding-top:8px}
.suggestion-box strong{font-size:.61rem;color:#2f6968}
.suggestion-box p{font-size:.58rem;color:#657984;margin-top:3px;line-height:1.4}
.knowledge-row{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}
.knowledge-row span{font-size:.54rem;font-weight:700;color:#5f7480;background:#f1f5f7;border-radius:999px;padding:4px 6px}

@media (max-width:680px){
  .app-shell{grid-template-columns:76px 1fr;min-height:360px}
  .app-nav{padding:10px 6px}.app-nav span{font-size:.59rem;padding:7px 6px}
  .app-content{padding:12px}.stat-grid{grid-template-columns:repeat(3,1fr)}
  .stat-card{padding:8px}.stat-card strong{font-size:.86rem}.stat-card span{font-size:.51rem}
  .case-layout{grid-template-columns:1fr}.context-card{display:none}
  .task-row{grid-template-columns:7px 1fr auto}.ui-tag{font-size:.54rem;padding:4px 6px}
}

/* Separate SQLCorp Banking doorway */
.banking-link{color:var(--blue-dark)!important;font-weight:750;white-space:nowrap;border-left:1px solid var(--line);padding-left:18px}
.banking-link:hover{color:var(--navy)!important}
@media(max-width:900px){.banking-link{border-left:0;padding-left:12px}}

/* Salesforce CRM hero: crisp local illustration instead of blurred stock photography */
.page-hero-photo.sf-crm-hero{background:#eef7fb;padding:8px}
.page-hero-photo.sf-crm-hero img{object-fit:contain;object-position:center;background:#eef7fb}

/* Client-name history and trademarks */
.former-name{display:block;margin-top:4px;font-size:.72rem;line-height:1.25;font-weight:500;color:var(--muted);letter-spacing:0}

/* v2.7 refinements */
.journey.journey-4{grid-template-columns:repeat(4,1fr)}
.tm-mark{font-size:.52em;vertical-align:super;line-height:0;margin-left:.05em;font-weight:700}
.client.client-stacked{flex-direction:column;gap:2px}
.client.client-stacked .former-name{display:block;margin-top:1px}
@media(max-width:900px){.journey.journey-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.journey.journey-4{grid-template-columns:1fr}.hero-proof span:not(:last-child)::after{margin:0 8px}}


/* v2.8: client logos and adaptive media */
body{overflow-x:hidden}
.client.with-logo{flex-direction:column;gap:7px;padding:13px 16px}
.client-logo{display:block;width:auto;height:auto;max-width:min(78%,150px);max-height:38px;object-fit:contain;object-position:center}
.client-label{display:block;font-size:.7rem;line-height:1.2;color:#657682;font-weight:700}
.client.with-logo .former-name{margin-top:0}

/* Let image containers respond to viewport shape instead of forcing fixed pixel heights. */
.hero-photo,.photo-panel,.page-hero-photo{min-height:0;height:auto;aspect-ratio:1 / 1}
.hero-photo img,.photo-panel img,.page-hero-photo img{width:100%;height:100%;min-height:0;object-fit:cover}
.page-hero-photo{aspect-ratio:4 / 3}
.page-hero-photo.sf-crm-hero{aspect-ratio:4 / 3}
.page-hero-photo.sf-crm-hero img{object-fit:contain;min-height:0}
.product-showcase,.product-workspace,.app-shell,.app-content{min-width:0}
.task-copy strong,.task-copy small{max-width:100%}

@media (max-width:980px){
  .hero-photo{aspect-ratio:16 / 10}
  .photo-panel,.page-hero-photo{aspect-ratio:16 / 10}
  .client-logo{max-width:min(68%,170px);max-height:42px}
}

@media (max-width:680px){
  .hero-photo,.photo-panel,.page-hero-photo,.page-hero-photo.sf-crm-hero{aspect-ratio:4 / 3;min-height:0}
  .hero-photo img,.photo-panel img,.page-hero-photo img{min-height:0}
  .photo-label{left:12px;right:12px;bottom:12px;padding:13px 14px;font-size:.82rem}
  .client{min-height:84px}
  .client-logo{max-width:min(62%,150px);max-height:36px}
  .client-label{font-size:.68rem}
  .app-heading{flex-wrap:wrap}
  .task-row{align-items:start}
}

@media (max-width:420px){
  .container{width:min(calc(100% - 22px),var(--max))}
  .section{padding:64px 0}
  .hero{padding:54px 0 60px}
  .header-inner{height:70px}
  .wordmark{font-size:1.48rem}
  .btn{width:100%}
  .actions{display:grid;grid-template-columns:1fr}
  .hero-caption{padding:14px 15px}
  .hero-caption span{font-size:.78rem}
  .product-head{padding:22px 20px 16px}
  .product-workspace{margin:0 12px 12px}
  .ai-note{margin:0 12px 12px}
}
