/*
 * Pep Talk: components
 * Needs tokens.css first. Every class starts with "pt-" so it can sit next to any other CSS.
 */

/* Base: putty page, white sheet on top */
.pt { margin: 0; background: var(--pt-putty); color: var(--pt-ink); font-family: var(--pt-sans); font-size: var(--pt-text-body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.pt *, .pt *::before, .pt *::after { box-sizing: border-box; }
.pt img, .pt svg { max-width: 100%; display: block; }
.pt :where(a) { color: inherit; }
.pt-container { width: min(100% - 40px, var(--pt-container)); margin-inline: auto; }
.pt-narrow { width: min(100% - 40px, var(--pt-narrow)); margin-inline: auto; }
.pt-center { text-align: center; }
.pt-center .pt-lead { margin-inline: auto; }
.pt-center .pt-actions { justify-content: center; }

/* The sheet: the big white rounded page that sits on putty */
.pt-sheet { position: relative; width: min(100% - 48px, 1300px); margin: 0 auto; background: var(--pt-sheet); border-radius: var(--pt-radius-sheet); }
.pt-sheet + .pt-sheet { margin-top: 24px; }
@media (max-width: 640px) { .pt-sheet { width: calc(100% - 20px); border-radius: var(--pt-radius-xl); } }

/* Sections */
.pt-section { padding-block: var(--pt-section); }
.pt-section--mist { background: var(--pt-mist); border-radius: var(--pt-radius-sheet); }
.pt-section--gradient { background: var(--pt-gradient); color: var(--pt-sheet); border-radius: var(--pt-radius-sheet); }
.pt-section--gradient .pt-h2, .pt-section--gradient .pt-display { color: var(--pt-sheet); background: none; -webkit-text-fill-color: currentColor; }
.pt-section--gradient .pt-lead { color: rgba(255, 255, 255, .86); }
.pt-section--ink { background: var(--pt-ink); color: var(--pt-sheet); border-radius: var(--pt-radius-sheet); }
.pt-section--ink .pt-lead { color: rgba(255, 255, 255, .7); }

/* Type: ultra-bold Bricolage with gradient fill for the shout, Nunito Sans for the talk */
.pt-display, .pt-h2, .pt-sub, .pt-h3 { margin: 0; font-family: var(--pt-display); letter-spacing: var(--pt-tracking-display); text-wrap: balance; }
.pt-display { font-size: var(--pt-text-hero); font-weight: 800; line-height: .94; }
.pt-h2 { font-size: var(--pt-text-h2); font-weight: 800; line-height: .98; color: var(--pt-ink); }
.pt-sub { margin-top: 22px; font-size: var(--pt-text-sub); font-weight: 800; line-height: 1.06; letter-spacing: -.035em; color: var(--pt-ink); }
.pt-h3 { font-size: var(--pt-text-h3); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.pt-grad { background: var(--pt-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-bottom: .06em; }
.pt-lead { max-width: 600px; margin: 22px 0 0; color: var(--pt-soft); font-size: var(--pt-text-lead); line-height: 1.5; }
.pt-note { margin: 14px 0 0; color: var(--pt-soft); font-size: 15px; font-style: italic; }
.pt-eyebrow { display: inline-block; margin-bottom: 16px; color: var(--pt-violet); font-size: var(--pt-text-small); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* Hand-drawn circle around one word */
.pt-circled { position: relative; display: inline-block; margin-inline: .12em; white-space: nowrap; }
.pt-circled::after { content: ""; position: absolute; inset: -.14em -.22em -.1em; border: .07em solid var(--pt-violet); border-radius: 50%; transform: rotate(-3deg); pointer-events: none; }

/* Nav: a floating white pill */
.pt-navwrap { position: relative; z-index: 3; padding: 28px 24px 0; }
.pt-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(100%, 1140px); margin: 0 auto; padding: 12px 12px 12px 26px; background: var(--pt-sheet); border-radius: var(--pt-pill); box-shadow: var(--pt-shadow-float); }
.pt-nav__links { display: flex; align-items: center; gap: 26px; font-size: 17px; font-weight: 600; }
.pt-nav__links a { position: relative; text-decoration: none; }
.pt-nav__links a:hover { color: var(--pt-violet); }
.pt-nav__actions { display: flex; align-items: center; gap: 10px; }
.pt-logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--pt-display); font-weight: 800; font-size: 26px; letter-spacing: -.05em; color: var(--pt-violet); text-decoration: none; white-space: nowrap; }
.pt-logo svg { width: 30px; height: 30px; }
.pt-new { position: absolute; top: -20px; left: 50%; padding: 2px 8px; border-radius: var(--pt-pill); background: var(--pt-coral); color: var(--pt-sheet); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transform: translateX(-50%) rotate(-6deg); white-space: nowrap; }
@media (max-width: 900px) { .pt-nav .pt-nav__links, .pt-nav .pt-nav__hide { display: none; } }
@media (max-width: 640px) { .pt-navwrap { padding: 14px 10px 0; } .pt-nav { padding: 8px 8px 8px 18px; } }

/* Buttons: chunky uppercase pills */
.pt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 18px 32px; border: 0; border-radius: var(--pt-pill); font-family: var(--pt-sans); font-size: 17px; font-weight: 800; letter-spacing: .07em; line-height: 1; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.pt-btn:hover { transform: translateY(-2px); }
.pt-btn:focus-visible { outline: none; box-shadow: var(--pt-focus); }
.pt-btn--primary { background: var(--pt-gradient); color: var(--pt-sheet); box-shadow: var(--pt-shadow-glow); }
.pt-btn--primary:hover { filter: saturate(1.15) brightness(1.04); }
.pt-btn--solid { background: var(--pt-violet); color: var(--pt-sheet); }
.pt-btn--quiet { background: var(--pt-putty); color: var(--pt-ink); }
.pt-btn--quiet:hover { background: var(--pt-line); }
.pt-btn--white { background: var(--pt-sheet); color: var(--pt-violet); }
.pt-btn--sm { padding: 12px 20px; font-size: 14px; }
.pt-btn--lg { padding: 22px 40px; font-size: 19px; }
.pt-btn--block { width: 100%; }
.pt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.pt-link { color: var(--pt-violet); font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Hero */
.pt-hero { padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 6vw, 72px); text-align: center; }
.pt-hero .pt-lead { margin-inline: auto; }
.pt-hero .pt-actions { justify-content: center; }

/* Star-rated one-liners */
.pt-raves { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 48px; margin-bottom: 30px; }
.pt-rave { display: grid; justify-items: center; gap: 4px; font-size: 16px; font-style: italic; font-weight: 600; }
.pt-stars { display: flex; gap: 3px; color: var(--pt-star); }
.pt-stars svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .pt-rave:nth-child(n+2) { display: none; } }

/* App window: a gradient panel with frosted rows */
.pt-window { position: relative; max-width: 940px; margin: 0 auto; padding: 22px; background: var(--pt-gradient-soft); border-radius: var(--pt-radius-xl); box-shadow: var(--pt-shadow-glow); text-align: left; color: var(--pt-sheet); }
.pt-window__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; font-size: 14px; font-weight: 600; }
.pt-window__chip { padding: 6px 12px; border-radius: var(--pt-pill); background: rgba(255, 255, 255, .18); white-space: nowrap; }
.pt-window__title { margin: 0 0 18px; text-align: center; font-family: var(--pt-display); font-size: 34px; font-weight: 800; letter-spacing: -.04em; }
.pt-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--pt-radius); background: rgba(255, 255, 255, .16); }
.pt-row + .pt-row { margin-top: 8px; }
.pt-row__dot { flex: 0 0 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--pt-violet); display: grid; place-items: center; font-weight: 800; }
.pt-row__body { flex: 1; min-width: 0; }
.pt-row__body strong { display: block; }
.pt-row__body span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .82; font-size: 14px; }
.pt-row__time { flex: 0 0 auto; font-size: 13px; font-weight: 700; opacity: .85; }

