/* =========================================================================
   Veyago — veyago.cloud
   Clean, consistent, Apple.com-style system. White canvas, SF-style type,
   blue links, generous whitespace. ONE language across every page.
   ========================================================================= */

:root {
  /* Neutral palette only (no brand color fields — white + Apple greys) */
  --bg:        #ffffff;
  --bg-soft:   #fafafc;
  --bg-card:   #f5f5f7;   /* Apple neutral card/footer */
  --ink:       #1d1d1f;   /* headings / near-black */
  --text:      #1d1d1f;
  --muted:     #6e6e73;   /* subheads, secondary */
  --muted-2:   #86868b;
  --hair:      #d2d2d7;
  --hair-soft: #e8e8ed;
  --blue:      #0066cc;   /* links */
  --blue-2:    #0071e3;   /* primary button */
  --blue-press:#0058b0;

  --maxw:      980px;     /* Apple content rhythm */
  --maxw-wide: 1120px;
  --gutter:    clamp(22px, 5vw, 24px);
  --radius:    22px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);

  /* Fluid type */
  --fz-hero:     clamp(2.6rem, 1.4rem + 4.6vw, 4.5rem);
  --fz-section:  clamp(2rem, 1.3rem + 2.8vw, 3.25rem);
  --fz-tile:     clamp(1.7rem, 1.2rem + 1.9vw, 2.5rem);
  --fz-sub:      clamp(1.2rem, 1rem + .8vw, 1.6rem);
  --fz-sub-sm:   clamp(1.1rem, 1rem + .5vw, 1.35rem);
  --fz-lead:     clamp(1.05rem, 1rem + .35vw, 1.2rem);
  --fz-body:     1.0625rem;     /* 17px */
  --fz-eyebrow:  clamp(.9rem, .85rem + .3vw, 1.0625rem);
  --fz-link:     clamp(1.05rem, 1rem + .35vw, 1.2rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: var(--fz-body);
  line-height: 1.47;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: rgba(0,102,204,0.18); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.wide { max-width: var(--maxw-wide); }

:where(section, [id]) { scroll-margin-top: 64px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; }
.eyebrow { font-size: var(--fz-eyebrow); font-weight: 600; color: var(--muted); letter-spacing: 0; line-height: 1.3; }
.headline { font-size: var(--fz-hero); font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; }
.section-headline { font-size: var(--fz-section); font-weight: 600; letter-spacing: -0.028em; line-height: 1.06; }
.tile-headline { font-size: var(--fz-tile); font-weight: 600; letter-spacing: -0.022em; }
.subhead { font-size: var(--fz-sub); font-weight: 500; color: var(--ink); line-height: 1.28; letter-spacing: -0.012em; }
.subhead.muted { color: var(--muted); }
.lead { font-size: var(--fz-lead); color: var(--muted); line-height: 1.5; }
.muted { color: var(--muted); }

/* ---------- Links & buttons (Apple) ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 28px; }
.link { display: inline-flex; align-items: center; color: var(--blue); font-size: var(--fz-link); font-weight: 400; letter-spacing: -0.01em; }
.link::after { content: "›"; margin-left: 3px; font-size: 1.18em; line-height: 0; transform: translateY(.04em); transition: transform .25s var(--ease); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link:hover::after { transform: translate(2px, .04em); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 980px; font-size: 1.0625rem; font-weight: 400; letter-spacing: -0.01em; cursor: pointer; border: 1px solid transparent; transition: background .2s var(--ease), transform .2s var(--ease); }
.btn-blue { background: var(--blue-2); color: #fff; }
.btn-blue:hover { background: var(--blue-press); }
.btn-line { color: var(--blue); border-color: rgba(0,102,204,.4); }
.btn-line:hover { background: rgba(0,102,204,.06); }

:where(a, button):focus-visible { outline: 3px solid rgba(0,113,227,.5); outline-offset: 3px; border-radius: 6px; }

/* ---------- Nav (thin, frosted white) ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: 48px; display: flex; align-items: center; background: rgba(255,255,255,0.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,0.08); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; max-width: var(--maxw-wide); }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 1.16rem; letter-spacing: -0.02em; color: var(--ink); }
.brand img { width: 22px; height: 22px; border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav-links a { font-size: 0.86rem; color: var(--ink); opacity: 0.86; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-links a.cta { color: var(--blue); opacity: 1; }

/* ---------- Section ---------- */
.section { padding: clamp(70px, 11vw, 130px) 0; text-align: center; position: relative; }
/* Contained hairline divider between stacked sections */
.section + .section::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(100% - 2 * var(--gutter), 980px); height: 1px; background: var(--hair-soft);
}
.section.soft { background: var(--bg-soft); }
.section.gray { background: var(--bg-card); }
.section .eyebrow { margin-bottom: 6px; }
.section .section-headline, .section .headline { margin: 0 auto; max-width: 20ch; }
.section .subhead { margin: 18px auto 0; max-width: 34ch; }
.section .lead { margin: 18px auto 0; max-width: 60ch; }
.section .actions { margin-top: 26px; }

