/* =========================================================
   HeatherXStudio — shared styles
   Balanced pastel palette: peachy orange / neon pastel green / pastel purple
   ========================================================= */

/* Oddval — display / heading typeface (SemiBold + SemiBold Italic) */
@font-face {
  font-family: 'Oddval';
  src: url('../fonts/Oddval-SemiBold.woff2') format('woff2'),
       url('../fonts/Oddval-SemiBold.woff') format('woff');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Oddval';
  src: url('../fonts/Oddval-SemiBoldItalic.woff2') format('woff2'),
       url('../fonts/Oddval-SemiBoldItalic.woff') format('woff');
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}

/* Garet — body typeface (Book for regular, Heavy for bold) */
@font-face {
  font-family: 'Garet';
  src: url('../fonts/Garet-Book.woff2') format('woff2'),
       url('../fonts/Garet-Book.woff') format('woff');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Garet';
  src: url('../fonts/Garet-Heavy.woff2') format('woff2'),
       url('../fonts/Garet-Heavy.woff') format('woff');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand pastels */
  --peach:        #FF9E7A;
  --peach-deep:   #F47B4F;
  --peach-soft:   #FFE7DB;
  --green:        #d3ff9e;
  --green-deep:   #b6f06a;
  --green-soft:   #eeffd6;
  --purple:       #B49CF2;
  --purple-deep:  #8E6BEA;
  --purple-soft:  #ECE4FF;

  /* Neutrals */
  --ink:          #221C24;
  --ink-soft:     #5A5260;
  --cream:        #FCF9F0; /* ivory */
  --card:         #FFFFFF;
  --line:         #EFE6DF;

  /* Type */
  --display: 'Oddval', Georgia, serif;
  --body: 'Garet', system-ui, sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -24px rgba(60, 40, 50, 0.35);
  --shadow-soft: 0 10px 30px -18px rgba(60, 40, 50, 0.28);
  --maxw: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--peach-deep);
}

.italic { font-style: italic; }

/* =========================================================
   Moving top banner — $7 Microniche Blueprint
   ========================================================= */
.promo {
  background: linear-gradient(90deg, var(--peach) 0%, var(--purple) 50%, var(--green) 100%);
  overflow: hidden;
  position: relative;
}
.promo a { display: block; }
.promo__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.promo:hover .promo__track { animation-play-state: paused; }
.promo__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.promo__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 26px;
  color: #2a1d22;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.promo__item strong { font-weight: 800; }
.promo__pill {
  background: #221C24;
  color: #fff;
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.promo__dot { width: 6px; height: 6px; border-radius: 50%; background: #2a1d22; opacity: 0.45; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .promo__track { animation: none; }
}

/* =========================================================
   Header / nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 248, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.brand .x {
  color: var(--peach-deep);
  font-style: italic;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--purple-deep); }
.nav__links a.ext::after {
  content: "↗";
  font-size: 0.72em;
  margin-left: 3px;
  opacity: 0.55;
}
.nav__links a.active { color: var(--peach-deep); }
.nav__links a.active::before {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--peach);
  border-radius: 2px;
}
.yt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ff0000;
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  box-shadow: 0 0 16px 2px rgba(255, 0, 0, 0.35);
  animation: yt-glow 2.4s ease-in-out infinite;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.yt:hover { transform: translateY(-1px); background: #d6452f; box-shadow: 0 0 24px 5px rgba(255, 0, 0, 0.6); animation: none; }
.yt:active { transform: translateY(0) scale(0.96); box-shadow: 0 0 34px 9px rgba(255, 0, 0, 0.85); animation: none; }
.yt svg { width: 18px; height: 18px; fill: #fff; }
.yt__label {
  white-space: nowrap;
}
@keyframes yt-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.5), 0 0 14px 2px rgba(255, 0, 0, 0.35); }
  50% { box-shadow: 0 0 0 7px rgba(255, 0, 0, 0), 0 0 24px 6px rgba(255, 0, 0, 0.55); }
}
@media (prefers-reduced-motion: reduce) {
  .yt { animation: none; }
}

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.25s;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn--peach { background: var(--peach); color: #2a1d22; box-shadow: var(--shadow-soft); }
.btn--peach:hover { transform: translateY(-2px); background: var(--peach-deep); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--green { background: var(--green); color: #173a29; }
.btn--green:hover { transform: translateY(-2px); background: var(--green-deep); color:#173a29; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: 86px 0 70px;
  overflow: hidden;
}
/* Gradient glow removed — clean ivory background */
.hero__blob { display: none; }
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.3rem);
  margin-bottom: 22px;
}
.hero h1 em { color: var(--peach-deep); font-style: italic; }
.hero__lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 30em; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__note { font-size: 0.85rem; color: var(--ink-soft); margin: 18px 0 0; }

