/* =========================================================
   Mintree — site styles
   Plain CSS, no build step.
   ========================================================= */

:root {
  --ease: cubic-bezier(.2, .7, .1, 1);

  --bg: #F8FBFA;
  --bg-white: #FFFFFF;
  --navy: #0B1220;
  --navy-2: #0F1A2E;

  --text: #0F172A;
  --text-body: #475569;
  --text-muted: #64748B;
  --text-on-dark: #E2E8F0;
  --text-on-dark-muted: #94A3B8;

  --border: #E5EEEB;
  --border-dark: rgba(255, 255, 255, .08);

  --mint: #10B981;
  --teal: #14B8A6;
  --sky: #0EA5E9;
  --grad: linear-gradient(90deg, #10B981 0%, #14B8A6 50%, #0EA5E9 100%);
  --grad-135: linear-gradient(135deg, #10B981 0%, #14B8A6 50%, #0EA5E9 100%);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 12px rgba(15, 23, 42, .04);
  --shadow: 0 2px 6px rgba(15, 23, 42, .04), 0 16px 40px -12px rgba(15, 23, 42, .12);
  --shadow-lg: 0 10px 30px -10px rgba(16, 185, 129, .25), 0 30px 70px -20px rgba(15, 23, 42, .25);

  --font-ui: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  --font-display: "Outfit", "Plus Jakarta Sans", -apple-system, sans-serif;

  --container: 1120px;
  --nav-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1.12;
  font-weight: 600;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); letter-spacing: -.03em; }
h3 { font-size: 1.25rem; }
p { margin: 0; }
p + p { margin-top: 1em; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Layout helpers ---------- */
.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.125rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--grad); }

/* ---------- Gradient text + sheen ---------- */
.grad-text {
  background: linear-gradient(90deg,
    #10B981 0%, #14B8A6 20%, #0EA5E9 40%,
    #a7f3d0 50%,
    #0EA5E9 60%, #14B8A6 80%, #10B981 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: sheen 4.5s ease-in-out infinite;
}
.grad-text--static {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: .9875rem; line-height: 1;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  color: #fff;
  position: relative;
  background-image:
    linear-gradient(110deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .35) 50%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(90deg, #10B981 0%, #14B8A6 50%, #0EA5E9 100%);
  background-size: 250% 100%, 100% 100%;
  background-position: 100% 0, 0 0;
  box-shadow: 0 6px 18px -6px rgba(14, 165, 233, .5), 0 2px 6px rgba(16, 185, 129, .25);
  animation: sheen 4.5s ease-in-out infinite;
}
.btn--primary:hover { box-shadow: 0 12px 28px -8px rgba(14, 165, 233, .55), 0 4px 10px rgba(16, 185, 129, .3); }

.btn--ghost {
  background: var(--bg-white); color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: #cfe0da; box-shadow: var(--shadow); }

.btn--dark-ghost {
  background: rgba(255, 255, 255, .06); color: #fff;
  border-color: var(--border-dark);
}
.btn--dark-ghost:hover { background: rgba(255, 255, 255, .1); }

.btn--sm { padding: 10px 18px; font-size: .9rem; }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .01em; line-height: 1;
  color: #fff; background: var(--grad);
  box-shadow: 0 2px 8px -2px rgba(14, 165, 233, .45);
}
.pill--soft {
  color: #0F766E; background: rgba(20, 184, 166, .12);
  box-shadow: none;
}
.pill--outline {
  color: var(--text-body); background: transparent;
  border: 1px solid var(--border); box-shadow: none;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Icon tile ---------- */
.tile {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-135);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(14, 165, 233, .5);
  flex-shrink: 0;
}
.tile svg { width: 22px; height: 22px; }
.tile--soft {
  background: linear-gradient(135deg, rgba(16, 185, 129, .14), rgba(14, 165, 233, .14));
  color: #0F766E; box-shadow: none;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d7e6e0; }
.card h3 { margin: 18px 0 8px; }
.card p { font-size: 1rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(248, 251, 250, .78);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(248, 251, 250, .9); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--text); letter-spacing: -.02em; }
.logo__mark { width: 30px; height: 30px; }
.logo--light { color: #fff; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  padding: 8px 14px; border-radius: 999px;
  font-size: .95rem; font-weight: 500; color: var(--text-body);
  transition: color .2s, background-color .2s;
}
.nav__links a:hover { color: var(--text); background: rgba(16, 185, 129, .08); }
.nav__links a[aria-current="page"] { color: var(--text); font-weight: 600; }
.nav__cta { margin-left: 8px; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg-white);
  place-items: center; padding: 0;
}
.nav__toggle span {
  display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px;
  position: relative; transition: transform .3s var(--ease), background-color .2s;
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 820px) {
  .nav__toggle { display: grid; }
  .nav__links {
    position: absolute; top: calc(var(--nav-h) + 8px); left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 12px; box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: 12px 16px; font-size: 1.05rem; }
  .nav__cta { margin: 8px 0 0; }
}

/* ---------- Ambient orbs ---------- */
.orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px);
  will-change: transform, opacity;
}
.orb--1 {
  width: 560px; height: 560px; top: -180px; left: -140px;
  background: radial-gradient(circle at 40% 40%, rgba(16, 185, 129, .40), rgba(16, 185, 129, 0) 70%);
  animation: drift1 24s var(--ease) infinite alternate, breathe 9s ease-in-out infinite;
}
.orb--2 {
  width: 640px; height: 640px; top: 10%; right: -220px;
  background: radial-gradient(circle at 60% 40%, rgba(14, 165, 233, .32), rgba(14, 165, 233, 0) 70%);
  animation: drift2 30s var(--ease) infinite alternate, breathe 11s ease-in-out infinite;
}
.orb--3 {
  width: 480px; height: 480px; bottom: -200px; left: 35%;
  background: radial-gradient(circle at 50% 50%, rgba(20, 184, 166, .34), rgba(20, 184, 166, 0) 70%);
  animation: drift3 27s var(--ease) infinite alternate, breathe 13s ease-in-out infinite;
}
.orbs--soft .orb { filter: blur(110px); opacity: .6; }

