/* DAISY AI — "Creative + Everyman" style layer (loaded after styles.css in this version only).
   The middle ground between the creative site and the Everyman/Sage version:
   - keeps the loud parts: big bold uppercase headlines, the big glowing flower, hand-drawn doodles;
   - is more inviting: mostly light backgrounds, a soft yellow tint for big areas, a yellow highlighter
     under key words, buttons rounded 12px, cards with a gentle lift.
   Full Daisy yellow is kept for accents: buttons, highlights, the closing "Let's find it" band. */

:root {
  --ink: #3A3A3A;   /* lighter charcoal for this version (creative site uses #292929); chosen 2026-10-27 */
  --paper: #FDF9F0; /* warm, whiter cream for the page (was #FAF6EC; #FEFDF9 was too white) */
  --cream: #FAF6ED; /* boxes and cream sections, a shade under the page */
  --tint: #FFF4C4;  /* soft yellow for big areas */
  --card: #FFFFFF;
  --line-soft: rgba(41, 41, 41, 0.12);
  --lift: 0 2px 4px rgba(41, 41, 41, 0.04), 0 14px 34px rgba(41, 41, 41, 0.08);
  --radius-btn: 12px;
}
body { background: var(--paper); }

/* ---------- Buttons: 12px corners ---------- */
.btn, .chips a { border-radius: 12px; }

