/* ========== ATTUNE — Magazine hero + floats / zigzag features / pill pipeline / stacked proof ========== */
:root {
  --bg: #fbf2eb;
  --elev: #fff8f5;
  --card: rgba(255, 255, 255, 0.88);
  --border: rgba(129, 79, 140, 0.2);
  --text: #2f2236;
  --muted: #7f6e88;
  --coral: #ff8f6b;
  --lilac: #9c64d8;
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --gutter: clamp(1rem, 4vw, 2rem);
  --container: min(1040px, calc(100% - var(--gutter) * 2));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .float-card {
    animation: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: radial-gradient(120% 120% at 8% 0%, #ffe8dc 0%, transparent 38%),
    radial-gradient(120% 120% at 100% 10%, #f0e3ff 0%, transparent 42%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
}
img {
  max-width: 100%;
  height: auto;
}
main {
  min-width: 0;
}
h1,
h2,
h3 {
  overflow-wrap: break-word;
}
a {
  color: var(--coral);
}
a:hover {
  color: #cb8dbd;
}
.container {
  width: var(--container);
  margin-inline: auto;
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 0.5rem;
  gap: 1rem;
  padding: 0.85rem max(1rem, 4vw);
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.masthead__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.05rem, 3.5vw, 1.2rem);
  color: var(--text);
  text-decoration: none;
}
.masthead__glyph {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
}
.masthead__nav {
  display: none;
  gap: 1.5rem;
  font-weight: 600;
  font-size: 0.88rem;
}
.masthead__nav a {
  color: var(--muted);
  text-decoration: none;
}
.masthead__nav a:hover {
  color: var(--text);
}
@media (min-width: 768px) {
  .masthead__nav {
    display: flex;
  }
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: 14px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  background: color-mix(in srgb, #ffffff 76%, var(--card));
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}
.pill-btn:hover {
  border-color: var(--coral);
}
.pill-btn:active {
  transform: scale(0.98);
}
.pill-btn--solid {
  background: linear-gradient(135deg, #ff9f57, #bf66db);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(191, 102, 219, 0.24);
}
.pill-btn--solid:hover {
  filter: brightness(1.04);
  border-color: transparent;
  color: #ffffff;
}

/* Magazine hero */
.mag-hero {
  padding: clamp(2.5rem, 7vw, 4.5rem) 0;
  overflow: hidden;
  position: relative;
}
.mag-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 143, 107, 0.09), rgba(156, 100, 216, 0.08));
}
.mag-hero__main {
  min-width: 0;
}
.mag-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .mag-hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}
.label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lilac);
  margin: 0 0 0.75rem;
}
.mag-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.deck {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-weight: 500;
  max-width: 36rem;
}
.mag-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 420px;
}
@media (min-width: 480px) {
  .mag-form {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
  }
  .mag-form--center {
    margin-inline: auto;
    justify-content: center;
  }
}
.mag-form input[type="email"] {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font: inherit;
  outline: none;
}
.mag-form input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(191, 102, 219, 0.15);
}
.hint {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
}
.hint a {
  color: var(--muted);
}
.hint a:hover {
  color: var(--text);
}

.mag-hero__aside {
  position: relative;
  min-height: min(320px, 52vw);
  max-width: 100%;
  overflow: hidden;
}
.mag-hero__art {
  width: 100%;
  max-width: min(500px, 100%);
  max-height: min(640px, 82vh);
  margin-inline: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}
.mag-hero__floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  min-height: 200px;
}
.float-card {
  position: absolute;
  padding: clamp(0.75rem, 3vw, 1rem) clamp(0.85rem, 3vw, 1.15rem);
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, var(--elev), var(--card));
  box-shadow: 0 16px 36px rgba(77, 46, 95, 0.18);
  max-width: min(220px, calc(100vw - var(--gutter) * 2 - 1.5rem));
  animation: floaty 7s ease-in-out infinite;
}
.float-card span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.float-card strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
}
.float-card--a {
  top: 0;
  right: 8%;
}
.float-card--b {
  bottom: 0;
  right: 0;
  animation-delay: -3.5s;
}
@media (max-width: 899px) {
  .float-card--a {
    right: auto;
    left: 0;
    top: 4%;
  }
  .float-card--b {
    right: 0;
    left: auto;
    bottom: 6%;
  }
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.section {
  padding: clamp(2.75rem, 6vw, 4rem) 0;
}
.zigzag-intro {
  max-width: 480px;
  margin-bottom: 2rem;
}
.zigzag-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.5rem;
}
.zigzag-intro p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.zigzag {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.zigzag__row {
  display: grid;
  gap: 1rem;
  align-items: center;
}
@media (min-width: 768px) {
  .zigzag__row {
    grid-template-columns: 1fr 1fr;
  }
  .zigzag__row--flip .zigzag__text {
    order: 2;
  }
  .zigzag__row--flip .zigzag__panel {
    order: 1;
  }
}
.zigzag__tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--coral);
}
.zigzag__text {
  min-width: 0;
}
.zigzag__text h3 {
  font-family: var(--font-serif);
  margin: 0.35rem 0 0.35rem;
  font-size: 1.2rem;
}
.zigzag__text p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.zigzag__panel {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  min-height: 0;
}
.zigzag__panel img {
  width: 100%;
  aspect-ratio: 10 / 7;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 34px rgba(77, 46, 95, 0.18);
  background: color-mix(in srgb, var(--card) 85%, transparent);
}

