/* =====================================================================
   Creator page (/try-tonewell/) — styles used ONLY on this page.
   Shared styles (colours, buttons, header, footer, video) are in /assets/css/site.css.
   Built phone-first: most visitors arrive from a creator's link on their phone.

   Page sections and their class names:
     • Header / footer .. .nav-min, .foot-min (logo-only header, short footer)
     • Creator strip .... .creator-slot (reserved space) / .creator ("Sent by" + photo)
     • Handoff line ..... .handoff (the animated voice line: .handoff-c with a creator, .handoff-k without), .handoff-turn
     • Hero ............. .cmp (one per campaign; only one shown), .hero-grid, .offer, .signin
     • Video ............ .try-vid
     • Steps ............ .steps / .st
     • Testimonials ..... .qs / .q
     • Quick answers .... .faq-grid, .faq / .fq (accordion, handled by site.js)
     • Final button ..... .try-final
     • Phone bottom button .mcta (hidden until the hero button scrolls away; .mcta-wait)
   ===================================================================== */
.h-hero{line-height:.95;font-weight:300;margin:0}
.h-section{font-size:clamp(34px,4vw,60px);line-height:1.05;font-weight:300;margin:0}
.lead{font-size:clamp(18px,1.5vw,21px);line-height:1.5;color:var(--text2);margin:0}
.body{font-size:16px;line-height:1.65;color:var(--text2);margin:0}
.body a,.signin a{color:var(--accent);text-underline-offset:3px}
.btn-row{display:flex;gap:12px;flex-wrap:wrap}
.card{background:var(--card);border:1px solid var(--line);border-radius:16px}
.sec{padding:128px 0 0}
.arrow{width:16px;height:16px;flex:none}
.micro{font-family:"DM Mono",ui-monospace,Menlo,monospace;font-size:12px;letter-spacing:.06em;color:var(--text3);margin:0}

/* --- HEADER / FOOTER (minimal) --- */
.foot-min{padding:56px 0 40px}
.foot-min .legal{margin-top:0}
.foot-min-links{display:flex;flex-wrap:wrap;gap:4px 20px;align-items:center}
.foot-min-links a{display:inline;padding:10px 0;font-size:12px;color:var(--text2)}

/* --- CREATOR STRIP: room is reserved only when the link has ?trybe= (.has-trybe), so nothing jumps --- */
.creator-slot{min-height:0}
.has-trybe .creator-slot{min-height:44px;margin-bottom:32px}
.creator{display:flex;width:fit-content;align-items:center;gap:12px;margin:0;min-height:44px;padding:0 18px 0 0;font-size:16px;color:var(--text2);animation:cr-in .35s ease both}
.creator strong{color:var(--text);font-weight:500}
.creator-img{width:44px;height:44px;border-radius:9999px;object-fit:cover;border:1px solid var(--vborder);background:var(--vbg)}
@keyframes cr-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

/* --- HANDOFF LINE: the signature animation. One thin voice line, grey at the creator (their voice) turning violet (yours).
       The line's shape is drawn by try-tonewell.js; these rules only place and colour it. It never changes the page's height.
       Computers: along the "Sent by" row, ending at "Your turn". Phones: in the existing gap under the row (see the 720px rules).
       No creator: a short violet line beside the label above the headline (.handoff-k). --- */
.creator{position:relative;width:auto}  /* full row, so the line can run to the right edge */
.try-hero .kicker{width:100%}  /* room for the no-creator line; stays inline-flex so nothing below moves */
.handoff{display:block;overflow:visible;fill:none}
.handoff path{fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.hw-their{stop-color:var(--text3);stop-opacity:.6}
.hw-a{stop-color:var(--stopA)}
.hw-b{stop-color:var(--stopB)}
.handoff-c{flex:1 1 0;min-width:0;height:44px;margin:0 4px 0 8px}
.handoff-turn{font-family:"DM Mono",ui-monospace,Menlo,monospace;font-size:11px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);white-space:nowrap;flex:none}
.handoff-k{flex:1 1 48px;min-width:48px;height:13px}
/* While a creator link is being looked up, show no kicker line; if the lookup finds nobody, the script adds .trybe-none. */
.has-trybe:not(.trybe-none) .handoff-k{display:none}
/* Two soft rings around the creator's photo, as if they are speaking (only when there is a photo). */
.creator:has(.creator-img:not([hidden]))::before,.creator:has(.creator-img:not([hidden]))::after{content:"";position:absolute;left:0;top:50%;width:44px;height:44px;margin-top:-22px;border-radius:9999px;border:1px solid var(--text3);opacity:0;pointer-events:none;animation:hw-rip 2.4s ease-out infinite}
.creator:has(.creator-img:not([hidden]))::after{animation-delay:1.2s}
@keyframes hw-rip{0%{opacity:.5;transform:scale(1)}100%{opacity:0;transform:scale(1.45)}}
@media (prefers-reduced-motion:reduce){.creator::before,.creator::after{display:none}}

