/* YES DIGITAL — yesdigitalgroup.it
   Palette: navy #14213d (the one accent) · ink #1c2433 · steel #f2f4f7 · rule #dde2ea · paper #fff
   Tricolour green/red only in the logo line and the footer stripe.
   Type: Barlow Semi Condensed 700 for headings (same family as the Gestionale's floor page), Barlow 500/700 for text. */
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/Barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/Barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/Barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/BarlowSemiCondensed-700.woff2") format("woff2"); }

:root {
  --navy: #14213d;
  --navy-hover: #23365f;
  --ink: #1c2433;
  --muted: #5a6476;
  --steel: #f2f4f7;
  --rule: #dde2ea;
  --paper: #ffffff;
  --green: #5b8a3c;
  --red: #b3372f;
  --sans: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --cond: "Barlow Semi Condensed", "Barlow", "Arial Narrow", Arial, sans-serif;
  --wrap: 1160px;
  --gut: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 1.09rem/1.55 var(--sans); }
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #4a7bd0; outline-offset: 2px; border-radius: 3px; }
b, strong { font-weight: 700; }
h1, h2, h3 { font-family: var(--cond); font-weight: 700; color: var(--navy); margin: 0 0 .45em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 3.8rem); line-height: 1.02; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.55rem); line-height: 1.06; letter-spacing: -0.005em; }
h3 { font-size: 1.32rem; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 38em; }
ul, ol { padding-left: 1.2em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
.lead { font-size: 1.2rem; line-height: 1.5; color: #2c3546; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; gap: 12px 30px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { margin-right: auto; }
.brand img { height: 48px; width: auto; }
.nav { order: 1; display: flex; gap: 4px 28px; flex-wrap: wrap; font: 600 1.05rem/1.2 var(--sans); }
.header-cta { order: 2; }
.nav a { text-decoration: none; color: var(--ink); padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--navy); border-bottom-color: var(--rule); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); }
@media (max-width: 760px) {
  .site-header .wrap { padding-top: 12px; padding-bottom: 0; }
  .brand img { height: 42px; }
  .header-cta { order: 1; }
  .nav { order: 2; width: 100%; border-top: 1px solid var(--rule); padding: 2px 0; justify-content: space-between; font-size: 1rem; }
}

/* Buttons: one look, one primary per screen */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border-radius: 6px;
  font: 700 1.05rem/1.1 var(--sans); text-decoration: none; border: 2px solid var(--navy); background: var(--navy); color: #fff; cursor: pointer; }