.hero__card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  position: relative;
}
.hero__card .tag {
  position: absolute; top: -14px; left: 26px;
  background: var(--green); color: #173a29;
  font-weight: 800; font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}

/* ----- Hero photo composite (arch portrait + floating stats window) ----- */
.hero__media { position: relative; padding: 18px 10px 10px 0; }
.hero__img {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  margin-left: auto;
  filter: drop-shadow(0 26px 50px rgba(60, 40, 50, 0.22));
}
.hero__video {
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  filter: drop-shadow(0 26px 50px rgba(60, 40, 50, 0.22));
}
.hero__video iframe { display: block; width: 100%; height: 100%; border: 0; }
.hero__photo {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  aspect-ratio: 4 / 5;
  border-radius: 210px 210px 24px 24px; /* arch top */
  overflow: hidden;
  background: var(--purple-soft);
  box-shadow: var(--shadow);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__photo .placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center; text-align: center;
  color: var(--ink-soft); font-size: 0.86rem; padding: 24px;
}
/* Floating analytics window — matches brand dashboard look */
.stats-window {
  position: absolute;
  top: -6px; right: -8px;
  width: min(330px, 78%);
  background: #fff;
  border: 2px solid var(--purple-deep);
  border-radius: 16px;
  box-shadow: 0 22px 50px -22px rgba(60,40,50,.5);
  overflow: hidden;
  z-index: 2;
}
.stats-window__bar {
  background: var(--green);
  height: 34px;
  display: flex; align-items: center; gap: 7px;
  padding: 0 14px;
}
.stats-window__bar i {
  width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 3px; display:inline-block;
}
.stats-window__bar i:first-child { border:0; position:relative; }
.stats-window__bar i:first-child::before,
.stats-window__bar i:first-child::after {
  content:""; position:absolute; left:0; top:5px; width:14px; height:2px; background:var(--ink);
}
.stats-window__bar i:first-child::before { transform: rotate(45deg); }
.stats-window__bar i:first-child::after { transform: rotate(-45deg); }
.stats-window__bar i:last-child { border:0; width:12px; height:2px; background:var(--ink); border-radius:0; }
.stats-window__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px 16px; padding: 18px 18px 20px;
}
.stats-window__grid div span {
  display:block; font-size:0.62rem; letter-spacing:0.04em; color:var(--ink-soft); text-transform:capitalize; margin-bottom:3px;
}
.stats-window__grid div b { font-family: var(--display); font-size: 1.15rem; color: var(--ink); }
.stats-window__rev { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; }
.stats-window__rev b { color: var(--peach-deep); font-size: 1.4rem; }

@media (max-width: 920px) {
  .hero__media { padding: 0; }
  .hero__photo { margin: 0 auto; }
  .hero__img { margin: 0 auto; }
  .hero__video { margin: 0 auto; }
  .stats-window { right: 0; }
}
.stat-row { display: flex; gap: 14px; margin-top: 6px; }
.stat {
  flex: 1;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}
.stat b { font-family: var(--display); font-size: 1.7rem; display: block; color: var(--peach-deep); }
.stat span { font-size: 0.78rem; color: var(--ink-soft); }

/* =========================================================
   Sections / generic
   ========================================================= */
.section { padding: 78px 0; }
.section--soft { background: var(--purple-soft); }
.section--peach { background: var(--peach-soft); }
.section--green { background: var(--green-soft); }
.section__head { max-width: 38em; margin-bottom: 44px; }
.section__head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 14px; }
.section__head p { color: var(--ink-soft); font-size: 1.08rem; }