/* Cards */
.pt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--pt-gap); }
.pt-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .pt-grid, .pt-grid--2 { grid-template-columns: 1fr; } }
.pt-card { padding: 32px; background: var(--pt-sheet); border: var(--pt-border); border-radius: var(--pt-radius-xl); }
.pt-card--mist { background: var(--pt-mist); border-color: transparent; }
.pt-card p { margin: 10px 0 0; color: var(--pt-soft); }
.pt-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 18px; background: var(--pt-violet-soft); color: var(--pt-violet); }
.pt-icon svg { width: 28px; height: 28px; }

/* Badges */
.pt-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--pt-pill); background: var(--pt-violet-soft); color: var(--pt-violet); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.pt-badge--coral { background: var(--pt-coral); color: var(--pt-sheet); transform: rotate(-4deg); }
.pt-badge--mint { background: #DDF4E8; color: #1E7A4F; }

/* Quote */
.pt-quote { margin: 0; font-family: var(--pt-display); font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.04em; line-height: 1.08; }
.pt-quote__who { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-weight: 600; }
.pt-avatar { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--pt-gradient); }

/* Forms */
.pt-form { display: grid; gap: 18px; }
.pt-field { display: grid; gap: 8px; }
.pt-label { font-size: 15px; font-weight: 800; }
.pt-input, .pt-select { width: 100%; padding: 16px 18px; border: 2px solid var(--pt-line); border-radius: var(--pt-radius); background: var(--pt-sheet); color: var(--pt-ink); font: inherit; font-size: 17px; }
.pt-input:focus, .pt-select:focus { outline: none; border-color: var(--pt-violet); box-shadow: 0 0 0 4px var(--pt-violet-soft); }
.pt-input--suffix { display: flex; align-items: center; padding: 0 18px 0 0; border: 2px solid var(--pt-line); border-radius: var(--pt-radius); }
.pt-input--suffix:focus-within { border-color: var(--pt-violet); box-shadow: 0 0 0 4px var(--pt-violet-soft); }
.pt-input--suffix .pt-input { border: 0; box-shadow: none; min-width: 0; }
.pt-input--suffix span { color: var(--pt-faint); font-weight: 800; white-space: nowrap; }
.pt-hint { color: var(--pt-faint); font-size: 14px; }
.pt-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--pt-soft); }
.pt-check input { margin-top: 4px; accent-color: var(--pt-violet); width: 18px; height: 18px; }
.pt-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pt-form > *, .pt-field > * { min-width: 0; }
.pt-choice { position: relative; }
.pt-choice input { position: absolute; opacity: 0; }
.pt-choice span { display: block; overflow: hidden; text-overflow: ellipsis; padding: 14px 6px; border: 2px solid var(--pt-line); border-radius: var(--pt-radius); text-align: center; font-weight: 800; cursor: pointer; }
.pt-choice input:checked + span { border-color: var(--pt-violet); background: var(--pt-violet-soft); color: var(--pt-violet); }

