/* base reset */
:root{color-scheme:light;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}html{scroll-padding-top:env(safe-area-inset-top,0px)}body{margin:0;padding:0;font:14px -apple-system,BlinkMacSystemFont,sans-serif;background:#fff;color:#000}img{max-width:100%}[hidden]:not([hidden=until-found i]){display:none!important}

/* Aventcloud website
   Layout: calm white canvas, one navy product band as the anchor, mint/light-blue bands for supporting sections. */
:root {
  --navy: #102A63;      /* Deep Navy - headings, product band */
  --royal: #25479B;     /* Royal Blue - links, secondary accents */
  --green: #36D17D;     /* Cloud Green - CTAs and highlights */
  --green-ink: #0E7A45; /* green dark enough for text on white */
  --sky: #E8F2FF;       /* Light Blue - soft surfaces */
  --mint: #E6F7EF;      /* Mint - soft surfaces */
  --ink: #101828;       /* Dark Navy - body text */
  --muted: #4A5568;
  --line: #DCE5F2;
  --paper: #FFFFFF;
  --display: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --r: 14px;
  --shadow: 0 18px 40px -18px rgba(16, 42, 99, .28);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 84px; }
html.smooth { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html.smooth { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--royal); text-underline-offset: 3px; }
ul { list-style: none; margin: 0; padding: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--royal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico .g { stroke: var(--green); }
.ico.sm { width: 18px; height: 18px; }

/* placeholders: deliberately visible so nothing ships unedited */
.ph { background: #FFF6D6; color: #6B4E00; border: 1px dashed #D9A400; border-radius: 4px; padding: 0 .3em; font-weight: 500; }
.ph-link { text-decoration-style: dashed; }

.eyebrow, .label { font: 700 .78rem/1.3 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--royal); }
.on-dark { color: var(--green); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .75em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .98rem/1 var(--display); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--green); color: var(--navy); box-shadow: 0 10px 22px -12px rgba(54, 209, 125, .9); }
.btn-green:hover { background: #2FC071; }
.btn-ghost { background: transparent; color: var(--navy); border-color: #B9C8E3; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-light:hover { background: rgba(255,255,255,.16); }
.btn-sm { min-height: 40px; padding: .6em 1.1em; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-ico { width: 18px; height: 18px; stroke: currentColor; }
.btn-ico .g { stroke: currentColor; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-head.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(16,42,99,.4); }
.head-in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; }
.brand img, .brand .logo-svg { height: 24px; width: auto; display: block; }
.nav { margin-left: auto; }
.nav a, .head-cta { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1100px) { .nav ul { gap: 0; } .nav a { padding: 8px 9px; } }
.nav ul { display: flex; gap: 6px; }
.nav a, .mobile-menu ul a { display: inline-block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--royal); background: var(--sky); }
.head-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; align-items: center; gap: 2px; font: 700 .85rem/1 var(--display); }
.lang-opt { padding: 8px 7px; border-radius: 6px; color: var(--muted); text-decoration: none; }
a.lang-opt:hover { color: var(--navy); background: var(--sky); }
.lang-opt.is-on { color: var(--navy); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.lang-sep { color: #B9C8E3; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn .ico { stroke: var(--navy); }
.menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.mobile-menu { border-top: 1px solid var(--line); background: #fff; }
.mobile-menu .wrap { padding-block: 12px 20px; display: grid; gap: 12px; }
.mobile-menu ul a { display: block; padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F6F9FF 0%, #FFFFFF 85%); }
.flow { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-block: 72px 64px; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 { font-size: clamp(2.15rem, 1.4rem + 3vw, 3.5rem); font-weight: 800; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 36em; }
.hero-note { font-size: .88rem; color: var(--muted); }
.hero-copy > * { animation: rise .6s ease both; }
.hero-copy > *:nth-child(2) { animation-delay: .05s; } .hero-copy > *:nth-child(3) { animation-delay: .1s; } .hero-copy > *:nth-child(4) { animation-delay: .15s; }
@keyframes rise { from { transform: translateY(10px); } to { transform: none; } }

/* product illustration (no data, structure only) */
.mock { position: relative; margin: 0; min-width: 0; padding: 0 0 48px 0; }
.mock-win { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: linear-gradient(90deg, var(--navy), var(--royal)); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); }
.mock-bar span { margin-left: 10px; color: #fff; font: 700 .8rem/1 var(--display); letter-spacing: .02em; }
.mock-body { display: grid; grid-template-columns: 150px 1fr; min-height: 270px; }
.mock-side { background: #F6F9FF; border-right: 1px solid var(--line); padding: 14px 10px; display: grid; gap: 4px; align-content: start; font-size: .78rem; color: var(--muted); }
.mock-side li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; }
.mock-side li.on { background: var(--sky); color: var(--navy); font-weight: 600; }
.dot { width: 7px; height: 7px; border-radius: 2px; background: #B9C8E3; }
.mock-side li.on .dot { background: var(--green); }
.mock-main { padding: 16px; display: grid; gap: 14px; align-content: start; }
.mock-h { height: 12px; width: 45%; border-radius: 6px; background: var(--line); }
.mock-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-tiles div { border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: grid; gap: 7px; }
.mock-tiles b { font: 700 .72rem/1.2 var(--display); color: var(--navy); }
.mock s, .mock-rows s { display: block; height: 7px; border-radius: 4px; background: #E9EEF7; text-decoration: none; }
.mock s.short { width: 60%; }
.mock-tiles div:nth-child(2) s:first-of-type { background: #CFF3DF; }
.mock-rows { display: grid; gap: 10px; padding-top: 4px; }
.mock-phone { position: absolute; right: -10px; bottom: 0; width: 132px; padding: 7px; border-radius: 22px; background: var(--ink); box-shadow: var(--shadow); }
.mock-phone > div { background: linear-gradient(170deg, var(--royal), var(--navy)); border-radius: 16px; padding: 18px 12px 14px; display: grid; gap: 8px; min-height: 200px; }
.mp-h { color: #fff; font: 700 .72rem/1 var(--display); margin-bottom: 6px; }
.mock-phone s { background: rgba(255,255,255,.22) !important; }
.mock-phone em { display: block; height: 26px; border-radius: 8px; background: var(--green); margin-top: auto; }
.mock figcaption { position: absolute; left: 0; bottom: 6px; font-size: .74rem; max-width: 70%; }

/* clients */
.clients { padding-block: 40px 56px; border-bottom: 1px solid var(--line); }
.clients .label { text-align: center; color: var(--muted); margin-bottom: 22px; }
.client-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; align-items: center; }
.client-grid li { height: 88px; display: flex; align-items: center; justify-content: center; padding: 14px 18px; }
.client-grid img { max-height: 56px; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.client-grid li:hover img { filter: none; opacity: 1; }
.client-grid li[data-name] { position: relative; }
.client-grid li[data-name]::after { content: attr(data-name); position: absolute; left: 50%; bottom: calc(100% - 6px); transform: translate(-50%, 4px); padding: 6px 10px; border-radius: 8px; background: var(--navy); color: #fff; font-size: .78rem; font-weight: 600; line-height: 1.3; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s, transform .15s; z-index: 5; }
.client-grid li[data-name]:hover::after { opacity: 1; transform: translate(-50%, 0); }
.client-ph { gap: 8px; border: 1.5px dashed #C9D6EC; border-radius: 12px; color: #8A97B0; font-size: .82rem; font-weight: 500; }
.client-ph .ico { stroke: #A9B7D0; } .client-ph .ico .g { stroke: #A9B7D0; }
.clients-note { text-align: center; margin-top: 16px; font-size: .82rem; }

/* product band */
.product { background: radial-gradient(70% 90% at 100% 0%, rgba(54,209,125,.16), rgba(54,209,125,0) 60%), linear-gradient(135deg, var(--navy) 0%, #14306F 55%, var(--royal) 100%); color: #DDE7F8; padding-block: 88px 96px; position: relative; overflow: hidden; }
.prod-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.prod-intro { display: grid; gap: 18px; min-width: 0; }
.product h2 { color: #fff; font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.4rem); font-weight: 800; }
.prod-tag { font: 600 1.2rem/1.4 var(--display); color: #fff; }
.prod-desc { max-width: 36em; }
.prod-side { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 26px; display: grid; gap: 16px; }
.who li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #fff; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.who li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 0; }
.facts div { min-width: 0; }
.facts dt { font-size: .74rem; color: #AFC2E6; }
.facts dd { margin: 2px 0 0; font: 800 1.25rem/1.2 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.feat-label { color: var(--green); margin: 64px 0 20px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: #fff; border-radius: var(--r); padding: 24px; display: grid; gap: 10px; align-content: start; color: var(--muted); }
.feat .ico { width: 30px; height: 30px; }
.feat h4 { font-size: 1.08rem; }

/* how it helps */
.how { background: var(--mint); padding-block: 88px; }
.sec-head { display: grid; gap: 12px; max-width: 780px; margin-bottom: 40px; }
.sec-head h2, .about h2, .contact h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.5rem); font-weight: 800; }
.sec-intro { color: var(--muted); font-size: 1.06rem; }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.how-grid li { background: #fff; border-radius: var(--r); padding: 26px 22px; display: grid; gap: 12px; align-content: start; }
.how-grid .ico { width: 34px; height: 34px; }
.how-grid h3 { font-size: 1.08rem; }
.how-grid p { color: var(--muted); font-size: .96rem; }

/* about */
.about { padding-block: 96px; position: relative; overflow: hidden; }
.about::after { content: ""; position: absolute; right: -330px; top: -260px; width: 560px; height: 560px; border-radius: 50%; border: 1.5px solid #E1EAF8; pointer-events: none; }
.about-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; position: relative; z-index: 1; }
.about-copy { display: grid; gap: 18px; min-width: 0; }
.about-copy > p { color: var(--muted); max-width: 38em; }
.about-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 8px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.about-facts dt { font-size: .8rem; color: var(--muted); }
.about-facts dd { margin: 3px 0 0; font-weight: 500; }
.values { display: grid; gap: 4px; }
.values li { display: flex; gap: 16px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.values li:first-child { border-top: 1px solid var(--line); }
.values .ico { width: 30px; height: 30px; margin-top: 2px; }
.values h4 { font-size: 1.05rem; margin-bottom: 2px; }
.values p { color: var(--muted); font-size: .95rem; }

/* contact */
.contact { background: var(--sky); padding-block: 96px; }
.contact-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-copy { display: grid; gap: 16px; min-width: 0; }
.contact-copy > p { color: var(--muted); }
.c-list { display: grid; gap: 14px; margin-top: 12px; }
.c-list li { display: flex; gap: 14px; align-items: flex-start; }
.c-list .ico { margin-top: 3px; }
.c-list span { display: block; font-size: .8rem; color: var(--muted); }
.c-list b { font-weight: 600; overflow-wrap: anywhere; }
.form-card { background: #fff; border-radius: 18px; padding: 32px; box-shadow: var(--shadow); min-width: 0; }
form { display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
label { font-weight: 600; font-size: .92rem; color: var(--navy); }
input, textarea { width: 100%; font: 400 1rem/1.5 var(--body); color: var(--ink); background: #fff; border: 1.5px solid #C9D6EC; border-radius: 10px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; min-height: 130px; }
input::placeholder, textarea::placeholder { color: #8A97B0; }
input:focus, textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(37,71,155,.15); }
[aria-invalid="true"] { border-color: #C2362F; }
[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(194,54,47,.15); }
.err { color: #B42318; font-size: .84rem; min-height: 0; }
.err:empty { display: none; }
.form-summary { background: #FEF3F2; color: #B42318; border-radius: 10px; padding: 10px 14px; font-size: .9rem; font-weight: 500; }
.privacy { display: flex; gap: 10px; font-size: .86rem; color: var(--muted); }
.privacy .ico { margin-top: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* honeypot: hidden from people, filled by bots */
button[disabled] { opacity: .7; cursor: progress; }
.form-ok { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 28px 8px; }
.form-ok:focus { outline: none; }
.ok-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; }
.ok-ico .ico { width: 32px; height: 32px; }
.form-ok p { color: var(--muted); }

/* footer */
.site-foot { background: var(--ink); color: #B7C2D6; padding-block: 64px 28px; font-size: .94rem; }
.foot-in { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 32px; }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand .brand img, .foot-brand .logo-svg { height: 26px; }
.foot-h { font: 700 .78rem/1.3 var(--display); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-foot ul { display: grid; gap: 8px; }
.site-foot a { color: #DCE5F5; text-decoration: none; }
.site-foot a:hover { color: var(--green); text-decoration: underline; }
.site-foot .ph { background: rgba(255,214,102,.14); color: #FFE29A; border-color: rgba(255,214,102,.5); }
.foot-c li { overflow-wrap: anywhere; }
.social li { display: flex; }
.social a { display: inline-flex; align-items: center; gap: 10px; height: 1.65em; }
.social .ico { width: 18px; height: 18px; stroke: #DCE5F5; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; }

/* back to top: floating button, shown once the reader has scrolled */
.to-top { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 45; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--green); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 12px 26px -10px rgba(16, 42, 99, .55); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s, background-color .15s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: #2FC071; transform: translateY(-2px); }
.to-top .ico { stroke: var(--navy); stroke-width: 2.2; }
@media print { .to-top { display: none !important; } }


/* pricing */
.pricing { padding-block: 88px; border-bottom: 1px solid var(--line); }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 30px 26px 26px; display: flex; flex-direction: column; gap: 8px; }
.plan h3 { font-size: 1.2rem; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; color: var(--navy); font-family: var(--display); }
.plan-price .cur { font-size: 1.1rem; font-weight: 700; }
.plan-price .amt { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.plan-sub { color: var(--muted); font-size: .95rem; }
.plan-note { color: var(--green-ink); font-size: .9rem; font-weight: 600; }
.plan-list { display: grid; gap: 10px; margin: auto 0 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.plan-sub { margin-bottom: 14px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list .ico { margin-top: 3px; }
.plan .btn { margin-top: auto; }
.plan .plan-list + .btn { margin-top: 0; }
.plan-feat { border-color: var(--green); box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: -13px; left: 26px; background: var(--green); color: var(--navy); font: 700 .78rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.plan-addon { background: var(--sky); border-color: transparent; }
.plan-tag { font: 700 .78rem/1.3 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--royal); }
.plan-ask { margin-top: 10px; font: 800 1.45rem/1.2 var(--display); color: var(--navy); }
.plan-desc { color: var(--muted); margin-bottom: 20px; }
@media (max-width: 1040px) { .plan-grid { grid-template-columns: 1fr; max-width: 520px; } .plan-badge { top: -13px; } }


/* team */
.team { padding-block: 88px; background: linear-gradient(180deg, #F6F9FF, #fff); border-bottom: 1px solid var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.member { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 30px 26px; display: grid; gap: 6px; justify-items: start; align-content: start; }
.avatar { width: 144px; aspect-ratio: 4 / 5; border-radius: 16px; display: block; background: var(--sky); box-shadow: 0 0 0 1.5px var(--line); margin-bottom: 14px; overflow: hidden; }
.avatar .ico { width: 42px; height: 42px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.member-role { font: 700 .78rem/1.3 var(--display); letter-spacing: .16em; color: var(--green-ink); }
.member h3 { font-size: 1.25rem; }
.member-title { color: var(--navy); font-weight: 600; font-size: .95rem; }
.member-desc { color: var(--muted); margin-top: 8px; font-size: .96rem; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; max-width: 520px; } }

/* responsive */
@media (max-width: 1040px) {
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: repeat(2, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav, .head-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .head-actions { margin-left: auto; }
  .hero-in, .prod-head, .about-in, .contact-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-in { padding-block: 48px 40px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .mock { max-width: 620px; }
}
@media (min-width: 901px) { .mobile-menu { display: none !important; } }
@media (max-width: 600px) {
  .feat-grid, .how-grid, .row2 { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { grid-auto-flow: column; overflow: hidden; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px; }
  .mock-side li:nth-child(n+4) { display: none; }
  .mock-tiles { grid-template-columns: repeat(2, 1fr); }
  .mock-tiles div:nth-child(3) { display: none; }
  .mock-phone { width: 104px; right: 0; }
  .mock-phone > div { min-height: 150px; }
  .mock figcaption { max-width: 62%; }
  .product, .how, .about, .contact { padding-block: 64px; }
  .form-card { padding: 22px; }
  .facts dd { font-size: 1.1rem; }
  .foot-in { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .ctas .btn { flex: 1 1 auto; }
}

/* ---------- device frames (drawn in CSS, scale with their width) ---------- */
/* Product screenshot: no frame, just a clean card */
.shot { position: relative; border-radius: 12px; overflow: hidden; background: #F4F6F9; border: 1px solid var(--line); box-shadow: 0 30px 60px -28px rgba(16,42,99,.45); }
.shot .lp-shot { display: block; width: 100%; height: auto; }
/* Laptop: silver MacBook Pro-style, 14-inch proportions (display 1.54:1, notch, hinge, base with thumb groove) */
.laptop { position: relative; width: 100%; padding: 0 6.5% 4.5%; }
.mb-lid { position: relative; padding: .38%; border-radius: 3.6% / 5.6%;
  background: linear-gradient(180deg, #E4E6EA 0%, #B9BDC4 55%, #9DA2AA 100%); box-shadow: 0 40px 70px -40px rgba(16,42,99,.6); }
.mb-bezel { position: relative; background: #050507; border-radius: 3.3% / 5.2%; padding: 1.55% 1.55% 2.3%; box-shadow: inset 0 0 0 1px #26272B; }
.mb-screen { position: relative; container-type: inline-size; aspect-ratio: 1.54; overflow: hidden; border-radius: 1.3% / 2%;
  background: radial-gradient(70% 90% at 90% 110%, rgba(54,209,125,.55), rgba(54,209,125,0) 60%), linear-gradient(150deg, #25479B 0%, #102A63 75%); }
.mb-notch { position: absolute; top: 0; left: 50%; width: 10.5cqw; height: 2.35cqw; transform: translateX(-50%); background: #050507; border-radius: 0 0 1cqw 1cqw; z-index: 4; display: grid; place-items: center; }
.mb-notch i { width: .75cqw; height: .75cqw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3A4A6A, #0B0E16 70%); }
.mb-menubar { height: 2.35cqw; display: flex; align-items: center; gap: 1.5cqw; padding: 0 1.6cqw; background: #EEF0F4; color: #1D1F23; font: 500 1.05cqw/1 var(--body); }
.mb-menubar b { font-weight: 700; }
.mb-right { margin-left: auto; display: flex; align-items: center; gap: 1.2cqw; font-weight: 500; }
.mb-wifi { width: 1.4cqw; height: 1cqw; border-radius: 1.4cqw 1.4cqw 0 0; border: .25cqw solid #1D1F23; border-bottom: 0; }
.mb-batt { width: 2cqw; height: .95cqw; border: .2cqw solid #1D1F23; border-radius: .3cqw; background: linear-gradient(90deg, #1D1F23 70%, transparent 70%) content-box; padding: .15cqw; }
.mb-tabs { height: 2.9cqw; display: flex; align-items: flex-end; gap: .7cqw; padding: 0 1.5cqw; background: #DEE1E6; }
.mb-tabs > i { width: 1cqw; height: 1cqw; border-radius: 50%; background: #FF5F57; align-self: center; }
.mb-tabs > i:nth-child(2) { background: #FEBC2E; } .mb-tabs > i:nth-child(3) { background: #28C840; margin-right: 1.4cqw; }
.mb-tab { height: 2.25cqw; display: flex; align-items: center; gap: .7cqw; padding: 0 5cqw 0 1.3cqw; background: #fff; border-radius: .8cqw .8cqw 0 0; font: 500 1.05cqw/1 var(--body); color: #1D1F23; }
.mb-tab em { width: 1.1cqw; height: 1.1cqw; border-radius: .3cqw; background: linear-gradient(135deg, #7B1FC7, #E8457C); }
.mb-bar { height: 3.1cqw; display: flex; align-items: center; gap: 1.6cqw; padding: 0 1.5cqw; background: #fff; border-bottom: 1px solid #E3E5E9; }
.mb-nav { color: #5F6368; font: 500 1.25cqw/1 var(--body); }
.mb-url { flex: 1; height: 2.1cqw; display: flex; align-items: center; gap: .8cqw; padding: 0 1.3cqw; background: #F1F3F4; border-radius: 99px; font: 400 1.1cqw/1 var(--body); color: #202124; }
.mb-url svg { width: .9cqw; height: 1.1cqw; fill: #5F6368; stroke: #5F6368; }
.mb-tabs, .mb-bar, .mb-menubar { position: relative; z-index: 1; }
.mb-view { position: absolute; left: 0; right: 0; top: 8.35cqw; height: 50cqw; overflow: hidden; background: #F4F6F9; box-shadow: 0 .6cqw 1.6cqw rgba(0,0,0,.25); }
.mb-view .lp-shot { display: block; width: 100%; height: auto; }
.mb-dock { position: absolute; left: 50%; bottom: .7cqw; transform: translateX(-50%); display: flex; align-items: center; gap: .75cqw; padding: .55cqw .8cqw;
  background: rgba(255,255,255,.28); border: 1px solid rgba(255,255,255,.35); border-radius: 1.5cqw; backdrop-filter: blur(6px); }
.mb-dock i { position: relative; width: 3.6cqw; height: 3.6cqw; border-radius: .85cqw; background: linear-gradient(160deg, #E9EEF6, #B8C3D6); }
.mb-dock i:nth-child(2) { background: linear-gradient(160deg, #6FB1FF, #2463D6); }
.mb-dock i:nth-child(3) { background: linear-gradient(160deg, #FFFFFF, #E2E6EC); }
.mb-dock i.on { background: radial-gradient(circle, #fff 0 22%, #3B82F6 23% 34%, transparent 35%), conic-gradient(#EA4335 0 33%, #FBBC05 0 66%, #34A853 0); border-radius: 50%; }
.mb-dock i.on::after { content: ""; position: absolute; left: 50%; bottom: -.55cqw; width: .4cqw; height: .4cqw; border-radius: 50%; background: rgba(255,255,255,.9); transform: translateX(-50%); }
.mb-dock i:nth-child(5) { background: linear-gradient(160deg, #36D17D, #1E9E5A); }
.mb-dock i:nth-child(6) { background: linear-gradient(160deg, #FFD36B, #F59E0B); }
.mb-dock i:nth-child(7) { background: linear-gradient(160deg, #8B5CF6, #6D28D9); }
.mb-dock b { width: 1px; height: 3cqw; background: rgba(255,255,255,.5); }
.mb-dock i:last-child { background: linear-gradient(160deg, #C9D3E3, #8E9BB3); }
.mb-glare { position: absolute; inset: 0; pointer-events: none; z-index: 3; background: linear-gradient(118deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.05) 28%, rgba(255,255,255,0) 42%); }
.mb-hinge { height: 0; padding-bottom: .9%; margin: 0 7%; background: linear-gradient(180deg, #2A2C31, #6E737B); border-radius: 0 0 40% 40% / 0 0 100% 100%; }
.mb-base { position: relative; height: 0; padding-bottom: 3%; margin: 0 -6%; border-radius: .5% .5% 9% 9% / 10% 10% 100% 100%;
  background: linear-gradient(180deg, #F7F8F9 0%, #DADDE1 22%, #C3C7CD 55%, #9EA3AA 82%, #7E838B 100%); box-shadow: inset 0 1px 0 #fff; }
.mb-groove { position: absolute; top: 0; left: 50%; width: 15%; height: 46%; transform: translateX(-50%); border-radius: 0 0 12% 12% / 0 0 100% 100%;
  background: linear-gradient(180deg, #A6ABB2, #CDD0D5); box-shadow: inset 0 1px 2px rgba(0,0,0,.18); }
.mb-shadow { position: absolute; left: 2%; right: 2%; bottom: 1.5%; height: 3.5%; background: radial-gradient(50% 50% at 50% 50%, rgba(16,24,40,.35), rgba(16,24,40,0)); z-index: -1; }

/* Phone: modern flagship proportions (6.3", Dynamic Island), black titanium band, thin bezel */
.iphone { container-type: inline-size; width: 100%; padding: 0 1.6cqw; }
.ip-frame { position: relative; width: 100%; aspect-ratio: 100 / 209; border-radius: 17.5cqw; padding: 1.15cqw;
  background: linear-gradient(90deg, #1E1F22 0%, #6E7076 4%, #34363A 10%, #26272A 50%, #34363A 90%, #6E7076 96%, #1E1F22 100%);
  box-shadow: inset 0 0 0 .3cqw rgba(255,255,255,.14), inset 0 .6cqw .8cqw rgba(255,255,255,.12),
    0 34px 60px -26px rgba(16,42,99,.55), 0 10px 20px -10px rgba(16,24,40,.35); }
.ip-in { position: relative; height: 100%; background: #000; border-radius: 16.4cqw; padding: 2.3cqw; box-shadow: inset 0 0 0 .25cqw #121316; }
.ip-scr { position: relative; height: 100%; border-radius: 14.2cqw; overflow: hidden; background: #fff; isolation: isolate; }
.ip-scr img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ip-island { position: absolute; top: 2.5cqw; left: 50%; width: 31%; height: 9cqw; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 3; }
.ip-island i { position: absolute; right: 2.6cqw; top: 50%; width: 3.2cqw; height: 3.2cqw; transform: translateY(-50%); border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #4B5D86 0 14%, #16203A 30%, #05070C 70%); }
.ip-status { position: absolute; inset: 0 0 auto; height: 14cqw; display: flex; align-items: center; justify-content: space-between; padding: 0 8.5cqw 0 10.5cqw; color: #fff; z-index: 2; }
.ip-status b { font: 600 4.8cqw/1 -apple-system, 'Inter', system-ui, sans-serif; letter-spacing: -.02em; }
.ip-icons { display: flex; gap: 1.3cqw; align-items: center; }
.ip-icons .sig { display: flex; align-items: flex-end; gap: .5cqw; height: 3cqw; }
.ip-icons .sig i { width: .85cqw; background: #fff; border-radius: .3cqw; }
.ip-icons .sig i:nth-child(1) { height: 35%; } .ip-icons .sig i:nth-child(2) { height: 55%; } .ip-icons .sig i:nth-child(3) { height: 78%; } .ip-icons .sig i:nth-child(4) { height: 100%; }
.ip-icons .wifi { width: 4.2cqw; height: 3cqw; background: #fff; clip-path: polygon(50% 100%, 0 28%, 12% 14%, 30% 4%, 50% 0, 70% 4%, 88% 14%, 100% 28%); border-radius: .4cqw; }
.ip-icons .bat { position: relative; width: 6.6cqw; height: 3.2cqw; border: .4cqw solid rgba(255,255,255,.55); border-radius: 1.1cqw; padding: .35cqw; background: linear-gradient(90deg, #fff 80%, transparent 80%) content-box; }
.ip-icons .bat::after { content: ""; position: absolute; right: -1.1cqw; top: 50%; width: .6cqw; height: 1.2cqw; transform: translateY(-50%); background: rgba(255,255,255,.55); border-radius: 0 .4cqw .4cqw 0; }
.ip-glare { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(128deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.04) 26%, rgba(255,255,255,0) 40%); }
.ip-home { position: absolute; left: 50%; bottom: 1.6cqw; width: 36%; height: 1.3cqw; transform: translateX(-50%); background: rgba(16,24,40,.75); border-radius: 99px; z-index: 3; }
.ip-btn { position: absolute; width: 1.3cqw; border-radius: .7cqw; background: linear-gradient(90deg, #2A2B2E, #6E7076 50%, #2A2B2E); }
.b-act { left: -.9cqw; top: 19%; height: 6%; }
.b-vu { left: -.9cqw; top: 28%; height: 10%; }
.b-vd { left: -.9cqw; top: 40%; height: 10%; }
.b-pw { right: -.9cqw; top: 30%; height: 15%; }
.b-cc { right: -.9cqw; top: 58%; height: 8%; border-radius: .5cqw; }

/* hero devices */
.hero-devices { position: relative; min-width: 0; padding: 0 0 14% 0; }
.hero-phone { position: absolute; right: -2%; bottom: 0; width: 22%; }

/* screen tour */
.tour { padding-block: 88px; }
.tour-grid { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: center; }
.tour-tabs { display: grid; gap: 6px; }
.tour-tab { text-align: left; font: 600 1rem/1.3 var(--display); color: var(--muted); background: transparent; border: 0; border-left: 3px solid var(--line); padding: 14px 18px; cursor: pointer; border-radius: 0 10px 10px 0; transition: background-color .15s, color .15s, border-color .15s; }
.tour-tab:hover { color: var(--navy); background: #F6F9FF; }
.tour-tab[aria-selected="true"] { color: var(--navy); background: var(--sky); border-left-color: var(--green); }
.tour-view { min-width: 0; display: grid; gap: 22px; }
.tour-cap { color: var(--muted); max-width: 46em; }
.tour-cap b { color: var(--navy); font-family: var(--display); margin-right: .35em; }

/* parent app */
.app { padding-block: 88px; background: linear-gradient(180deg, #F6F9FF, #fff); }
.phone-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.phone-card { display: grid; gap: 10px; align-content: start; min-width: 0; }
.phone-card .iphone { margin-bottom: 18px; }
.phone-card:nth-child(even) .iphone { transform: translateY(24px); margin-bottom: 42px; }
.phone-card h3 { font-size: 1.05rem; }
.phone-card p { color: var(--muted); font-size: .92rem; }
/* app phones: a slim inset (room for the side buttons) shared by phone and captions, so they line up
   and the captions get the full column width */
.phone-row .iphone, .phone-card > h3, .phone-card > p { padding-inline: 6px; }
.phone-card p { text-wrap: pretty; }
@media (min-width: 901px) { .phone-row { gap: 24px; } }
/* phone row position dots (mobile only, replace the scrollbar) */
.phone-dots { display: none; justify-content: center; gap: 8px; margin-top: 18px; }
.phone-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #C9D6EC; cursor: pointer; transition: width .2s, background-color .2s; }
.phone-dots button[aria-current="true"] { width: 24px; background: var(--green); }

@media (max-width: 900px) {
  .hero-devices { max-width: 640px; }
  .tour-grid { grid-template-columns: 1fr; gap: 24px; }
  .tour-tabs { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; scrollbar-width: none; }
  .tour-tabs::-webkit-scrollbar { display: none; }
  .tour-tab { flex: none; border-left: 0; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: .92rem; white-space: nowrap; }
  .tour-tab[aria-selected="true"] { border-color: var(--green); }
  .tour-cap { margin-left: 0; }
  .phone-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; padding: 6px 4px 12px; margin: 0 -4px; scrollbar-width: none; }
  .phone-row::-webkit-scrollbar { display: none; }
  .phone-dots { display: flex; }
  .phone-card { flex: 0 0 210px; scroll-snap-align: start; }
}
@media (max-width: 600px) {
  .tour, .app { padding-block: 64px; }
  .hero-phone { width: 26%; right: 0; }
}

/* ---------- polish pass ---------- */
/* hero: bigger product shot, no line through the copy */
@media (min-width: 901px) {
  .hero-in { grid-template-columns: .88fr 1.12fr; gap: 40px; }
  .hero h1 { font-size: clamp(2rem, 1.2rem + 2.5vw, 3.1rem); }
}
.flow path:nth-of-type(3) { display: none; }
/* app phones: one baseline so titles and captions line up */
.phone-card:nth-child(even) .iphone { transform: none; margin-bottom: 18px; }
/* client logos: a little clearer, more even */
.client-grid img { opacity: .85; max-height: 52px; }
/* team: larger portraits */
.avatar { width: 184px; border-radius: 20px; }
/* click-to-zoom screenshots */
.shot .lp-shot { cursor: zoom-in; }
.ip-scr img { cursor: zoom-in; }
.ip-status, .ip-island { pointer-events: none; }
.lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(10,22,52,.88); cursor: zoom-out; overflow: auto; }
.lb.open { display: flex; }
.lb img { max-width: min(96vw, 1600px); max-height: 92vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #fff; }
.lb-x { position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font: 700 1.4rem/1 var(--display); cursor: pointer; }

/* hero collage: layered screens that run off the right edge */
.collage { position: relative; min-width: 0; padding: 0; }
.collage .shot { position: absolute; margin: 0; aspect-ratio: auto; border-radius: 12px; }
.collage .lp-shot { height: auto; object-fit: fill; }
.c-a { width: 84%; right: -26%; top: 0; z-index: 1; opacity: .96; }
.c-c { width: 78%; right: -30%; bottom: 0; z-index: 2; }
.c-b { width: 96%; left: 0; top: 18%; z-index: 3; box-shadow: 0 40px 70px -30px rgba(16,42,99,.55); }
.c-phone { position: absolute; z-index: 5; }
.c-p1 { width: 22%; left: 4%; bottom: 2%; }
.c-p2 { width: 22%; left: 25%; bottom: -3%; z-index: 4; }
@media (min-width: 901px) {
  .hero-in { grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: stretch; }
  .hero-copy { align-self: center; }
  .collage { height: 640px; }
  .hero { overflow: hidden; }
}
@media (max-width: 900px) {
  .collage { padding-bottom: 14%; max-width: 640px; }
  .collage .shot { position: relative; }
  .c-a, .c-c, .c-p2 { display: none; }
  .c-b { width: 100%; top: 0; }
  .c-p1 { width: 24%; left: 6.67%; right: auto; bottom: 0; }
}
