/* Trez → ADP landing. Brand tokens taken from the original trez.co Webflow CSS. */
:root {
  --green-900: #062a2f;
  --green-800: #00434a;   /* --deep-jungle-green */
  --green-600: #286371;   /* --dark-slate-grey */
  --lime: #ddf472;        /* --brandcolor-primary */
  --ink: #092329;         /* --text-black */
  --grey: #55555a;        /* --text-grey */
  --paper: #f0efec;       /* --white-smoke */
  --white: #ffffff;
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.nav.is-scrolled { background: rgba(6, 42, 47, .85); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { width: 84px; height: auto; }

.lang { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.lang button {
  font: 600 13px/1 Inter, sans-serif; letter-spacing: .04em;
  color: rgba(255,255,255,.7); background: transparent; border: 0;
  padding: 8px 12px; border-radius: 999px; cursor: pointer; transition: .2s;
}
.lang button[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.lang button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

/* HERO */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, var(--green-800) 0%, var(--green-900) 70%);
  color: var(--white);
  padding: 140px 0 96px;
  text-align: center;
}
.hero__glow {
  position: absolute; width: 640px; height: 640px; left: 50%; top: -260px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(221,244,114,.22), transparent 65%);
  pointer-events: none; animation: pulse 8s ease-in-out infinite;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(221,244,114,.1); border: 1px solid rgba(221,244,114,.35); color: var(--lime);
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(221,244,114,.6); animation: ping 2s infinite; }

.hero__title {
  margin: 28px 0 0; font-weight: 800; letter-spacing: -.035em; line-height: 1.02;
  font-size: clamp(42px, 8vw, 88px);
}
.hero__title span { display: block; }
.hero__accent {
  background: linear-gradient(90deg, var(--lime), #f4ffc2);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { max-width: 640px; margin: 24px auto 0; font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,.78); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 16px/1 Inter, sans-serif; text-decoration: none;
  padding: 16px 26px; border-radius: 999px; transition: transform .2s var(--ease), box-shadow .2s, background .2s;
}
.btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.btn--primary { background: var(--lime); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(221,244,114,.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(221,244,114,.75); }
.btn--ghost { color: var(--white); border: 1px solid rgba(255,255,255,.25); }
.btn--ghost:hover { background: rgba(255,255,255,.08); }

/* Merge visual */
.merge { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 72px; width: min(560px, 100%); }
.merge__logo {
  flex: none; display: flex; align-items: center; justify-content: center; white-space: nowrap;
  width: 112px; height: 112px; border-radius: 28px;
  font-weight: 800; font-size: 30px; letter-spacing: -.03em;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
}
.merge__word { display: inline-block; line-height: 1; }
.merge__word > span { color: var(--lime); }
.merge__logo--adp { background: var(--white); color: #d0271d; font-size: 32px; }
.merge__line { position: relative; flex: 1; height: 2px; background: rgba(255,255,255,.15); border-radius: 2px; overflow: hidden; }
.merge__line span { position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--lime), transparent); animation: flow 2.2s linear infinite; }

/* SECTIONS */
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-600); }
.section-title { margin: 10px 0 0; font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }

.steps { padding: 112px 0; }
.cards { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  border: 1px solid rgba(9,35,41,.06);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(0,67,74,.35); }
.card__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green-800); color: var(--lime); font-weight: 700; font-size: 15px; }
.card h3 { margin: 24px 0 8px; font-size: 21px; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--grey); }

.faq { padding: 0 0 112px; }
.faq__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.accordion { display: grid; gap: 12px; }
details { background: var(--white); border-radius: 16px; border: 1px solid rgba(9,35,41,.06); }
summary {
  list-style: none; cursor: pointer; padding: 22px 56px 22px 24px; position: relative;
  font-weight: 600; font-size: 17px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--green-800); border-bottom: 2px solid var(--green-800);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
summary:focus-visible { outline: 2px solid var(--green-600); outline-offset: -2px; border-radius: 16px; }
details p { margin: 0; padding: 0 24px 22px; color: var(--grey); }
details p a, .card p a { color: var(--green-800); font-weight: 600; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; }
details p strong, .card p strong { color: var(--ink); }

.closing { padding: 0 0 112px; }
.closing__inner {
  text-align: center; color: var(--white); border-radius: 32px; padding: 72px 32px;
  background: radial-gradient(100% 140% at 0% 0%, var(--green-600), var(--green-800) 55%, var(--green-900));
}
.closing h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.03em; }
.closing p { max-width: 560px; margin: 16px auto 32px; color: rgba(255,255,255,.78); }

.footer { background: var(--green-900); color: rgba(255,255,255,.6); padding: 32px 0; font-size: 14px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer img { width: 60px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(221,244,114,.6); } 80%,100% { box-shadow: 0 0 0 10px rgba(221,244,114,0); } }
@keyframes pulse { 50% { opacity: .6; transform: translateX(-50%) scale(1.1); } }
@keyframes flow { from { left: -40%; } to { left: 100%; } }

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .faq__inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 520px) {
  .hero { padding: 120px 0 72px; }
  .merge { gap: 12px; margin-top: 56px; }
  .merge__logo { width: 84px; height: 84px; border-radius: 22px; font-size: 22px; }
  .btn { width: 100%; justify-content: center; }
  .card { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