/* Pricing */
.pt-toggle { display: inline-flex; padding: 6px; border-radius: var(--pt-pill); background: var(--pt-putty); }
.pt-toggle button { padding: 10px 20px; border: 0; border-radius: var(--pt-pill); background: transparent; color: var(--pt-soft); font: inherit; font-weight: 800; cursor: pointer; white-space: nowrap; }
.pt-toggle button[aria-pressed="true"] { background: var(--pt-sheet); color: var(--pt-ink); box-shadow: var(--pt-shadow-card); }
.pt-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--pt-gap); align-items: stretch; }
@media (max-width: 960px) { .pt-plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; } }
.pt-plan { position: relative; display: flex; flex-direction: column; padding: 36px 32px; background: var(--pt-mist); border-radius: var(--pt-radius-xl); text-align: left; }
.pt-plan--star { background: var(--pt-gradient-soft); color: var(--pt-sheet); box-shadow: var(--pt-shadow-glow); }
.pt-plan--star .pt-plan__blurb, .pt-plan--star .pt-plan__per { color: rgba(255, 255, 255, .85); }
.pt-plan--star .pt-plan__list li::before { background: var(--pt-sheet); }
.pt-plan .pt-badge--coral { position: absolute; top: -14px; right: 24px; }
.pt-plan__name { margin: 0; font-family: var(--pt-display); font-size: 28px; font-weight: 800; letter-spacing: -.04em; }
.pt-plan__blurb { margin: 8px 0 0; color: var(--pt-soft); }
.pt-plan__price { margin-top: 26px; font-family: var(--pt-display); font-size: 64px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.pt-plan__per { color: var(--pt-soft); font-size: 15px; font-weight: 600; }
.pt-plan__list { flex: 1; margin: 26px 0 30px; padding: 0; list-style: none; display: grid; gap: 12px; align-content: start; }
.pt-plan__list li { position: relative; padding-left: 28px; }
.pt-plan__list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--pt-gradient); }