/* hero variant — taller, larger */
.hero { padding-top: clamp(110px, 15vh, 170px); background: radial-gradient(130% 90% at 68% -5%, #e4edff 0%, #f0f5ff 18%, #fafbfe 48%, #ffffff 68%); }
.hero .headline { max-width: 16ch; }

/* hero touch — staggered entrance on load */
.hero .wrap > * { animation: heroIn .85s var(--ease) both; }
.hero .wrap > *:nth-child(1) { animation-delay: .05s; }
.hero .wrap > *:nth-child(2) { animation-delay: .13s; }
.hero .wrap > *:nth-child(3) { animation-delay: .23s; }
.hero .wrap > *:nth-child(4) { animation-delay: .33s; }
.hero .wrap > *:nth-child(5) { animation-delay: .41s; }
.hero .media { animation: heroIn 1s var(--ease) both .5s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* media under a section */
.media { margin: clamp(40px, 6vw, 72px) auto 0; display: flex; justify-content: center; }
.media img, .media svg, .media .art { width: 100%; height: auto; }
.media.contain { max-width: 980px; }

/* device screenshot */
.device { width: clamp(240px, 30vw, 300px); border-radius: 44px; padding: 9px; background: #1d1d1f; box-shadow: 0 30px 70px -28px rgba(0,0,0,0.35); transition: transform .55s var(--ease), box-shadow .55s var(--ease); }
.media:hover .device, .device:hover { transform: translateY(-10px); box-shadow: 0 48px 95px -30px rgba(0,0,0,0.42); }

/* product media — a touch richer reveal (fade + slight scale) */
.media.reveal { opacity: 0; transform: translateY(34px) scale(.97); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.media.reveal.in { opacity: 1; transform: none; }
.device img { border-radius: 36px; width: 100%; }
.devices { display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 2vw, 26px); flex-wrap: wrap; }
.devices .device:nth-child(2) { margin-bottom: clamp(16px, 3vw, 34px); }

/* ---------- Two-up tiles (Apple paired) ---------- */
.tiles2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: var(--maxw-wide); margin: 0 auto; padding-inline: var(--gutter); }
.tile { background: var(--bg-card); border: 1px solid rgba(0,0,0,0.06); border-radius: var(--radius); padding: clamp(34px, 4vw, 52px) clamp(28px, 3vw, 44px) 0; text-align: center; overflow: hidden; display: flex; flex-direction: column; min-height: 460px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile:hover { transform: translateY(-6px); box-shadow: 0 20px 60px -20px rgba(0,0,0,0.14); }
.tile .eyebrow { margin-bottom: 6px; }
.tile .tile-headline { margin: 0 auto; }
.tile .subhead { font-size: var(--fz-sub-sm); margin: 10px auto 0; max-width: 26ch; }
.tile .actions { margin-top: 18px; }
.tile .tile-media { margin-top: auto; padding-top: clamp(28px, 4vw, 44px); display: flex; justify-content: center; }
.tile .tile-media img.shot { width: clamp(180px, 22vw, 230px); }
.tile .tile-media .art { width: 100%; max-width: 340px; }

/* Compact 'Our Apps' tiles (home) — a tidy device peek, matched heights */
.tiles2 .tile { min-height: 0; }
.tiles2 .tile-media { margin-top: clamp(22px, 3vw, 30px); padding-top: 0; height: clamp(236px, 26vw, 272px); overflow: hidden; align-items: flex-start; }
.tiles2 .tile-media img.shot { width: clamp(200px, 21vw, 226px); border-radius: 30px; }
.tiles2 .tile-media .art { width: 100%; max-width: 300px; align-self: center; }

/* ---------- Card grid (features / values / services) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: var(--maxw-wide); margin: clamp(40px, 6vw, 64px) auto 0; padding-inline: var(--gutter); text-align: left; }
.cards.two { grid-template-columns: repeat(2, 1fr); max-width: var(--maxw); }
.card { background: var(--bg-card); border: 1px solid rgba(0,0,0,0.06); border-radius: var(--radius); padding: clamp(28px, 3vw, 38px); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px -10px rgba(0,0,0,0.12); }
.card .ic { width: 46px; height: 46px; border-radius: 13px; background: #fff; display: grid; place-items: center; color: var(--ink); margin-bottom: 18px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.3rem; letter-spacing: -0.018em; margin-bottom: 8px; }
.card p { font-size: var(--fz-body); color: var(--muted); line-height: 1.5; }

/* ---------- App grid ---------- */
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: var(--maxw-wide); margin: 0 auto; padding-inline: var(--gutter); }
.app-card { background: var(--bg-card); border: 1px solid rgba(0,0,0,0.06); border-radius: var(--radius); padding: clamp(34px, 4vw, 52px); text-align: center; display: flex; flex-direction: column; min-height: 440px; overflow: hidden; }
.app-card .eyebrow { margin-bottom: 6px; }
.app-card h3 { font-size: var(--fz-tile); margin-bottom: 10px; }
.app-card .ac-sub { font-size: var(--fz-sub-sm); color: var(--muted); max-width: 30ch; margin: 0 auto; }
.app-card .actions { margin-top: 18px; }
.app-card .ac-media { margin-top: auto; padding-top: clamp(28px, 4vw, 40px); display: flex; justify-content: center; }
.app-card .ac-media img.shot { width: clamp(180px, 22vw, 232px); }
.app-card .ac-media .art { width: 100%; max-width: 360px; }

/* ---------- Steps (numbered) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); max-width: var(--maxw); margin: clamp(40px, 6vw, 64px) auto 0; }
.step .num { width: 44px; height: 44px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 1px solid var(--hair); display: grid; place-items: center; font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.step h4 { font-size: 1.3rem; margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 30ch; margin: 0 auto; }

/* vertical process */
.proc { max-width: 760px; margin: clamp(36px,5vw,56px) auto 0; text-align: left; display: grid; gap: clamp(22px, 3vw, 36px); }
.proc-step { display: grid; grid-template-columns: 52px 1fr; gap: 22px; align-items: start; }
.proc-step .pn { width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1px solid var(--hair); display: grid; place-items: center; font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.proc-step h4 { font-size: 1.3rem; margin-bottom: 6px; }
.proc-step p { color: var(--muted); max-width: 56ch; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: var(--maxw); margin: clamp(40px,5vw,56px) auto 0; }
.stat { background: var(--bg-card); border: 1px solid rgba(0,0,0,0.06); border-radius: 18px; padding: 28px 22px; }
.stat .sv { font-size: clamp(2rem, 1.4rem + 1.8vw, 2.8rem); font-weight: 600; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.stat .sl { font-size: 0.95rem; color: var(--muted); margin-top: 8px; }

/* ---------- Facts list ---------- */
.facts { max-width: 720px; margin: clamp(36px,5vw,52px) auto 0; text-align: left; border-top: 1px solid var(--hair-soft); }
.fact { display: grid; grid-template-columns: 240px 1fr; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--hair-soft); }
.fact dt { color: var(--muted); }
.fact dd { color: var(--ink); font-weight: 500; }

/* ---------- Long-form prose ---------- */
.prose { max-width: 700px; margin: clamp(34px,5vw,52px) auto 0; text-align: left; }
.prose > p { font-size: var(--fz-lead); color: var(--text); margin-bottom: 18px; }
.prose h3 { font-size: 1.5rem; letter-spacing: -0.02em; margin: clamp(40px,5vw,56px) 0 12px; }
.prose h3:first-child { margin-top: 0; }
.prose ul.clean { list-style: none; margin: 18px 0; padding: 0; }
.prose ul.clean li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--text); }
.prose ul.clean li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); transform-origin: left; }
.prose ul.clean li strong { color: var(--ink); }
.prose .actions { justify-content: flex-start; margin-top: 28px; }

