/* The Confidence App website. Rose Dawn: blush ground, plum ink, berry accent. */
:root {
  --blush-1: #FFEDE3;
  --blush-2: #FBD3CA;
  --blush-3: #F4B9B5;
  --ink: #3A1F2E;
  --ink-2: #6A4A5B;
  --berry: #B8386A;
  --berry-2: #D9708F;
  --plum: #2E1631;
  --cream: #FFF6F0;
  --card: rgba(255, 255, 255, 0.72);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, var(--blush-1) 0%, var(--blush-2) 55%, var(--blush-3) 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; margin: 0; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08; }
em { font-style: italic; font-weight: 300; color: var(--berry); }

/* top bar */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 64px);
  background: #FFEDE3;
  box-shadow: 0 1px 0 rgba(58, 31, 46, 0.08);
}
.word { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.35rem; text-decoration: none; }
.top nav { display: flex; gap: 26px; font-size: 0.92rem; }
.top nav a { text-decoration: none; color: var(--ink-2); }
.top nav a:hover { color: var(--berry); }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 5vw, 64px) clamp(56px, 7vw, 100px);
  max-width: 1280px; margin: 0 auto;
}
.kicker { margin: 0 0 18px; color: var(--berry); font-weight: 500; font-size: 0.95rem; }
.hero h1 { font-size: clamp(2.9rem, 6.2vw, 5.4rem); line-height: 1; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-2); max-width: 30em; margin: 26px 0 0; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 34px; }
.pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--plum); color: var(--cream);
  padding: 10px 22px 10px 10px; border-radius: 999px; font-weight: 500; font-size: 0.98rem;
  box-shadow: 0 14px 34px rgba(46, 22, 49, 0.25);
}
.pill img { border-radius: 8px; }
.ghost { color: var(--ink); font-weight: 500; text-underline-offset: 5px; }
.facts { list-style: none; display: flex; gap: clamp(18px, 3vw, 40px); padding: 0; margin: 36px 0 0; color: var(--ink-2); font-size: 0.95rem; }
.facts strong { font-family: var(--serif); font-weight: 400; font-size: 2.1rem; color: var(--ink); margin-right: 4px; }

.arch { margin: 0; position: relative; }
.arch img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%;
  border-radius: 999px 999px 28px 28px;
  box-shadow: 0 40px 80px rgba(120, 40, 80, 0.28);
}
.arch::after { /* soft plum wash so the photo sits in the palette */
  content: ""; position: absolute; inset: 0; border-radius: 999px 999px 28px 28px;
  background: linear-gradient(180deg, rgba(46,22,49,0) 55%, rgba(46,22,49,0.28));
  pointer-events: none;
}

/* photo band with frosted steps */
.band {
  position: relative; background: var(--band) center 30% / cover no-repeat fixed;
  color: var(--cream);
}
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46,22,49,0.72), rgba(46,22,49,0.86)); }
.band-in { position: relative; max-width: 1100px; margin: 0 auto; padding: clamp(72px, 10vw, 140px) clamp(20px, 5vw, 64px); }
.band h2 { max-width: 14em; }
.band-lead { max-width: 34em; margin: 22px 0 0; font-size: 1.12rem; color: rgba(255, 246, 240, 0.86); }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 56px 0 0; }
.steps li {
  counter-increment: s;
  background: rgba(255, 246, 240, 0.1); border: 1px solid rgba(255, 246, 240, 0.22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 24px; padding: 28px;
}
.steps li::before { content: counter(s); font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--berry-2); display: block; line-height: 1; margin-bottom: 14px; }
.steps span { font-family: var(--serif); font-size: 1.5rem; display: block; margin-bottom: 8px; }
.steps p { margin: 0; color: rgba(255, 246, 240, 0.84); font-size: 0.98rem; }

/* screens */
.screens { padding: clamp(72px, 10vw, 136px) clamp(20px, 5vw, 64px) clamp(40px, 6vw, 80px); text-align: center; overflow: hidden; }
.sub { color: var(--ink-2); max-width: 32em; margin: 16px auto 0; font-size: 1.08rem; }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 3vw, 44px); margin-top: 56px; }
.phones figure { margin: 0; width: min(28vw, 270px); }
.phones img { border-radius: 30px; border: 7px solid var(--plum); box-shadow: 0 30px 60px rgba(120, 40, 80, 0.3); background: var(--plum); }
.phones .mid { width: min(32vw, 310px); transform: translateY(-26px); }
.phones figcaption { margin-top: 16px; color: var(--ink-2); font-size: 0.92rem; }