/* ---------- Sparkles ---------- */
.sparkle {
  position: absolute; width: 18px; height: 18px; color: var(--teal);
  animation: twinkle 3.2s ease-in-out infinite;
  pointer-events: none; z-index: 2;
}
.sparkle svg { width: 100%; height: 100%; }
.sparkle--1 { top: 18%; left: 6%; animation-delay: 0s; }
.sparkle--2 { top: 10%; left: 44%; animation-delay: 1.1s; width: 12px; height: 12px; color: var(--sky); }
.sparkle--3 { top: 62%; left: 2%; animation-delay: 2s; width: 14px; height: 14px; color: var(--mint); }
.sparkle--4 { top: 24%; right: 4%; animation-delay: .6s; width: 14px; height: 14px; }
.sparkle--5 { bottom: 14%; right: 12%; animation-delay: 1.7s; width: 10px; height: 10px; color: var(--sky); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 8vw, 110px);
  overflow: hidden;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero__copy .pill { margin-bottom: 22px; }
.hero__title { margin-bottom: 22px; }
.hero__title .w {
  display: inline-block;
  animation: wordIn .9s var(--ease) both;
}
.hero__title .w.grad-text {
  animation: wordIn .9s var(--ease) both, sheen 4.5s ease-in-out infinite;
}
.hero__lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 540px; margin-bottom: 32px; }
.hero__lede, .hero__actions, .hero__copy .pill, .hero__meta {
  animation: wordIn .9s var(--ease) both;
}
.hero__copy .pill { animation-delay: 0ms; }
.hero__lede { animation-delay: 620ms; }
.hero__actions { animation-delay: 760ms; }
.hero__meta { animation-delay: 900ms; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 36px;
  font-size: .9rem; color: var(--text-muted);
}
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--teal); }

.hero__visual {
  position: relative;
  display: grid; place-items: center;
  animation: focusIn 1.1s .15s var(--ease) both;
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__lede { margin-inline: auto; }
  .hero__actions, .hero__meta { justify-content: center; }
  .hero__visual { margin-top: 24px; }
}