.btn:hover { background: var(--navy-hover); border-color: var(--navy-hover); color: #fff; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--steel); color: var(--navy); }
.btn.light { background: #fff; border-color: #fff; color: var(--navy); }
.btn.light:hover { background: #e7ebf2; border-color: #e7ebf2; }
.btn.small { min-height: 42px; padding: 9px 16px; font-size: .98rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.more { margin: 32px 0 0; }

/* Sections */
.section { padding: 84px 0; }
.section.steel { background: var(--steel); }
.section-head { max-width: 44em; margin-bottom: 44px; }
.section-head p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .section { padding: 56px 0; } .section-head { margin-bottom: 32px; } }

/* Hero */
.hero { padding: 64px 0 84px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.3rem); }
.hero .who { margin: 26px 0 0; font-size: .98rem; color: var(--muted); }
.hero .who b { color: var(--ink); }
.hero.page { padding: 60px 0 52px; border-bottom: 1px solid var(--rule); overflow: visible; }
.hero.page .wrap { display: block; }
.hero.page h1 { margin-bottom: .2em; }
.hero.page .sub { font: 700 clamp(1.35rem, 2.6vw, 1.7rem)/1.25 var(--cond); color: var(--ink); margin-bottom: .8em; max-width: 30em; }
@media (max-width: 940px) { .hero .wrap { grid-template-columns: 1fr; gap: 48px; } .hero { padding: 44px 0 64px; } }

/* Real screenshots of the product (demo data) */
.shot { margin: 0; }
.shot img { width: 100%; height: auto; display: block; background: #fff; border: 1px solid #d3d9e2; border-radius: 10px; box-shadow: 0 28px 50px -34px rgba(20, 33, 61, .5); }
.shot figcaption { font-size: .92rem; color: var(--muted); margin-top: 12px; }
.phone-shot { max-width: 300px; }
.phone-shot img { border: 9px solid #0f1626; border-radius: 34px; box-shadow: 0 30px 50px -28px rgba(20, 33, 61, .65); }
.paper img { border-radius: 2px; }
.hero-shot { margin-top: 44px; }
.hero-visual { position: relative; padding: 0 56px 0 0; }
.hero-visual .over { position: absolute; right: 0; bottom: -40px; width: 34%; max-width: 200px; }
.hero-visual .over img { border-width: 6px; border-radius: 24px; }
.shot-note { margin: 14px 0 0; font-size: .9rem; color: var(--muted); max-width: 60%; }
@media (max-width: 940px) { .hero-visual { padding-right: 34px; } }

/* How it works: one row per step, text beside a real image */
.how { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.how > li { counter-increment: s; display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px 64px; align-items: center; padding: 56px 0; border-top: 1px solid var(--rule); }
.how > li:first-child { border-top: 0; padding-top: 8px; }
.how h3 { font-size: clamp(1.5rem, 2.8vw, 1.95rem); }
.how h3::before { content: counter(s) "."; margin-right: .3em; color: var(--muted); }
.how p { margin: 0; }
.stack { display: grid; gap: 18px; align-content: start; }
.how .phone-shot { justify-self: center; width: 70%; }
@media (max-width: 860px) { .how > li { grid-template-columns: 1fr; padding: 40px 0; } }

/* Reference client */
.case { display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px 64px; }
.case .data dd { font-weight: 500; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }

/* Steps: a real sequence, so numbered */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: s; border-top: 2px solid var(--navy); }
.steps li { counter-increment: s; padding: 26px 28px 6px 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
.steps li::before { content: counter(s); display: block; font: 700 2.8rem/1 var(--cond); color: var(--navy); margin-bottom: 14px; }
.steps p { margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 22px 0 14px; border-left: 0; border-top: 1px solid var(--rule); }
  .steps li:first-child { border-top: 0; }
}

/* Areas of the product / services: separated by space and one rule */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 44px; }
.areas > * { border-top: 1px solid #c9d0db; padding-top: 18px; }
.areas h3 { margin-bottom: .35em; }
.areas p { margin: 0; color: #364052; }
@media (max-width: 960px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .areas { grid-template-columns: 1fr; gap: 28px; } }

/* Feature rows (product page) */
.feature { display: grid; grid-template-columns: 290px 1fr; gap: 16px 56px; padding: 44px 0; border-top: 1px solid var(--rule); }
.feature:first-child { border-top: 0; padding-top: 0; }
.feature h2 { font-size: clamp(1.5rem, 2.6vw, 1.85rem); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; padding: 36px 0; } }

.list { margin: 0; padding: 0; list-style: none; }
.list li { padding: 11px 0 11px 26px; border-bottom: 1px solid var(--rule); position: relative; }
.list li:last-child { border-bottom: 0; }
.list li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 12px; height: 2px; background: var(--navy); }
.list b { color: var(--navy); }

/* Facts row */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.facts li { padding: 18px 20px 0 0; }
.facts b { display: block; font: 700 1.12rem/1.3 var(--cond); color: var(--navy); }
.facts span { color: var(--muted); font-size: .97rem; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, 1fr); } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Plans: cumulative tiers, compared side by side */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.plan { border-top: 3px solid var(--rule); padding: 22px 28px 4px 0; }
.plan + .plan { padding-left: 28px; border-left: 1px solid var(--rule); }
.plan.main { border-top-color: var(--navy); }
.plan h3 { font-size: 1.55rem; margin-bottom: .15em; }
.plan .for { color: var(--muted); margin-bottom: 14px; }
.plan ul { margin: 0; padding-left: 1.1em; }
.plan li { margin-bottom: 7px; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .plan, .plan + .plan { padding: 20px 0 14px; border-left: 0; }
}

/* Services */
.service { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px 56px; padding: 52px 0; border-top: 1px solid var(--rule); }
.service:first-child { border-top: 0; padding-top: 0; }
.service .list b { display: block; font: 700 1.15rem/1.3 var(--cond); }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; padding: 40px 0; } }

