/* Connectas — Ônix & Atlântico palette, Fraunces (titles) + Manrope (text), network motif. */
:root {
  /* Ônix & Atlântico — black base, white, mist and sand neutrals, deep Atlantic blue used sparingly */
  --ink: #0A0A0A;
  --text: #1E2430;
  --muted: #5E6672;
  --line: #DDE2E7;
  --bg: #FFFFFF;
  --grey: #EDF0F3;
  --sand: #E6DCCB;
  --accent: #1F4E79;
  --accent-2: #2C6AA0;
  --navy: #1F4E79;
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --sans: Manrope, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --pad: clamp(20px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.7 var(--sans); letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
b, strong { font-weight: 600; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; color: var(--ink); margin: 0 0 .5em; line-height: 1.08; font-optical-sizing: auto; text-wrap: balance; }
h3 { font-weight: 400; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
h1 { font-size: clamp(44px, 6.6vw, 96px); letter-spacing: -0.03em; }
h2 { font-size: clamp(34px, 4.6vw, 62px); letter-spacing: -0.025em; }
h3 { font-size: clamp(21px, 1.9vw, 26px); letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0 0 1em; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 860px; }
.skip { position: absolute; left: -999px; top: 8px; background: #000; color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--text); max-width: 760px; letter-spacing: -0.02em; }
.muted { color: var(--muted); }

/* Buttons */
.btn { --b: var(--ink); display: inline-flex; align-items: center; gap: 10px; background: var(--b); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 14px 28px; border-radius: 999px; border: 1px solid var(--b); position: relative; overflow: hidden; isolation: isolate; transition: color .4s var(--ease), transform .3s var(--ease); cursor: pointer; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; border-radius: inherit; }
.btn:hover { color: #fff; border-color: var(--accent); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost::before { background: var(--ink); }
.btn.ghost:hover { color: #fff; }
.btn.light { --b: #fff; color: #000; }
.btn.light::before { background: var(--accent); }
.btn.light:hover { color: #fff; border-color: #fff; }
.btn.sm { padding: 9px 20px; font-size: 14px; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.link { color: var(--accent);  text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); padding-bottom: 2px; }
.link:hover { background-size: 100% 1px; }

/* Header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; background: rgba(255,255,255,.0); transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s; }
.scrolled .top, .menu-open .top { background: rgba(255,255,255,.9); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; transition: height .4s var(--ease); }
.scrolled .top-in { height: 68px; }
.logo img { height: 72px; width: auto; transition: height .4s var(--ease); }
.scrolled .logo img { height: 54px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nl { position: relative; text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 14px; display: inline-flex; align-items: center; gap: 4px; }
.nl::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nl:hover::after, .nl.on::after { transform: scaleX(1); transform-origin: left; }
.nl svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .3s var(--ease); }
.has-sub { position: relative; }
.has-sub:hover .nl svg, .has-sub:focus-within .nl svg { transform: rotate(180deg); }
.sub { position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .35s var(--ease); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { text-decoration: none; padding: 10px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; transition: background .25s; }
.sub a:hover { background: var(--grey); }
.top-r { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: rgba(255,255,255,.7); }
.lang a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 12.5px; font-weight: 400; padding: 5px 10px; border-radius: 999px; color: var(--muted); transition: background .3s, color .3s; }
.lang a.on { background: var(--ink); color: #fff; }
.lang a:not(.on):hover { color: var(--ink); background: var(--grey); }
.flag { width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1px; background: #000; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mnav { display: flex; flex-direction: column; padding: 12px var(--pad) 28px; gap: 2px; animation: drop .45s var(--ease); }
.mnav[hidden] { display: none; }
.mnav a:not(.btn) { text-decoration: none; font-size: 26px; padding: 10px 0; border-bottom: 1px solid var(--line); letter-spacing: -0.03em; }
.mnav .btn { margin-top: 18px; justify-content: center; }
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } }
@media (max-width: 1080px) { .nav, .hide-m { display: none; } .burger { display: inline-block; } }
@media (max-width: 420px) { .lang a span { display: none; } .logo img { height: 50px; } }

main { min-height: 60vh; }
section { padding: clamp(44px, 5.5vw, 84px) 0; position: relative; }
section.grey { background: var(--grey); }
section.black { background: var(--ink); color: #fff; }
section.sand { background: var(--sand); }
section.blue { background: var(--accent); color: #fff; }
section.blue h2, section.blue h3 { color: #fff; } section.blue .eyebrow { color: #BFD4E8; }
section.black h2, section.black h3, section.black h1 { color: #fff; }
section.black .eyebrow, section.black .muted { color: #A8A8A8; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
[data-stagger].in > * { opacity: 1; transform: none; }
.mask-line { display: block; overflow: hidden; }
.mask-line > span { display: block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes rise { to { transform: none; } }
.fade-up { opacity: 0; animation: fadeUp 1.1s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, [data-stagger] > *, .fade-up { opacity: 1; transform: none; }
  .mask-line > span { transform: none; }
}

/* Page transitions (Astro view transitions) */
::view-transition-old(root) { animation: vtOut .35s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .55s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(16px); } }

/* Hero */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 140px 0 90px; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #fff 55%, #F4F4F4 100%); }
.hero canvas, section > canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
section.black > canvas { opacity: .6; }
.hero .wrap { position: relative; z-index: 1; text-align: center; }
.hero h1 { max-width: 1100px; margin: 0 auto .35em; }
.hero .rot { display: inline-grid; vertical-align: bottom; height: 1.12em; overflow: hidden; }
.hero .rot span { grid-area: 1 / 1; transform: translateY(110%); opacity: 0; transition: transform .9s var(--ease), opacity .9s var(--ease); font-weight: 300; }
.hero .rot span.on { transform: none; opacity: 1; }
.hero .rot span.out { transform: translateY(-110%); opacity: 0; }
.countries { display: inline-flex; gap: 14px; align-items: center; font-size: clamp(16px, 1.6vw, 21px); letter-spacing: .02em; color: var(--text); }
.countries i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; display: inline-block; }
.hero .lead { margin: 26px auto 38px; text-align: center; }
.hero .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 1px; height: 56px; background: var(--line); overflow: hidden; z-index: 1; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #000; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* Page hero (inner pages) */
.phero { padding: 140px 0 52px; position: relative; overflow: hidden; }
.phero h1 { max-width: 1050px; }
.phero .lead { margin-top: 20px; }
.phero.black { background: var(--ink); color: #fff; }
.phero.black h1 { color: #fff; }
.phero.black .eyebrow, .phero.black .lead { color: #BDBDBD; }
.phero canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.phero .wrap { position: relative; z-index: 1; }

/* Logos marquee */
.trusted { padding: 2px 0; background: #E3E7EB; }
.trusted .wrap { display: flex; align-items: center; gap: 40px; }
.trusted .lbl { flex: none; font-size: 13px; line-height: 1.3; color: var(--muted); width: 140px; }
.marquee { overflow: hidden; flex: 1; min-width: 0; width: 100%; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marq 32s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-cell { flex: none; height: 72px; padding-right: 48px; display: flex; align-items: center; background: #E3E7EB; }
.marquee img { width: auto; display: block; filter: grayscale(1); opacity: .75; transition: opacity .3s, filter .3s; mix-blend-mode: multiply; }
.marquee img:hover { opacity: 1; filter: none; }
@keyframes marq { to { transform: translateX(-50%); } }
@media (max-width: 700px) { .trusted .wrap { flex-direction: column; align-items: flex-start; gap: 18px; } }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.split.at { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.big-quote { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3vw, 42px); line-height: 1.22; letter-spacing: -0.02em; color: var(--ink); }
.img-frame { border-radius: 26px; overflow: hidden; background: var(--grey); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.img-frame:hover img { transform: scale(1.04); }

/* Services grid */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; }
.svc { background: #fff; padding: 38px 32px 40px; position: relative; transition: background .5s var(--ease), color .5s var(--ease); min-height: 290px; display: flex; flex-direction: column; }
.svc .n { font-family: var(--serif); font-size: 18px; color: var(--accent); letter-spacing: .1em; margin-bottom: auto; transition: color .5s; }
.svc .ic { width: 46px; height: 46px; margin: 28px 0 22px; }
.svc .ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1; }
.svc h3 { transition: color .5s var(--ease); }
.svc p { margin: 0; color: var(--muted); font-size: 15px; transition: color .5s var(--ease); }
.svc:hover { background: var(--accent); color: #fff; }
.svc:hover h3 { color: #fff; } .svc:hover p, .svc:hover .n { color: #D5E2EE; }
.svc .ic svg path, .svc .ic svg circle, .svc .ic svg rect { stroke-dasharray: 200; stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease); }
.svc:hover .ic svg path, .svc:hover .ic svg circle, .svc:hover .ic svg rect { animation: draw 1.2s var(--ease); }
@keyframes draw { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }

/* Audience cards */
.aud { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .aud { grid-template-columns: 1fr; } }
.aud > a { display: flex; flex-direction: column; gap: 14px; text-decoration: none; padding: 34px; border: 1px solid #2A2A2A; border-radius: 22px; transition: border-color .4s, background .4s, transform .5s var(--ease); min-height: 220px; }
.aud > a:hover { background: #111; border-color: #555; transform: translateY(-4px); }
.aud .route { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #A8A8A8; }
.aud .route .flag { width: 22px; height: 15px; }
.aud .route .ln { flex: 0 0 34px; height: 1px; background: #666; position: relative; overflow: hidden; }
.aud .route .ln::after { content: ""; position: absolute; inset: 0; background: #fff; transform: translateX(-100%); transition: transform .8s var(--ease); }
.aud > a:hover .route .ln::after { transform: none; }
.aud h3 { color: #fff; margin: 0; font-size: clamp(22px, 2vw, 28px); }
.aud p { margin: auto 0 0; color: #A8A8A8; font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 34px 28px 10px 0; position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: #000; transition: width 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.in > .step::before, .step.in::before { width: 100%; }
.step .k { font-family: var(--serif); font-size: 54px; line-height: 1; letter-spacing: -0.03em; color: var(--accent); display: block; margin-bottom: 18px; }
.step p { color: var(--muted); font-size: 15px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { padding: 10px 26px; border-left: 1px solid #333; }
.stat .v { font-family: var(--serif); font-weight: 300; font-size: clamp(54px, 7vw, 104px); line-height: 1; letter-spacing: -0.04em; color: #fff; display: flex; align-items: baseline; }
.stat .v small { font-size: .45em; letter-spacing: -0.02em; margin-left: 4px; color: #9DBEDD; }
.stat .l { margin-top: 14px; color: #A8A8A8; font-size: 15px; line-height: 1.4; }
@media (max-width: 900px) { .stat { padding: 22px 18px; } }

/* Why list */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }
.why div { border-top: 1px solid var(--accent); padding-top: 26px; }
.why p { color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input, .field textarea, .field select { width: 100%; font: 400 16px var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #BDBDBD; padding: 26px 0 10px; border-radius: 0; outline: none; transition: border-color .3s; appearance: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field label { position: absolute; left: 0; top: 26px; color: var(--muted); font-size: 15px; pointer-events: none; transition: all .3s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #000; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field select + label { top: 2px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.field::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: #000; transition: width .5s var(--ease); }
.field:focus-within::after { width: 100%; }
.form .note { font-size: 13px; color: var(--muted); }
.form-ok { padding: 28px; border-radius: 18px; background: var(--grey); }
.contact-info p { margin: 0 0 6px; }
.contact-info .ci { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-info .ci span { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

/* Cards (technology, countries) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: 22px; padding: 32px; background: #fff; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(0,0,0,.07); border-color: #D0D0D0; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card .ic { width: 40px; height: 40px; margin-bottom: 22px; }
.card .ic svg { width: 100%; height: 100%; fill: none; stroke: #000; stroke-width: 1.1; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price { border: 1px solid var(--line); border-radius: 22px; padding: 34px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.price.main { background: var(--ink); color: #fff; border-color: var(--ink); }
.price.main h3 { color: #fff; } .price.main p, .price.main li { color: #BDBDBD; }
.price .tag { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.price ul { padding-left: 18px; margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.fine { font-size: 15px; color: var(--muted); max-width: 900px; margin-top: 30px; }
.fine b { color: var(--ink); }

/* Service detail rows (Solutions) */
.rows { border-top: 1px solid var(--line); }
.srow { display: grid; grid-template-columns: 90px 1fr 1.4fr; gap: 30px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: start; }
@media (max-width: 900px) { .srow { grid-template-columns: 1fr; gap: 10px; } }
.srow .n { font-family: var(--serif); font-size: 22px; color: var(--accent); padding-top: 4px; }
.srow h3 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.03em; }
.srow p { color: var(--muted); margin: 0 0 12px; }
.srow ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.srow li { font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }

/* Country pages */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(20px, 3vw, 44px); }
.facts > div { border-top: 1px solid var(--accent); padding: 22px 0 0; display: flex; flex-direction: column; gap: 8px; }
.facts .v { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 3.8vw, 54px); letter-spacing: -0.03em; color: var(--accent); line-height: 1; }
.facts .l { color: var(--text); font-size: 15px; line-height: 1.5; max-width: 300px; }
.facts .s { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
@media (max-width: 800px) { .facts { grid-template-columns: 1fr; gap: 24px; } .facts > div { padding-top: 18px; gap: 6px; } .facts .v { font-size: 38px; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 12px; width: 18px; height: 1px; background: var(--accent); }

/* Insights (blog) */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 22px; }
@media (max-width: 1000px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }
.post-card { text-decoration: none; display: flex; flex-direction: column; gap: 14px; }
.post-card .img-frame { aspect-ratio: 4 / 3; border-radius: 20px; }
.post-card .meta { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; }
.post-card h3 { margin: 0; transition: opacity .3s; }
.post-card p { color: var(--muted); font-size: 15px; margin: 0; }
.post-card:hover h3 { opacity: .65; }
.post-card.feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.post-card.feature .img-frame { aspect-ratio: 16 / 10; }
.post-card.feature h3 { font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.035em; line-height: 1.12; }
@media (max-width: 800px) { .post-card.feature { grid-template-columns: 1fr; gap: 16px; } }
.article { padding: 136px 0 64px; }
.article .wrap { max-width: 820px; }
.article h1 { font-size: clamp(36px, 5vw, 64px); }
.article .meta { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.article figure { margin: 40px 0; }
.article figure .img-frame { aspect-ratio: 16 / 9; }
.article figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.article .body { font-size: 18px; line-height: 1.75; }
.article .body h2 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 1.6em; }
.article .body strong { color: #000; }
.article .body ul { padding-left: 20px; }
.article .body li { margin-bottom: .4em; }
.article .callout { margin: 46px 0; padding: 34px; border-radius: 22px; background: var(--accent); color: #fff; }
.article .callout h3 { color: #fff; }
.article .callout p { color: #D5E2EE; }
.article .sources { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 22px; margin-top: 50px; }
.article .sources a { word-break: break-word; }
.back { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-size: 14px; color: var(--muted); margin-bottom: 30px; }
.back:hover { color: #000; }

/* Legal */
.legal { padding: 140px 0 72px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(38px, 5vw, 62px); }
.legal .upd { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 40px; }
.legal .note { font-size: 14px; color: var(--muted); background: var(--grey); padding: 14px 18px; border-radius: 12px; }
.legal h2 { font-size: 24px; margin-top: 2em; letter-spacing: -0.02em; font-weight: 300; }
.legal h3 { font-size: 18px; margin-top: 1.4em; font-weight: 400; }
.legal p, .legal li { font-size: 16.5px; }
.legal li { margin-bottom: .45em; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1em 0; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 400; }

/* Footer */
.foot { background: var(--ink); color: #BDBDBD; padding: clamp(56px, 6vw, 88px) 0 30px; }
.foot a { color: #E6E6E6; text-decoration: none; }
.foot a:hover { color: #fff; }
.foot-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding-bottom: 48px; border-bottom: 1px solid #262626; flex-wrap: wrap; }
.foot-cta h2 { color: #fff; max-width: 820px; margin: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 44px 0; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid nav { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.foot-grid nav b { color: #fff; margin-bottom: 6px; font-weight: 300; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.foot-logo { height: 76px; width: auto; margin-bottom: 22px; }
.foot-co p { font-size: 14.5px; line-height: 1.7; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; border-top: 1px solid #262626; padding-top: 26px; font-size: 13px; }
.cookie-btn { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #E6E6E6; border: 1px solid #333; border-radius: 999px; padding: 8px 16px; font: 500 13px var(--sans); cursor: pointer; transition: border-color .3s, color .3s; }
.cookie-btn:hover { border-color: #fff; color: #fff; }
.cookie-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; }

/* Cookie notice */
#cnx-consent { position: fixed; left: 18px; bottom: 18px; z-index: 80; width: min(440px, calc(100vw - 36px)); max-height: calc(100vh - 36px); overflow: auto; background: #fff; color: #000; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.18); padding: 24px; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .45s var(--ease), transform .45s var(--ease); }
#cnx-consent.open { opacity: 1; transform: none; }
#cnx-consent[hidden], #cnx-consent [hidden] { display: none !important; }
#cnx-consent strong { display: block; font-weight: 400; font-size: 17px; margin-bottom: 6px; }
#cnx-consent p { font-size: 13.5px; line-height: 1.55; color: #3A3A3A; margin: 0 0 8px; }
#cnx-consent .cc-links a { color: #000; }
.cc-prefs { margin: 14px 0 4px; border-top: 1px solid var(--line); }
.cc-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; }
.cc-row b { display: block; font-size: 14px; font-weight: 400; }
.cc-row small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.cc-always { font-size: 12px; color: var(--muted); white-space: nowrap; }
.cc-row input { position: absolute; opacity: 0; pointer-events: none; }
.cc-sw { flex: none; width: 40px; height: 22px; border-radius: 999px; background: #D6D6D6; position: relative; transition: background .3s; }
.cc-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.cc-row input:checked + .cc-sw { background: #000; }
.cc-row input:checked + .cc-sw::after { transform: translateX(18px); }
.cc-row input:focus-visible + .cc-sw { outline: 2px solid #000; outline-offset: 2px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cc-btn { flex: 1 1 auto; font: 500 14px var(--sans); border-radius: 999px; padding: 10px 16px; cursor: pointer; background: #000; color: #fff; border: 1px solid #000; transition: background .3s, color .3s; white-space: nowrap; }
.cc-btn.ghost { background: #fff; color: #000; }
.cc-btn:hover { background: #333; color: #fff; }
.cc-btn.ghost:hover { background: var(--grey); color: #000; }

/* Icons inside cards are spans: give them a box */
.card .ic, .svc .ic { display: block; }
/* Header over a black page hero: white until the page scrolls */
html:not(.scrolled) body:has(#main > :is(.phero.black, .chero):first-child) .top:not(:has(.mnav:not([hidden]))) { color: #fff; }
html:not(.scrolled) body:has(#main > :is(.phero.black, .chero):first-child) .top .logo img { filter: invert(1); }
html:not(.scrolled) body:has(#main > :is(.phero.black, .chero):first-child) .top .lang { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }
html:not(.scrolled) body:has(#main > :is(.phero.black, .chero):first-child) .top .lang a { color: #CFCFCF; }
html:not(.scrolled) body:has(#main > :is(.phero.black, .chero):first-child) .top .lang a.on { background: #fff; color: #000; }
html:not(.scrolled) body:has(#main > :is(.phero.black, .chero):first-child) .top .btn.sm { --b: #fff; color: #000; }
html:not(.scrolled) body:has(#main > :is(.phero.black, .chero):first-child) .top .burger { background: transparent; border-color: rgba(255,255,255,.35); }
html:not(.scrolled) body:has(#main > :is(.phero.black, .chero):first-child) .top .burger span { background: #fff; }


/* ---------- Layout inspired by editorial landing pages (Connectas colours) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero2 { padding: 128px 0 28px; }
.hero2-top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
@media (max-width: 900px) { .hero2-top { grid-template-columns: 1fr; gap: 20px; } }
.hero2 h1 { margin: 0; font-size: clamp(46px, 7vw, 104px); line-height: 1.02; }
.hero2 .rot { display: inline-grid; vertical-align: bottom; height: 1.3em; overflow: hidden; padding-right: .08em; }
.hero2 .rot > span { grid-area: 1 / 1; transform: translateY(110%); opacity: 0; transition: transform .9s var(--ease), opacity .9s var(--ease); white-space: nowrap; }
.hero2 .rot > span.on { transform: none; opacity: 1; }
.hero2 .rot > span.out { transform: translateY(-110%); opacity: 0; }
.hero2-side p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--text); margin: 0 0 22px; }
.hero2-side .row { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.hero2-img { margin: 0; position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 2 / 1; background: var(--grey); }
@media (max-width: 700px) { .hero2-img { aspect-ratio: 4 / 5; border-radius: 22px; } }
.hero2-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero2-tag { position: absolute; left: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); }
.hero2-tag .flag { width: 20px; height: 14px; }

.statement { background: var(--grey); padding: clamp(56px, 7vw, 100px) 0; }
.statement p { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4.2vw, 58px); line-height: 1.16; letter-spacing: -0.02em; text-align: center; max-width: 1080px; margin: 0 auto; color: var(--muted); text-wrap: balance; }
.statement p span { color: var(--ink); }

.orows-sec { padding-bottom: clamp(36px, 4vw, 60px); }
.orows { border-top: 1px solid var(--line); margin-top: 10px; }
.orow { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.orow.off { padding-left: clamp(0px, 8vw, 110px); }
.orow .n { font-family: var(--serif); font-size: 24px; color: var(--accent); }
.orow h3 { font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -0.02em; margin: 0; line-height: 1.12; }
.orow p { margin: 6px 0 0; color: var(--muted); font-size: 16px; max-width: 520px; }
@media (max-width: 860px) { .orow, .orow.off { grid-template-columns: 1fr; gap: 10px; padding-left: 0; } }

.svc-more { justify-content: center; background: var(--ink) !important; color: #fff; }
.svc-more h3 { color: #fff; font-size: clamp(24px, 2.4vw, 32px); }
.svc-more p, .svc-more .n { color: #AFC6DC !important; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }
.duo-card { background: var(--grey); border-radius: 26px; padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.duo-card h2 { font-size: clamp(32px, 3.6vw, 50px); }
.duo-card p { color: var(--muted); font-size: 17px; max-width: 520px; }
.duo-img { margin: 0; position: relative; border-radius: 26px; overflow: hidden; min-height: 420px; }
.duo-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.duo-img:hover img { transform: scale(1.04); }
.duo-img figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 30px 26px; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.6)); }

.chips-sec { padding: clamp(36px, 4.5vw, 64px) 0; overflow: hidden; }
.chips { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.chips-track { display: flex; gap: 12px; width: max-content; animation: marq 60s linear infinite; }
.chips-track.rev { animation-direction: reverse; animation-duration: 70s; }
.chips:hover .chips-track { animation-play-state: paused; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: 11px 22px; font-size: 15px; font-weight: 500; white-space: nowrap; background: #fff; transition: background .3s, color .3s, border-color .3s; }
.chips span:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.bigstat { position: relative; border-radius: 28px; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; color: #fff; }
.bigstat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bigstat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.78), rgba(10,10,10,.15) 70%); }
.bigstat-in { position: relative; z-index: 1; padding: clamp(30px, 5vw, 64px); max-width: 560px; }
.bigstat .v { font-family: var(--serif); font-weight: 300; font-size: clamp(80px, 12vw, 170px); line-height: .95; letter-spacing: -0.04em; }
.bigstat p { font-size: 18px; color: #E5ECF3; margin: 14px 0 0; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 26px; }
.stats-row > div { padding: 26px 26px 0 0; }
.stats-row .v { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 5vw, 72px); color: var(--accent); letter-spacing: -0.03em; line-height: 1; }
.stats-row .l { color: var(--muted); margin-top: 8px; }
@media (max-width: 700px) { .stats-row { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid #C9D1D9; }
.faq details { border-bottom: 1px solid #C9D1D9; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #C9D1D9; position: relative; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] summary i { background: var(--accent); border-color: var(--accent); color: #fff; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 640px; animation: fadeUp .5s var(--ease); }

.marquee img.inv { filter: invert(1) grayscale(1); }
.marquee img.inv:hover { filter: invert(1); opacity: 1; }

/* Page photo band (country / tech pages) */
.pband { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 21 / 9; position: relative; }
.pband img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .pband { aspect-ratio: 4 / 3; border-radius: 20px; } }


/* ---------- Country pages ---------- */
.chero { position: relative; min-height: min(88svh, 820px); display: flex; align-items: flex-end; color: #fff; padding: 150px 0 56px; overflow: hidden; background: var(--ink); }
.chero-media { position: absolute; inset: 0; }
.chero-media img, .chero-media video { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-in-out infinite alternate; }
.chero-media video { animation: none; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translateY(-1.5%); } }
.chero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.15) 35%, rgba(10,10,10,.7) 100%); }
.chero-in { position: relative; z-index: 1; width: 100%; }
.chero h1 { color: #fff; max-width: 1000px; }
.chero .eyebrow { color: #CFE0F0; }
.chero .lead { color: #E8EEF4; max-width: 720px; }
.chero-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chero-nav a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; padding: 9px 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; backdrop-filter: blur(6px); background: rgba(255,255,255,.08); transition: background .3s, color .3s; }
.chero-nav a:hover { background: #fff; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .chero-media img { animation: none; } }
.anchor { scroll-margin-top: 70px; }
.facts.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .facts.four { grid-template-columns: 1fr 1fr; gap: 26px 24px; } }
@media (max-width: 560px) { .facts.four { grid-template-columns: 1fr; } }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags span { border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-size: 15px; font-weight: 500; background: #fff; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: none; }
@media (max-width: 1100px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .timeline { grid-template-columns: 1fr; } }
.timeline li { background: #fff; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line); }
.timeline .n { font-family: var(--serif); font-size: 30px; color: var(--accent); line-height: 1; }
.timeline h3 { font-size: 20px; margin: 0 0 6px; }
.timeline p { margin: 0; font-size: 15px; color: var(--muted); }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .rules { grid-template-columns: 1fr; } }
.rule { padding: 26px 0; border-bottom: 1px solid var(--line); }
.rule h3 { font-size: 22px; margin: 0 0 8px; }
.rule p { margin: 0; color: var(--muted); }
.other-c { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.sources-box { font-size: 14px; color: var(--muted); border-top: 1px solid rgba(0,0,0,.12); padding-top: 18px; }
.sources-box ul { margin: 8px 0 0; padding-left: 18px; columns: 2; column-gap: 40px; }
@media (max-width: 700px) { .sources-box ul { columns: 1; } }
.sources-box a { color: var(--accent); }

/* ---------- Mega menu (Solutions) ---------- */
.has-mega { position: static; }
.has-mega:hover .nl svg, .has-mega:focus-within .nl svg { transform: rotate(180deg); }
.top-in { position: relative; }
.mega { position: absolute; left: 50%; top: calc(100% - 4px); width: min(1180px, calc(100vw - 40px)); transform: translate(-50%, 10px); background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 70px rgba(10,10,10,.14); padding: 26px; display: grid; grid-template-columns: 1.75fr 0.85fr 1fr; gap: 28px; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s; z-index: 50; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.mega-h { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.mega-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 14px; text-decoration: none; transition: background .25s; }
.mega-item:hover { background: var(--grey); }
.mega-ic { flex: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 11px; display: grid; place-items: center; background: #fff; transition: border-color .25s; }
.mega-item:hover .mega-ic { border-color: var(--accent); }
.mega-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.5; }
.mega-item b { display: block; font-family: var(--serif); font-weight: 400; font-size: 17px; color: var(--ink); line-height: 1.25; }
.mega-item small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.mega-link { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 10px; text-decoration: none; font-size: 15.5px; font-weight: 500; color: var(--ink); transition: background .25s, color .25s; }
.mega-link:hover { background: var(--grey); color: var(--accent); }
.mega-link .flag { width: 22px; height: 15px; }
.mega-feature { display: flex; flex-direction: column; gap: 8px; text-decoration: none; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; padding: 0 0 18px; background: #fff; transition: box-shadow .3s, transform .4s var(--ease); }
.mega-feature:hover { box-shadow: 0 16px 40px rgba(10,10,10,.1); transform: translateY(-2px); }
.mega-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 8px; }
.mega-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mega-feature:hover .mega-img img { transform: scale(1.05); }
.mega-tag { align-self: flex-start; margin: 0 18px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); background: #E4EDF6; padding: 5px 10px; border-radius: 999px; }
.mega-feature b { margin: 2px 18px 0; font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--ink); line-height: 1.2; }
.mega-feature small { margin: 0 18px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.mega-more { margin: 4px 18px 0; font-size: 14.5px; font-weight: 600; color: var(--accent); }

/* ---------- Technology: tabs, "included" list and example screens ---------- */
.ttabs { margin-top: 10px; }
.ttabs-bar { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; background: var(--grey); border-radius: 999px; margin-bottom: 18px; }
.ttabs-bar button { font: 600 14.5px var(--sans); border: 0; background: transparent; color: var(--muted); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; }
.ttabs-bar button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(10,10,10,.08); }
.ttabs-panel { display: grid; grid-template-columns: 0.8fr 2fr; gap: 28px; align-items: center; animation: fadeUp .5s var(--ease); }
.ttabs-panel[hidden] { display: none; }
.ttabs-copy p { font-size: 18px; line-height: 1.6; color: var(--text); }
@media (max-width: 900px) { .ttabs-panel { grid-template-columns: 1fr; } }
.incl { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
@media (max-width: 900px) { .incl { grid-template-columns: 1fr; } }
.incl-list { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid #CDD5DD; }
.incl-list li { border-bottom: 1px solid #CDD5DD; }
.incl-list button { width: 100%; display: flex; gap: 16px; align-items: baseline; text-align: left; background: none; border: 0; padding: 16px 0; -webkit-appearance: none; appearance: none; border-radius: 0; cursor: pointer; font: 500 18px var(--sans); color: var(--muted); transition: color .3s; position: relative; }
.incl-list button::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--accent); transition: width .5s var(--ease); }
.incl-list button[aria-expanded="true"] { color: var(--ink); }
.incl-list button[aria-expanded="true"]::after { width: 100%; }
.incl-list li:has(p:not([hidden])) button::after { bottom: auto; top: 100%; }
.incl-list .n { font: 600 12px var(--sans); color: var(--accent); letter-spacing: .06em; }
.incl-list p { margin: 2px 0 18px 34px; color: var(--muted); font-size: 15px; animation: fadeUp .4s var(--ease); }
.incl-view { position: relative; min-height: 420px; display: grid; place-items: center; padding: 30px; border-radius: 28px; background: radial-gradient(600px 300px at 70% 20%, #DCE7F2, transparent 70%), #E7ECF1; }
.incl-pane { width: 100%; display: grid; place-items: center; animation: fadeUp .5s var(--ease); }
.incl-pane[hidden] { display: none; }

/* Example screens */
.mk { font-family: var(--sans); color: #1E2430; font-size: 13px; text-align: left; }
.mk em { font-style: normal; }
.mk-ex, .mk-h em { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: #E4EDF6; padding: 3px 8px; border-radius: 999px; }
.mk-h { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 14px; margin-bottom: 12px; gap: 10px; }
.mk-browser { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(10,10,10,.12); }
.mk-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #F7F8FA; }
.mk-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D9DDE2; }
.mk-bar span { margin: 0 auto; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 14px; }
.mk-app { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; }
.mk-app aside { border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; background: #FBFBFC; }
.mk-app aside b { font-family: var(--serif); font-weight: 500; font-size: 16px; margin-bottom: 10px; }
.mk-app aside span { padding: 7px 10px; border-radius: 8px; color: var(--muted); }
.mk-app aside span.on { background: #E4EDF6; color: var(--accent); font-weight: 600; }
.mk-main { padding: 16px 18px; }
.mk-main.pad { padding: 18px 20px 22px; }
.mk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mk-kpis div { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.mk-kpis small { display: block; color: var(--muted); font-size: 11.5px; }
.mk-kpis b { font-family: var(--serif); font-weight: 400; font-size: 26px; display: block; }
.mk-kpis u { text-decoration: none; font-size: 11.5px; color: #2E7D5B; } .mk-kpis u.warn { color: #B7791F; }
.mk-chart { height: 90px; display: flex; align-items: flex-end; gap: 6px; margin: 14px 0; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.mk-chart span { flex: 1; background: linear-gradient(#2C6AA0, #1F4E79); border-radius: 4px 4px 0 0; opacity: .9; }
.mk-rows div { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid #F0F2F4; }
.mk-rows .av { width: 24px; height: 24px; border-radius: 50%; background: #E4EDF6; color: var(--accent); font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.mk-rows em, .mk-table em { margin-left: auto; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
em.ok { background: #E2F2EA; color: #2E7D5B; } em.wait { background: #FBF0D9; color: #8A5A00; }
.mk-card { width: min(100%, 420px); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 24px 60px rgba(10,10,10,.12); display: flex; flex-direction: column; gap: 10px; }
.mk-card > small, .mk-signin small { color: var(--muted); font-size: 12px; }
.mk-signin { align-items: stretch; }
.mk-signin .mk-ex { align-self: flex-end; }
.mk-brand { font-family: var(--serif); font-weight: 500; font-size: 18px; }
.mk-signin h4 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 4px 0 0; }
.mk-signin p { margin: 0 0 6px; color: var(--muted); }
.mk-btn { display: inline-flex; justify-content: center; align-items: center; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; font-size: 13px; border: 1px solid var(--ink); }
.mk-btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.mk-btn.sm { padding: 6px 12px; font-size: 12px; }
.mk-in { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--muted); }
.mk-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.mk-table th { text-align: left; font-weight: 600; color: var(--muted); padding: 6px 4px; border-bottom: 1px solid var(--line); }
.mk-table td { padding: 8px 4px; border-bottom: 1px solid #F0F2F4; }
.mk-table td:not(:first-child), .mk-table th:not(:first-child) { text-align: center; }
.mk-table.wide td:not(:first-child), .mk-table.wide th:not(:first-child) { text-align: left; }
.mk-table .y { color: #2E7D5B; font-weight: 700; } .mk-table .n { color: #B5BCC4; }
.mk-plan { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.mk-plan b { display: block; } .mk-plan small { color: var(--muted); font-size: 11.5px; }
.mk-pill { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #E2F2EA; color: #2E7D5B; }
.mk-cardline { display: flex; justify-content: space-between; padding: 12px; border-radius: 12px; background: linear-gradient(135deg, #1F4E79, #0A0A0A); color: #fff; letter-spacing: .08em; font-weight: 600; }
.mk-url { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; font-weight: 600; }
.mk-url .mk-pill { margin-left: auto; }
.lock { display: inline-block; width: 9px; height: 7px; border: 1.5px solid #2E7D5B; border-radius: 2px; position: relative; margin-right: 2px; }
.lock::before { content: ""; position: absolute; left: 1px; top: -6px; width: 4px; height: 5px; border: 1.5px solid #2E7D5B; border-bottom: 0; border-radius: 4px 4px 0 0; }
.mk-swatches { display: flex; gap: 8px; } .mk-swatches span { width: 34px; height: 34px; border-radius: 10px; }
.mk-brandrow b { font-family: var(--serif); font-weight: 500; font-size: 20px; display: block; } .mk-brandrow small { color: var(--muted); }
.mk-phone { width: 250px; background: #0A0A0A; border-radius: 38px; padding: 10px; box-shadow: 0 24px 60px rgba(10,10,10,.2); position: relative; }
.mk-phone.sm { width: 210px; }
.mk-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 80px; height: 18px; border-radius: 999px; background: #0A0A0A; z-index: 1; }
.mk-screen { background: #F6F7F9; border-radius: 30px; padding: 40px 14px 18px; min-height: 420px; display: flex; flex-direction: column; gap: 10px; }
.mk-phone.sm .mk-screen { min-height: 360px; }
.mk-screen > b { font-family: var(--serif); font-weight: 500; font-size: 18px; }
.mk-screen > small { color: var(--muted); margin-top: -8px; }
.mk-screen .mk-ex { align-self: flex-start; }
.mk-tile { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 10px; border: 1px solid var(--line); }
.mk-tile > span { flex: none; width: 30px; height: 30px; border-radius: 9px; background: #E4EDF6; }
.mk-tile b { display: block; font-size: 12.5px; } .mk-tile small { color: var(--muted); font-size: 11px; }
.mk-face { margin-top: auto; align-self: center; font-size: 11px; font-weight: 700; color: #2E7D5B; background: #E2F2EA; padding: 5px 12px; border-radius: 999px; }
.mk-phone.sm .mk-btn { margin-top: auto; }
.mk-duo { position: relative; display: flex; gap: 18px; justify-content: center; align-items: flex-end; padding-top: 24px; }
.mk-duo > .mk-ex { position: absolute; top: 0; left: 50%; transform: translateX(-50%); }
.mk-duo .mk-phone:last-child { transform: translateY(-24px); }
.mk-site { padding: 0 0 18px; }
.mk-nav { display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.mk-nav b { font-family: var(--serif); font-weight: 500; font-size: 16px; color: var(--ink); margin-right: auto; }
.mk-hero { padding: 28px 22px 10px; background: radial-gradient(500px 200px at 80% 0%, #DCE7F2, transparent 70%); }
.mk-hero h4 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 10px 0 6px; line-height: 1.1; }
.mk-hero p { color: var(--muted); max-width: 420px; margin: 0 0 12px; }
.mk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 8px 22px 0; }
.mk-cards span { height: 70px; border-radius: 12px; background: linear-gradient(135deg, #E7ECF1, #F6F7F9); border: 1px solid var(--line); }
@media (max-width: 600px) { .mk-app { grid-template-columns: 1fr; } .mk-app aside { display: none; } .mk-duo .mk-phone.sm { width: 160px; } }

/* ---------- Realistic devices ---------- */
.dev-imac { margin: 0; position: relative; width: 100%; max-width: 780px; aspect-ratio: 820 / 770; filter: drop-shadow(0 26px 30px rgba(10,10,10,.14)); }
/* Real iMac photo (820×770 stage, scaled to fit by a small script); the screen is a 768×432 layer mapped onto the angled display */
.imac-stage { position: absolute; left: 0; top: 0; width: 820px; height: 770px; transform-origin: 0 0; transform: scale(.8); }
.imac-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.imac-screen { position: absolute; left: 0; top: 0; width: 768px; height: 432px; overflow: hidden; background: #000; z-index: 1; transform-origin: 0 0; transform: matrix3d(0.61586304,-0.15798719,0,-0.00025221996,-0.080988342,0.76541109,0,-8.4320335e-05,0,0,1,0,114,181,0,1); container-type: size; box-shadow: 0 0 0 6px #0B0D12; }
.imac-screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.imac-screen > .mk-browser { border: 0; border-radius: 0; box-shadow: none; height: 100%; }
/* iPhone 17 — 71.5 x 149.6 mm body, flat aluminium band, thin even bezels, Dynamic Island,
   Action button + volume on the left, side button + Camera Control on the right. Sizes in cqw (% of width). */
.dev-iphone { margin: 0; position: relative; width: 290px; max-width: 100%; aspect-ratio: 71.5 / 149.6; container-type: inline-size; filter: drop-shadow(0 26px 34px rgba(10,10,10,.22)) drop-shadow(0 4px 8px rgba(10,10,10,.12)); }
.ip-frame { position: absolute; inset: 0; border-radius: 17.6cqw; padding: 1.3cqw; background: linear-gradient(135deg, #E3E9EE 0%, #B9C4CE 22%, #D7DFE6 50%, #A9B5C0 78%, #CBD4DC 100%); box-shadow: inset 0 0 0 .35cqw rgba(255,255,255,.55), inset 0 0 0 .7cqw rgba(0,0,0,.08); }
.ip-screen { position: relative; height: 100%; border-radius: 16.3cqw; overflow: hidden; background: #000; border: 2.6cqw solid #050506; aspect-ratio: auto; }
.ip-screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; border-radius: 13.9cqw; }
.ip-screen > .mk-screen { border-radius: 13.9cqw; min-height: 100%; height: 100%; }
.ip-island { position: absolute; z-index: 3; top: 2.9cqw; left: 50%; transform: translateX(-50%); width: 30cqw; height: 8.8cqw; border-radius: 999px; background: #000; box-shadow: inset 0 0 0 .4cqw #0b0b0d; }
.ip-island::after { content: ""; position: absolute; right: 18%; top: 50%; width: 3.2cqw; height: 3.2cqw; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2a3550, #07080c 70%); }
.ip-btn { position: absolute; width: 1.1cqw; border-radius: .6cqw; background: linear-gradient(90deg, #9AA6B1, #D3DBE2 60%, #AEB9C3); }
.ip-a { left: -.8cqw; top: 18%; height: 5.6%; }
.ip-b { left: -.8cqw; top: 27%; height: 9%; }
.ip-c { left: -.8cqw; top: 38%; height: 9%; }
.ip-d { right: -.8cqw; top: 29%; height: 13%; }
.ip-e { right: -.55cqw; top: 58%; height: 7.5%; width: .8cqw; background: linear-gradient(90deg, #8F9BA6, #C2CBD3); }
.dev-pair { position: relative; width: 100%; display: flex; justify-content: center; align-items: flex-end; padding-bottom: 10px; }
.dev-pair .dev-iphone { position: absolute; right: 0; bottom: -2%; width: 27%; min-width: 150px; }
@media (max-width: 700px) { .dev-iphone { width: 230px; } .dev-pair .dev-iphone { width: 32%; min-width: 110px; } }

/* ---------- Everything connected (hub) ---------- */
.connected { overflow: hidden; }
.hub { position: relative; width: 100%; aspect-ratio: 1 / 0.92; max-width: 620px; margin: 0 auto; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-lines line { stroke: var(--accent); stroke-width: .18; stroke-dasharray: 60; stroke-dashoffset: 60; opacity: .55; vector-effect: non-scaling-stroke; }
.hub.in .hub-lines line { animation: hubdraw 1.4s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + 200ms); }
@keyframes hubdraw { to { stroke-dashoffset: 0; } }
.hub-lines line { stroke-width: 1px; }
.hub-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30%; aspect-ratio: 1; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; box-shadow: 0 20px 50px rgba(31,78,121,.18); z-index: 2; }
.hub-core::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--accent); opacity: .25; animation: pulse 3s ease-out infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: .4; } to { transform: scale(1.25); opacity: 0; } }
.hub-core img { width: 74%; height: auto; }
.hub-node { position: absolute; transform: translate(-50%, -50%) scale(.85); opacity: 0; white-space: nowrap; font-size: 13.5px; font-weight: 600; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; z-index: 3; box-shadow: 0 6px 18px rgba(10,10,10,.06); transition: background .3s, color .3s, border-color .3s; }
.hub.in .hub-node { animation: nodein .6s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + 500ms); }
@keyframes nodein { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.hub-node:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
@media (max-width: 560px) { .hub-node { font-size: 11px; padding: 5px 9px; } }
@media (prefers-reduced-motion: reduce) { .hub-node { opacity: 1; transform: translate(-50%, -50%); } .hub-lines line { stroke-dashoffset: 0; } }
.tags .tag-open { border-style: dashed; color: var(--accent); background: transparent; }
.ip-status { position: absolute; top: 0; left: 0; right: 0; height: 13cqw; background: #fff; display: flex; align-items: center; padding: 0 8cqw 0 11cqw; gap: 1.6cqw; z-index: 1; font-family: -apple-system, "SF Pro Text", Manrope, sans-serif; }
.ip-status b { font-size: 4.6cqw; font-weight: 600; color: #000; margin-right: auto; letter-spacing: -.02em; }
.ip-sig { width: 5.4cqw; height: 3.4cqw; background: linear-gradient(90deg, #000 0 18%, transparent 18% 27%, #000 27% 45%, transparent 45% 54%, #000 54% 72%, transparent 72% 81%, #000 81%); clip-path: polygon(0 75%, 18% 75%, 18% 100%, 0 100%, 0 75%, 27% 50%, 45% 50%, 45% 100%, 27% 100%, 27% 50%, 54% 25%, 72% 25%, 72% 100%, 54% 100%, 54% 25%, 81% 0, 100% 0, 100% 100%, 81% 100%); }
.ip-wifi { width: 4.8cqw; height: 3.4cqw; background: #000; clip-path: polygon(50% 100%, 0 30%, 15% 12%, 50% 0, 85% 12%, 100% 30%); }
.ip-bat { width: 7cqw; height: 3.4cqw; border: .45cqw solid rgba(0,0,0,.4); border-radius: 1.1cqw; position: relative; box-sizing: border-box; }
.ip-bat::before { content: ""; position: absolute; inset: .45cqw; right: 1.4cqw; background: #000; border-radius: .5cqw; }
.ip-bat::after { content: ""; position: absolute; right: -1.2cqw; top: 30%; width: .7cqw; height: 40%; background: rgba(0,0,0,.4); border-radius: 0 .5cqw .5cqw 0; }
.ip-screen > img.ip-shot { position: absolute; top: 13cqw; left: 0; width: 100%; height: calc(100% - 13cqw - 8.5cqw); object-position: bottom; border-radius: 0; }
/* Home-indicator safe area below the tab bar, so the rounded corners never cut the app's icons */
.ip-screen:has(.ip-status)::after { content: ""; position: absolute; left: 50%; bottom: 2.6cqw; width: 36cqw; height: 1.5cqw; margin-left: -18cqw; border-radius: 1cqw; background: #111; z-index: 2; }
.ip-screen:has(.ip-status) { background: #fff; }

/* Country routes written out instead of flags */
.aud .route { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: #9DBEDD; gap: 14px; }
.aud .route .ln { flex: 0 0 46px; }
.aud .route .ln::before { content: ""; position: absolute; right: -1px; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.aud .route .ln { overflow: visible; color: #666; }
.mega-code { flex: none; width: 30px; height: 22px; border-radius: 6px; border: 1px solid var(--line); display: grid; place-items: center; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: var(--accent); background: #fff; }
.mega-link:hover .mega-code { border-color: var(--accent); }
.aud .route .ln::after { transform: scaleX(0); transform-origin: left; }
.aud > a:hover .route .ln::after { transform: scaleX(1); }
/* Mega menu closes after a choice, until the pointer leaves and comes back */
.has-mega.shut .mega, .has-sub.shut .sub { opacity: 0 !important; visibility: hidden !important; transform: translate(-50%, 10px); }
.has-sub.shut .sub { transform: translateY(8px); }

/* ---------- Service pages ---------- */
.svc-hero { aspect-ratio: 21 / 8; }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .stages { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .stages { grid-template-columns: 1fr; } }
.stage { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.stage .n { font-family: var(--serif); font-size: 30px; color: var(--accent); line-height: 1; display: block; margin-bottom: 14px; }
.stage h3 { font-size: 22px; margin: 0 0 12px; }
.stage ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.stage li { position: relative; padding-left: 20px; font-size: 15px; color: var(--text); line-height: 1.45; }
.stage li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 1px; background: var(--accent); }
.c3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .c3 { grid-template-columns: 1fr; } }
.c3-card { text-decoration: none; border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; background: #fff; }
.c3-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(10,10,10,.07); }
.c3-code { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--accent); border: 1px solid var(--line); border-radius: 7px; padding: 4px 8px; }
.c3-card h3 { margin: 4px 0 0; }
.c3-card p { margin: 0; color: var(--muted); flex: 1; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 900px) { .related { grid-template-columns: 1fr; } }
.rel { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; text-decoration: none; border: 1px solid var(--line); transition: background .25s, border-color .25s; }
.rel:hover { background: var(--grey); border-color: transparent; }
.rel b { display: block; font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--ink); }
.rel small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
/* Meet the founder: small portrait at the side */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.founder-photo { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--grey); position: sticky; top: 100px; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.founder .big-quote { margin-top: 0; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } .founder-photo { width: 220px; position: static; } }
.founder-facts { list-style: none; padding: 0; margin: 26px 0 22px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.founder-facts li { padding: 18px 16px 0 0; display: flex; flex-direction: column; gap: 4px; }
.founder-facts b { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3vw, 42px); color: var(--accent); line-height: 1; }
.founder-facts span { font-size: 14px; color: var(--muted); }
@media (max-width: 600px) { .founder-facts { grid-template-columns: 1fr; } }
.founder-path { list-style: none; padding: 0; margin: 6px 0 22px; border-top: 1px solid var(--line); }
.founder-path li { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.founder-path b { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--accent); }
.founder-path span { color: var(--text); }
@media (max-width: 600px) { .founder-path li { grid-template-columns: 1fr; gap: 4px; } }
/* Audience cards with calls to action */
.aud .aud-card { display: flex; flex-direction: column; gap: 14px; padding: 34px; border: 1px solid #2A2A2A; border-radius: 22px; transition: border-color .4s, background .4s; min-height: 240px; }
.aud .aud-card:hover { background: #111; border-color: #555; }
.aud .aud-card h3 { color: #fff; margin: 0; font-size: clamp(22px, 2vw, 28px); }
.aud .aud-card p { margin: 0; color: #A8A8A8; font-size: 15px; }
.aud .aud-card:hover .route .ln::after { transform: scaleX(1); }
.aud-cta { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.aud-guide { color: #CFE0F0; text-decoration: none; font-size: 14px; font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .3s; }
.aud-guide:hover { border-color: currentColor; }
.aud-band { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px 30px; border-radius: 22px; background: var(--accent); }
.aud-band b { display: block; color: #fff; font-family: var(--serif); font-weight: 400; font-size: 24px; }
.aud-band span { color: #D5E2EE; }
.coverage { margin-top: 18px; padding: 16px 18px; border-left: 3px solid var(--accent); background: rgba(255,255,255,.55); border-radius: 0 12px 12px 0; font-size: 15.5px; }
.coverage b { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.c3-cov { display: block; font-size: 13px; color: var(--accent); border-top: 1px solid var(--line); padding-top: 10px; }
/* Home hero: New York as the full background */
.home-hero { min-height: min(100svh, 960px); align-items: center; padding: 150px 0 70px; }
.home-hero .chero-media::after { background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.25) 40%, rgba(10,10,10,.65) 100%), linear-gradient(90deg, rgba(10,10,10,.45), transparent 70%); }
.home-hero h1 { color: #fff; margin: 0; font-size: clamp(46px, 7vw, 104px); line-height: 1.02; }
.home-hero h1 em { color: #CFE0F0; }
.home-hero .hero2-side p { color: #E8EEF4; }
.home-hero .hero2-top { margin-bottom: 30px; }
.hero-link { color: #fff; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.hero-link:hover { border-color: #fff; }
.hero-tag { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #CFE0F0; border-top: 1px solid rgba(255,255,255,.3); padding-top: 14px; }
.home-hero .hero2 .rot, .home-hero .rot { display: inline-grid; vertical-align: bottom; height: 1.3em; overflow: hidden; padding-right: .08em; }
.home-hero .rot > span { grid-area: 1 / 1; transform: translateY(110%); opacity: 0; transition: transform .9s var(--ease), opacity .9s var(--ease); white-space: nowrap; }
.home-hero .rot > span.on { transform: none; opacity: 1; }
.home-hero .rot > span.out { transform: translateY(-110%); opacity: 0; }
.home-hero .hero2-side p, .home-hero h1, .home-hero .eyebrow { text-shadow: 0 2px 18px rgba(0,0,0,.45); }

/* App content drawn inside the real device frames (Technology examples) */
.ip-app { position: absolute; top: 13cqw; left: 0; right: 0; bottom: 8.5cqw; overflow: hidden; background: #F6F7F9; display: flex; flex-direction: column; }
.ip-app > .mk-screen { flex: 1; min-height: 0; border-radius: 0; padding: 5cqw 6cqw 4cqw; gap: 3.6cqw; background: #F6F7F9; }
.ip-app > .mk-screen > b { font-size: 8cqw; }
.ip-app .mk-tile { padding: 4cqw; gap: 4cqw; border-radius: 5cqw; }
.ip-app .mk-tile > span { width: 13cqw; height: 13cqw; border-radius: 4cqw; flex: none; }
.ip-app .mk-tile b { font-size: 5.4cqw; } .ip-app .mk-tile small { font-size: 4.6cqw; }
.ip-app .mk-btn { margin-top: auto; font-size: 5.4cqw; padding: 4cqw; border-radius: 4.5cqw; text-align: center; }
.ip-screen:has(.ip-app) { background: #F6F7F9; }
.mk-duo .dev-iphone { width: 46%; max-width: 230px; }
.mk-duo .dev-iphone:last-child { transform: translateY(-24px); }
.mk-desk { height: 100%; display: flex; flex-direction: column; background: #EEF1F4; font-family: var(--sans); }
.mk-desk-bar { flex: none; display: flex; align-items: center; gap: 2.4cqw; height: 5.4cqw; padding: 0 2.6cqw; background: #fff; border-bottom: 1px solid var(--line); font-size: 1.7cqw; }
.mk-desk-bar b { font-family: var(--serif); font-weight: 500; margin-right: 2cqw; }
.mk-desk-bar span { width: 6cqw; height: .9cqw; border-radius: 1cqw; background: #E3E7EC; }
.mk-desk-bar i { margin-left: auto; width: 2.8cqw; height: 2.8cqw; border-radius: 50%; background: #1F4E79; }
.mk-desk-body { flex: 1; min-height: 0; display: grid; place-items: center; padding: 2cqw; }
.mk-desk-body > .mk-card { zoom: .78; box-shadow: 0 12px 30px rgba(10,10,10,.08); }
@media (max-width: 700px) { .mk-desk-body > .mk-card { zoom: .48; } }
/* Smaller, quieter cookie notice */
#cnx-consent { width: min(360px, calc(100vw - 28px)); left: 14px; bottom: 14px; padding: 16px 18px; border-radius: 16px; box-shadow: 0 14px 36px rgba(0,0,0,.14); }
#cnx-consent strong { font-size: 15px; margin-bottom: 4px; }
#cnx-consent p { font-size: 12.5px; line-height: 1.5; margin-bottom: 6px; }
#cnx-consent .cc-links { font-size: 12px; }
#cnx-consent .cc-actions .btn, #cnx-consent button.btn { padding: 8px 14px; font-size: 12.5px; }
/* Page title flows straight into the first section (no empty gap) */
.phero:not(.black) + section:not(.grey):not(.sand):not(.black) { padding-top: 8px; }
/* Clients: no band, logos sit on the page */
.trusted, .trusted .logo-cell { background: transparent; }
.trusted { padding: 18px 0; }

/* Home NYC hero: slow camera pan, like a video — drifts left, holds, drifts right, holds */
.home-hero .chero-media { overflow: hidden; }
.home-hero .chero-media img { width: 118%; max-width: none; margin-left: -9%; animation: nycpan 46s cubic-bezier(.45,.05,.55,.95) infinite; will-change: transform; transform-origin: 50% 45%; }
@keyframes nycpan {
  0%   { transform: translate3d(6.5%, .4%, 0) scale(1.05); }
  40%  { transform: translate3d(-6.5%, -.6%, 0) scale(1.08); }
  50%  { transform: translate3d(-6.5%, -.6%, 0) scale(1.08); }
  90%  { transform: translate3d(6.5%, .4%, 0) scale(1.05); }
  100% { transform: translate3d(6.5%, .4%, 0) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) { .home-hero .chero-media img { animation: none; } }

/* ---- Motion: devices and photos ---- */
.dev-imac.pre { opacity: 0; }
.dev-imac.pre.seen { animation: imacIn 1.25s cubic-bezier(.16,1,.3,1) both; }
@keyframes imacIn { from { opacity: 0; transform: translate3d(120px, 0, 0); } to { opacity: 1; transform: none; } }
.dev-iphone.pre { opacity: 0; }
.dev-iphone.pre.seen { animation: phoneIn 1.15s cubic-bezier(.16,1,.3,1) both; animation-delay: .35s; }
@keyframes phoneIn { from { opacity: 0; transform: translate3d(0, 110px, 0); } to { opacity: 1; transform: none; } }
.mk-duo .dev-iphone.pre.seen:last-child { animation-name: phoneInUp; animation-delay: .5s; }
@keyframes phoneInUp { from { opacity: 0; transform: translate3d(0, 86px, 0); } to { opacity: 1; transform: translateY(-24px); } }
.duo-img.pre, .founder-photo.pre, .svc-hero.pre { clip-path: inset(10% 10% 10% 10% round 28px); }
.duo-img.pre img, .founder-photo.pre img, .svc-hero.pre img { transform: scale(1.18); }
.duo-img.pre.seen, .founder-photo.pre.seen, .svc-hero.pre.seen { clip-path: inset(0 0 0 0 round 0); transition: clip-path 1.4s cubic-bezier(.16,1,.3,1); }
.duo-img.pre.seen img, .founder-photo.pre.seen img, .svc-hero.pre.seen img { transform: none; transition: transform 1.8s cubic-bezier(.16,1,.3,1); }
/* Cards lift on hover */
.svc, .aud-card, .c3-card, .rel, .stage { transition: opacity .9s var(--ease) var(--d, 0ms), transform .5s var(--ease), box-shadow .45s var(--ease), background .3s, color .3s, border-color .3s; }
.svc:hover, .aud-card:hover, .c3-card:hover, .rel:hover, .stage:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(10,10,10,.10); }
@media (prefers-reduced-motion: reduce) { .dev-imac.pre, .dev-iphone.pre { opacity: 1; animation: none !important; } }
/* Dark apps: black status bar with white icons and home indicator */
.ip-dark .ip-screen, .ip-dark .ip-status { background: #0A0A0A; }
.ip-dark .ip-status b { color: #fff; }
.ip-dark .ip-sig, .ip-dark .ip-wifi, .ip-dark .ip-bat::before { background: #fff; }
.ip-dark .ip-bat { border-color: rgba(255,255,255,.55); } .ip-dark .ip-bat::after { background: rgba(255,255,255,.55); }
.ip-dark .ip-screen:has(.ip-status)::after { background: #fff; }
.ip-dark .ip-screen:has(.ip-status) { background: #0A0A0A; }
/* Three white-label apps side by side, the middle one raised */
.mk-trio { gap: 14px; }
.mk-trio .dev-iphone { width: 31%; max-width: 210px; }
.mk-trio .dev-iphone:last-child { transform: none; }
.mk-trio .dev-iphone:nth-child(2) { transform: translateY(-24px); }
.mk-trio .dev-iphone.pre.seen:last-child { animation-name: phoneIn; animation-delay: .65s; }
.mk-trio .dev-iphone.pre.seen:nth-child(2) { animation-name: phoneInUp; animation-delay: .5s; }
/* Real website inside the iMac, under a browser address bar */
.mk-live { display: flex; flex-direction: column; }
.mk-live .mk-bar { flex: none; padding: 9px 14px; }
.mk-live .mk-bar span { display: inline-flex; align-items: center; gap: 6px; min-width: 46%; justify-content: center; color: #3A3F47; }
.mk-live .mk-bar .lock { width: 8px; height: 9px; border: 1.5px solid #8A9099; border-radius: 2px; position: relative; top: 1px; }
.mk-live > img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top left; display: block; }
/* Branded e-mail inside the iPhone (domain & brand example) */
.mk-mail { height: 100%; background: #fff; display: flex; flex-direction: column; font-family: -apple-system, "SF Pro Text", Manrope, sans-serif; padding: 2cqw 5cqw 0; gap: 2.6cqw; overflow: hidden; }
.mm-top { display: flex; justify-content: space-between; color: #0A84FF; font-size: 4.6cqw; padding-top: 1cqw; }
.mm-ic { letter-spacing: 2cqw; }
.mm-from { display: flex; align-items: center; gap: 3cqw; }
.mm-av { width: 11cqw; height: 11cqw; border-radius: 50%; background: #EEF5F5; display: grid; place-items: center; overflow: hidden; flex: none; }
.mm-av img { width: 80%; height: auto; }
.mm-from b { display: block; font-size: 4.6cqw; color: #111; }
.mm-from small { font-size: 3.6cqw; color: #8A8F98; }
.mm-time { margin-left: auto; align-self: flex-start; font-size: 3.6cqw; color: #8A8F98; }
.mk-mail h5 { margin: 0; font-size: 5.6cqw; line-height: 1.25; color: #111; font-weight: 600; }
.mm-card { border: 1px solid #E3E8EA; border-radius: 4cqw; overflow: hidden; }
.mm-head { background: #17414A; padding: 4cqw; display: grid; place-items: center; }
.mm-head img { height: 9cqw; width: auto; filter: brightness(0) invert(1); }
.mm-body { padding: 4.5cqw; font-size: 3.9cqw; line-height: 1.5; color: #3B4A4E; }
.mm-body p { margin: 0 0 2.4cqw; }
.mm-body b { color: #17414A; }
.mm-btn { display: block; text-align: center; background: #2A7A86; color: #fff; border-radius: 999px; padding: 3cqw; font-weight: 600; font-size: 4cqw; margin: 3.4cqw 0; }
.mm-body small { display: block; text-align: center; font-size: 3.2cqw; color: #8A8F98; }
.bigstat video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Dropdown menus keep dark text even when the header is white-on-photo */
.top .sub, .top .mega { color: var(--ink, #0A0A0A); }
.top .sub a { color: #0A0A0A; }
/* Three key numbers over the building video */
.bigstat-trio { max-width: none; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 56px); }
.bigstat-trio > div { border-top: 1px solid rgba(255,255,255,.35); padding-top: 18px; }
.bigstat-trio .v { font-size: clamp(56px, 7.5vw, 112px); }
.bigstat-trio p { font-size: 17px; margin-top: 10px; }
.bigstat:has(.bigstat-trio)::after { background: linear-gradient(180deg, rgba(10,10,10,.15) 20%, rgba(10,10,10,.78) 100%); }
@media (max-width: 700px) { .bigstat-trio { grid-template-columns: 1fr; gap: 18px; } .bigstat-trio .v { font-size: 64px; } }
.founder-photo img[src*="marcello-silva-bw"] { object-position: 50% 50%; }
/* ---- "Everything connected": editorial list ---- */
.elist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.elist li { display: flex; align-items: baseline; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.5vw, 33px); line-height: 1.2; color: #B9C0C8; transition: color .5s var(--ease), padding-left .5s var(--ease); cursor: default; }
.elist .k { font-family: var(--sans); font-size: 12px; font-weight: 600; color: #C5CBD2; width: 26px; flex: none; transition: color .5s; }
.elist .d { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-left: auto; text-align: right; opacity: 0; transform: translateX(-8px); transition: opacity .5s, transform .5s var(--ease); }
.elist li.hot { color: var(--ink); padding-left: 10px; }
.elist li.hot .k { color: var(--accent); }
.elist li.hot .d { opacity: 1; transform: none; }
.uline { position: relative; display: inline-block; }
.uline::after { content: ""; position: absolute; left: 0; bottom: .06em; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; animation: und 3.2s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes und { 0% { transform: scaleX(0); transform-origin: left; } 45% { transform: scaleX(1); transform-origin: left; } 55% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
@media (max-width: 560px) { .elist .d { display: none; } .elist li.hot .d { display: block; font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .uline::after { animation: none; transform: scaleX(1); } }
.elist li { position: relative; font-size: clamp(22px, 2.3vw, 30px); }
.elist .t { white-space: nowrap; }
.elist .d { position: absolute; right: 0; top: 50%; max-width: 32%; transform: translate(-8px, -50%); line-height: 1.35; }
.elist li.hot .d { transform: translate(0, -50%); }
@media (max-width: 560px) { .elist .t { white-space: normal; } .elist .d { position: static; transform: none; max-width: none; } .elist li { flex-wrap: wrap; } .elist li.hot .d { transform: none; width: 100%; padding-left: 44px; text-align: left; } }
/* Description opens under the title instead of beside it */
.elist li { display: grid; grid-template-columns: 26px 1fr; column-gap: 18px; align-items: baseline; }
.elist .t { grid-column: 2; white-space: normal; }
.elist .d { position: static; grid-column: 2; max-width: none; text-align: left; transform: translateY(-4px); max-height: 0; overflow: hidden; margin-left: 0; font-size: 14px; transition: opacity .5s, transform .5s var(--ease), max-height .5s var(--ease), margin .5s var(--ease); }
.elist li.hot .d { transform: none; max-height: 40px; margin-top: 6px; }
@media (max-width: 560px) { .elist li.hot .d { padding-left: 0; } }
/* Phones: photo heroes fill the whole first screen (no white strip under them) */
@media (max-width: 760px) { .chero, .home-hero { min-height: 100svh; min-height: 100dvh; } }
