/* AppSynergies look: gold (#bd996a) on warm white, Poppins headings, as on appsynergies.com.
   Light is the default; [data-theme="dark"] switches every token. */
:root, [data-theme="light"] {
  --bg: #fbf7f1;
  --bg2: #ffffff;
  --surface: #ffffff;
  --surface2: #f6efe5;
  --line: rgba(27, 25, 25, .11);
  --fg: #1b1919;
  --muted: #55504a;
  --faint: #6d665e;
  --eyebrow: #7a4f16;
  --accent: #8a5a1c;
  --shadow: 0 24px 60px -32px rgba(122, 82, 28, .35);
  --grad: linear-gradient(90deg, #7a4f16, #a56a1f 55%, #bd8a45);
  --btn: linear-gradient(90deg, #1b1919, #3a2c1a);
  --btn-fg: #ffffff;
  --header: rgba(255, 255, 255, .84);
  --grid: rgba(27, 25, 25, .06);
  --hero-veil: linear-gradient(180deg, rgba(251, 247, 241, .72), rgba(251, 247, 241, .86) 55%, #fbf7f1);
  --hero-img-opacity: .55;
  --logo-tile: #f7f3ec;
  --input: #ffffff;
  --tint-violet: linear-gradient(135deg, #fbeedc, #ffffff 55%, #fff6ea);
  --tint-sky: linear-gradient(135deg, #f6ead8, #ffffff 60%);
  --tint-indigo: linear-gradient(135deg, #f3e4cc, #ffffff 55%, #fffaf4);
  --tint-emerald: linear-gradient(135deg, #efe6d6, #ffffff 55%, #fbf5ea);
  --brand-filter: none;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0b0a09;
  --bg2: #131110;
  --surface: rgba(255, 255, 255, .045);
  --surface2: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .1);
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, .68);
  --faint: rgba(255, 255, 255, .48);
  --eyebrow: #e6c79c;
  --accent: #e6c79c;
  --shadow: 0 30px 80px -40px rgba(0, 0, 0, .9);
  --grad: linear-gradient(90deg, #f3d3a8, #cfa66f 55%, #e9b872);
  --btn: linear-gradient(90deg, #f3d3a8, #bd996a);
  --btn-fg: #1b1919;
  --header: rgba(14, 12, 10, .84);
  --grid: rgba(255, 255, 255, .06);
  --hero-veil: linear-gradient(180deg, rgba(11, 10, 9, .55), rgba(11, 10, 9, .78) 55%, #0b0a09);
  --hero-img-opacity: .5;
  --logo-tile: #f7f3ec;
  --input: rgba(255, 255, 255, .06);
  --tint-violet: linear-gradient(135deg, rgba(189, 153, 106, .22), rgba(255, 255, 255, .03) 55%, rgba(243, 211, 168, .08));
  --tint-sky: linear-gradient(135deg, rgba(243, 211, 168, .16), rgba(255, 255, 255, .03) 60%);
  --tint-indigo: linear-gradient(135deg, rgba(173, 127, 58, .22), rgba(255, 255, 255, .03) 55%, rgba(189, 153, 106, .08));
  --tint-emerald: linear-gradient(135deg, rgba(189, 153, 106, .14), rgba(255, 255, 255, .03) 55%, rgba(243, 211, 168, .06));
  --brand-filter: none;
  color-scheme: dark;
}
:root {
  --brand1: #f3d3a8;
  --brand2: #bd996a;
  --brand3: #ad7f3a;
  --wa: #25d366;
  --wa-ink: #128c4a;
  --radius: 20px;
  --heading: Poppins, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 16px/1.6 Inter, -apple-system, system-ui, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif; color: var(--fg); background: var(--bg); transition: background-color .3s, color .3s; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--heading); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 800; }
h1 { font-size: clamp(2.7rem, 7vw, 4.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
.wrap { width: min(1280px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.bg2 { background: var(--bg2); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .16em; margin-bottom: -.16em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--eyebrow); font-size: .85rem; font-weight: 600; box-shadow: 0 1px 2px rgba(27, 25, 25, .04); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand2); box-shadow: 0 0 0 3px rgba(189, 153, 106, .2); }
.section-head { margin-bottom: 36px; }
.section-head.center { text-align: center; }
.section-head.center .muted { margin-inline: auto; }
.section-head .muted { max-width: 640px; margin-top: 0; font-size: 1.06rem; }
section { position: relative; }
.tint-violet { background: var(--tint-violet); }
.tint-sky { background: var(--tint-sky); }
.tint-indigo { background: var(--tint-indigo); }
.tint-emerald { background: var(--tint-emerald); }

/* Buttons: pills with the brand gradient, like the main site */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px; border-radius: 999px; border: 0;
  background: var(--btn); color: var(--btn-fg); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center;
  box-shadow: 0 10px 30px -10px rgba(189, 153, 106, .9); transition: transform .2s, box-shadow .2s, filter .2s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 16px 36px -12px rgba(189, 153, 106, .95); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 52px; padding: 12px 28px; font-size: 1.04rem; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: .9rem; }
.btn-ghost { background: var(--surface); color: var(--fg); border: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgba(27, 25, 25, .35); }
.btn-ghost:hover { filter: none; box-shadow: 0 14px 34px -16px rgba(27, 25, 25, .4); }
:focus-visible { outline: 3px solid rgba(189, 153, 106, .55); outline-offset: 2px; }

/* WhatsApp glyph (mask, takes the text colour) and the AppSynergies logo */
.wa-ico { display: inline-block; width: 18px; height: 18px; background: currentColor; flex-shrink: 0;
  -webkit-mask: url(assets/brand/whatsapp.svg) center / contain no-repeat; mask: url(assets/brand/whatsapp.svg) center / contain no-repeat; }
.wa-ico-lg { width: 28px; height: 28px; }
.wa-green { color: var(--wa); width: 20px; height: 20px; }
.brand-mark { display: inline-block; width: 38px; height: 38px; flex-shrink: 0; background: url(assets/brand/as-logo.svg) center / contain no-repeat; }

/* Header */
.nav { position: sticky; top: 0; z-index: 40; background: transparent; transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: var(--header); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px rgba(27, 25, 25, .3); }
.nav-in { display: flex; align-items: center; gap: 18px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--heading); font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--fg); letter-spacing: -.01em; }
.nav-links { display: flex; gap: 4px; margin-left: 28px; }
.nav-links a { padding: 10px 12px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .94rem; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--fg); background: var(--surface2); }
.nav-phone { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; color: var(--muted); font-weight: 600; font-size: .92rem; text-decoration: none; border-radius: 999px; }
.nav-phone:hover { color: var(--fg); }
.nav-phone .wa-ico { color: var(--wa); }

/* Theme switch (pill track + gradient knob, like the main site) */
.theme-toggle { position: relative; width: 70px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; padding: 0; flex-shrink: 0; }
.theme-toggle .knob { position: absolute; top: 4px; left: 4px; width: 34px; height: 34px; border-radius: 50%; background: var(--btn); display: grid; place-items: center;
  box-shadow: 0 6px 16px -6px rgba(189, 153, 106, .9); transition: transform .3s; }
[data-theme="dark"] .theme-toggle .knob { transform: translateX(26px); }
.theme-toggle .sun, .theme-toggle .moon { grid-area: 1 / 1; transition: opacity .3s, transform .3s; }
.theme-toggle .sun { width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); opacity: 0; transform: scale(.6); }
.theme-toggle .moon { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset -4px -2px 0 0 #fff; transform: rotate(-20deg); }
[data-theme="dark"] .theme-toggle .sun { opacity: 1; transform: scale(1); }
[data-theme="dark"] .theme-toggle .moon { opacity: 0; }

/* Hero: same layer stack as the main site */
.hero { background: var(--bg); overflow: hidden; isolation: isolate; margin-top: -72px; padding-top: 72px; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.25); opacity: var(--hero-img-opacity); z-index: -4; }
.hero-veil { position: absolute; inset: 0; background: var(--hero-veil); z-index: -3; }
.hero-grid { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 30%, transparent 75%); }
.orb { position: absolute; border-radius: 50%; filter: blur(120px); z-index: -2; }
.orb-a { left: -8rem; top: 2.5rem; width: 420px; height: 420px; background: rgba(189, 153, 106, .25); }
.orb-b { right: -6rem; top: 33%; width: 380px; height: 380px; background: rgba(243, 211, 168, .2); }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .6; pointer-events: none; }
.hero-lines path { stroke-dasharray: 2200; stroke-dashoffset: 2200; animation: draw 2.4s .6s ease-in-out forwards; }
.hero-lines path + path { animation-delay: 1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 72px 0 96px; min-height: calc(100svh - 72px); }
.hero h1 { margin-bottom: .35em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 590px; }
.lead strong { color: var(--fg); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 42px; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: var(--heading); font-size: 2rem; font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { color: var(--faint); font-size: .86rem; }

.collage { position: relative; width: 100%; aspect-ratio: 1 / 1.02; max-height: 580px; }
.collage figure { position: absolute; margin: 0; width: 78%; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 30px 70px -28px rgba(122, 82, 28, .45); backdrop-filter: blur(6px); }
[data-theme="dark"] .collage figure { background: #10121f; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9); }
[data-theme="dark"] .collage figcaption { background: #161a2e; border-color: rgba(255, 255, 255, .16); }
[data-theme="dark"] .collage .browser-bar span { background: rgba(255, 255, 255, .06); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #fbbf24; }
.browser-bar i + i { background: #34d399; }
.browser-bar span { margin-left: 6px; font-size: .72rem; color: var(--muted); padding: 2px 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.collage img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.collage figure:nth-child(1) { top: 0; right: 0; }
.collage figure:nth-child(2) { top: 25%; left: 0; z-index: 2; }
.collage figure:nth-child(3) { top: 50%; right: 4%; z-index: 3; width: 70%; }
.collage figcaption { position: absolute; bottom: 10px; left: 10px; font-size: .74rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--surface); color: var(--fg); border: 1px solid var(--line); box-shadow: 0 6px 18px -8px rgba(27, 25, 25, .4); }

/* Client logos (same plates as the main site's light theme) */
.logos { padding: 40px 0 44px; background: var(--bg); overflow: hidden; }
.logos-title { text-align: center; color: var(--faint); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 20px; padding-inline: 20px; }
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); padding-block: 4px; }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: scroll 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-tile { width: 140px; height: 70px; border-radius: 16px; border: 1px solid rgba(27, 25, 25, .08); background: var(--logo-tile); box-shadow: 0 1px 2px rgba(27, 25, 25, .04);
  padding: 10px 14px; flex-shrink: 0; overflow: hidden; }
.logo-tile img { width: 100%; height: 100%; object-fit: contain; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Website types */
.types { padding: 96px 0 72px; }
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.type-tile { text-align: left; font: inherit; color: inherit; cursor: pointer; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--surface);
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.type-tile:hover { transform: translateY(-4px); border-color: rgba(189, 153, 106, .45); box-shadow: 0 30px 60px -30px rgba(189, 153, 106, .55); }
.type-tile .n { font-family: var(--heading); font-size: 2.3rem; font-weight: 800; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.type-tile strong { font-family: var(--heading); font-size: 1.05rem; }
.type-tile span.d { color: var(--muted); font-size: .9rem; }
.type-tile.featured { background: var(--tint-violet); border-color: rgba(189, 153, 106, .35); }

/* AI steps */
.ai { padding: 96px 0; background: var(--bg); }
.ai-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.ai-in .muted { font-size: 1.06rem; max-width: 460px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.steps li { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.steps span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--btn-fg); font-weight: 800; margin-bottom: 16px; background: var(--btn);
  box-shadow: 0 8px 20px -8px rgba(189, 153, 106, .9); }
.steps p { margin: 0; color: var(--muted); font-size: .94rem; }

/* Showcase */
.work { padding: 96px 0; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 36px; }
.filters button { font: inherit; font-size: .92rem; font-weight: 600; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.filters button:hover { color: var(--fg); border-color: rgba(189, 153, 106, .45); }
.filters button span { color: var(--faint); font-weight: 500; margin-left: 4px; }
.filters button[aria-selected="true"] { background: var(--btn); color: var(--btn-fg); border-color: transparent; box-shadow: 0 10px 24px -12px rgba(189, 153, 106, .9); }
.filters button[aria-selected="true"] span { color: rgba(255, 255, 255, .8); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.card { container-type: inline-size; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface);
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: rgba(189, 153, 106, .4); box-shadow: 0 30px 60px -30px rgba(189, 153, 106, .55); }
.card[hidden] { display: none; }
.card-multi { border-color: rgba(189, 153, 106, .35); }
.shot { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--surface2); overflow: hidden; border-bottom: 1px solid var(--line); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s; }
.card:hover .shot img { transform: scale(1.04); }
.tag { position: absolute; top: 12px; left: 12px; font-size: .74rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: #0b1020; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.card-multi .tag { background: var(--btn); color: var(--btn-fg); }
.live { position: absolute; top: 12px; right: 12px; font-size: .72rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(11, 16, 32, .78); color: #fff; display: flex; align-items: center; gap: 6px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .3); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.card-top h3 { margin: 0; }
.industry { font-size: .8rem; color: var(--faint); text-align: right; }
.card-body p { color: var(--muted); font-size: .94rem; margin: 8px 0 14px; }
.chips { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .76rem; padding: 4px 10px; border-radius: 999px; background: var(--surface2); border: 1px solid var(--line); color: var(--muted); }
.card-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-actions .btn { white-space: nowrap; flex-shrink: 0; }
.link { font-size: .86rem; color: var(--accent); text-decoration: none; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; padding-block: 8px; }
.link:hover { text-decoration: underline; }
@container (max-width: 400px) {
  .card-actions { flex-direction: column; align-items: stretch; gap: 4px; }
  .link { text-align: center; }
}

/* More platforms (no public link) */
.more { margin-top: 64px; }
.more > h3 { font-size: 1.5rem; }
.more > p { max-width: 720px; margin-top: -4px; }
.more-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.more-list li { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; background: var(--surface); }
.more-list li[hidden] { display: none; }
.more-list li.more-multi { border-color: rgba(189, 153, 106, .35); background: var(--tint-violet); }
.more-list div { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.more-list p { margin: 0; color: var(--muted); font-size: .9rem; flex: 1; }
.more-tag { font-size: .72rem; color: var(--faint); white-space: nowrap; }
.more-multi .more-tag { color: var(--accent); font-weight: 600; }
.more-list a { font-size: .86rem; font-weight: 600; color: var(--accent); text-decoration: none; padding-block: 6px; align-self: flex-start; }
.more-list a:hover { text-decoration: underline; }
.more-toggle { display: none; margin-top: 16px; font: inherit; font-weight: 600; color: var(--accent); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; min-height: 48px; padding: 12px 18px; cursor: pointer; width: 100%; }

/* Pricing */
.pricing { padding: 96px 0; background: var(--bg); }
.pricing-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 48px; border-radius: 28px; border: 1px solid rgba(189, 153, 106, .3); box-shadow: var(--shadow); }
.pricing-card .muted { max-width: 460px; font-size: 1.06rem; }
.included { list-style: none; padding: 26px 28px; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.included li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid var(--line); }
.included li:last-child { border-bottom: 0; }
.included li::before { content: "✓"; position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--btn); color: var(--btn-fg); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }

/* Founder */
.founder { padding: 96px 0; }
.founder-in { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.founder-in img { width: 300px; height: 300px; border-radius: 50%; object-fit: cover; }
.founder h2 { margin-bottom: 4px; }
.role { font-weight: 600; color: var(--accent); margin: 0 0 14px; }
.founder .muted { max-width: 640px; font-size: 1.04rem; }
.founder-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font-weight: 600; font-size: .92rem; text-decoration: none; }
.chip-link:hover { border-color: rgba(189, 153, 106, .45); color: var(--accent); }

/* Order */
.order { padding: 96px 0; background: var(--bg); }
.order-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.order-in .muted { font-size: 1.04rem; }
.wa-card { display: inline-flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 24px 14px 18px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(37, 211, 102, .7); transition: background .2s, transform .2s; }
.wa-card:hover { background: var(--wa-ink); transform: translateY(-2px); }
.wa-card small { display: block; font-size: .78rem; opacity: .9; }
.wa-card strong { font-size: 1.2rem; letter-spacing: .01em; }
.form { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); padding: 30px; border-radius: 24px; box-shadow: var(--shadow); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.form .opt { font-weight: 400; color: var(--faint); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; color: var(--fg); padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--input); width: 100%; }
.form select option, .form select optgroup { color: #0b1020; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand2); box-shadow: 0 0 0 3px rgba(189, 153, 106, .2); }

/* FAQ */
.faq { padding: 96px 0; }
.faq-in { max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; margin-bottom: 12px; background: var(--surface); }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* Footer: oversized wordmark behind four columns */
.footer { position: relative; overflow: hidden; background: var(--bg2); color: var(--fg); border-top: 1px solid var(--line); }
.footer-line { position: absolute; inset: 0 0 auto; height: 1px; overflow: hidden; }
.footer-line i { display: block; height: 1px; width: 33%; background: linear-gradient(90deg, transparent, #bd996a, transparent); animation: sweep 6s linear infinite; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
.footer-glow { position: absolute; left: 50%; bottom: -10rem; width: 48rem; max-width: 100%; height: 20rem; transform: translateX(-50%); border-radius: 50%; background: rgba(189, 153, 106, .15); filter: blur(120px); pointer-events: none; }
.footer-word { position: absolute; inset: auto 0 0; z-index: 0; pointer-events: none; user-select: none; }
.footer-word svg { display: block; width: min(1280px, 100% - 40px); height: auto; margin: 0 auto; padding-bottom: 12px; opacity: .16; }
.footer-word text { font-family: var(--heading); font-size: 150px; font-weight: 900; letter-spacing: -.04em; }
.footer-inner { position: relative; z-index: 1; padding-top: 16px; /* room for the wordmark: its height is 17.5% of its width */
  padding-bottom: calc(min(100vw - 40px, 1280px) * .175 + 20px); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 48px 0; }
.footer-cols h3 { margin: 0; font-family: inherit; font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.footer-cols ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 4px; font-size: .95rem; }
.footer-cols ul.two-col { grid-template-columns: 1fr; }
.footer-cols a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; min-width: 44px; color: var(--muted); text-decoration: none; word-break: break-word; }
.footer-cols a:hover { color: var(--fg); }
.footer-cols a strong { color: var(--fg); }
.footer-cols .ico { width: 16px; height: 16px; }
.footer-cols .wa-ico { width: 16px; height: 16px; color: var(--wa); }
.footer-base { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.footer-base p { margin: 0; font-size: .88rem; color: var(--faint); }
.footer-social, #social-list { display: flex; align-items: center; gap: 8px; }
.social, .to-top { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--fg); text-decoration: none; transition: transform .2s; }
.social { border: 1px solid var(--line); background: var(--surface); }
.social:hover { transform: translateY(-3px) rotate(-6deg); }
.social .ico { width: 18px; height: 18px; }
.to-top { margin-left: 8px; color: #1b1919; background: linear-gradient(135deg, #f3d3a8, #bd996a); }
.to-top .ico { width: 20px; height: 20px; }
.ico-instagram { --i: url(assets/icons/instagram.svg); }
.ico-facebook { --i: url(assets/icons/facebook.svg); }
.ico-linkedin { --i: url(assets/icons/linkedin.svg); }
.ico-x { --i: url(assets/icons/x.svg); }
.ico-arrow-up { --i: url(assets/icons/arrow-up.svg); }
.ico-map-pin { --i: url(assets/icons/map-pin.svg); }
@media (max-width: 1000px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .footer-cols { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .footer-cols ul.two-col { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .footer-base { flex-direction: column-reverse; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .footer-line i { animation: none; } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; text-decoration: none;
  font-weight: 700; padding: 12px 20px 12px 14px; border-radius: 999px; box-shadow: 0 10px 28px -6px rgba(37, 211, 102, .55); transition: background .15s, transform .25s, opacity .25s; }
.wa-float:hover { background: var(--wa-ink); transform: translateY(-2px); }
.wa-float.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

@media (max-width: 1180px) {
  .nav-links { display: none; }
}
@media (max-width: 1000px) {
  .hero-in { grid-template-columns: 1fr; padding: 48px 0 64px; min-height: 0; }
  .collage { max-width: 560px; margin-inline: auto; }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-in, .pricing-card, .order-in { grid-template-columns: 1fr; }
  .pricing-card { padding: 32px; }
}
@media (max-width: 900px) {
  .founder-in { grid-template-columns: 1fr; }
  .founder-in img { width: 200px; height: 200px; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .nav-phone { display: none; }
  .theme-toggle { margin-left: auto; }
  .nav-cta { padding-inline: 14px; }
  .types, .ai, .work, .pricing, .founder, .order, .faq { padding: 64px 0; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .type-grid { grid-template-columns: 1fr; gap: 10px; }
  .type-tile { padding: 14px 16px; display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; align-items: center; }
  .type-tile .n { grid-row: span 2; font-size: 1.8rem; text-align: center; }
  .type-tile strong, .type-tile span.d { grid-column: 2; }
  .more-list.collapsed li:nth-child(n+7) { display: none; }
  .more-toggle { display: block; }
  .hero-stats { gap: 18px 26px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -20px; padding: 0 20px 6px; scrollbar-width: none; }
  .filters button { flex-shrink: 0; }
  .wa-float-text { display: none; }
  .wa-float { padding: 14px; }
  .pricing-card { padding: 24px; }
  .form { padding: 22px; }
}
@media (max-width: 440px) {
  .nav-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .marquee-track, .wa-float::after { animation: none; }
  .hero-lines path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- Icons (masks, take the text colour) ---------- */
.ico { display: inline-block; width: 20px; height: 20px; background: currentColor; flex-shrink: 0; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ico-phone { --i: url(assets/icons/phone.svg); }
.ico-cal { --i: url(assets/icons/cal.svg); }
.ico-mail { --i: url(assets/icons/mail.svg); }
.ico-msg { --i: url(assets/icons/msg.svg); }
.ico-x { --i: url(assets/icons/x.svg); }
.ico-search { --i: url(assets/icons/search.svg); }

/* ---------- Booking (Calendly, as on appsynergies.com) ---------- */
.book-link { display: inline-flex; align-items: center; gap: 8px; margin: -18px 0 34px; min-height: 44px; color: var(--accent); font-weight: 600; text-decoration: none; }
.book-link:hover { text-decoration: underline; }
.book-card { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 14px 22px 14px 18px; border-radius: 999px; width: fit-content; max-width: 100%;
  background: var(--surface); border: 1px solid var(--line); color: var(--fg); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.book-card:hover { transform: translateY(-2px); border-color: rgba(245, 158, 11, .5); }
.book-card .ico { width: 26px; height: 26px; color: #ea580c; }
.book-card small { display: block; font-size: .78rem; color: var(--faint); }
.book-card strong { font-size: 1.02rem; }
.order-in > div > .wa-card { display: flex; width: fit-content; }
.faq details p a { color: var(--accent); font-weight: 600; }

/* ---------- Countries ---------- */
.countries { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 26px; }
.countries-label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.flag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.flag-list li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .8rem; font-weight: 600; color: var(--muted); }
.flag { width: 22px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(15, 23, 42, .12); flex-shrink: 0; display: inline-block; }
.flag-list .flag { width: 24px; height: 24px; border-radius: 50%; }
.card-country { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--faint); margin-top: 4px; }
.card-country .flag + .flag { margin-left: -2px; }
.shot .flag-badge { position: absolute; bottom: 10px; left: 12px; display: flex; gap: 4px; padding: 4px; border-radius: 8px; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }

/* ---------- Search ---------- */
.search { position: relative; max-width: 760px; margin: 0 auto 10px; }
.search .ico-search { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.search input { width: 100%; min-height: 58px; padding: 14px 52px 14px 54px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg);
  font: inherit; font-size: 1.02rem; box-shadow: var(--shadow); -webkit-appearance: none; appearance: none; }
.search input::-webkit-search-cancel-button { display: none; }
.search input::placeholder { color: var(--faint); }
.search input:focus { outline: none; border-color: var(--brand2); box-shadow: 0 0 0 4px rgba(189, 153, 106, .18), var(--shadow); }
.search-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface2); color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.search-hints { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 0 auto 26px; max-width: 760px; font-size: .84rem; color: var(--faint); }
.search-hints button { font: inherit; font-size: .82rem; font-weight: 600; padding: 6px 12px; min-height: 34px; border-radius: 999px; border: 1px dashed rgba(189, 153, 106, .45); background: transparent; color: var(--accent); cursor: pointer; }
.search-hints button:hover { background: var(--surface2); }
.result-count { text-align: center; margin: -18px 0 22px; font-size: .9rem; color: var(--faint); min-height: 1.4em; }
.no-results { text-align: center; padding: 40px 20px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 24px; }
.no-results p { color: var(--muted); margin: 0 0 16px; }
mark.hl { background: rgba(189, 153, 106, .2); color: inherit; border-radius: 3px; padding: 0 1px; }

/* ---------- Floating contact (WhatsApp + contact menu) ---------- */
.fab-stack { position: fixed; z-index: 50; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, calc(env(safe-area-inset-bottom) + .75rem));
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab-stack .wa-float { position: relative; right: auto; bottom: auto; }
.fab { position: relative; }
.fab-btn { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer; color: #1b1919;
  background: linear-gradient(135deg, #d9b27c, #bd996a 55%, #ad7f3a); box-shadow: 0 14px 40px -10px rgba(189, 153, 106, .9); transition: transform .2s; }
.fab-btn:hover { transform: scale(1.05); }
.fab-btn .ico { width: 24px; height: 24px; position: relative; transition: transform .25s; }
.fab-btn[aria-expanded="true"] .ico { --i: url(assets/icons/x.svg); transform: rotate(90deg); }
.fab-btn .ping { position: absolute; inset: 0; border-radius: 50%; background: rgba(189, 153, 106, .35); animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
.fab-btn[aria-expanded="true"] .ping { display: none; }
@keyframes ping { 75%, 100% { transform: scale(1.6); opacity: 0; } }
.fab-menu { position: absolute; right: 0; bottom: 72px; width: min(19rem, calc(100vw - 2rem)); list-style: none; margin: 0; padding: 8px; border-radius: 24px;
  background: var(--bg2); border: 1px solid var(--line); box-shadow: 0 24px 60px -24px rgba(27, 25, 25, .45); transform-origin: bottom right; animation: fab-in .22s ease; }
[data-theme="dark"] .fab-menu { background: rgba(6, 7, 12, .97); }
@keyframes fab-in { from { opacity: 0; transform: scale(.88) translateY(10px); } }
.fab-menu a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 10px; border-radius: 16px; text-decoration: none; color: var(--fg); }
.fab-menu a:hover, .fab-menu a:focus-visible { background: var(--surface2); outline: none; }
.fab-menu .bubble { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; flex-shrink: 0; }
.fab-menu .bubble .ico, .fab-menu .bubble .wa-ico { width: 18px; height: 18px; }
.fab-menu strong { display: block; font-size: .9rem; }
.fab-menu small { display: block; font-size: .75rem; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tone-call { background: linear-gradient(135deg, #ad7f3a, #7a4f16); }
.tone-wa { background: linear-gradient(135deg, #25D366, #128C7E); }
.tone-meet { background: linear-gradient(135deg, #F59E0B, #EA580C); }
.tone-mail { background: linear-gradient(135deg, #3a2c1a, #1b1919); }
@media (max-width: 640px) { .book-link { margin-top: -12px; } }
@media (prefers-reduced-motion: reduce) { .fab-btn .ping { display: none; } .fab-menu { animation: none; } }
.fab-stack.open .wa-float { opacity: 0; transform: translateY(16px); pointer-events: none; }
@media (max-width: 560px) {
  .search-hints { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -20px; padding: 0 20px 6px; scrollbar-width: none; white-space: nowrap; }
  .search-hints button { flex-shrink: 0; }
  .search input { font-size: 16px; } /* no iOS zoom on focus */
}
.cta-short { display: none; }
@media (max-width: 640px) { .cta-long { display: none; } .cta-short { display: inline; } .nav-in { gap: 10px; } }

/* ---------- "We can build anything" ---------- */
.anything { padding: 96px 0; background: var(--bg); }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cap { display: flex; flex-direction: column; gap: 6px; text-align: left; font: inherit; color: inherit; cursor: pointer; text-decoration: none;
  padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); transition: transform .25s, border-color .25s, box-shadow .25s; }
.cap:hover { transform: translateY(-4px); border-color: rgba(189, 153, 106, .45); box-shadow: 0 30px 60px -30px rgba(189, 153, 106, .55); }
.cap strong { font-family: var(--heading); font-size: 1.12rem; letter-spacing: -.01em; }
.cap .d { color: var(--muted); font-size: .9rem; flex: 1; }
.cap-go { margin-top: 8px; font-size: .86rem; font-weight: 700; color: var(--accent); }
.cap-big { grid-column: span 2; background: var(--tint-violet); border-color: rgba(189, 153, 106, .35); }
.cap-big strong { font-size: 1.5rem; }
.cap-cta { grid-column: span 2; background: var(--btn); color: var(--btn-fg); border-color: transparent; }
.cap-cta .d, .cap-cta .cap-go { color: rgba(255, 255, 255, .88); }

/* ---------- Platform tag + CRM cards ---------- */
.platform { position: absolute; bottom: 12px; left: 12px; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #21759b; color: #fff; }
.live.private { background: rgba(11, 16, 32, .78); }
.live.private::before { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, .3); }
.crm-shot { background: linear-gradient(135deg, #f6efe5, #fdf8f0 55%, #f3e9da); display: grid; place-items: center; }
[data-theme="dark"] .crm-shot { background: linear-gradient(135deg, #1b1712, #221b12 55%, #17130e); }
.crm-ui { position: absolute; inset: 14% 8% 10%; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(122, 82, 28, .45);
  display: grid; grid-template-columns: 22% 1fr 1fr 1fr; grid-template-rows: 26% 1fr 1fr; gap: 8px; padding: 10px; opacity: .9; }
.crm-ui i { grid-row: 1 / -1; border-radius: 8px; background: var(--surface2); }
.crm-ui b { border-radius: 8px; background: linear-gradient(135deg, rgba(243, 211, 168, .35), rgba(189, 153, 106, .25)); }
.crm-ui em { grid-column: span 1; border-radius: 8px; background: var(--surface2); }
.crm-ui em:nth-of-type(1) { grid-column: 2 / 4; }
.crm-ui em:nth-of-type(3) { grid-column: 2 / -1; }
.crm-logo { position: relative; z-index: 1; width: 132px; height: 76px; border-radius: 16px; background: #fff; border: 1px solid rgba(27, 25, 25, .08); box-shadow: 0 16px 34px -14px rgba(27, 25, 25, .45);
  display: grid; place-items: center; padding: 10px 14px; }
.crm-logo img { width: 100%; height: 100%; object-fit: contain; }
.crm-logo span { font-family: var(--heading); font-weight: 800; font-size: 1.6rem; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card-crm .link { white-space: nowrap; }

@media (max-width: 1000px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .cap-grid { grid-template-columns: 1fr; gap: 10px; }
  .cap-big, .cap-cta { grid-column: auto; }
  .cap { padding: 18px; }
  .anything { padding: 64px 0; }
}
/* Header: never wrap; the phone number drops out first (it is in the floating WhatsApp + contact menu) */
.logo, .nav-links a, .nav-phone, .nav-cta { white-space: nowrap; }
@media (max-width: 1440px) { .nav-phone { display: none; } .theme-toggle { margin-left: auto; } }
@media (max-width: 560px) {
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .cap-big, .cap-cta { grid-column: 1 / -1; }
  .cap { padding: 14px; gap: 4px; }
  .cap:not(.cap-big):not(.cap-cta) strong { font-size: .98rem; }
  .cap:not(.cap-big):not(.cap-cta) .d { font-size: .8rem; }
}

/* ---------- Country pricing ---------- */
.price-where { color: inherit; text-decoration: underline dotted; text-underline-offset: 3px; }
.rates-head { display: flex; align-items: center; gap: 10px; margin: 22px 0 12px; font-weight: 600; font-size: .92rem; }
.rates-head select { font: inherit; font-weight: 600; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); max-width: 100%; }
.rates-head select option { color: #0b1020; }
.rates { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.rates button { width: 100%; display: grid; grid-template-columns: 22px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left;
  padding: 10px 12px; min-height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.rates button:hover { border-color: rgba(189, 153, 106, .45); }
.rates button[aria-pressed="true"] { border-color: var(--brand2); box-shadow: 0 0 0 3px rgba(189, 153, 106, .2); }
.rates .flag, .rates .globe { grid-row: span 2; }
.rates .globe { font-size: 18px; line-height: 1; text-align: center; }
.rate-name { font-size: .76rem; color: var(--faint); line-height: 1.2; }
.rates strong { font-size: .98rem; line-height: 1.3; }
.included { align-self: start; }
.rates-wrap { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 26px; }
.rates-wrap .rates-head { margin-top: 0; flex-wrap: wrap; }
.rates-wrap .rates-head h3 { margin: 0 auto 0 0; font-size: 1.2rem; }
.rates-wrap .rates { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin-bottom: 0; }
.included { align-self: center; }
@media (max-width: 560px) {
  .rates-wrap .rates { grid-template-columns: 1fr 1fr; gap: 6px; }
  .rates button { padding: 8px 10px; column-gap: 8px; grid-template-columns: 18px 1fr; }
  .rates .flag { width: 18px; height: 13px; }
  .rates strong { font-size: .88rem; }
  .rates-wrap .rates-head select { flex: 1 1 100%; }
}
.titles { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.titles li { padding: 6px 14px; border-radius: 999px; font-size: .88rem; font-weight: 700; border: 1px solid rgba(189, 153, 106, .35); background: var(--tint-violet); color: var(--fg); }

/* ---------- "View more" (8 at a time) + grid of four ---------- */
.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.more-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid, .more-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid, .more-list { grid-template-columns: 1fr; } }
.card-body { padding: 18px 18px 20px; }
.view-more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.view-more { font: inherit; font-weight: 700; min-height: 50px; padding: 12px 28px; border-radius: 999px; cursor: pointer; color: var(--fg);
  background: var(--surface); border: 1px solid rgba(189, 153, 106, .4); box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.view-more:hover { transform: translateY(-2px); border-color: var(--brand2); }
.view-more[hidden] { display: none; }

/* ---------- Motion ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #d9b27c, #bd996a, #ad7f3a); }
.motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22, 1, .36, 1) var(--d, 0ms), transform .7s cubic-bezier(.22, 1, .36, 1) var(--d, 0ms); }
.motion .reveal.in { opacity: 1; transform: none; }
/* hover lift + pointer tilt (cards keep their own hover shadow) */
.motion .card.in, .motion .type-tile.in, .motion .cap.in { transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .25s, border-color .25s; }
.motion .tilting { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-4px); }
/* hero entrance: each line rises in turn */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.motion .hero-copy > * { animation: rise .9s cubic-bezier(.22, 1, .36, 1) both; }
.motion .hero-copy > :nth-child(2) { animation-delay: .08s; }
.motion .hero-copy > :nth-child(3) { animation-delay: .18s; }
.motion .hero-copy > :nth-child(4) { animation-delay: .28s; }
.motion .hero-copy > :nth-child(5) { animation-delay: .36s; }
.motion .hero-copy > :nth-child(6) { animation-delay: .44s; }
.motion .hero-copy > :nth-child(7) { animation-delay: .52s; }
/* collage: screenshots arrive, then float */
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes pop { from { opacity: 0; scale: .9; } to { opacity: 1; scale: 1; } }
.motion .collage figure { animation: pop .9s cubic-bezier(.22, 1, .36, 1) both, float 7s ease-in-out 1s infinite; }
.motion .collage figure:nth-child(2) { animation-delay: .15s, 2.2s; }
.motion .collage figure:nth-child(3) { animation-delay: .3s, 3.4s; }
/* glow orbs drift; gradient headline shimmers */
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, 30px); } }
.motion .orb-a { animation: drift 16s ease-in-out infinite; }
.motion .orb-b { animation: drift 18s ease-in-out infinite reverse; }
@keyframes shimmer { to { background-position: 200% center; } }
.motion .hero .grad { background-image: linear-gradient(90deg, #7a4f16, #a56a1f, #bd8a45, #a56a1f, #7a4f16); background-size: 200% auto; animation: shimmer 6s linear infinite; }
[data-theme="dark"].motion .hero .grad { background-image: linear-gradient(90deg, #f3d3a8, #bd996a, #ad7f3a, #bd996a, #f3d3a8); }
@media (prefers-reduced-motion: reduce) { .progress { display: none; } }
.nav-in .theme-toggle { margin-left: auto; }
