/* ============================================================
   ziparly — styles
   Brand: white / #19C463 green / #0F2E22 forest / playful chips
   Fonts: Bricolage Grotesque (headings) + DM Sans (body)
   ============================================================ */

:root {
  --green: #19C463;
  --green-dark: #0FA84F;
  --forest: #0F2E22;
  --ink: #0F2E22;
  --ink-soft: #526B60;
  --panel: #F3F7F4;
  --line: rgba(15, 46, 34, 0.12);
  --yellow: #FFD43B;
  --pink: #FF6FB5;
  --blue: #4D7CFE;
  --font-head: 'Bricolage Grotesque', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 84px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-head); }
a { color: inherit; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1.2rem;
  border-radius: 999px; font-weight: 700; text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus-visible { top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: 999px; padding: .95rem 1.7rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn-green { background: var(--green); color: var(--ink); box-shadow: 0 10px 26px -12px rgba(25, 196, 99, .6); }
.btn-green:hover { background: var(--green-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--green); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo svg { width: 32px; height: 32px; }
.logo-badge {
  background: #fff; border: 1.5px solid var(--line); color: var(--green-dark);
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  letter-spacing: -.02em; padding: .1rem .75rem; border-radius: 12px;
}
.main-nav { display: none; gap: 2rem; }
.main-nav a {
  text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--ink);
  position: relative; transition: color .2s ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--green); border-radius: 2px; transition: width .25s ease;
}
.main-nav a:hover { color: var(--green-dark); }
.main-nav a:hover::after { width: 100%; }
.head-cta { display: none; }
.nav-burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; align-items: center;
}
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 860px) {
  .main-nav { display: flex; }
  .head-cta { display: inline-flex; }
  .nav-burger { display: none; }
}