/* --- HERO --- */
.try-hero{padding-top:72px}
.try-hero .kicker{margin-bottom:32px}
.tw .try-hero .h-hero{font-size:clamp(40px,4.6vw,68px);text-wrap:balance}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:64px;align-items:center}
.hero-side{display:flex;flex-direction:column;gap:22px}
.offer{margin:0;font-size:17px;line-height:1.5;color:var(--text);font-weight:500}
.signin{margin:0;font-size:15px;color:var(--text3)}

/* --- VIDEO --- */
.try-vid{padding-top:88px}
.how-vid{max-width:1080px;margin:0 auto}
.how-vid-cap{text-align:center;margin-top:16px}

/* --- STEPS --- */
.sec .kicker{margin-bottom:24px}
.steps{list-style:none;margin:56px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line)}
.st{padding:28px 32px 0 0;display:flex;flex-direction:column;gap:10px;position:relative}
.st::before{content:"";position:absolute;top:-4px;left:0;width:7px;height:7px;border-radius:9999px;background:var(--accent)}
.st-n{font-family:"DM Mono",ui-monospace,Menlo,monospace;font-size:13px;letter-spacing:.18em;color:var(--accent)}
.st-t{font-size:20px;font-weight:500;letter-spacing:-.01em}
.st .small{margin:0;color:var(--text2);line-height:1.55}

/* --- TESTIMONIALS --- */
.qs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:16px}
.q{padding:32px;display:flex;flex-direction:column;justify-content:space-between;gap:32px;margin:0}
.q blockquote{margin:0}
.q .pull-q{margin:0;font-size:22px;line-height:1.35;color:var(--text)}
.q figcaption{display:flex;align-items:center;gap:12px}
.av{width:44px;height:44px;border-radius:9999px;background:var(--vbg);border:1px solid var(--vborder);display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:500;color:var(--accent);flex:none}
.q-n{display:block;font-size:15px;font-weight:500}
.q-r{display:block;font-size:14px;color:var(--text3);margin-top:2px}

/* --- QUICK ANSWERS --- */
.faq-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:64px;align-items:start}
.faq{border-top:1px solid var(--line)}
.fq{border-bottom:1px solid var(--line)}
.fq-b{all:unset;box-sizing:border-box;width:100%;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 0;cursor:pointer;font-size:20px;letter-spacing:-.015em;min-height:44px}
.fq-b:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:8px}
.pm{width:36px;height:36px;border-radius:9999px;border:1px solid var(--line2);display:flex;align-items:center;justify-content:center;flex:none;transition:transform .2s ease,background-color .2s ease}
.pm-open{transform:rotate(45deg);background:var(--vbg);border-color:var(--vborder);color:var(--accent)}
.fq-a{padding:0 64px 28px 0}

/* --- FINAL BUTTON --- */
.try-final{padding-bottom:128px;text-align:center}
.try-final .h-section{max-width:820px;margin:0 auto 40px}
.try-final .btn-row{justify-content:center}
.try-final .signin{margin-top:20px}
.try-final .micro{margin-top:28px}

/* --- PHONE BOTTOM BUTTON: hidden while the hero button is on screen (try-tonewell.js adds .mcta-wait) --- */
.mcta{transition:opacity .25s ease,transform .25s ease}
.mcta-wait .mcta{opacity:0;transform:translateY(16px);pointer-events:none;visibility:hidden}

@media (max-width:1080px){
 .hero-grid,.faq-grid{grid-template-columns:minmax(0,1fr);gap:32px}
 .qs{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:720px){
 .try-hero{padding-top:36px}
 .try-hero .kicker{margin-bottom:24px}
 .has-trybe .creator-slot{margin-bottom:24px}
 .handoff-c{position:absolute;left:0;top:100%;width:100%;height:24px;margin:0}  /* the line sits in the 24px gap under the row */
 .handoff-turn{display:none}
 .hero-grid{gap:24px}
 .hero-side{gap:18px}
 .hero-side .btn{width:100%;justify-content:center}
 .try-vid{padding-top:56px}
 .sec{padding-top:96px}
 .steps{grid-template-columns:minmax(0,1fr);border-top:0;margin-top:40px;gap:0}
 .st{padding:0 0 28px 24px;border-left:1px solid var(--line);margin-left:3px}
 .st:last-child{padding-bottom:0}
 .st::before{top:4px;left:-4px}
 .q{padding:24px}
 .q .pull-q{font-size:20px}
 .fq-b{font-size:18px;padding:20px 0}
 .fq-a{padding-right:0}
 .try-final{padding-bottom:96px}
 .try-final .h-section{margin-bottom:32px}
 .try-final .btn{width:100%;justify-content:center}
}