/* ---------- iPhone mockup ---------- */
.phone {
  position: relative;
  width: 300px; aspect-ratio: 300 / 610;
  border-radius: 48px;
  background: #0B1220;
  padding: 11px;
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, .35) inset,
    0 0 0 2px #1f2937,
    0 40px 80px -24px rgba(15, 23, 42, .45),
    0 24px 50px -30px rgba(16, 185, 129, .5);
}
.phone::before { /* side button highlight */
  content: ""; position: absolute; right: -4px; top: 150px; width: 3px; height: 70px;
  background: #1f2937; border-radius: 2px;
}
.phone::after { /* volume buttons */
  content: ""; position: absolute; left: -4px; top: 120px; width: 3px; height: 34px;
  background: #1f2937; border-radius: 2px;
  box-shadow: 0 50px 0 #1f2937, 0 94px 0 #1f2937;
}
.phone__screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 38px; overflow: hidden;
  background: linear-gradient(180deg, #F8FBFA 0%, #ECF7F3 100%);
  display: flex; flex-direction: column;
}
.phone__island {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 28px; border-radius: 999px; background: #0B1220; z-index: 3;
}
.phone__status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px 0; font-size: 12px; font-weight: 600; color: var(--text);
}
.phone__status span:last-child { display: inline-flex; gap: 4px; align-items: center; }
.phone__status i {
  display: inline-block; width: 18px; height: 9px; border: 1.5px solid var(--text); border-radius: 3px;
  position: relative;
}
.phone__status i::after { content: ""; position: absolute; inset: 1.5px; background: var(--mint); border-radius: 1px; }
.app {
  padding: 22px 18px 18px; flex: 1; display: flex; flex-direction: column; gap: 14px;
  font-family: var(--font-ui);
}
.app__head { display: flex; align-items: center; justify-content: space-between; }
.app__title { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.app__avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--grad-135); }
.app__search {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 9px 12px; font-size: 12px; color: var(--text-muted);
}
.app__search svg { width: 14px; height: 14px; }
.app__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app__cell {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 12px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
}
.app__cell .tile { width: 32px; height: 32px; border-radius: 10px; }
.app__cell .tile svg { width: 15px; height: 15px; }
.app__cell b { display: block; font-size: 12px; color: var(--text); font-weight: 600; }
.app__cell small { display: block; font-size: 10px; color: var(--text-muted); margin-top: 1px; }
.app__cell--accent { background: var(--navy); border-color: transparent; }
.app__cell--accent b { color: #fff; }
.app__cell--accent small { color: var(--text-on-dark-muted); }
.app__cell--accent .tile { background: rgba(255, 255, 255, .12); box-shadow: none; }
.app__recent { margin-top: auto; }
.app__recent b { display: block; font-size: 11px; color: var(--text-muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.app__row {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 9px 10px;
}
.app__row + .app__row { margin-top: 6px; }
.app__thumb { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; }
.app__thumb--a { background: linear-gradient(135deg, #a7f3d0, #67e8f9); }
.app__thumb--b { background: linear-gradient(135deg, #bae6fd, #c7d2fe); }
.app__row span { font-size: 11px; color: var(--text); font-weight: 500; flex: 1; }
.app__row em { font-style: normal; font-size: 10px; color: var(--teal); font-weight: 600; }
.app__home { width: 100px; height: 4px; border-radius: 4px; background: var(--text); margin: 4px auto 0; opacity: .85; }

/* floating chips around the phone */
.float-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 10px 14px; box-shadow: var(--shadow);
  font-size: .85rem; font-weight: 600; color: var(--text);
  animation: cardIn .9s var(--ease) both, floatY 6s ease-in-out infinite;
  z-index: 2;
}
.float-chip .tile { width: 32px; height: 32px; border-radius: 10px; }
.float-chip .tile svg { width: 16px; height: 16px; }
.float-chip small { display: block; font-size: .72rem; color: var(--text-muted); font-weight: 500; }
.float-chip--1 { top: 16%; left: -7%; animation-delay: 1s, 0s; }
.float-chip--2 { bottom: 6%; right: -7%; animation-delay: 1.2s, 1.5s; }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 900px) {
  .float-chip--1 { left: 2%; }
  .float-chip--2 { right: 2%; }
}
@media (max-width: 900px) {
  .sparkle--1, .sparkle--2, .sparkle--3, .sparkle--4 { display: none; }
}
@media (max-width: 480px) {
  .phone { width: 260px; }
  .float-chip { display: none; }
  .app__row + .app__row { display: none; }
}

/* ---------- Feature grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Dark sections ---------- */
.section--dark {
  background-color: var(--navy);
  color: var(--text-on-dark-muted);
  position: relative; overflow: hidden;
}
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
}
.section--dark::after {
  content: ""; position: absolute; left: 50%; top: -200px; width: 800px; height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(16, 185, 129, .18), transparent 65%);
  filter: blur(40px); pointer-events: none;
}
.section--dark > .container { position: relative; z-index: 1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--text-on-dark-muted); }
.section--dark .eyebrow { color: #5eead4; }
.section--dark .card {
  background: rgba(255, 255, 255, .04);
  border-color: var(--border-dark);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.section--dark .card:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: 0 20px 50px -20px rgba(16, 185, 129, .25); }

/* ---------- Featured app ---------- */
.featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center;
}
.featured__visual { display: grid; place-items: center; position: relative; }
.featured__visual .phone { width: 300px; }
.featured__glow {
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, .35), transparent 65%);
  filter: blur(50px); pointer-events: none;
}
.featured__copy h2 { margin: 14px 0 16px; }
.featured__copy p { font-size: 1.1rem; }
.featured__list { margin: 24px 0 32px; display: grid; gap: 12px; }
.featured__list li { display: flex; gap: 12px; align-items: flex-start; }
.featured__list svg { width: 20px; height: 20px; color: #5eead4; flex-shrink: 0; margin-top: 3px; }
.featured__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 860px) {
  .featured { grid-template-columns: 1fr; }
  .featured__visual { order: -1; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: step; }
.step { position: relative; padding: 28px; }
.step__num {
  font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .08em;
  color: var(--teal); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px;
}
.step__num::after { content: ""; flex: 1; height: 1px; width: 36px; background: linear-gradient(90deg, var(--teal), transparent); }
.step h3 { margin: 0 0 8px; font-size: 1.2rem; }
.step p { font-size: .98rem; }
.step__arrow {
  position: absolute; right: -16px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; color: #b9cfc8; z-index: 2;
  background: var(--bg); border-radius: 50%;
}
.step:last-child .step__arrow { display: none; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step__arrow { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  border-radius: 28px; padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 72px);
  background: var(--bg-white); border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}
.cta .orbs { z-index: 0; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { max-width: 640px; margin: 0 auto 16px; }
.cta p { max-width: 520px; margin: 0 auto 32px; font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: var(--text-on-dark-muted);
  padding: 64px 0 36px;
  position: relative; overflow: hidden;
}
.footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%);
  mask-image: linear-gradient(180deg, transparent, #000 60%);
}
.footer > .container { position: relative; z-index: 1; }
.footer__top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer__brand p { max-width: 320px; margin-top: 14px; font-size: .95rem; }
.footer__links { display: flex; gap: 8px 28px; flex-wrap: wrap; }
.footer__links a { font-size: .95rem; font-weight: 500; color: var(--text-on-dark); transition: color .2s; }
.footer__links a:hover { color: #5eead4; }
.footer__bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border-dark);
  display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between;
  font-size: .875rem;
}
.footer__bottom a { color: var(--text-on-dark); }
.footer__bottom a:hover { color: #5eead4; }
.footer__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.footer__meta .sep { opacity: .4; }

/* ---------- Page header (inner pages) ---------- */
.page-head {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px);
}
.page-head .container { position: relative; z-index: 1; max-width: 760px; }
.page-head h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: 16px; }
.page-head p { font-size: 1.15rem; max-width: 600px; }
.page-head .pill { margin-bottom: 18px; }
.page-head h1, .page-head p, .page-head .pill { animation: wordIn .9s var(--ease) both; }
.page-head p { animation-delay: 150ms; }