/* FAQ */
.pt-faq { display: grid; gap: 12px; }
.pt-faq details { padding: 22px 26px; background: var(--pt-mist); border-radius: var(--pt-radius-lg); }
.pt-faq summary { display: flex; justify-content: space-between; gap: 16px; font-family: var(--pt-display); font-size: 21px; font-weight: 700; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.pt-faq summary::-webkit-details-marker { display: none; }
.pt-faq summary::after { content: "+"; color: var(--pt-violet); font-size: 26px; line-height: 1; }
.pt-faq details[open] summary::after { content: "\2212"; }
.pt-faq p { margin: 12px 0 0; color: var(--pt-soft); }

/* Article */
.pt-article { font-size: 19px; line-height: 1.7; }
.pt-article h2 { margin: 52px 0 0; font-family: var(--pt-display); font-size: 36px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.pt-article p { margin: 20px 0 0; }
.pt-article ul { margin: 20px 0 0; padding-left: 22px; }
.pt-article li + li { margin-top: 8px; }
.pt-article li::marker { color: var(--pt-violet); }
.pt-article blockquote { margin: 40px 0; padding: 28px 32px; border-radius: var(--pt-radius-xl); background: var(--pt-violet-soft); font-family: var(--pt-display); font-size: 28px; font-weight: 800; letter-spacing: -.035em; line-height: 1.15; color: var(--pt-violet); }
.pt-byline { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; color: var(--pt-soft); font-size: 15px; font-weight: 600; }
.pt-callout { display: flex; gap: 16px; margin: 36px 0; padding: 24px; border-radius: var(--pt-radius-lg); background: var(--pt-mist); font-size: 17px; }
.pt-callout strong { color: var(--pt-violet); }
.pt-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }

/* Footer */
.pt-footer { padding: 56px 0 40px; font-size: 15px; color: var(--pt-soft); }
.pt-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.pt-footer__cols { display: flex; flex-wrap: wrap; gap: 48px; }
.pt-footer__cols h4 { margin: 0 0 12px; color: var(--pt-ink); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pt-footer__cols a { display: block; padding: 3px 0; text-decoration: none; }
.pt-footer__cols a:hover { color: var(--pt-violet); }
.pt-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 24px; border-top: var(--pt-border); font-size: 14px; }

/* Phones */
@media (max-width: 480px) {
  .pt-toggle button { padding: 10px 14px; }
  .pt-toggle .pt-badge { padding: 4px 8px; font-size: 11px; }
  .pt-choice span { font-size: 15px; }
  .pt-btn--lg { padding: 20px 28px; font-size: 17px; }
  .pt-plan { padding: 30px 22px; }
  .pt-plan .pt-btn { padding-inline: 14px; font-size: 14px; }
}
