/* ==========================================================
   Two Feathers — pop & colorful theme
   ========================================================== */
:root {
  --cream: #FFF8EC;
  --ink: #1B1340;
  --ink-soft: #4A4370;
  --pink: #FF4FA3;
  --yellow: #FFD23F;
  --mint: #2FD8A0;
  --blue: #4D7CFE;
  --purple: #8B5CF6;
  --orange: #FF8A3D;
  --white: #ffffff;
  --radius: 28px;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --font-head: "Bricolage Grotesque", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(1140px, 92%); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 236, .88);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--ink);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; }
.brand svg { width: 42px; height: 42px; }
.nav-links { display: flex; gap: .4rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; font-weight: 600; padding: .5rem .95rem; border-radius: 999px; transition: background .2s; }
.nav-links a:hover { background: var(--yellow); }
.nav-links .btn { margin-left: .4rem; }
.menu-toggle { display: none; background: var(--yellow); border: 3px solid var(--ink); border-radius: 14px; width: 48px; height: 48px; font-size: 1.4rem; cursor: pointer; box-shadow: var(--shadow-sm); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  padding: .85rem 1.6rem; border-radius: 999px;
  border: 3px solid var(--ink); text-decoration: none; cursor: pointer;
  background: var(--pink); color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn.alt { background: var(--white); color: var(--ink); }
.btn.yellow { background: var(--yellow); color: var(--ink); }
.btn.small { padding: .55rem 1.1rem; font-size: .95rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 5.5rem 0 6.5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; position: relative; z-index: 2; }
.tag {
  display: inline-block; background: var(--mint); border: 3px solid var(--ink);
  padding: .3rem 1rem; border-radius: 999px; font-weight: 700; font-size: .9rem;
  transform: rotate(-2deg); margin-bottom: 1.4rem;
}
.hero h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.02; letter-spacing: -.035em;
}
.hero h1 .hl { position: relative; display: inline-block; color: var(--pink); }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .28em;
  background: var(--yellow); z-index: -1; border-radius: 6px; transform: rotate(-1.5deg);
}
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); margin: 1.5rem 0 2.2rem; max-width: 34rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-art { position: relative; aspect-ratio: 1; }
.hero-art .card-stack { position: absolute; inset: 0; }
.float-card {
  position: absolute; border: 3px solid var(--ink); border-radius: 24px; box-shadow: var(--shadow);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: var(--ink);
}
.fc1 { width: 58%; height: 58%; left: 4%; top: 6%; background: var(--blue); transform: rotate(-8deg); animation: bob 6s ease-in-out infinite; }
.fc2 { width: 52%; height: 52%; right: 2%; top: 22%; background: var(--yellow); transform: rotate(7deg); animation: bob 7s ease-in-out infinite reverse; }
.fc3 { width: 50%; height: 44%; left: 18%; bottom: 2%; background: var(--pink); transform: rotate(-3deg); animation: bob 5.5s ease-in-out infinite; }
.float-card svg { width: 62%; height: 62%; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.blob { position: absolute; border-radius: 50%; filter: blur(2px); z-index: 1; opacity: .9; }
.blob.b1 { width: 340px; height: 340px; background: var(--purple); opacity: .16; top: -90px; right: -90px; }
.blob.b2 { width: 220px; height: 220px; background: var(--mint); opacity: .25; bottom: -60px; left: -60px; }
.blob.b3 { width: 120px; height: 120px; background: var(--orange); opacity: .3; top: 40%; left: 48%; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--yellow); border-block: 3px solid var(--ink); overflow: hidden; transform: rotate(-1.2deg); margin: -1rem -2rem 0; }
.marquee-track { display: flex; gap: 2.5rem; white-space: nowrap; padding: 1rem 0; animation: scroll 28s linear infinite; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; width: max-content; }
.marquee-track span::after { content: "✦"; margin-left: 2.5rem; color: var(--pink); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 6rem 0; }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 3.5rem; }
.section-head .eyebrow { font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; }
.section-head h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.03em; line-height: 1.1; margin: .5rem 0 1rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* products */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.product {
  background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s;
}
.product:hover { transform: translateY(-6px) rotate(-.6deg); }
.product .thumb { aspect-ratio: 4/3; display: grid; place-items: center; border-bottom: 3px solid var(--ink); position: relative; }
.product .thumb svg { width: 46%; }
.product .badge { position: absolute; top: 14px; left: 14px; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: .15rem .7rem; font-size: .8rem; font-weight: 700; }
.product .body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.product h3 { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.product p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.product .meta { display: flex; justify-content: space-between; align-items: center; margin-top: .4rem; }
.product .format { font-size: .82rem; font-weight: 700; color: var(--purple); }
.bg-pink { background: var(--pink); } .bg-yellow { background: var(--yellow); } .bg-mint { background: var(--mint); }
.bg-blue { background: var(--blue); } .bg-purple { background: var(--purple); } .bg-orange { background: var(--orange); }

/* how it works */
.how { background: var(--blue); color: var(--white); border-block: 3px solid var(--ink); position: relative; overflow: hidden; }
.how .section-head .eyebrow { color: var(--yellow); }
.how .section-head p { color: #E6ECFF; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; counter-reset: step; }
.step { background: var(--white); color: var(--ink); border: 3px solid var(--ink); border-radius: var(--radius); padding: 2rem 1.8rem; box-shadow: var(--shadow); position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -26px; left: 24px; width: 52px; height: 52px; border-radius: 50%;
  background: var(--yellow); border: 3px solid var(--ink); display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
}
.step:nth-child(2)::before { background: var(--mint); }
.step:nth-child(3)::before { background: var(--pink); color: var(--white); }
.step h3 { font-family: var(--font-head); font-size: 1.3rem; margin: .8rem 0 .5rem; }
.step p { color: var(--ink-soft); }

/* about */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.about-visual { position: relative; aspect-ratio: 1; background: var(--yellow); border: 3px solid var(--ink); border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; box-shadow: var(--shadow); display: grid; place-items: center; }
.about-visual svg { width: 60%; }
.about-text h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.03em; line-height: 1.1; margin: .5rem 0 1.2rem; }
.about-text p { color: var(--ink-soft); margin-bottom: 1rem; font-size: 1.08rem; }
.values { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.values li { list-style: none; border: 2px solid var(--ink); border-radius: 999px; padding: .4rem 1rem; font-weight: 700; font-size: .92rem; background: var(--white); }
.values li:nth-child(1) { background: var(--mint); } .values li:nth-child(2) { background: var(--pink); color: #fff; } .values li:nth-child(3) { background: var(--blue); color: #fff; } .values li:nth-child(4) { background: var(--yellow); }

/* faq */
.faq { background: var(--white); border-top: 3px solid var(--ink); }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 1rem; }
.faq details { border: 3px solid var(--ink); border-radius: 22px; background: var(--cream); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { cursor: pointer; padding: 1.2rem 1.5rem; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--pink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.5rem 1.4rem; color: var(--ink-soft); }

/* contact */
.contact-card {
  background: var(--purple); color: var(--white); border: 3px solid var(--ink); border-radius: 40px;
  box-shadow: 10px 10px 0 var(--ink); padding: 4rem 3rem; text-align: center; position: relative; overflow: hidden;
}
.contact-card h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.03em; line-height: 1.1; }
.contact-card p { color: #EDE7FF; margin: 1rem auto 2rem; max-width: 34rem; font-size: 1.1rem; }
.contact-card .email { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.1rem, 2.6vw, 1.6rem); background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); border-radius: 999px; padding: .8rem 1.8rem; text-decoration: none; box-shadow: var(--shadow-sm); word-break: break-all; }
.contact-info { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; font-size: .95rem; color: #EDE7FF; }
.contact-card .spark { position: absolute; font-size: 3rem; color: var(--yellow); }
.contact-card .s1 { top: 20px; left: 30px; } .contact-card .s2 { bottom: 20px; right: 40px; color: var(--mint); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #CFC9F0; padding: 4rem 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer .brand { color: var(--white); margin-bottom: 1rem; }
.site-footer h4 { color: var(--yellow); font-family: var(--font-head); margin-bottom: .9rem; font-size: 1.05rem; }
.site-footer ul { list-style: none; display: grid; gap: .45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--pink); }
.footer-bottom { border-top: 1px solid #3A3266; margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .9rem; }

/* ---------- Legal pages ---------- */
.page-hero { padding: 4.5rem 0 3rem; text-align: center; position: relative; overflow: hidden; }
.page-hero h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.035em; }
.page-hero p { color: var(--ink-soft); margin-top: .6rem; }
.legal { padding: 0 0 5rem; }
.legal-card { max-width: 860px; margin: 0 auto; background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 3rem clamp(1.4rem, 5vw, 3.5rem); }
.legal-card h2 { font-family: var(--font-head); font-size: 1.4rem; margin: 2.2rem 0 .7rem; padding-left: .9rem; border-left: 6px solid var(--pink); }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: var(--ink-soft); margin-bottom: .7rem; }
.legal-card ul { padding-left: 1.4rem; }
.legal-table { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 1rem; border-bottom: 2px dashed #E6DFF5; }
.legal-table th { width: 34%; font-family: var(--font-head); color: var(--ink); background: #FFF3D6; }
.legal-table td { color: var(--ink-soft); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin: 0 auto; width: 100%; }
  .product-grid, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--cream); border-bottom: 3px solid var(--ink); padding: 1rem 4%;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links .btn { margin: .4rem 0 0; justify-content: center; }
  .product-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .steps { gap: 2.6rem; }
  section { padding: 4.5rem 0; }
  .contact-card { padding: 3rem 1.4rem; }
  .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table th { border-bottom: none; padding-bottom: .4rem; }
}

/* ---------- Wordmark logo ---------- */
.brand .wordmark { height: 54px; width: auto; }
.site-footer .brand .wordmark { height: 52px; }
.wordmark.light { filter: brightness(0) invert(1); opacity: .92; }
@media (max-width: 760px) { .brand .wordmark { height: 38px; } }