/* ---------- App cards (apps.html) ---------- */
.app-card {
  display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: start;
  padding: 28px;
}
.app-card__icon {
  width: 96px; height: 96px; border-radius: 22px;
  display: grid; place-items: center; color: #fff;
  background: var(--grad-135);
  box-shadow: 0 12px 28px -10px rgba(14, 165, 233, .55);
  position: relative; overflow: hidden;
}
.app-card__icon::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), transparent 55%);
}
.app-card__icon svg { width: 46px; height: 46px; position: relative; z-index: 1; }
.app-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 8px; }
.app-card__head h3 { margin: 0; font-size: 1.5rem; }
.app-card__tagline { font-size: 1.05rem; color: var(--text-body); }
.app-card__features { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.app-card__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.app-card__actions .note { font-size: .875rem; color: var(--text-muted); }
@media (max-width: 560px) {
  .app-card { grid-template-columns: 1fr; }
  .app-card__icon { width: 80px; height: 80px; border-radius: 20px; }
}
.apps-grid { display: grid; gap: 20px; }
.app-card--placeholder {
  border-style: dashed; background: transparent; box-shadow: none;
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 160px;
  color: var(--text-muted);
}
.app-card--placeholder:hover { transform: none; box-shadow: none; }

/* ---------- Support / FAQ ---------- */
.support-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } }
.contact-card { position: sticky; top: calc(var(--nav-h) + 24px); }
.contact-card h3 { margin-top: 18px; }
.contact-card .btn { margin-top: 20px; }
.contact-card .meta { margin-top: 16px; font-size: .9rem; color: var(--text-muted); }