.mobile-menu {
  position: fixed; inset: 68px 0 0 0; z-index: 49; background: #fff;
  padding: 1.5rem 1.25rem 2rem; display: flex; flex-direction: column;
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.mobile-menu.open { visibility: visible; opacity: 1; transform: none; }
.mobile-menu a.mobile-link {
  font-family: var(--font-head); font-weight: 700; font-size: 1.6rem;
  text-decoration: none; padding: 1rem .25rem; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu .btn { margin-top: 1.6rem; justify-content: center; }

/* ---------- hero ---------- */
.hero { padding: clamp(1.5rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  border: 1.5px solid var(--line); border-radius: 999px; padding: .45rem 1rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--ink);
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

.hero h1 {
  font-size: clamp(3.1rem, 12.5vw, 7.2rem);
  font-weight: 800; line-height: .96; letter-spacing: -.03em;
  margin: 1.15rem 0 1.3rem;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.09em; }
.hero h1 .line-in { display: block; transform: translateY(115%); animation: rise .9s cubic-bezier(.22, .9, .28, 1) forwards; }
.hero h1 .line:nth-child(2) .line-in { animation-delay: .12s; }
.hero h1 .line:nth-child(3) .line-in { animation-delay: .24s; }
@keyframes rise { to { transform: translateY(0); } }
.accent-green { color: var(--green-dark); }

.hero-sub { font-size: 1.08rem; color: var(--ink-soft); max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }

.hero-highlights { list-style: none; display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; margin-top: 2rem; }
.hero-highlights li { display: flex; align-items: center; gap: .55rem; font-size: .93rem; font-weight: 600; }
.hl-ic {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: #EAF9F0; color: var(--ink);
}
.hl-ic svg { width: 15px; height: 15px; }
.hl-ic.yellow { background: var(--yellow); }
.hl-ic.pink { background: var(--pink); }
.hl-ic.blue { background: var(--blue); color: #fff; }

/* hero visual: arched photo + curved stripes */
.hero-visual { position: relative; justify-self: center; width: min(420px, 84vw); aspect-ratio: 5 / 6; margin: 6% 0; }
.hero-stripes { position: absolute; z-index: 0; top: -7%; bottom: -7%; left: -16%; width: 132%; height: 114%; overflow: visible; animation: pop 1s .3s cubic-bezier(.22, .9, .28, 1) both; }
.hero-arch {
  position: relative; z-index: 1; width: 100%; height: 100%;
  border-radius: 999px 999px 28px 28px; overflow: hidden;
  box-shadow: 0 34px 64px -26px rgba(15, 46, 34, .4);
  animation: pop .9s .5s cubic-bezier(.22, .9, .28, 1) both;
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; display: block; }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }

.hero-float {
  position: absolute; z-index: 2; background: #fff; border-radius: 16px;
  padding: .65rem .95rem; display: flex; gap: .65rem; align-items: center;
  box-shadow: 0 18px 40px -14px rgba(15, 46, 34, .3);
  font-family: var(--font-head); font-size: .85rem; font-weight: 700;
  animation: floaty 5s ease-in-out infinite;
}
.hero-float .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.hero-float .ic svg { width: 16px; height: 16px; }
.hero-float .ic.yellow { background: var(--yellow); }
.hero-float .ic.pink { background: var(--pink); }
.hero-float .ic.blue { background: var(--blue); color: #fff; }
.float-1 { top: 11%; left: -9%; }
.float-2 { bottom: 7%; right: -7%; animation-delay: -2.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 520px) { .float-1 { left: -3%; } .float-2 { right: -3%; } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 1.05rem 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: slide 28s linear infinite; }
.marquee-track .mq {
  display: inline-flex; align-items: center; gap: 1.7rem; padding-right: 1.7rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; color: var(--ink);
}
.mq .sep { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
.mq .sep.yellow { background: var(--yellow); }
.mq .sep.pink { background: var(--pink); }
.mq .sep.blue { background: var(--blue); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section-head { max-width: 580px; margin-bottom: 2.8rem; }
.kicker {
  display: flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-dark); margin-bottom: .95rem;
}
.kicker::before { content: ""; width: 22px; height: 2.5px; background: var(--green); border-radius: 2px; }
h2 { font-size: clamp(2rem, 5.5vw, 3.2rem); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; }
.section-sub { margin-top: .95rem; color: var(--ink-soft); font-size: 1.05rem; }

/* statement */
.statement {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.7rem, 4.8vw, 3.4rem); line-height: 1.25; letter-spacing: -.015em;
  max-width: 21ch;
}
.chip {
  display: inline-grid; place-items: center;
  width: 1.2em; height: 1.2em; border-radius: 50%;
  vertical-align: -0.2em; margin: 0 .14em; color: var(--ink);
  transition: transform .3s ease;
}
.statement .nw { white-space: nowrap; }
.chip:hover { transform: scale(1.12) rotate(-8deg); }
.chip svg { width: .78em; height: .78em; }
.chip.yellow { background: var(--yellow); }
.chip.pink { background: var(--pink); }
.chip.blue { background: var(--blue); color: #fff; }
.chip.green { background: var(--green); }

/* steps */
.steps { display: grid; gap: 1rem; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.step {
  background: var(--panel); border: 1px solid var(--line); border-radius: 28px;
  padding: 2rem 1.7rem 2.2rem;
  transition: transform .35s ease, box-shadow .35s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: 0 26px 46px -24px rgba(15, 46, 34, .3); }
.step-num {
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff; margin-bottom: 1.5rem;
}
.step:nth-child(2) .step-num { background: var(--green); color: var(--ink); }
.step:nth-child(3) .step-num { background: var(--yellow); color: var(--ink); }
.step h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: .55rem; }
.step p { color: var(--ink-soft); font-size: .98rem; }

/* niches */
.niches { display: flex; flex-wrap: wrap; gap: .7rem; }
.niche {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.4rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.niche:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 12px 26px -14px rgba(15, 46, 34, .4); }
.niche .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }

/* brands panel */
.brand-panel {
  background: var(--forest); border-radius: 36px; color: #fff;
  padding: clamp(2.5rem, 6vw, 4.5rem); position: relative; overflow: hidden;
}
.brand-panel::before, .brand-panel::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.brand-panel::before { right: -160px; top: -160px; width: 440px; height: 440px; border: 2px solid rgba(25, 196, 99, .3); }
.brand-panel::after { right: -90px; top: -90px; width: 300px; height: 300px; border: 2px solid rgba(25, 196, 99, .18); }
.brand-grid { display: grid; gap: 2rem; align-items: center; position: relative; z-index: 1; }
@media (min-width: 860px) { .brand-grid { grid-template-columns: 1.15fr .85fr; gap: 3rem; } }
.brand-panel h2 { color: #fff; }
.brand-panel p { color: #C9DFD3; margin-top: 1rem; max-width: 44ch; font-size: 1.05rem; }
.brand-cta { margin-top: 1.9rem; }
.brand-img { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; }
.brand-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* faq */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 1.4rem .2rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink);
  transition: color .2s ease;
}
.faq-q:hover { color: var(--green-dark); }
.faq-q .ic {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--line); display: grid; place-items: center;
  transition: transform .35s ease, background-color .3s ease, border-color .3s ease;
}
.faq-q .ic svg { width: 15px; height: 15px; }
.faq-item[data-open="true"] .faq-q .ic { transform: rotate(180deg); background: var(--green); border-color: var(--green); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.22, .9, .28, 1); }
.faq-item[data-open="true"] .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 .2rem 1.4rem; color: var(--ink-soft); max-width: 58ch; }

/* cta band */
.cta-band { text-align: center; }
.cta-band .inner { max-width: 640px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(2.4rem, 7vw, 4.4rem); }
.cta-band .section-sub { margin-inline: auto; }
.cta-band .btn { margin-top: 1.9rem; }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding: 2.8rem 0 2.2rem; }
.foot-grid { display: flex; flex-direction: column; gap: 1.6rem; }
@media (min-width: 720px) { .foot-grid { flex-direction: row; justify-content: space-between; align-items: center; } }
.foot-links { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.foot-links a { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: .95rem; display: inline-flex; align-items: center; gap: .45rem; transition: color .2s ease; }
.foot-links a:hover { color: var(--ink); }
.foot-links svg { width: 17px; height: 17px; }
.foot-note { color: var(--ink-soft); font-size: .9rem; }

/* join page */
.join-main { padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.join-head { text-align: center; max-width: 640px; margin: 0 auto 2.2rem; }
.join-head h1 { font-size: clamp(2.4rem, 7vw, 4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
.join-head p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.05rem; }
.form-wrap { max-width: 760px; margin: 0 auto; }
.form-alt { text-align: center; margin-bottom: 1.1rem; font-size: .95rem; color: var(--ink-soft); }
.form-alt a { color: var(--green-dark); font-weight: 700; }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(.5rem, 2vw, 1.2rem);
  box-shadow: 0 34px 64px -32px rgba(15, 46, 34, .3);
}
.form-card iframe { width: 100%; border: 0; border-radius: 20px; display: block; height: 2500px; background: #fff; }
@media (min-width: 640px) { .form-card iframe { height: 2250px; } }
.form-note { text-align: center; margin-top: 1.5rem; font-size: .92rem; color: var(--ink-soft); }
.form-note a { color: var(--green-dark); font-weight: 600; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.22, .9, .28, 1); transition-delay: var(--d, 0s); }
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1 .line-in { animation: none; transform: none; }
  .hero-arch, .hero-stripes { animation: none; }
  .marquee-track { animation: none; }
  .hero-float { animation: none; }
}

/* desktop: keep "brand deals." on one line */
@media (min-width: 900px) { .hero h1 { font-size: clamp(4rem, 6.9vw, 6.2rem); } }
