/* Claire's pages: white base, the PDF's cream / rose / ink palette */
:root {
  --white: #FFFFFF;
  --cream: #F7F1EA;
  --paper: #FFFBF7;
  --ink: #3A2B27;
  --soft: #6E5A54;
  --rose: #B0705F;
  --rose-deep: #96594A;
  --rose-soft: #EAD3CB;
  --blush: #F4E4DE;
  --line: #EDE3DB;
  --shadow: 0 24px 60px -24px rgba(58, 43, 39, .28);
  --shadow-sm: 0 10px 30px -14px rgba(58, 43, 39, .25);
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --script: "Caveat", cursive;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.wrap { width: 100%; max-width: 560px; margin: 0 auto; padding: 0 22px; }

/* ---------- soft moving glow behind the hero ---------- */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; isolation: isolate; }
.glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: -1; pointer-events: none; }
.glow.g1 { width: 340px; height: 340px; background: var(--rose-soft); top: -120px; right: -120px; animation: drift1 16s ease-in-out infinite; }
.glow.g2 { width: 280px; height: 280px; background: var(--cream); bottom: -60px; left: -110px; animation: drift2 19s ease-in-out infinite; }
.glow.g3 { width: 180px; height: 180px; background: var(--blush); top: 38%; left: 55%; animation: drift1 22s ease-in-out infinite reverse; }
@keyframes drift1 { 50% { transform: translate(-40px, 50px) scale(1.12); } }
@keyframes drift2 { 50% { transform: translate(50px, -30px) scale(1.08); } }

