:root {
  --bg: #ffffff;
  --bg-soft: #fdf6f1;
  --ink: #1f1408;
  --muted: #7a6a59;
  --line: #efe5db;
  --blue: #f5630a;
  --blue-2: #ff9a3c;
  --deep: #7a2c06;
  --cyan: #ffb020;
  --lav: #ffd0a3;
  --tint: #fff1e6;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-logo: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* ---------- Typography ---------- */
h1, h2, h3 { margin: 0; font-weight: 400; }
h1 { font-family: var(--font-display); font-size: clamp(44px, 7vw, 86px); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
  color: var(--blue); font-size: 12.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.13em;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.light { color: rgba(255,255,255,0.92); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 12px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 16px; font-weight: 600; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn.lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn.primary { background: var(--blue); color: #fff; box-shadow: 0 12px 28px rgba(245,99,10,0.28); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(245,99,10,0.4); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: rgba(255,255,255,0.5); }
.btn.light { background: #fff; color: var(--deep); box-shadow: 0 12px 30px rgba(40,16,4,0.18); }
.btn.light:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(40,16,4,0.26); }
.btn.outline { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.5); }
.btn.outline:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }

/* Apple-style liquid-glass buttons (for use over gradient/blue backgrounds) */
.btn.glass {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, rgba(255,255,255,0.24), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65), inset 0 -10px 22px rgba(255,255,255,0.06), 0 14px 34px rgba(40,16,4,0.28);
}
.btn.glass::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 36%, rgba(255,255,255,0.55) 50%, transparent 64%);
  background-size: 250% 100%; background-position: 180% 0; transition: background-position .7s ease;
}
.btn.glass:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.7); box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 20px 44px rgba(40,16,4,0.36); }
.btn.glass:hover::before { background-position: -50% 0; }
/* metallic light variant = primary */
.btn.glass.lead {
  color: #7a2c06;
  background: linear-gradient(160deg, rgba(255,255,255,0.95), rgba(255,224,198,0.62));
  border-color: rgba(255,255,255,0.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), inset 0 -10px 22px rgba(245,99,10,0.08), 0 16px 38px rgba(40,16,4,0.28);
}
.btn.glass.lead:hover { background: linear-gradient(160deg, #ffffff, rgba(255,224,198,0.8)); }

/* Founder top bar */
.topbar {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 9px 16px; text-align: center; font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em;
  color: #fff3ea; background: linear-gradient(90deg, #3a1606, #c2480b 50%, #3a1606);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar:hover .tb-arrow { transform: translateX(4px); }
.tb-arrow { display: inline-block; transition: transform .2s ease; }
.tb-dot { width: 7px; height: 7px; border-radius: 50%; background: #5ee6a8; box-shadow: 0 0 0 0 rgba(94,230,168,0.7); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(94,230,168,0.6); } 70% { box-shadow: 0 0 0 8px rgba(94,230,168,0); } 100% { box-shadow: 0 0 0 0 rgba(94,230,168,0); } }

/* Language toggle */
.lang { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); background: rgba(255,255,255,0.4); transition: background .15s ease, border-color .15s ease; }
.lang:hover { background: #fff; border-color: #f5d6bd; }

/* ---------- Liquid-glass nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; overflow: hidden;
  background: linear-gradient(135deg, rgba(255,224,196,0.66), rgba(255,201,150,0.5) 45%, rgba(255,228,202,0.62));
  backdrop-filter: saturate(190%) blur(22px);
  -webkit-backdrop-filter: saturate(190%) blur(22px);
  border-bottom: 1px solid rgba(255,210,168,0.6);
  box-shadow: inset 0 1px 0 rgba(255,243,232,0.8), inset 0 -1px 0 rgba(122,44,6,0.08), 0 8px 30px rgba(60,22,6,0.1);
  transition: box-shadow .3s ease, background .3s ease;
}
.nav.scrolled {
  background: linear-gradient(135deg, rgba(255,230,206,0.82), rgba(255,206,158,0.66) 45%, rgba(255,233,210,0.78));
  box-shadow: inset 0 1px 0 rgba(255,243,232,0.9), 0 10px 34px rgba(60,22,6,0.16);
}
/* metallic watery sheen sweeping across the bar */
.nav-sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.65) 48%, rgba(255,206,166,0.25) 52%, transparent 70%);
  background-size: 250% 100%;
  mix-blend-mode: screen;
  animation: sheen 7s linear infinite;
}
@keyframes sheen { 0% { background-position: 160% 0; } 100% { background-position: -60% 0; } }
.nav-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 14px clamp(20px, 4vw, 40px);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-logo); font-size: 27px; font-weight: 400; letter-spacing: -0.01em; color: var(--ink); }
.logo .mark {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(140deg, var(--blue), var(--blue-2)); color: #fff;
  font-family: var(--font-display); font-size: 21px; line-height: 1;
  box-shadow: 0 4px 12px rgba(245,99,10,0.4), inset 0 1px 0 rgba(255,255,255,0.5);
}
.logo.dark { color: #fff; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav-links a { position: relative; font-size: 15.5px; color: var(--muted); font-weight: 500; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--blue); border-radius: 2px; transition: width .25s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: 0; font-size: 22px; color: var(--ink); cursor: pointer; }
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 8px clamp(20px,4vw,40px) 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.92); backdrop-filter: blur(20px); position: relative; z-index: 1; }
.mobile-menu a { padding: 11px 0; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border: 0; margin-top: 8px; }
.mobile-menu.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 520px at 78% -10%, rgba(255,160,40,0.28), transparent 60%),
    linear-gradient(155deg, #220b03 0%, #7a2606 34%, #b8420a 62%, #e2560b 84%, #ff9a3c 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 85%);
}
.hero-glow {
  position: absolute; width: 620px; height: 620px; left: -160px; bottom: -260px;
  background: radial-gradient(circle, rgba(245,99,10,0.55), transparent 65%);
  filter: blur(20px); pointer-events: none; animation: drift 16s ease-in-out infinite;
}
.hero-glow.two { left: auto; right: -180px; top: -200px; bottom: auto; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,176,32,0.4), transparent 65%); animation-delay: -8s; }
@keyframes drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px,-30px); } }
.hero-inner { position: relative; z-index: 2; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 100px); }