.pipe-section {
  background: linear-gradient(180deg, transparent, rgba(156, 100, 216, 0.08) 45%, transparent);
  border-block: 1px solid var(--border);
}
.pipe {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}
.pipe__arrow {
  display: none;
}
@media (min-width: 800px) {
  .pipe {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  .pipe__arrow {
    display: block;
    font-size: 1.25rem;
    color: var(--muted);
    padding: 0 0.25rem;
    text-align: center;
    line-height: 1;
  }
}
.pipe__step {
  flex: 1;
  min-width: 0;
  padding: 1.15rem clamp(1rem, 3vw, 1.25rem);
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--card);
  text-align: center;
}
.pipe__step span {
  display: block;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lilac);
  margin-bottom: 0.25rem;
}
.pipe__step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

.stack-proof {
  padding-bottom: 3rem;
}
.stack-proof__pile {
  position: relative;
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
}
@media (min-width: 700px) {
  .stack-proof__pile {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .stack-preview {
    grid-column: 1 / -1;
  }
}
.stack-card {
  margin: 0;
  padding: 1.5rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--elev);
}
.stack-card--back {
  transform: rotate(-1.5deg);
  opacity: 0.92;
}
.stack-card--front {
  transform: rotate(1deg) translateY(-0.5rem);
  box-shadow: 0 20px 50px rgba(77, 46, 95, 0.18);
}
@media (min-width: 700px) {
  .stack-card--back {
    margin-right: 1rem;
  }
  .stack-card--front {
    margin-left: 1rem;
    margin-top: 2rem;
  }
}
@media (max-width: 699px) {
  .stack-card--back,
  .stack-card--front {
    transform: none;
    margin: 0;
    opacity: 1;
  }
}
.stack-card p {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-style: italic;
  margin: 0 0 0.75rem;
  line-height: 1.45;
}
.stack-card footer {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}
.stack-preview {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}
.stack-preview img {
  width: auto;
  max-width: 100%;
  max-height: min(420px, 70vh);
  margin-inline: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 55px rgba(77, 46, 95, 0.2);
}

.attune-cta {
  padding: 2.5rem 0 3rem;
  text-align: center;
  border-top: 1px solid var(--border);
}
.attune-cta__wrap h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 0 0 1.25rem;
}

.attune-foot {
  padding: 1.25rem 0 2rem;
  border-top: 1px solid var(--border);
}
.attune-foot__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-serif);
  font-weight: 600;
}
.attune-foot__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (max-width: 480px) {
  .mag-form .pill-btn--solid,
  .attune-cta__wrap .pill-btn--solid {
    width: 100%;
  }
}
.attune-foot__row p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

/* Motion: load-in + scroll reveal */
html.has-motion body {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms ease, transform 420ms ease;
}
html.has-motion body.is-loaded {
  opacity: 1;
  transform: none;
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.has-motion body,
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ——— Legal & trust (privacy, terms, footer disclaimer) ——— */
.site-disclaimer {
  margin: 0 auto 1rem;
  max-width: 40rem;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
  opacity: 0.88;
  color: var(--muted, var(--color-text-muted, inherit));
}
.business-contact {
  margin: 0 auto 1rem;
  max-width: 40rem;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
  font-style: normal;
  color: var(--muted, var(--color-text-muted, inherit));
}
.business-contact a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  align-items: center;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--muted, var(--color-text-muted, inherit));
}
.legal-nav a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.legal-page {
  padding: 2rem 0 4rem;
}
.legal-page .container {
  max-width: 42rem;
}
.legal-page h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
}
.legal-page .legal-meta {
  margin: 0 0 2rem;
  font-size: 0.85rem;
  opacity: 0.75;
}
.legal-page h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.08rem;
}
.legal-page p,
.legal-page li {
  margin: 0.65rem 0;
  line-height: 1.65;
}
.legal-page ul {
  margin: 0.5rem 0;
  padding-left: 1.2rem;
}