/* library */
.library { padding: clamp(48px, 7vw, 100px) clamp(20px, 5vw, 64px); text-align: center; max-width: 1000px; margin: 0 auto; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 36px 0 0; }
.chips li { background: var(--card); border: 1px solid rgba(184, 56, 106, 0.18); padding: 10px 18px; border-radius: 999px; font-size: 0.95rem; }

/* pricing */
.pro { padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 64px) 40px; max-width: 1000px; margin: 0 auto; text-align: center; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; text-align: left; }
.plans article { background: var(--card); border-radius: 28px; padding: 34px; border: 1px solid rgba(184, 56, 106, 0.14); }
.plans h3 { font-size: 1.3rem; color: var(--berry); font-style: italic; }
.big { font-family: var(--serif); font-size: 2.2rem; margin: 6px 0 12px; line-height: 1.1; }
.plans p { margin: 0 0 10px; color: var(--ink-2); }
.plans .big { color: var(--ink); }
.plans .hi { background: linear-gradient(160deg, #C2456E, #8E2D55); color: var(--cream); border: 0; box-shadow: 0 30px 60px rgba(142, 45, 85, 0.35); }
.plans .hi h3, .plans .hi .big { color: var(--cream); }
.plans .hi p { color: rgba(255, 246, 240, 0.9); }
.price { font-weight: 600; font-size: 1.05rem; margin-top: 18px !important; }
.price span { font-weight: 300; opacity: 0.8; padding: 0 4px; }
.fine { color: var(--ink-2); font-size: 0.9rem; max-width: 40em; margin: 26px auto 0; }

/* closing */
.close { text-align: center; padding: clamp(72px, 10vw, 140px) 20px clamp(72px, 9vw, 120px); }
.close p { color: var(--ink-2); margin: 16px 0 32px; font-size: 1.1rem; }
.big-pill { font-size: 1.05rem; padding: 12px 28px 12px 12px; }

/* footer */
.foot { background: var(--plum); color: var(--cream); padding: 56px clamp(20px, 5vw, 64px) 44px; }
.foot-in { max-width: 1100px; margin: 0 auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; margin: 22px 0 28px; }
.foot nav a { text-decoration: none; opacity: 0.9; }
.foot nav a:hover { text-decoration: underline; }
.foot .note { color: rgba(255, 246, 240, 0.7); font-size: 0.88rem; margin: 0 0 8px; max-width: 46em; }

/* one entrance, nothing else moves on its own */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.32s; }
  .arch { animation: rise 1.1s 0.15s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; border-radius: 6px; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; }
  .arch { max-width: 420px; margin: 8px auto 0; }
  .steps { grid-template-columns: 1fr; }
  .voices { grid-template-columns: 1fr; margin-left: 20px; margin-right: 20px; }
  .voices-photo { min-height: 280px; }
  .plans { grid-template-columns: 1fr; }
  .band { background-attachment: scroll; }
  .top nav a:not(:last-child) { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .facts strong { font-size: 1.7rem; }
  .phones { gap: 10px; }
  .phones img { border-width: 4px; border-radius: 18px; }
  .phones .mid { transform: translateY(-14px); }
  .voices-copy dt { min-width: 5.5em; font-size: 1.35rem; }
}


/* ===== v2: conversion layer ===== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.top nav { align-items: center; }
.top nav .nav-cta { background: var(--plum); color: var(--cream); padding: 9px 18px; border-radius: 999px; font-weight: 500; }
.top nav .nav-cta:hover { color: var(--cream); background: var(--berry); }

/* hero */
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 5.4rem); }
.kicker { text-transform: none; }
.join { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; max-width: 34rem; }
.join input[type=email] {
  flex: 1 1 14rem; min-width: 0; height: 56px; padding: 0 22px; border-radius: 999px;
  border: 1.5px solid rgba(58, 31, 46, 0.18); background: rgba(255, 255, 255, 0.92);
  font: inherit; font-size: 1rem; color: var(--ink);
}
.join input[type=email]::placeholder { color: #8d6f7e; }
.join input[type=email]:focus { outline: none; border-color: var(--berry); box-shadow: 0 0 0 4px rgba(184, 56, 106, 0.16); }
.join button {
  height: 56px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(160deg, #C2456E, #8E2D55); color: var(--cream);
  font: inherit; font-weight: 600; font-size: 1rem; box-shadow: 0 14px 30px rgba(142, 45, 85, 0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.join button:hover { transform: translateY(-1px); box-shadow: 0 18px 36px rgba(142, 45, 85, 0.4); }
.join button:disabled { opacity: .7; cursor: default; transform: none; }
.join-msg { flex-basis: 100%; margin: 4px 6px 0; font-size: 0.95rem; }
.join-msg:empty { display: none; }
.join-msg.ok { color: #2f6b4f; font-weight: 500; }
.join-msg.err { color: #a02a2a; }
.join.done input[type=email] { opacity: .6; }
.join.center { margin: 30px auto 0; justify-content: center; }
.get { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.get.center { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 26px 0 22px; border-radius: 16px;
  background: var(--plum); color: var(--cream); text-decoration: none; box-shadow: 0 14px 30px rgba(46, 22, 49, 0.28);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.store:hover { color: var(--cream); background: #24101f; transform: translateY(-1px); box-shadow: 0 18px 36px rgba(46, 22, 49, 0.34); }
.store svg { width: 24px; height: 28px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.05; font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; }
.store small { font-weight: 400; font-size: 0.72rem; letter-spacing: 0.02em; opacity: .85; margin-bottom: 3px; }
.micro { margin: 12px 6px 0; color: var(--ink-2); font-size: 0.88rem; }
.trust { list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 26px; padding: 0; margin: 30px 0 0; color: var(--ink-2); font-size: 0.93rem; }
.trust strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--ink); margin-right: 4px; }

.arch { position: relative; }
.now {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: min(92%, 340px); display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center;
  background: rgba(255, 246, 240, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 22px; padding: 12px 18px 12px 12px; box-shadow: 0 18px 40px rgba(46, 22, 49, 0.28); z-index: 2;
}
.now-text { display: flex; flex-direction: column; line-height: 1.25; }
.now-text b { font-weight: 600; font-size: 0.98rem; }
.now-text span { font-size: 0.82rem; color: var(--ink-2); }
.now .bar { grid-column: 1 / -1; }
.arch::after { z-index: 1; pointer-events: none; }

/* shared play button and progress bar */
.play {
  width: 54px; height: 54px; flex: none; border: 0; border-radius: 50%; cursor: pointer; padding: 0;
  background: linear-gradient(160deg, #C2456E, #8E2D55); box-shadow: 0 10px 22px rgba(142, 45, 85, 0.4);
  display: grid; place-items: center; transition: transform .15s ease;
}
.play:hover { transform: scale(1.05); }
.play svg { width: 24px; height: 24px; fill: var(--cream); }
.play .i-pause { display: none; }
.play.on .i-play { display: none; }
.play.on .i-pause { display: block; }
.bar { display: block; height: 4px; border-radius: 4px; background: rgba(58, 31, 46, 0.12); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--berry); border-radius: 4px; transition: width .25s linear; }

.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head .sub { margin-top: 14px; }

/* voices */
.voices { padding: clamp(40px, 6vw, 88px) clamp(20px, 5vw, 64px); max-width: 1180px; margin: 0 auto; }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.voice {
  position: relative; background: var(--card); border: 1px solid rgba(184, 56, 106, 0.14);
  border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 18px 44px rgba(120, 40, 80, 0.1); transition: transform .2s ease, box-shadow .2s ease;
}
.voice.playing { box-shadow: 0 0 0 2px var(--berry), 0 22px 50px rgba(142, 45, 85, 0.22); }
.voice .play { margin-bottom: 16px; }
.voice h3 { font-size: 1.9rem; }
.vd { margin: 0; color: var(--ink-2); }
.vs { margin: 10px 0 16px; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--berry); }
.voice .bar { margin-top: auto; }

/* moments */
.moments { padding: clamp(40px, 6vw, 88px) clamp(20px, 5vw, 64px); max-width: 980px; margin: 0 auto; }
.m-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.m-chips button {
  font: inherit; font-size: 0.97rem; cursor: pointer; border: 1.5px solid rgba(184, 56, 106, 0.22);
  background: rgba(255, 255, 255, 0.7); color: var(--ink); padding: 11px 20px; border-radius: 999px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.m-chips button:hover { border-color: var(--berry); }
.m-chips button[aria-selected=true] { background: var(--plum); color: var(--cream); border-color: var(--plum); }
.m-panel { margin: 28px auto 0; max-width: 640px; background: var(--card); border-radius: 28px; padding: 30px 34px 34px; box-shadow: 0 18px 44px rgba(120, 40, 80, 0.1); }
.m-theme { margin: 0 0 14px; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--berry); }
.m-list { list-style: none; padding: 0; margin: 0 0 22px; }
.m-list li { padding: 12px 0; border-bottom: 1px solid rgba(58, 31, 46, 0.1); font-family: var(--serif); font-size: 1.35rem; }
.m-list li:last-child { border-bottom: 0; }
.m-cta { display: inline-block; font-weight: 600; color: var(--berry); text-underline-offset: 4px; }

/* band with quote */
.band-in { max-width: 1180px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.band .steps { grid-template-columns: 1fr; margin-top: 34px; gap: 14px; }
.band .steps li { padding: 20px 24px; }
.band .steps li::before { display: inline; font-size: 1.7rem; margin: 0 12px 0 0; vertical-align: -3px; }
.band .steps span { display: inline; font-size: 1.4rem; }
.band .steps p { margin-top: 6px; }
.quote { margin: 0; background: rgba(255, 246, 240, 0.12); border: 1px solid rgba(255, 246, 240, 0.25); border-radius: 28px; padding: 30px 32px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.quote figcaption { font-size: 0.85rem; color: rgba(255, 246, 240, 0.7); margin-bottom: 14px; }
.quote figcaption em { color: #FFD6C8; font-style: italic; }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--serif); font-weight: 300; font-size: 1.28rem; line-height: 1.5; margin: 0 0 16px; color: var(--cream); }
.quote p:last-child { margin-bottom: 0; }

/* screens */
.screens .sec-head { margin-bottom: 0; }

/* faq */
.faq { max-width: 780px; margin: 0 auto; padding: clamp(40px, 6vw, 88px) clamp(20px, 5vw, 64px); }
.faq-list details { border-bottom: 1px solid rgba(58, 31, 46, 0.16); }
.faq-list summary { cursor: pointer; list-style: none; padding: 22px 36px 22px 0; font-family: var(--serif); font-size: 1.35rem; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-52%); font-size: 1.8rem; color: var(--berry); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: translateY(-52%) rotate(45deg); }
.faq-list details p { margin: 0 0 22px; color: var(--ink-2); max-width: 40em; }

/* closing */
.close h2 { max-width: 14em; margin: 0 auto; }
.close .micro { text-align: center; }

/* sticky call to action (phones) */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 30;
  display: none; text-align: center; text-decoration: none; font-weight: 600; color: var(--cream);
  background: linear-gradient(160deg, #C2456E, #8E2D55); padding: 16px; border-radius: 999px;
  box-shadow: 0 16px 36px rgba(46, 22, 49, 0.35); transform: translateY(140%); transition: transform .3s ease;
}
.sticky-cta.show { transform: none; }

@media (max-width: 880px) {
  .voice-grid { grid-template-columns: 1fr; }
  .voice { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 18px; }
  .voice .play { margin: 0; }
  .voice h3 { font-size: 1.6rem; }
  .voice .vd { flex-basis: 100%; }
  .band-in { grid-template-columns: 1fr; }
  .top nav a:not(.nav-cta) { display: none; }
  .sticky-cta { display: block; }
  .hero { padding-bottom: 40px; }
  .now { bottom: 14px; }
}
@media (max-width: 560px) {
  .join input[type=email], .join button { flex: 1 1 100%; }
  .m-panel { padding: 24px 22px 26px; }
  .quote p { font-size: 1.15rem; }
  body { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta, .bar i, .play { transition: none; } html { scroll-behavior: auto; } }