/* Card grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.4rem; margin-bottom: 16px;
}
.ic-peach { background: var(--peach-soft); }
.ic-green { background: var(--green-soft); }
.ic-purple { background: var(--purple-soft); }
.card h3 { font-size: 1.32rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }
.card .code-chip {
  display: inline-block;
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: #173a29;
  background: var(--green);
  border-radius: 10px;
  padding: 7px 12px;
}
.card .code-chip strong { font-weight: 800; letter-spacing: 0.02em; }
.card a.more { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--purple-deep); }
.card a.more:hover { color: var(--peach-deep); }

/* Feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split ul { list-style: none; padding: 0; margin: 22px 0 0; }
.split li { padding: 10px 0 10px 34px; position: relative; color: var(--ink-soft); }
.split li::before {
  content: "✓"; position: absolute; left: 0; top: 9px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #173a29;
  display: grid; place-items: center; font-size: 0.75rem; font-weight: 800;
}
.media-card {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 40px;
  box-shadow: var(--shadow);
}

/* Pricing / offer band */
.offer {
  background: linear-gradient(120deg, var(--ink) 0%, #3a2b36 100%);
  color: #fff;
  border-radius: 28px;
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.offer::before, .offer::after {
  content:""; position:absolute; border-radius:50%; filter: blur(50px); opacity:0.5;
}
.offer::before { width:260px; height:260px; background: var(--peach); top:-80px; left:-60px; }
.offer::after { width:240px; height:240px; background: var(--green); bottom:-90px; right:-50px; opacity:0.4; }
.offer > * { position: relative; z-index:1; }
.offer h2 { color:#fff; font-size: clamp(2rem,4vw,3rem); }
.offer p { color: rgba(255,255,255,0.78); max-width: 34em; margin: 14px auto 26px; }
.offer .price { font-family: var(--display); font-size: 3.2rem; color: var(--green); display:inline-block; }
.offer .price s { color: rgba(255,255,255,0.5); font-size: 1.4rem; margin-left: 10px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 60px 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__brand .brand { color:#fff; font-size: 1.5rem; }
.footer__brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; margin-top: 14px; max-width: 26em; }
.footer h4 { font-family: var(--body); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin: 0 0 16px; }
.footer ul { list-style:none; padding:0; margin:0; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,0.78); font-size: 0.93rem; transition: color 0.2s; }
.footer a:hover { color: var(--peach); }
.footer__bottom {
  display:flex; justify-content: space-between; align-items:center;
  padding-top: 24px; flex-wrap: wrap; gap: 12px;
}
.footer__bottom p { color: rgba(255,255,255,0.5); font-size: 0.82rem; margin:0; }
.socials { display:flex; gap:14px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items:center;
  transition: background 0.2s, transform 0.2s;
}
.socials a:hover { background: var(--peach); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill:#fff; }

/* =========================================================
   Page header (interior pages)
   ========================================================= */
.page-head {
  padding: 70px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 14px; }
.page-head p { color: var(--ink-soft); font-size: 1.12rem; max-width: 34em; margin: 0 auto; }
.page-head .hero__blob { opacity: 0.35; }

/* Revenue counter band */
.results { padding: 70px 0; }
.count-num {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3.4rem, 11vw, 8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--peach-deep);
  margin: 10px 0 6px;
  font-variant-numeric: tabular-nums;
}
.results__label { font-size: clamp(1.05rem, 2.4vw, 1.5rem); font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.results__fine { font-size: 0.82rem; color: var(--ink-soft); font-style: italic; margin: 0; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Legal / policy pages
   ========================================================= */
.legal { max-width: 50em; margin: 0 auto; }
.legal h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 48px 0 14px; }
.legal h3 { font-size: 1.18rem; margin: 34px 0 10px; }
.legal h4 { font-family: var(--display); font-weight: 600; font-size: 1.02rem; margin: 24px 0 8px; color: var(--ink); }
.legal > :first-child { margin-top: 0; }
.legal p { color: var(--ink-soft); font-size: 1rem; line-height: 1.75; margin: 0 0 16px; }
.legal ul, .legal ol { color: var(--ink-soft); font-size: 1rem; line-height: 1.7; margin: 0 0 16px; padding-left: 1.3em; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--peach-deep); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.legal a:hover { color: var(--ink); }
.legal hr { border: 0; border-top: 1px solid rgba(34,28,36,0.12); margin: 36px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 0.92rem; }
.legal th, .legal td { border: 1px solid rgba(34,28,36,0.14); padding: 12px 14px; text-align: left; vertical-align: top; color: var(--ink-soft); }
.legal td strong { color: var(--ink); }
.legal td p { margin: 0; }

/* Footer legal links row */
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.footer__legal a { color: rgba(255,255,255,0.6); font-size: 0.82rem; }
.footer__legal a:hover { color: var(--peach); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 920px) {
  .hero__grid, .split { grid-template-columns: 1fr; }
  .hero__card { order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 22px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links li { width: 100%; padding: 8px 0; }
  .yt { width: 100%; justify-content: center; padding: 9px 16px; }
  .cards, .cards--2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .offer { padding: 40px 24px; }
  .section { padding: 56px 0; }
}