.faq-group + .faq-group { margin-top: 36px; }
.faq-group__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.faq-group__head h3 { margin: 0; }
.faq-group__head .tile { width: 40px; height: 40px; border-radius: 12px; }
.faq-group__head .tile svg { width: 18px; height: 18px; }
.faq { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-white); box-shadow: var(--shadow-sm); }
.faq + .faq { margin-top: 10px; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 600; color: var(--text); font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 10px; height: 10px; flex-shrink: 0;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(45deg); transition: transform .3s var(--ease); margin-right: 4px;
}
.faq[open] summary::after { transform: rotate(-135deg); }
.faq__body { padding: 0 20px 18px; font-size: .98rem; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; }
.legal__meta {
  display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center;
  padding: 16px 20px; margin-bottom: 40px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-white);
  font-size: .9rem; color: var(--text-muted);
}
.legal__meta b { color: var(--text); font-weight: 600; }
.legal h2 { font-size: 1.5rem; margin: 44px 0 14px; letter-spacing: -.02em; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 1.02rem; }
.legal ul { list-style: disc; padding-left: 22px; margin: 12px 0; }
.legal li + li { margin-top: 6px; }
.legal a { color: #0F766E; text-decoration: underline; text-decoration-color: rgba(15, 118, 110, .35); text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: currentColor; }
.legal .summary-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, .08), rgba(14, 165, 233, .08));
  border: 1px solid rgba(20, 184, 166, .25); border-radius: var(--radius);
  padding: 22px 24px; margin-bottom: 36px;
}
.legal .summary-box h2 { margin-top: 0; font-size: 1.15rem; }
.legal .summary-box ul { margin-bottom: 0; }

/* ---------- Keyframes (exact definitions) ---------- */
@keyframes drift1 {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(8%, 6%, 0) scale(1.1); }
  100% { transform: translate3d(-6%, 10%, 0) scale(.94); }
}
@keyframes drift2 {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-9%, 7%, 0) scale(1.08); }
  100% { transform: translate3d(5%, -8%, 0) scale(.96); }
}
@keyframes drift3 {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(6%, -9%, 0) scale(1.12); }
  100% { transform: translate3d(-8%, -4%, 0) scale(.92); }
}
@keyframes breathe { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }

@keyframes wordIn {
  from { opacity: 0; transform: translateY(.5em) scale(.97); filter: blur(14px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes focusIn {
  from { transform: scale(1.45); opacity: 0; }
  60%  { opacity: 1; }
  to   { transform: scale(1); opacity: 1; }
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(56px) scale(.96); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes revealLite {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: none; }
}
@keyframes sheen {
  0%        { background-position: 100% 0; }
  60%, 100% { background-position: 0% 0; }
}
@keyframes twinkle {
  0%, 100% { transform: scale(.35) rotate(0deg); opacity: .15; }
  50%      { transform: scale(1) rotate(45deg); opacity: 1; }
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(30px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Scroll reveals ---------- */
/* Scroll-driven (modern browsers) */
@supports (animation-timeline: view()) {
  .reveal {
    animation: reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 75%;
  }
  .reveal--d1 { animation-range: entry 12% entry 87%; }
  .reveal--d2 { animation-range: entry 24% entry 99%; }
  .reveal--d3 { animation-range: entry 36% entry 100%; }
}
/* IntersectionObserver fallback (JS adds .js-reveal to <html> when needed) */
html.js-reveal .reveal { opacity: 0; }
html.js-reveal .reveal.is-visible { animation: revealLite .8s var(--ease) both; }
html.js-reveal .reveal--d1.is-visible { animation-delay: .12s; }
html.js-reveal .reveal--d2.is-visible { animation-delay: .24s; }
html.js-reveal .reveal--d3.is-visible { animation-delay: .36s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .reveal, html.js-reveal .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .orb { opacity: .8; }
  .grad-text { background-position: 0 0; }
}