/* ---------- Footer (Apple, light grey) ---------- */
.footer { background: var(--bg-card); color: var(--muted-2); font-size: 0.8125rem; line-height: 1.4; padding: 36px 0 28px; }
.footer .wrap { max-width: 1000px; }
.footer .legal-top { padding-bottom: 14px; border-bottom: 1px solid var(--hair); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--hair); }
.footer-cols h5 { color: var(--ink); font-size: 0.8125rem; font-weight: 600; margin-bottom: 12px; }
.footer-cols a { display: block; color: var(--muted); margin-bottom: 9px; transition: color .2s; }
.footer-cols a:hover { color: var(--ink); text-decoration: underline; }
.footer-base { padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--muted-2); }

/* ---------- Reveal (subtle) ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Policy pages ---------- */
.policy { padding: 120px 0 90px; }
.policy .wrap { max-width: 720px; text-align: left; }
.policy .eyebrow { color: var(--muted); }
.policy h1 { font-size: clamp(2.1rem, 4vw, 3rem); letter-spacing: -0.03em; margin: 8px 0 8px; }
.policy .updated { color: var(--muted); margin-bottom: 30px; }
.policy h2 { font-size: 1.4rem; letter-spacing: -0.02em; margin: 38px 0 12px; }
.policy h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.policy p { margin-bottom: 14px; color: var(--text); }
.policy ul { margin: 0 0 16px 22px; }
.policy li { margin-bottom: 8px; }
.policy a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.tldr { background: var(--bg-card); border-radius: 16px; padding: 22px 24px; margin-bottom: 22px; }
.tldr strong { color: var(--ink); }