/* bold statement */
.statement {
  font-size: clamp(52px, 9.5vw, 124px); line-height: 0.96; letter-spacing: -0.03em;
  color: #fff; text-shadow: 0 2px 30px rgba(0,20,60,0.25);
}
.rotator {
  background: linear-gradient(92deg, #ffd8b0, #ffffff 45%, #ffc488);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.caret {
  display: inline-block; width: 0.06em; height: 0.82em; margin-left: 0.04em;
  transform: translateY(0.1em); background: var(--cyan); border-radius: 2px;
  animation: blink 1s steps(1) infinite; box-shadow: 0 0 12px rgba(255,176,32,0.8);
}
@keyframes blink { 50% { opacity: 0; } }

.hero-sub { margin-top: clamp(36px, 5vw, 56px); max-width: 660px; }
.subhead { font-size: clamp(24px, 3vw, 34px); color: #fff; line-height: 1.1; }
.lead { margin: 18px 0 0; color: rgba(255,255,255,0.86); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; color: rgba(255,255,255,0.8); font-size: 15px; }
.hero-trust b { color: #fff; font-weight: 700; }
.dotsep { opacity: 0.5; }

/* ---------- Client marquee ---------- */
.trusted { padding: clamp(40px, 5vw, 64px) 0; background: linear-gradient(to bottom, #ffb877 0%, #ffe0c4 12%, var(--bg-soft) 34%, var(--bg) 70%); border-bottom: 1px solid var(--line); }
.trusted-label { margin: 0 0 28px; text-align: center; color: var(--muted); font-size: 15px; }
.trusted-label b { color: var(--ink); font-weight: 700; }
.client-marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.client-track { display: flex; width: max-content; gap: 60px; align-items: center; animation: scroll-x 45s linear infinite; will-change: transform; }
.client-marquee:hover .client-track { animation-play-state: paused; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 0 0 auto; filter: grayscale(1); opacity: 0.62; transition: filter .25s ease, opacity .25s ease, transform .25s ease; }
.client:hover { filter: grayscale(0); opacity: 1; transform: translateY(-3px); }
.client-logo { height: 38px; width: auto; object-fit: contain; }
.client-logo.tall { height: 50px; }
.client.text b { display: flex; align-items: center; height: 38px; font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--ink); line-height: 1; }
.client i { font-style: normal; font-size: 12.5px; color: var(--muted); }

/* ---------- Section scaffolding ---------- */
section { padding: clamp(64px, 8vw, 104px) 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin: 16px 0 0; color: var(--muted); font-size: 18px; }

/* ---------- What it does (capability marquee + editorial list) ---------- */
.does { padding-bottom: clamp(48px, 6vw, 80px); }
.cap-marquee {
  overflow: hidden; margin: 8px 0 clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, var(--bg-soft), #fff, var(--bg-soft));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.cap-track { display: flex; align-items: center; gap: 24px; width: max-content; padding: 18px 0; animation: scroll-x 32s linear infinite; }
.cap-track span { font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); color: var(--ink); white-space: nowrap; letter-spacing: -0.02em; }
.cap-track .sep { color: var(--blue); font-family: var(--font-body); font-size: 18px; }

.dolist { list-style: none; margin: 0; padding: 0; max-width: 920px; }
.doitem { display: flex; gap: clamp(20px, 4vw, 48px); padding: 26px 6px; border-bottom: 1px solid var(--line); transition: padding-left .25s ease, background .25s ease; }
.doitem:hover { padding-left: 18px; background: linear-gradient(90deg, var(--tint), transparent); }
.doitem .dn { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); color: var(--blue); line-height: 1; flex: 0 0 auto; min-width: 54px; }
.doitem h3 { font-size: clamp(20px, 2.4vw, 27px); margin-bottom: 6px; }
.doitem p { margin: 0; color: var(--muted); font-size: 16.5px; max-width: 640px; }

/* ---------- Comparison ---------- */
.compare { background: var(--bg-soft); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 20px 50px rgba(31,20,8,0.06); }
.cmp { width: 100%; border-collapse: collapse; min-width: 820px; }
.cmp th, .cmp td { padding: 16px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp thead th { font-weight: 600; font-size: 15px; color: var(--muted); vertical-align: bottom; }
.cmp thead th small { display: block; font-weight: 400; font-size: 11.5px; opacity: 0.8; margin-top: 3px; }
.cmp thead th.us, .cmp td.us { background: var(--tint); }
.cmp thead th.us { color: var(--blue); font-weight: 700; font-size: 18px; }
.cmp .rowlabel { text-align: left; font-weight: 500; color: var(--ink); font-size: 15.5px; white-space: nowrap; }
.cmp tbody tr { transition: background .15s ease; }
.cmp tbody tr:hover { background: rgba(245,99,10,0.03); }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td.us { font-weight: 700; }
.yes { color: #0a9d5a; font-weight: 800; font-size: 18px; }
.no { color: #c2c8d4; font-weight: 800; }
.part { color: #d39a16; font-weight: 800; }
.cmp-legend { margin: 16px 0 0; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- Platform ---------- */
.plat-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; background: var(--ink); color: #fff; transition: transform .15s ease, background .15s ease; }
.store:hover { background: #1c1206; transform: translateY(-2px); }
.store span { display: flex; flex-direction: column; font-size: 17px; font-weight: 700; line-height: 1.1; }
.store span small { font-size: 10.5px; font-weight: 500; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.04em; }
.plat-art { display: flex; justify-content: center; }
.phone {
  width: 300px; max-width: 100%; padding: 22px 18px 26px; border-radius: 30px;
  border: 1px solid var(--line); background: linear-gradient(160deg, #fff6ef, #ffffff);
  box-shadow: 0 30px 70px rgba(60,22,6,0.16); animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.phone-top { width: 90px; height: 6px; margin: 0 auto 22px; border-radius: 999px; background: #ecdccd; }
.bubble { max-width: 80%; padding: 12px 15px; margin-bottom: 12px; border-radius: 16px; font-size: 14.5px; line-height: 1.4; }
.bubble.in { background: #fff; border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 5px; }
.bubble.out { margin-left: auto; background: var(--blue); color: #fff; border-bottom-right-radius: 5px; box-shadow: 0 8px 18px rgba(245,99,10,0.25); }

/* ---------- Integrations marquee ---------- */
.integrations { background: var(--bg-soft); }
.int-marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.il-track { display: flex; width: max-content; gap: 14px; align-items: stretch; animation: scroll-x 55s linear infinite; }
.il-track.rev { animation-direction: reverse; }
.int-marquee:hover .il-track { animation-play-state: paused; }
.il {
  flex: 0 0 auto; width: 150px; display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 8px; padding: 22px 14px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(60,24,6,0.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.il:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(60,24,6,0.1); border-color: #f5d6bd; }
.il-tile { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 13px; background: var(--tint); overflow: hidden; }
.il-tile img { width: 30px; height: 30px; object-fit: contain; }
.il b { color: var(--ink); font-size: 14.5px; font-weight: 600; line-height: 1.2; }
.il em { color: var(--muted); font-size: 11.5px; font-style: normal; font-weight: 600; }
.int-note { margin: 28px 0 0; text-align: center; color: var(--muted); font-size: 15px; }

/* ---------- Process stepper ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); position: relative; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--line); }
.step .n { font-family: var(--font-display); font-size: 42px; color: var(--blue); line-height: 1; margin-bottom: 12px; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Compliance ---------- */
.compliance {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(255,176,32,0.22), transparent 60%),
    linear-gradient(150deg, #3a1606, #c2480b 70%, #f5630a);
}
.compliance .hero-glow { left: auto; right: -160px; top: -180px; bottom: auto; }
.comp-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.compliance .section-head p { color: rgba(255,255,255,0.85); }
.compliance h2 { color: #fff; }
.comp-list { display: grid; gap: 16px; }
.comp-list .row { display: flex; gap: 14px; padding: 18px; border: 1px solid rgba(255,255,255,0.18); border-radius: 14px; background: rgba(255,255,255,0.06); backdrop-filter: blur(6px); transition: transform .2s ease, background .2s ease; }
.comp-list .row:hover { transform: translateX(4px); background: rgba(255,255,255,0.11); }
.comp-list h3 { margin: 0 0 4px; color: #fff; }
.comp-list p { margin: 0; color: rgba(255,255,255,0.82); font-size: 15px; }
.check { color: var(--cyan); font-weight: 800; flex: 0 0 auto; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 4px 20px; transition: border-color .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: #f5d6bd; box-shadow: 0 10px 30px rgba(31,20,8,0.06); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 22px; font-weight: 400; margin-left: 16px; transition: transform .2s ease; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); font-size: 16px; }

/* ---------- Final CTA ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background:
    radial-gradient(700px 400px at 50% -20%, rgba(255,176,32,0.28), transparent 60%),
    linear-gradient(150deg, #3a1606, #c2480b 60%, #f5630a);
}
.cta .hero-glow { left: 50%; margin-left: -310px; }
.cta > .wrap { position: relative; z-index: 2; }
.cta h2 { color: #fff; margin: 0 auto; max-width: 760px; }
.cta p { max-width: 620px; margin: 18px auto 0; color: rgba(255,255,255,0.86); font-size: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* ---------- Footer ---------- */
footer { background: #1c1206; color: rgba(255,255,255,0.7); padding: 56px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.foot-meta { margin: 16px 0 0; max-width: 440px; font-size: 15px; line-height: 1.6; }
.foot-links { display: flex; flex-direction: column; gap: 12px; }
.foot-links a { color: rgba(255,255,255,0.72); font-size: 15px; }
.foot-links a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,0.5); }

/* ---------- Blog ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(700px 420px at 80% -10%, rgba(255,176,32,0.28), transparent 60%),
    linear-gradient(150deg, #3a1606 0%, #c2480b 55%, #f5630a 100%);
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 880px; }
.page-hero p { margin: 18px 0 0; max-width: 640px; color: rgba(255,255,255,0.86); font-size: 18px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(31,20,8,0.08); border-color: #f5d6bd; }
.post-card .tag { align-self: flex-start; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); margin-bottom: 14px; }
.post-card h2 { font-size: 25px; line-height: 1.1; margin-bottom: 10px; }
.post-card p { margin: 0 0 18px; color: var(--muted); font-size: 15.5px; }
.post-card .read { margin-top: auto; color: var(--blue); font-weight: 600; font-size: 15px; }

/* ---------- Article ---------- */
.article { max-width: 720px; margin: 0 auto; padding: clamp(44px, 6vw, 76px) 0; }
.article .crumb { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.article .crumb a { color: var(--blue); }
.article h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.04; margin-bottom: 16px; }
.article .meta { color: var(--muted); font-size: 14.5px; margin-bottom: 34px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.article h2 { font-size: clamp(23px, 3vw, 31px); margin: 40px 0 12px; }
.article h3 { font-size: 20px; margin: 28px 0 8px; }
.article p, .article li { font-size: 17.5px; color: #2a2218; line-height: 1.72; }
.article p { margin: 0 0 18px; }
.article ul, .article ol { padding-left: 22px; margin: 0 0 18px; }
.article li { margin-bottom: 8px; }
.article a.inline { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article .callout { margin: 26px 0; padding: 20px 22px; border-left: 3px solid var(--blue); background: var(--tint); border-radius: 0 12px 12px 0; }
.article .callout p:last-child { margin: 0; }
.article .post-cta { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-cta .btn.ghost, .nav-cta .lang { display: none; }
  .menu-btn { display: block; }
  .topbar { font-size: 12px; }
  .plat-grid, .comp-grid, .steps, .foot-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .plat-art { order: -1; }
  .step { border-top: 0; padding-top: 0; border-left: 2px solid var(--line); padding-left: 22px; }
}
@media (max-width: 560px) {
  .rotator { white-space: normal; }
  .doitem { flex-direction: column; gap: 8px; }
  .foot-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .client-track, .cap-track, .il-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .client-marquee, .cap-marquee, .int-marquee { -webkit-mask-image: none; mask-image: none; }
  .caret { animation: none; }
}