/* ---------- type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--rose);
}
.kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rose); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.6); opacity: .4; } }

h1 {
  font: 600 clamp(40px, 11vw, 56px)/1.02 var(--serif);
  letter-spacing: -.02em; margin: 16px 0 16px;
}
h1 em { font-style: italic; font-weight: 400; color: var(--rose); }
h2 { font: 600 clamp(28px, 7.4vw, 36px)/1.1 var(--serif); letter-spacing: -.015em; margin-bottom: 14px; }
h3 { font: 600 19px/1.3 var(--serif); }
.lead { font-size: 18.5px; color: var(--soft); }
.lead b { color: var(--ink); font-weight: 700; }
.script { font: 500 30px/1 var(--script); color: var(--rose); }
.small { font-size: 13.5px; line-height: 1.55; color: var(--soft); }
.center { text-align: center; }

/* ---------- Claire's arch portrait ---------- */
.portrait {
  position: relative; width: 210px; margin: 30px auto 6px;
}
.portrait img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 999px 999px 26px 26px;
  box-shadow: var(--shadow);
}
.portrait::before {
  content: ""; position: absolute; inset: -10px; z-index: -1;
  border-radius: 999px 999px 34px 34px;
  border: 1.5px solid var(--rose-soft);
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.035); opacity: .5; } }
.from { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.from img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.from span { font-size: 14.5px; color: var(--soft); line-height: 1.35; }
.from b { color: var(--ink); }

/* ---------- guide cover in a phone ---------- */
.phone {
  position: relative; width: 230px; margin: 34px auto 4px;
  padding: 9px; border-radius: 36px; background: var(--ink);
  box-shadow: var(--shadow), 0 0 0 1px rgba(58, 43, 39, .06);
  animation: float 6s ease-in-out infinite;
}
.phone img { border-radius: 28px; width: 100%; }
.phone::after {
  content: ""; position: absolute; top: 16px; left: 50%; width: 64px; height: 7px;
  transform: translateX(-50%); border-radius: 9px; background: var(--ink);
}
.tag-free {
  position: absolute; right: -26px; top: 58px; z-index: 2;
  background: var(--white); color: var(--rose); font: 700 13px/1 var(--sans);
  padding: 10px 14px; border-radius: 999px; box-shadow: var(--shadow-sm);
  transform: rotate(6deg);
}
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- email form ---------- */
.signup { margin-top: 26px; }
.field {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--white); padding: 8px; border-radius: 22px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: border-color .3s, box-shadow .3s;
}
.field:focus-within { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(176, 112, 95, .14), var(--shadow-sm); }
.field input {
  width: 100%; border: 0; outline: 0; background: transparent;
  font: 400 17px var(--sans); color: var(--ink); padding: 14px 14px 6px;
}
.field input::placeholder { color: #A8958E; }
.btn {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; border: 0; cursor: pointer; text-decoration: none;
  background: var(--rose); color: var(--white);
  font: 700 17px/1.2 var(--sans); letter-spacing: .01em;
  padding: 18px 22px; border-radius: 16px;
  box-shadow: 0 14px 30px -12px rgba(150, 89, 74, .65);
  transition: transform .35s var(--ease), background .3s, box-shadow .35s var(--ease);
}
.btn::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn:hover { background: var(--rose-deep); transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(150, 89, 74, .7); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.ghost { background: var(--white); color: var(--rose); border: 1.5px solid var(--rose-soft); box-shadow: none; }
.btn.ghost::after { display: none; }
.btn.ghost:hover { background: var(--paper); border-color: var(--rose); }
.btn[disabled] { opacity: .75; cursor: wait; }
.btn .spin { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn.loading .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-note { margin-top: 12px; text-align: center; }
.form-msg { margin-top: 10px; min-height: 1em; text-align: center; font-size: 14.5px; color: #A2412E; }

/* ---------- sections ---------- */
section { padding: 54px 0; }
.band { background: var(--cream); }
.band-blush { background: linear-gradient(180deg, var(--white), var(--blush)); }
.divider { width: 44px; height: 2px; background: var(--rose-soft); border-radius: 2px; margin: 0 auto 26px; }

.list { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 16px 18px; box-shadow: 0 6px 20px -16px rgba(58, 43, 39, .3);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.list li:hover { transform: translateY(-3px); border-color: var(--rose-soft); box-shadow: var(--shadow-sm); }
.num {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blush); color: var(--rose); font: 600 15px/1 var(--serif);
}
.list p { font-size: 16.5px; line-height: 1.5; padding-top: 4px; }
.list b { font-weight: 700; }

/* ---------- quote ---------- */
.quote { font: 400 italic clamp(24px, 6.4vw, 30px)/1.3 var(--serif); letter-spacing: -.01em; }
.quote b { font-style: normal; font-weight: 600; color: var(--rose); }

/* ---------- price card ---------- */
.price {
  position: relative; overflow: hidden; text-align: center;
  background: var(--white); border-radius: 28px; padding: 34px 24px 30px;
  border: 1px solid var(--rose-soft); box-shadow: var(--shadow);
}
.price::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(120% 70% at 50% 0%, var(--blush), transparent 70%);
}
.price > * { position: relative; }
.price .amount {
  font: 600 76px/1 var(--serif); letter-spacing: -.03em; margin: 14px 0 8px;
  background: linear-gradient(100deg, var(--ink) 30%, var(--rose) 50%, var(--ink) 70%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gleam 6s ease-in-out infinite;
}
.price .amount sup { font-size: .4em; vertical-align: .95em; margin-right: 2px; }
@keyframes gleam { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.price .then { color: var(--soft); font-size: 15.5px; }
.pill {
  display: inline-block; margin-top: 18px; padding: 9px 16px; border-radius: 999px;
  background: var(--cream); color: var(--ink); font-weight: 700; font-size: 14px;
}

/* ---------- steps ---------- */
.steps { display: grid; gap: 0; margin-top: 26px; counter-reset: s; }
.step { position: relative; display: flex; gap: 16px; padding-bottom: 26px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  counter-increment: s; content: counter(s);
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--rose); color: var(--white); font: 600 16px/1 var(--serif); z-index: 1;
}
.step::after { content: ""; position: absolute; left: 18px; top: 38px; bottom: 0; width: 2px; background: var(--rose-soft); }
.step:last-child::after { display: none; }
.step h3 { margin: 6px 0 2px; }
.step p { color: var(--soft); font-size: 16px; }

/* ---------- success state ---------- */
.success { display: none; text-align: center; padding: 30px 18px; background: var(--white); border-radius: 26px; border: 1px solid var(--rose-soft); box-shadow: var(--shadow); }
.success.show { display: block; animation: rise .8s var(--ease) both; }
.success svg { width: 64px; height: 64px; margin: 0 auto 14px; }
.success .heart { fill: none; stroke: var(--rose); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 90; }
.success.show .heart { animation: draw 1.4s .2s var(--ease) forwards, fill 0.6s 1.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill { to { fill: var(--blush); } }
.success h3 { font-size: 24px; margin-bottom: 8px; }
.success p { color: var(--soft); }

/* ---------- download cards (thank-you page) ---------- */
.dl { display: flex; align-items: center; gap: 16px; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 14px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), border-color .3s; }
.dl + .dl { margin-top: 12px; }
.dl:hover { transform: translateY(-3px); border-color: var(--rose-soft); }
.dl img { width: 62px; height: 104px; object-fit: cover; border-radius: 10px; flex: none; }
.dl .t { flex: 1; }
.dl .t b { display: block; font: 600 17.5px/1.25 var(--serif); }
.dl .t span { font-size: 14px; color: var(--soft); }
.dl .go { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--rose); color: #fff; font-size: 19px; }
.teaser { background: var(--ink); color: var(--cream); border-radius: 28px; padding: 32px 24px; position: relative; overflow: hidden; }
.teaser::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: var(--rose); filter: blur(70px); opacity: .45; animation: drift1 14s ease-in-out infinite; }
.teaser > * { position: relative; }
.teaser .kicker { color: var(--rose-soft); }
.teaser .kicker .dot { background: var(--rose-soft); }
.teaser h2 { color: var(--white); margin-top: 12px; }
.teaser p { color: #E6D9D2; }
.teaser .p { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 22px; }
.teaser .p b { font: 600 44px/1 var(--serif); color: var(--white); }
.teaser .p span { color: #CDBBB3; font-size: 15px; }

/* ---------- footer ---------- */
footer { padding: 34px 0 44px; text-align: center; border-top: 1px solid var(--line); }
footer .script { font-size: 34px; }
footer p { margin-top: 10px; }

/* ---------- entrance + scroll reveal ---------- */
.in-up { animation: rise 1s var(--ease) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .18s; } .d3 { animation-delay: .3s; }
.d4 { animation-delay: .42s; } .d5 { animation-delay: .54s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.seen { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .success .heart { stroke-dashoffset: 0; fill: var(--blush); }
}
@media (min-width: 700px) {
  .hero { padding-top: 84px; }
  .tag-free { right: -44px; }
}
.btn .two { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.btn .two small { font-weight: 500; font-size: 13px; opacity: .85; margin-top: 3px; letter-spacing: .02em; }

/* ---------- the web guide (guide.html) ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50; background: transparent; }
.progress span { display: block; height: 100%; background: var(--rose); transform-origin: 0 50%; transform: scaleX(0); }
.g-sec { padding: 48px 0; }
.g-sec h2 { margin-top: 12px; }
.g-sec p { margin-bottom: 14px; }
.g-sec em { font-family: var(--serif); font-style: italic; }
.muted { color: var(--soft); }
.g-face { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 30px auto 0; border: 4px solid var(--white); box-shadow: var(--shadow); }
.g-save { margin-top: 26px; }
.g-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin: 18px 0; }
.band .g-card { background: var(--paper); }
.g-card.rose { background: var(--blush); border-color: transparent; transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.g-card p:last-child { margin-bottom: 0; }
.g-card a { color: var(--rose-deep); }
#verdict.lit { box-shadow: 0 0 0 2px var(--rose), var(--shadow-sm); transform: scale(1.01); }
.g-next { font: italic 400 17px/1.4 var(--serif); color: var(--rose); text-align: right; margin-top: 8px; }

.timer { text-align: center; background: var(--white); border: 1px solid var(--rose-soft); border-radius: 24px; padding: 20px 18px 16px; margin: 20px 0; box-shadow: var(--shadow-sm); }
.t-time { font: 600 64px/1 var(--serif); color: var(--rose); letter-spacing: -.02em; margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.timer.running .t-time { animation: pulse-soft 2s ease-in-out infinite; }
.timer.rang .t-time { color: var(--ink); }
@keyframes pulse-soft { 50% { opacity: .65; } }
.t-done { margin-top: 12px; color: var(--ink); font-size: 15.5px; }
.t-done:empty { display: none; }

.ticks { display: grid; gap: 10px; margin: 16px 0; }
.ticks label, .qs label {
  display: flex; align-items: flex-start; gap: 14px; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
  transition: border-color .3s, background .3s, transform .2s;
  -webkit-tap-highlight-color: transparent;
}
.ticks label:active, .qs label:active { transform: scale(.985); }
.ticks input, .qs input { position: absolute; opacity: 0; pointer-events: none; }
.ticks span { position: relative; padding-left: 38px; font-size: 16.5px; line-height: 1.45; }
.ticks span::before {
  content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 7px;
  border: 1.8px solid var(--rose); background: var(--white); transition: background .25s, border-color .25s;
}
.ticks span::after {
  content: ""; position: absolute; left: 8px; top: 4px; width: 7px; height: 13px;
  border: solid var(--white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease);
}
.ticks input:checked + span::before { background: var(--rose); }
.ticks input:checked + span::after { transform: rotate(45deg) scale(1); }
.ticks label:has(input:checked) { border-color: var(--rose-soft); background: var(--paper); }
.ticks input:focus-visible + span::before { box-shadow: 0 0 0 4px rgba(176, 112, 95, .25); }

.qs { display: grid; gap: 18px; margin: 16px 0; }
.qs fieldset { border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qs legend { font-weight: 700; font-size: 16.5px; line-height: 1.4; margin-bottom: 10px; }
.qs label { justify-content: center; text-align: center; padding: 12px 10px; font-size: 15px; font-weight: 500; }
.qs label:has(input:checked) { background: var(--rose); border-color: var(--rose); color: var(--white); }
.qs input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 4px; }

.writes label { display: block; font-weight: 700; margin-bottom: 14px; }
.writes label:last-child { margin-bottom: 0; }
.writes textarea {
  display: block; width: 100%; margin-top: 8px; resize: vertical; min-height: 84px;
  font: 400 16px/1.5 var(--sans); color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: 0; transition: border-color .3s, box-shadow .3s;
}
.writes textarea:focus { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(176, 112, 95, .14); }

.rows { display: grid; gap: 14px; margin: 18px 0; }
.rows > div { display: flex; gap: 14px; align-items: flex-start; }
.rows .num { background: var(--rose); color: var(--white); }
.rows p { margin: 0; padding-top: 4px; }

.g-lock { background: var(--ink); color: var(--cream); }
.g-lock h2 { color: var(--white); }
.g-lock .kicker { color: var(--rose-soft); }
.g-lock p { color: #E6D9D2; }
.lock-img { width: 240px; margin: 24px auto 0; border-radius: 26px; box-shadow: 0 0 0 1px rgba(247, 241, 234, .22), 0 30px 60px -20px rgba(0, 0, 0, .6); -webkit-touch-callout: default; }