/* ==========================================================================
   Visual upgrade — Apple.com-quality additions
   ========================================================================== */

/* ---------- Dark section (near-black) ---------- */
.section.dark { background: #000; }
.section.dark + .section::before,
.section + .section.dark::before { display: none; }
.section.dark .eyebrow { color: rgba(245,245,247,.55); }
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4,
.section.dark .headline, .section.dark .section-headline, .section.dark .tile-headline { color: #f5f5f7; }
.section.dark .subhead { color: rgba(245,245,247,.8); }
.section.dark .subhead.muted { color: rgba(245,245,247,.6); }
.section.dark .lead { color: rgba(245,245,247,.65); }
.section.dark .link { color: #2997ff; }
.section.dark .link:hover { color: #5ac3ff; }
.section.dark .card { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.09); }
.section.dark .card h3 { color: #f5f5f7; }
.section.dark .card p { color: rgba(245,245,247,.65); }
.section.dark .card .ic { background: rgba(255,255,255,.1); box-shadow: none; }
.section.dark .card:hover { box-shadow: 0 12px 40px -10px rgba(255,255,255,.06); }
.section.dark .stat { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.09); }
.section.dark .stat .sv { color: #f5f5f7; }
.section.dark .stat .sl { color: rgba(245,245,247,.55); }
.section.dark .btn-blue { background: #2997ff; }
.section.dark .btn-blue:hover { background: #3da8ff; }
.section.dark .btn-line { color: #2997ff; border-color: rgba(41,151,255,.4); }

/* ---------- Split hero (text + device side-by-side) ---------- */
.hero.split { padding-bottom: clamp(60px, 8vw, 80px); }
.hero.split .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  text-align: left;
}
.hero.split .wrap > .hero-text { animation: none; opacity: 1; transform: none; }
.hero.split .hero-text > * { animation: heroIn .9s var(--ease) both; }
.hero.split .hero-text > *:nth-child(1) { animation-delay: .08s; }
.hero.split .hero-text > *:nth-child(2) { animation-delay: .18s; }
.hero.split .hero-text > *:nth-child(3) { animation-delay: .28s; }
.hero.split .hero-text > *:nth-child(4) { animation-delay: .38s; }
.hero.split .wrap > .hero-media { animation-delay: .55s; }
.hero.split .headline { max-width: none; }
.hero.split .subhead { max-width: none; }
.hero.split .lead { max-width: 52ch; margin-left: 0; margin-right: 0; }
.hero.split .actions { justify-content: flex-start; margin-top: 28px; }
.hero.split .hero-text { display: flex; flex-direction: column; gap: 16px; }
.hero.split .hero-media { display: flex; justify-content: center; align-items: flex-end; }
.hero.split .hero-media .device { width: clamp(210px, 26vw, 290px); }

/* ---------- Feature row (text + device alternating) ---------- */
.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 120px) var(--gutter);
}
.feat-row.flip .fr-media { order: -1; }
.feat-row .fr-body { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.feat-row .fr-media { display: flex; justify-content: center; align-items: center; }
.feat-row .fr-media .device { width: clamp(200px, 26vw, 280px); }
/* Override section text defaults inside feat-row */
.feat-row .section-headline { margin-left: 0; margin-right: 0; max-width: none; }
.feat-row .headline { margin-left: 0; margin-right: 0; max-width: none; }
.feat-row .subhead { margin: 0; max-width: 40ch; }
.feat-row .lead { margin: 0; max-width: 52ch; }
.feat-row .eyebrow { margin-bottom: 0; }
.feat-row .actions { margin-top: 20px; justify-content: flex-start; }
/* Feat-row sections remove their own padding (row handles it) */
.section.feat-section { padding: 0; }
.section.feat-section + .section::before { display: none; }
.section + .section.feat-section::before { display: none; }

/* ---------- Colored gradient icon variants ---------- */
.ic.ic-blue   { background: linear-gradient(145deg, #0a84ff, #0071e3) !important; color: #fff !important; box-shadow: 0 4px 18px -4px rgba(0,113,227,.5) !important; }
.ic.ic-purple { background: linear-gradient(145deg, #bf5af2, #7d39ee) !important; color: #fff !important; box-shadow: 0 4px 18px -4px rgba(125,57,238,.4) !important; }
.ic.ic-green  { background: linear-gradient(145deg, #30d158, #28b84d) !important; color: #fff !important; box-shadow: 0 4px 18px -4px rgba(40,184,77,.4) !important; }
.ic.ic-orange { background: linear-gradient(145deg, #ff9f0a, #e67200) !important; color: #fff !important; box-shadow: 0 4px 18px -4px rgba(230,114,0,.4) !important; }
.ic.ic-teal   { background: linear-gradient(145deg, #5ac8f5, #32ade6) !important; color: #fff !important; box-shadow: 0 4px 18px -4px rgba(50,173,230,.4) !important; }

/* ---------- App Store badge ---------- */
.badge-as {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #000;
  color: #fff;
  border-radius: 14px;
  padding: 11px 20px;
  text-decoration: none;
  transition: opacity .2s;
  flex-shrink: 0;
}
.badge-as:hover { opacity: .82; }
.badge-as svg { width: 24px; height: 24px; fill: #fff; flex-shrink: 0; }
.bas-sub { font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; opacity: .75; line-height: 1; display: block; }
.bas-name { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; display: block; line-height: 1.2; }

/* Hero chips — editorial hero accent */
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: clamp(26px, 4vw, 36px); }
.chip { display: inline-flex; align-items: center; gap: 7px; background: rgba(0,0,0,.04); border: 1px solid rgba(0,0,0,.07); border-radius: 980px; padding: 7px 16px; font-size: .875rem; color: var(--muted); letter-spacing: -.01em; line-height: 1; }
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.chip-num { font-size: .78rem; font-weight: 700; color: var(--blue); letter-spacing: .02em; }

/* Hero icon (company / branded pages) */
.hero-icon { width: clamp(64px, 8vw, 80px); height: clamp(64px, 8vw, 80px); border-radius: clamp(14px, 1.8vw, 18px); margin: 0 auto clamp(18px, 3vw, 26px); box-shadow: 0 8px 30px -8px rgba(0,0,0,.22); display: block; }

/* Facts — add gutter padding for small viewports */
.facts { padding-inline: var(--gutter); }

/* Text-only tile (no tile-media) — restore bottom padding */
.tiles2 .tile.padded { padding-bottom: clamp(34px, 4vw, 52px); }
.tiles2 .tile.padded .tile-headline { margin-top: 6px; }

/* ---------- Scrolling fact strip ---------- */
.fact-strip { overflow: hidden; border-top: 1px solid var(--hair-soft); border-bottom: 1px solid var(--hair-soft); padding: 15px 0; background: var(--bg); }
.fact-strip-inner { display: flex; gap: 52px; width: max-content; animation: factMarquee 38s linear infinite; }
@keyframes factMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.fs-item { white-space: nowrap; font-size: .9375rem; color: var(--muted); display: flex; align-items: center; gap: 10px; letter-spacing: -.01em; }
.fs-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards, .cards.two, .steps, .footer-cols { grid-template-columns: 1fr 1fr; }
  .tiles2, .app-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.cta) { display: none; }
}
@media (max-width: 760px) {
  .hero.split .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero.split .hero-text { align-items: center; }
  .hero.split .subhead, .hero.split .lead { max-width: 44ch; }
  .hero.split .actions { justify-content: center; }
  .hero.split .hero-media { order: -1; padding-bottom: 10px; }
  .feat-row { grid-template-columns: 1fr; gap: 32px; padding-block: clamp(50px, 8vw, 80px); direction: ltr; }
  .feat-row.flip .fr-media { order: 0; }
  .feat-row .fr-body { align-items: center; text-align: center; }
  .feat-row .fr-body .section-headline { max-width: 22ch; }
  .feat-row .fr-body .subhead, .feat-row .fr-body .lead { max-width: 100%; }
  .feat-row .actions { justify-content: center; }
}
@media (max-width: 600px) {
  .cards, .steps, .stats { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .fact { grid-template-columns: 1fr; gap: 4px; }
  .proc-step { grid-template-columns: 1fr; gap: 10px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fact-strip-inner { animation: none; }
}