/* ---------- Highlighter under key words (replaces the creative site's marker scribble) ---------- */
.hl, .hl-ink, .y-outline, .dd-ul, .dd-ul-double {
  background: linear-gradient(transparent 56%, var(--yellow) 56%, var(--yellow) 92%, transparent 92%) !important;
  background-size: 100% 100% !important; color: inherit !important; -webkit-text-stroke: 0 !important;
  padding: 0 0.08em !important; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.hero-dark .hl-ink { background-image: linear-gradient(transparent 56%, var(--yellow) 56%, var(--yellow) 92%, transparent 92%) !important; }

/* ---------- Backgrounds: mostly light; soft tint for big yellow areas ---------- */
/* charcoal stays for the header, the "Another AI subscription" tile, About's principles,
   the three service sections, the booking panel, the closing bands and the footer */
.hero-dark { background: var(--paper) !important; color: var(--ink) !important; }
.hero-dark .eyebrow { color: var(--ink); }
.hero-dark .lede { color: #3F3D38; }
.hero-dark .hero-grid { background-image: radial-gradient(rgba(41, 41, 41, 0.12) 1px, transparent 1.2px); }
.hero-yellow { background: var(--tint) !important; }
.tile-yellow, .diffs-section { background-color: var(--tint) !important; }
.funky-steps .step, .funky-steps .step:nth-child(even) { background: var(--tint); border: 1px solid rgba(41, 41, 41, 0.08); }
.possibility, .faq-dark, .proof { background: var(--card) !important; color: var(--ink) !important; }
.possibility .body p, .faq-dark .faq details p { color: #4B4840 !important; }
.possibility .body p:first-child { color: var(--ink) !important; }
.faq-dark .eyebrow { color: var(--ink) !important; }
.faq-dark .faq, .faq-dark .faq details { border-color: var(--line-soft); }
.faq-dark .dd-point { content: url("../assets/doodles/arrow-curve-down-ink.png"); }

/* ---------- Cards get a gentle lift ---------- */
.service.box { box-shadow: var(--lift); border-color: var(--ink); }
.challenger > .tile:last-child { box-shadow: none; }

/* ---------- Charcoal flowers, matched to the lighter charcoal ---------- */
.mark-ink, .final-cta .doodle { filter: grayscale(1) brightness(0.24); }

/* ---------- Shared helpers ---------- */
.nowrap { white-space: nowrap; position: relative; }
.section-head h2.one-line, .wrap.section-head > h2.one-line { max-width: none; }
@media (min-width: 900px) { .section-head h2.one-line { white-space: nowrap; font-size: clamp(30px, 3.6vw, 56px); } }
/* phones: keep these first lines on one line (smaller type) */
.fit-line { white-space: nowrap; }

/* ---------- Hand-drawn marks behind or around a key word (one per headline) ---------- */
.mk { position: relative; z-index: 0; white-space: nowrap; }
.mk::before { content: ""; position: absolute; z-index: -1; pointer-events: none; background: no-repeat center / 100% 100%; }
.mk-block::before { left: -0.14em; right: -0.14em; top: 36%; bottom: 22%; background-image: url("../assets/doodles/marker-block-yellow.png"); }
.mk-oval::before { left: -0.42em; right: -0.42em; top: -0.34em; bottom: -0.42em; background-image: url("../assets/doodles/oval-loose-yellow.png"); }
.mk-oval2::before { left: -0.3em; right: -0.3em; top: -0.02em; bottom: -0.4em; background-image: url("../assets/doodles/oval-double-yellow.png"); }

/* ---------- Accent marks: little "pop" lines on the corner of a key word ---------- */
.acc { display: inline-block; width: 0.5em; height: auto; vertical-align: top; pointer-events: none; }
.acc-after { margin: -0.18em 0 0 0.08em; }
/* left-corner accents are mirrored and fan out diagonally (Rachie's own turns were -36° to -77°) */
.acc-before { position: absolute; left: -0.42em; top: -0.12em; margin: 0; transform: scaleX(-1); rotate: -55deg; }
/* tucked on the top-right corner of a word without pushing the next word along (Contact: "what's") */
.acc-corner { position: absolute; right: -0.55em; top: -0.18em; margin: 0; }
/* About: tilted right, hugging the top of the Y in "About DAISY" */
.acc-hug { position: absolute; right: -1.5em; top: -1.6em; width: 1.5em; margin: 0; transform: rotate(18deg); }

/* ---------- Home ---------- */
.explore-row .dd-hero-twirl.dd-from-right { transform: scaleX(-1); }
.service.box .card-arrow { align-self: flex-end; margin-top: auto; text-decoration: none; }
.service.box p:not(.name) { margin-bottom: 18px; }
.cta-row { align-items: center; }
.cta-row .dd-cta-arrow.dd-from-right { margin: 0 0 0 4px; transform: scaleX(-1); }
.final-cta .doodle { width: min(640px, 48vw); right: -6vw; top: 62%; }
.final-cta .wrap { padding-bottom: clamp(48px, 5vw, 72px); }
@media (min-width: 1101px) { .final-cta h2 { max-width: 62%; } }
@media (max-width: 860px) {
  /* phones: the hero flower sits above the headline, smaller */
  .hero:not(.page-hero) .wrap { display: flex; flex-direction: column; }
  .hero:not(.page-hero) .hero-art { max-width: 240px; order: -1; margin: 0 auto 8px; }
}

/* ---------- About ---------- */
.hero-about .hero-art { z-index: 0; }
.hero-about .wrap > div:not(.hero-art) { position: relative; z-index: 1; } /* words sit on top of the daisy scribble */.possibility.possibility-compact { background: var(--tint) !important; box-shadow: none; }
.possibility.possibility-compact h2 { text-transform: none; letter-spacing: -0.02em; }
.principles-section.section { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.principles-section .section-head { margin-bottom: 24px; }
.principle { padding: 20px 0; }
.diff img.mark-ink { width: 64px; height: 64px; object-fit: contain; margin: -8px 0 14px -8px; transform: none; }

/* ---------- Services ---------- */
.svc { scroll-margin-top: 80px; } /* links from Home land below the sticky header */
.svc h2 { font-weight: 700; }
.svc .eyebrow { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: 0.06em; display: flex; align-items: center; gap: 14px; }
.svc .eyebrow .bullet-flower { width: 1.3em; height: 1.3em; }
.chips .dd-chips-arrow { width: 92px; }
.crowned { position: relative; display: inline-block; }
.dd-crown { position: absolute; left: 0.02em; top: -0.42em; width: 0.72em; height: auto; rotate: -14deg; filter: drop-shadow(0 0 1px rgba(46, 46, 46, 0.55)); pointer-events: none; }

/* ---------- Contact ---------- */
.book-row { display: flex; align-items: center; gap: 14px; }
.send-row .dd-send-arrow { width: 58px; height: auto; object-fit: contain; transform: scaleX(-1); align-self: center; }

/* ---------- Privacy and Terms ---------- */
.legal .updated { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.legal h2 { font-size: clamp(20px, 2vw, 26px); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; margin: 40px 0 12px; }
.legal p, .legal ul { max-width: 720px; font-size: 18px; }
.legal ul { padding-left: 1.2em; margin: 0 0 16px; }
.legal li { margin-bottom: 10px; }

/* ---------- Footer: arrow pointing up at "Contact" (every page except Contact) ---------- */
.foot-dd { position: relative; display: inline-flex; }
.dd-foot-contact { position: absolute; left: -10px; top: 53px; width: 44px; height: auto; transform: scaleX(-1); pointer-events: none; }

/* ---------- Phones ---------- */
@media (max-width: 860px) { .dd-foot-contact { display: none; } }
@media (max-width: 640px) {
  .cta-band .fit-line { font-size: 6vw; }
  .page-hero .fit-line { font-size: 7.5vw; }
  #process-title { line-height: 1.4; }
}
/* phone-only doodle positions, set in Edit mode's Doodles tool at phone width (desktop keeps its own) */
@media (max-width: 860px) {
  img[style*="--m-translate"] { translate: var(--m-translate) !important; }
  img[style*="--m-rotate"] { rotate: var(--m-rotate) !important; }
  img[style*="--m-scale"] { scale: var(--m-scale) !important; }
}

/* ---------- Local design previews only (?gray=RRGGBB in tools/compare.html) ---------- */
/* --ink-lift = new grey / #3A3A3A, so the charcoal doodle images and flowers follow the preview grey */
.gray-preview img.dd[src*="-ink"] { filter: brightness(var(--ink-lift)); }
.gray-preview .mark-ink, .gray-preview .final-cta .doodle { filter: grayscale(1) brightness(calc(0.24 * var(--ink-lift))); }