/* FAQ */
.faq { max-width: 52em; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font: 700 1.25rem/1.3 var(--cond); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 13px; font: 500 1.7rem/1 var(--sans); color: var(--muted); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--navy-hover); }
.faq details p { margin: 0 0 20px; color: #2c3546; }

/* Company data and contacts */
.data { display: grid; grid-template-columns: max-content 1fr; margin: 0; border-top: 1px solid var(--rule); }
.data dt, .data dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.data dt { color: var(--muted); padding-right: 28px; }
.data dd { font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 520px) { .data { grid-template-columns: 1fr; } .data dt { padding-bottom: 0; border-bottom: 0; font-size: .92rem; } .data dd { padding-top: 2px; } }
.contact { background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 28px; margin-top: 8px; }
.contact dl { margin: 0 0 6px; }
.contact dt { color: var(--muted); font-size: .95rem; }
.contact dd { margin: 0 0 14px; font: 700 clamp(1.3rem, 3vw, 1.6rem)/1.25 var(--cond); overflow-wrap: anywhere; }
.contact dd a { text-decoration: none; }
.contact dd a:hover { text-decoration: underline; }
mark.todo { background: #fff3c4; color: #6b4e00; padding: 1px 6px; border-radius: 4px; font-weight: 700; font-family: var(--sans); font-size: .9em; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; }
.cta-band .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { color: #c9d2e3; margin: 0; }

/* Prose (privacy) */
.prose { max-width: 46em; }
.prose h2 { font-size: 1.6rem; margin-top: 1.7em; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: 6px; }

/* Footer */
.tricolore { height: 4px; background: linear-gradient(90deg, var(--green) 0 33.33%, #fff 33.33% 66.66%, var(--red) 66.66%); }
.site-footer { background: var(--navy); color: #c9d2e3; font-size: .97rem; }
.site-footer .wrap { padding-top: 52px; padding-bottom: 34px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px 48px; }
.site-footer img { height: 56px; width: auto; margin-bottom: 18px; }
.site-footer p { margin: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer h3 { color: #fff; font: 700 1.05rem/1.2 var(--sans); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer li a { display: inline-block; padding: 7px 0; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 20px; font-size: .9rem; color: #9fabc2; max-width: none; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

.notfound { padding: 96px 0; }

/* Home v3: your copy, real screenshots */
.how.plain { counter-reset: none; }
.how.plain h3::before { content: none; }
.duo { display: grid; grid-template-columns: 1fr minmax(140px, 38%); align-items: end; }
.duo .over { position: relative; z-index: 1; margin-left: -48px; max-width: 210px; }
.duo .over img { border-width: 6px; border-radius: 24px; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--navy); }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); }
.timeline b { display: block; font: 700 1.3rem/1.25 var(--cond); color: var(--navy); }
.timeline span { color: #364052; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .steps.four { grid-template-columns: repeat(2, 1fr); } .steps.four li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 860px) { .steps.four { grid-template-columns: 1fr; } }
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin-top: 44px; }
@media (max-width: 860px) { .terms { grid-template-columns: 1fr; } }
.quote { margin: 26px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--navy); }
.quote p { font: 700 1.3rem/1.4 var(--cond); color: var(--ink); margin-bottom: .4em; }
.quote footer { color: var(--muted); }
.client-logo { margin-top: 18px; min-height: 64px; display: flex; align-items: center; }
.reach { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 28px; color: #c9d2e3; }
.reach a { color: #fff; }

/* Phone in the header (desktop) and the call bar fixed at the bottom of phones */
.header-phone { order: 2; font: 700 1.05rem/1 var(--sans); text-decoration: none; color: var(--navy); }
.header-cta { order: 3; }
.dated { margin: 14px 0 0; }
.callbar { display: none; }
@media (max-width: 760px) {
  .header-phone { display: none; }
  .header-cta { order: 1; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--rule); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .callbar .btn { min-height: 48px; padding: 10px 12px; }
  body { padding-bottom: 72px; }
}

/* Secondary actions are text links, not a second button */
.textlink { font: 700 1.06rem/1.3 var(--sans); color: var(--navy); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.textlink:hover { color: var(--navy-hover); text-decoration-thickness: 3px; }
.btn-row .textlink { align-self: center; padding: 0 6px; }
@media (max-width: 560px) { .hero .btn-row .btn, .cta-band .btn, #visita .btn { width: 100%; } }

/* Clients: a quiet logo strip near the end of the page */
.clients { padding: 52px 0 60px; border-top: 1px solid var(--rule); }
.clients h2 { font: 700 1.05rem/1.2 var(--sans); color: var(--muted); margin-bottom: 22px; }
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px 64px; align-items: flex-end; }
.logos li { display: flex; flex-direction: column; gap: 10px; }
.logos img { height: 60px; width: auto; }
.logos span { font-size: .92rem; color: var(--muted); }

/* ---- Navy header and hero, technical-drawing grid (v4) ---- */
.site-header { background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.nav a { color: #d5ddeb; }
.nav a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .35); }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: #fff; }
.header-phone { color: #fff; }
.site-header .btn, .hero .btn, .dash .btn { background: #fff; border-color: #fff; color: var(--navy); }
.site-header .btn:hover, .hero .btn:hover, .dash .btn:hover { background: #e4e9f2; border-color: #e4e9f2; color: var(--navy); }
@media (max-width: 760px) { .nav { border-top-color: rgba(255, 255, 255, .14); } }

/* graph paper: 24 mm-style minor lines, major every 5 */
.hero, .dash {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  color: #fff;
}
.hero h1, .hero h2, .dash h2, .dash h3 { color: #fff; }
.hero .lead, .dash .lead { color: #c9d2e3; }
.hero .sub { color: #fff; }
.hero .who, .hero .shot-note, .hero figcaption, .dash figcaption { color: #9fabc2; }
.hero .who b { color: #fff; }
.hero .textlink, .dash .textlink { color: #fff; }
.hero.page { border-bottom: 0; }
.hero .facts { border-top-color: rgba(255, 255, 255, .16); }
.hero .facts b { color: #fff; }
.hero .facts span, .hero .dated { color: #9fabc2; }
.hero .shot img, .dash .shot img { border-color: rgba(255, 255, 255, .16); box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .75); }
.hero .phone-shot img { border-color: #070c18; }
@media (min-width: 941px) {
  .hero .wrap { grid-template-columns: .92fr 1.08fr; }
  .hero-visual > .shot:first-child img { width: calc(100% + 120px); max-width: none; border-radius: 10px 0 0 10px; }
}

/* Dashboard section */
.dash { padding: 88px 0; }
.dash-main { margin: 0 0 22px; }
.dash-main .stack-frame { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .75); }
.dash-main .stack-frame img { display: block; width: 100%; height: auto; border: 0; border-radius: 0; box-shadow: none; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.dash figcaption { margin-top: 12px; font-size: .95rem; }
.dash figcaption b { color: #fff; }
@media (max-width: 860px) { .dash-grid { grid-template-columns: 1fr; } .dash { padding: 60px 0; } }

/* Client name as text until the right logo arrives */
.client-name { font: 700 1.55rem/1.15 var(--cond); color: var(--ink); }
.hero.page .sub { color: #fff; }

/* v5 — "Vi suona familiare?", diary, client logo, cookie table */
.pains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--navy); }
.pains li { padding: 26px 28px 28px 0; border-bottom: 1px solid var(--rule); }
.pains li:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--rule); }
.pains .said { display: block; font: 700 1.38rem/1.25 var(--cond); color: var(--ink); margin-bottom: 14px; }
.pains p { position: relative; margin: 0; padding-left: 26px; color: #364052; }
.pains p::before { content: ""; position: absolute; left: 5px; top: .2em; width: 7px; height: 13px; border: solid var(--green); border-width: 0 3px 3px 0; transform: rotate(45deg); }
@media (max-width: 960px) {
  .pains { grid-template-columns: repeat(2, 1fr); }
  .pains li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .pains li:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--rule); }
}
@media (max-width: 620px) {
  .pains { grid-template-columns: 1fr; }
  .pains li:nth-child(2n) { padding-left: 0; border-left: 0; }
  .pains li { padding: 22px 0; }
}
.diary b { font-size: 1.12rem; }
.logos img { height: 52px; }
.logos a { display: block; }
.ck { width: 100%; max-width: 44em; border-collapse: collapse; margin: 4px 0 22px; }
.ck th, .ck td { text-align: left; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ck th { font: 700 .92rem/1.3 var(--sans); color: var(--muted); border-bottom: 2px solid var(--navy); }
.ck td:last-child { font-weight: 700; color: var(--navy); width: 7.5em; }
.hero .muted { color: #a9b4c8; }

/* v6 — real screens inside a drawn computer and phone; "dalla A alla Z" */
.device { margin: 0; }
.monitor .screen { background: #0a0e17; padding: 1.1%; border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 50px 90px -40px rgba(0, 0, 0, .85); }
.monitor .screen img { display: block; width: 100%; height: auto; border-radius: 3px; background: #fff; }
.monitor .stand { width: 30%; aspect-ratio: 6 / 1; margin: 0 auto;
  background: linear-gradient(90deg, #6f7a8f, #c9d0db 42%, #e9edf3 55%, #7d889c);
  clip-path: polygon(37% 0, 63% 0, 66% 78%, 99% 78%, 100% 100%, 0 100%, 1% 78%, 34% 78%); }
.monitor::after { content: ""; display: block; width: 44%; height: 16px; margin: -8px auto 0;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .5), transparent); }
.monitor figcaption { margin-top: 10px; font-size: .92rem; }
.hero.page .monitor { max-width: 980px; }

.phone { container-type: inline-size; }
.phone .screen { position: relative; overflow: hidden; background: #fff; padding-top: 12.8cqw;
  border: 3.2cqw solid #0a0e17; border-radius: 15cqw;
  box-shadow: 0 0 0 .9cqw #3a4560, 0 40px 70px -30px rgba(0, 0, 0, .85); }
.phone .screen::before { content: ""; position: absolute; z-index: 2; top: 2.4cqw; left: 50%; width: 30cqw; height: 8.6cqw;
  margin-left: -15cqw; border-radius: 99px; background: #0a0e17; }
.phone .sb { position: absolute; top: 0; left: 0; right: 0; height: 13cqw; display: flex; align-items: center;
  justify-content: space-between; padding: 0 7.5cqw 0 10cqw; color: #111; }
.phone .sb b { font: 600 4.2cqw/1 -apple-system, "Helvetica Neue", Arial, sans-serif; }
.phone .sb i { position: relative; width: 6.8cqw; height: 3.3cqw; border: .45cqw solid #111; border-radius: 1.1cqw; }
.phone .sb i::before { content: ""; position: absolute; top: .45cqw; bottom: .45cqw; left: .45cqw; right: 1.5cqw; background: #111; border-radius: .4cqw; }
.phone .screen img { display: block; width: 100%; height: auto; }

.devices { position: relative; padding-right: 13%; }
.devices .phone { position: absolute; right: 0; bottom: -3%; width: 26%; }
.hero-devices .shot-note { margin-top: 26px; }
.devices.wide { padding-right: 17%; margin: 0 0 30px; }
.devices.wide .phone { width: 23%; max-width: 270px; }
.devices-cap { margin: 0 0 48px; font-size: .95rem; color: #9fabc2; max-width: 52em; }
.devices-cap b { color: #fff; }
@media (max-width: 760px) {
  .devices { padding-right: 9%; }
  .devices .phone, .devices.wide .phone { width: 27%; bottom: -2%; }
}

.az { list-style: none; margin: 6px 0 56px; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); position: relative; }
.az::before { content: ""; position: absolute; top: 19px; left: calc(100% / 14); right: calc(100% / 14); height: 2px; background: rgba(255, 255, 255, .3); }
.az li { position: relative; text-align: center; padding: 0 8px; }
.az li::before { content: ""; display: block; width: 14px; height: 14px; margin: 13px auto 17px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 5px var(--navy); }
.az li:not(:first-child):not(:last-child)::before { margin-bottom: 23px; }
.az li:first-child::before, .az li:last-child::before { content: "A"; width: 40px; height: 40px; margin: 0 auto 10px;
  font: 700 1.4rem/40px var(--cond); text-align: center; color: var(--navy); }
.az li:last-child::before { content: "Z"; }
.az b { display: block; font: 700 1.22rem/1.2 var(--cond); color: #fff; margin-bottom: 4px; }
.az span { display: block; font-size: .93rem; line-height: 1.4; color: #b8c3d6; }
@media (max-width: 860px) {
  .az { grid-template-columns: 1fr; margin-bottom: 44px; }
  .az::before { top: 20px; bottom: 30px; left: 19px; right: auto; width: 2px; height: auto; }
  .az li { text-align: left; padding: 0 0 18px 58px; min-height: 40px; }
  .az li::before, .az li:not(:first-child):not(:last-child)::before { position: absolute; left: 13px; top: 5px; margin: 0; }
  .az li:first-child::before, .az li:last-child::before { left: 0; top: -4px; margin: 0; }
  .az li:last-child { padding-bottom: 0; }
}

.grow { margin: 48px 0 0; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 1.2rem; line-height: 1.5; color: #c9d2e3; max-width: 46em; }
.grow b { display: block; font: 700 clamp(1.65rem, 3vw, 2.15rem)/1.15 var(--cond); color: #fff; margin-bottom: 8px; }
.monitor { display: flex; flex-direction: column; }
.monitor figcaption { order: 2; }
.device.hero-shot { margin-top: 44px; }

/* v7 — clients as a slow moving band: CSS only, pauses on hover or keyboard focus, still for reduced motion */
.marquee { display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee .logos { flex: none; flex-wrap: nowrap; gap: 0; animation: clients 40s linear infinite; }
.marquee .logos li { flex: none; margin-right: 96px; }
.marquee:hover .logos, .marquee:focus-within .logos { animation-play-state: paused; }
@keyframes clients { to { transform: translateX(-100%); } }
.logos img.tall { height: 64px; }
@media (max-width: 760px) { .marquee .logos li { margin-right: 56px; } .logos img { height: 44px; } .logos img.tall { height: 54px; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee .logos { animation: none; flex-wrap: wrap; gap: 28px 0; }
  .marquee [aria-hidden="true"] { display: none; }
}
