/* Fixes on top of the illustrated theme (loaded last). */

/* 1. Headline: the word inside the selection cycles. */
.hero .sel-word { display: inline-block; transition: opacity .2s, transform .2s; }
.hero .sel-word.out { opacity: 0; transform: translateY(-.12em); }
@media (prefers-reduced-motion: no-preference) {
  .hero .sel.swap::before, .hero .sel.swap::after { animation: blob .4s cubic-bezier(.3,1.4,.5,1) both; }
  .hero .sel.swap .k { animation: snap .45s cubic-bezier(.3,1.6,.5,1) both; }
}

/* 6. The line under the hero button: short and centred under the button. */
.hero-copy > div:last-child { display: flex; flex-direction: column; align-items: flex-start; }
.hero .fine { max-width: 34ch; }
@media (min-width: 701px) {
  .hero-copy > div:last-child { display: inline-flex; align-items: center; }
  .hero .fine { text-align: center; }
}
@media (max-width: 700px) {
  .hero-copy .ctas { justify-content: center; }
  .hero .fine { text-align: center; margin-inline: auto; max-width: 30ch; }
}

/* 2. Phones: the demo's dots and caption sit on the cobalt field, so make them light. */
@media (max-width: 700px) {
  .show .tab { font-size: 0 !important; padding: 0 !important; width: 10px; height: 10px; border: 0 !important;
    color: transparent !important; background: rgba(255,255,255,.45) !important; }
  .show .tab[aria-selected="true"] { width: 46px; height: 14px; background: #ffdc3e !important;
    box-shadow: inset 0 0 0 2px #151719; }
  .show .tab-caption { color: #e3e9ff; max-width: 34ch; }
  .show .tab-caption b { color: #fff; }
}

/* 5. In the demo, Pluck's own capture UI (dimming, selection, bar, loupe)
   sits above the clipboard, as it does on a real Mac. */
#clip { z-index: 15 !important; }

/* Headline on phones: "Copy" on its own line, the cycling word on the next. */
@media (max-width: 700px) {
  .hero .sel { display: table; margin: .06em auto .02em; }
}

/* The demo's selection, drawn like the illustrations: a blue stroke with black corner handles. */
#lsel { border: 3px solid #1f4ff5 !important; box-shadow: none !important; border-radius: 1px; }
#lsel.rec { border-color: #fa5638 !important; }
#lsel .hk, #ghost .hk { position: absolute; width: 11px; height: 11px; border-radius: 3px; background: #151719; }
#lsel .hk.tl, #ghost .hk.tl { left: -7px; top: -7px; }
#lsel .hk.tr, #ghost .hk.tr { right: -7px; top: -7px; }
#lsel .hk.bl, #ghost .hk.bl { left: -7px; bottom: -7px; }
#lsel .hk.br, #ghost .hk.br { right: -7px; bottom: -7px; }
#size { background: #151719 !important; color: #fff !important; }
#ghost { border: 3px dashed #1f4ff5 !important; background: rgba(31, 79, 245, .08) !important; }

/* Try it yourself is for a mouse or trackpad; phones and tablets just watch. */
@media (hover: none), (pointer: coarse) {
  .try-btn { display: none !important; }
  #shield .prompt { display: none !important; }
  #shield, #shield:hover { background: transparent !important; cursor: default; }
}
html.is-mobile .try-btn, html.is-mobile #shield .prompt { display: none !important; }

/* ---- Revision 04 review ---- */

/* Headline: the word's room is reserved by JS (min-width), so centre it inside that room. */
.hero .sel-word { text-align: center; transition-duration: .18s; }

/* Fine print under the hero button. */
.hero .fine { font-size: 13px !important; line-height: 1.5; color: #62635e !important; margin-top: 11px !important; }

/* Anchor targets clear the sticky header (78px desktop, 64px phones). */
[id] { scroll-margin-top: 104px; }
@media (max-width: 820px) { [id] { scroll-margin-top: 84px; } }

/* Badges: brand yellow and ink instead of mint. */
:root { --chip: #ffdc3e; }

/* ---- Option B (approved): logo left; links grouped beside the Download button ---- */
@media (min-width: 821px) {
  .nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 0; height: 80px; }
  .nav .brand { margin-right: auto; }
  .nav .links { gap: 28px; font-size: 15px; }
  .nav .right { margin-left: 30px; }
  .nav .nav-cta { min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 15px; }
}
@media (min-width: 821px) { [id] { scroll-margin-top: 106px; } }

/* Hero: one container with the header and demo; text and art pulled together. */
@media (min-width: 701px) {
  .hero { padding-top: 60px; padding-bottom: 48px; }
  .hero .top { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; }
  .hero-art { align-self: center; }
  /* The art has transparent margins; let its box reach into the gap so the drawing
     itself is ~450px wide at 1440, without cropping or moving past the container. */
  .hero-illustration { width: calc(100% + 120px); max-width: none; max-height: none; margin-left: -120px; }
  .hero .show, .show { margin-top: 40px; }
}

.nav .get-pluck { white-space: nowrap; }

/* ---- Owner review, 7 October ---- */
/* Pricing: equal cards, buttons on one line at the bottom. */
.plans { align-items: stretch; }
.plan { display: flex !important; flex-direction: column; gap: 18px; }
.plan .launch { margin-top: -8px; }
.plan > .btn { margin-top: auto; }
/* Footer: square top edge. */
footer { border-radius: 0 !important; }

/* ---- Owner review 2 ---- */
/* Headline: brackets open outward, then snap back with the new word. Uses `translate`
   so it never fights the load-in `transform` animation. */
.hero .sel.swap::before, .hero .sel.swap::after, .hero .sel.swap .k { animation: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero .sel .k { transition: translate .2s cubic-bezier(.4, 0, .2, 1); }
  .hero .sel.open .tl { translate: -.17em -.13em; } .hero .sel.open .tr { translate: .17em -.13em; }
  .hero .sel.open .bl { translate: -.17em .13em; } .hero .sel.open .br { translate: .17em .13em; }
  .hero .sel.snap .k { transition: translate .4s cubic-bezier(.3, 1.8, .5, 1); }
  .hero .sel-word { transition: opacity .18s ease, transform .18s ease; }
  .hero .sel.snap .sel-word { transition-delay: .06s; }
}


/* "Watch it →": only the words are underlined. */
.more > span[aria-hidden] { display: inline-block; text-decoration: none; }

/* Demo: the decorative hand on the outer blue frame, under the real UI. */
.show { position: relative; overflow: hidden; }
.show .demo-hand { position: absolute; z-index: 5; left: 0; bottom: -28px; width: 30%; height: auto; pointer-events: none; user-select: none; }
@media (max-width: 1100px) { .show .demo-hand { display: none; } }

.more { text-decoration: none !important; }
.more .u { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---- Owner review 3 ---- */
/* Demo clipboard header: the black Pluck mark on the left, the title centred. */
#clip .chead { display: grid; grid-template-columns: 28px minmax(0, 1fr) 28px; align-items: center; }
#clip .chead h3 { text-align: center; font-size: 13px; }
#clip .chead .cm-logo { width: 24px; height: auto; display: block; }
#clip.collapsed .chead { display: flex; }
#clip.collapsed .chead .cm-logo { width: 18px; }
/* Phones: the blue demo field runs edge to edge, square. */
@media (max-width: 700px) {
  .hero .show, .show { border-radius: 0 !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
}
/* Stats: no hairline above the numbers (each keeps its own top rule). */
.stats { border-top: 0 !important; }

/* Pricing: the hand sits in the bottom-right corner of the heading block, its right
   edge on the content edge and its base level with the bottom of the headline. */
@media (min-width: 701px) {
  .pricing-head { position: relative; }
  .pricing-head .grey { display: block; }   /* two lines at every desktop width, as at 1440 */
  .pricing-head .pricing-illustration { top: auto; right: 0; bottom: 0; width: auto; height: 109%; aspect-ratio: 1;
    transform: translate(8%, 9%) rotate(7deg); }   /* the art has clear margins; this puts its ink on the corner */
}

/* The Privacy box has as much space under it as over it (17 October): its bottom rule to
   "Pricing" matches the last feature to its top rule (the features' 32px clearance and 8px
   padding, plus the box's top margin: 56px, 24px from 1099px down), less the 3px above the
   eyebrow's letters. */
#pricing { padding-top: 93px; }
@media (max-width: 1099px) { #pricing { padding-top: 62px; } }
/* Phones: the hand keeps its place beside the heading (6px above the section's padding). */
@media (max-width: 700px) { .pricing-illustration { top: 56px; } }

/* Guides promotion (approved 9 October; handoff section.css adapted to the site's grid).
   Rules above and below sit on the content edges; copy left, book right; stacked under 900px. */
.pluck-guides-promo { color: var(--ink, #151719); }
.pluck-guides-promo__grid {
  display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: 72px 0; border-block: 1px solid rgba(20, 20, 20, .18);
  background: var(--bg, #fff8eb); isolation: isolate;   /* the book multiplies onto this cream */
}
.pluck-guides-promo__copy { min-width: 0; }
.pluck-guides-promo__eyebrow { margin: 0 0 24px; font: 500 13px/1.4 var(--mono, "Geist Mono", ui-monospace, monospace); letter-spacing: .14em; text-transform: uppercase; }
.pluck-guides-promo h2 { margin: 0; font: 700 clamp(40px, 4.3vw, 62px)/1.04 Georgia, serif; letter-spacing: -.035em; }
.pluck-guides-promo h2 span { display: block; }
.pluck-guides-promo h2 span:last-child { color: var(--blue, #1f4ff5); }
.pluck-guides-promo__description { max-width: 540px; margin: 24px 0 28px; color: #454a50; font-size: 19px; line-height: 1.5; }
.pluck-guides-promo__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 12px 24px;
  border-radius: 10px; background: var(--ink, #151719); color: #fff; font-size: 17px; font-weight: 600; line-height: 1.3; text-decoration: none;
}
.pluck-guides-promo__link:hover { background: #303033; }
.pluck-guides-promo__link:focus-visible { outline: 3px solid var(--blue, #1f4ff5); outline-offset: 5px; }
.pluck-guides-promo__art { min-width: 0; }
/* Served copies of the supplied master (pluck-guides-book-cream.png, kept in the repo): the blank
   cream margin is trimmed so the book fills its column as in the approved concept (about 45% of the
   content width, reaching the rules' right end), and the backdrop is balanced to white so multiply
   leaves exactly the page cream around it. The artwork itself is not cropped or altered. */
.pluck-guides-promo__art img { display: block; width: 100%; height: auto; margin-left: auto; mix-blend-mode: multiply; }
@media (max-width: 899px) {
  .pluck-guides-promo__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 48px 0; }
  .pluck-guides-promo h2 { font-size: clamp(30px, 5.6vw, 44px); }
  .pluck-guides-promo__eyebrow { margin-bottom: 20px; }
  .pluck-guides-promo__description { font-size: 18px; margin: 20px 0 24px; }
  .pluck-guides-promo__art img { max-width: 420px; margin-inline: auto; }
}

/* Tagline, "See it. Pluck it.": above the hero headline, and in the footer under the wordmark at
   every width (17 October), lined up with its first letter: past the 48px mark and the brand's
   11px gap. */
.hero-tagline { margin: 0 0 24px; font: 500 18px/1.4 "Geist", var(--body); letter-spacing: 0; color: var(--ink); white-space: nowrap; }
.hero-tagline span { color: var(--blue); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; align-self: start; }
.footer-tagline { margin: 0 0 0 59px; font: 500 16px/1.4 "Geist", var(--body); color: inherit; white-space: nowrap; }
@media (max-width: 700px) {
  .hero-tagline { font-size: 16px; margin-bottom: 16px; }
}
