/* =========================================================
   STUDIO NOVO — Pricing page
   Shared tokens, reset, buttons, header, footer, and the
   scroll-reveal helper now live in common.css (loaded first).
   Only page-specific styles remain below.
   (The base `table{ border-collapse; width:100% }` rule used to
   be repeated here — it already lives in common.css's reset.)
   ========================================================= */

/* =========================================================
   Pricing hero
   ========================================================= */
.price-hero{ padding: 92px 0 60px; text-align:center; }
.price-hero__inner h1{ font-size: clamp(2.1rem, 4.4vw, 3rem); line-height:1.15; max-width: 760px; margin: 0 auto; }
.price-hero__desc{ margin: 22px auto 0; max-width: 660px; color: var(--ink-soft); font-size: 1rem; }
.price-hero__actions{ display:flex; gap: 14px; margin-top: 32px; flex-wrap:wrap; justify-content:center; }

/* =========================================================
   Plans
   ========================================================= */
.plans-section{ padding: 90px 0 110px; }
.plans{ display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; align-items:stretch; }
.plan{
  background: var(--paper); border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; display:flex; flex-direction:column; position:relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.plan:hover{ transform: translateY(-6px); box-shadow: 0 24px 40px -20px rgba(20,40,29,.18); }
.plan--featured{ border-color: var(--green); }
.plan__badge{
  position:absolute; top:-13px; left: 30px; background: var(--green); color: var(--cream);
  font-size:.7rem; font-weight:600; padding: 5px 14px; border-radius:999px; letter-spacing:.03em;
}
.plan h3{ font-size:1.2rem; margin-bottom:10px; }
.plan__desc{ color: var(--ink-soft); font-size:.88rem; min-height: 40px; }
.plan__price{ font-family: var(--serif); font-weight: 500; letter-spacing: 0; font-variant-numeric: lining-nums tabular-nums; font-size:2.3rem; margin: 20px 0 18px; }
.plan__from{ font-family: var(--sans); font-size:.85rem; font-weight:500; color: var(--ink-soft); vertical-align: middle; }
.plan__list{ display:flex; flex-direction:column; gap:9px; margin-bottom: 22px; }
.plan__list li{ font-size:.88rem; color: var(--ink-soft); padding-left:24px; position:relative; }
.plan__list li::before{ content:"✓"; position:absolute; left:0; color: var(--green); font-weight:600; }
.plan__best{
  border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 22px; font-size: .85rem;
}
.plan__best strong{ display:block; margin-bottom: 4px; }
.plan__best span{ color: var(--ink-soft); }

/* Signature plan — "See all features" toggle for the two extra list
   items (Contact form, Social media links) that made this card show
   more checkmarks than Starter/Business, leaving noticeable blank
   space on the shorter cards once the row stretched to match. A
   checkbox-hack (no JS) keeps the extras collapsed by default; the
   label reveals them so only people who want the detail see it, and
   Signature's visible list now matches the other cards' count. */
.plan__more-check{
  width:1px; height:1px; margin:-1px; padding:0; border:0;
  clip-path: inset(50%); overflow:hidden; white-space:nowrap;
}
.plan__list-extra{ display:none; }
.plan__more-check:checked ~ .plan__list .plan__list-extra{ display:block; }
.plan__more-toggle{
  display:inline-flex; cursor:pointer;
  font-size:.85rem; font-weight:500; color: var(--green); margin-bottom: 22px;
}
.plan__more-toggle:hover{ color: var(--green-dark); }
.plan__more-toggle-text-less{ display:none; }
.plan__more-check:checked ~ .plan__more-toggle .plan__more-toggle-text-more{ display:none; }
.plan__more-check:checked ~ .plan__more-toggle .plan__more-toggle-text-less{ display:inline; }

/* Starter/Business have no "See all features" toggle, so their
   plan__best notes sat higher than Signature's — an invisible
   same-size stand-in (same classes, just hidden) reserves that exact
   height so the border above every card's first note lines up across
   the row. */
.plan__more-toggle--spacer{ visibility:hidden; pointer-events:none; }

/* Get Started button — pin to the bottom of every card. Cards vary in
   how much content sits above the button (list length, number of
   plan__best notes), which was leaving the buttons at different heights
   across the row. margin-top:auto absorbs the leftover space in the
   card's flex column (.plan is display:flex; flex-direction:column),
   so all three buttons line up regardless of what's above them. */
.plan .btn{ margin-top: auto; }

/* Bridge from the paid packages to the free concept offer — a low-risk
   entry point for visitors not ready to commit to a package yet. */
.price-bridge{
  max-width: 460px; margin: 56px auto 0; text-align:center;
  padding-top: 40px; border-top: 1px solid var(--line);
}
.price-bridge p{ color: var(--ink-soft); font-size:.98rem; margin-bottom: 18px; }

/* =========================================================
   Compare table
   ========================================================= */
.compare-section{ padding-bottom: 110px; }
.table-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.compare{ min-width: 640px; }
.compare thead th{
  text-align:center; font-family: var(--serif); font-weight:500; font-size:1rem;
  padding: 20px 16px 14px; border-bottom: 1px solid var(--line);
}
.compare thead th span{ display:block; font-family: var(--sans); font-size:.85rem; color: var(--ink-soft); margin-top:4px; font-weight:500; }
.compare tbody td{
  text-align:center; padding: 14px 16px; font-size:.88rem; color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.compare tbody tr:last-child td{ border-bottom:none; }
.compare__row-label{ text-align:left !important; font-weight:500; color: var(--ink) !important; background: transparent !important; }
.compare .check{ color: var(--green); font-weight:600; }
.compare .dash{ color: var(--ink-faint); }

/* =========================================================
   Add-ons
   ========================================================= */
.addons-section{ padding-bottom: 110px; }
.addons{ display:grid; grid-template-columns: repeat(5,1fr); gap: 20px; text-align:center; } /* 10 add-ons → two even rows of 5 */
.addon{
  position: relative;
  padding: 26px 14px; border:1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.addon:hover{ transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgba(20,40,29,.18); }
.addon svg{ width:32px; height:32px; color: var(--green); margin: 0 auto 14px; }
.addon__name{ font-size:.88rem; font-weight:500; margin-bottom: 4px; }
.addon__price{ font-size:.82rem; color: var(--ink-faint); }
.addon__more{ display:inline-block; margin-top: 8px; font-size: .82rem; font-weight: 500; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Before / after photo example ---------- */
.photo-section{ padding: 0 0 110px; }
.photo-example{
  display:grid; grid-template-columns: 1fr 1.6fr; gap: 44px; align-items:center;
  max-width: 1000px; margin: 0 auto; padding: 32px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 40px -30px rgba(20,40,29,.25);
}
.photo-example h3{ font-size: 1.6rem; margin-bottom: 12px; }
.photo-example p{ color: var(--ink-soft); font-size: .95rem; }
.photo-example__credit{ margin-top: 14px; font-size: .82rem !important; color: var(--ink-faint) !important; }
.photo-pair{ display:grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items:center; }
.photo-pair__item{ margin:0; position:relative; }
.photo-pair__item img{ width:100%; height:auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; display:block; }
.photo-pair__item figcaption{
  position:absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px;
  font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(27,27,22,.6); color: #fff;
}
.photo-pair__item:last-child figcaption{ background: var(--green); }
.photo-pair__arrow{
  width: 36px; height: 36px; border-radius: 50%; display:flex; align-items:center; justify-content:center;
  background: var(--cream); color: var(--green); font-size: 1.1rem;
}

/* =========================================================
   Care Plans
   ========================================================= */
.care-section{ padding: 30px 0 80px; }
.care__intro{ margin-top: 14px; color: var(--ink-soft); }
.care__banner{
  max-width: 760px; margin: 0 auto 40px; display:flex; align-items:center; gap: 16px;
  padding: 16px 22px; border-radius: var(--radius-lg);
  background: var(--paper); border: 1.5px dashed var(--green-mist);
}
.care__banner p{ font-size: .93rem; color: var(--ink-soft); }
.care__banner strong{ color: var(--ink); }
.care__banner-badge{
  flex: 0 0 auto; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cream); background: var(--green); border-radius: 999px; padding: 6px 12px;
}
.care__plans{ grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.care__per{ font-family: var(--sans); font-size: .9rem; color: var(--ink-faint); font-weight: 400; }
.care__plans .plan__price{ margin-bottom: 4px; }
.care__year{ font-size: .82rem; color: var(--ink-faint); margin-bottom: 20px; }
.care__note{ font-size: .82rem; color: var(--ink-faint); margin-top: auto; }
.care__free{
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: .9rem; font-weight: 600; color: var(--green);
}
.care__terms{ text-align:center; max-width: 640px; margin: 28px auto 0; font-size: .85rem; color: var(--ink-faint); }

/* (?) button: tap/click to show a short note about the add-on */
.addon__info{
  position:absolute; top: 10px; right: 10px;
  width: 22px; height: 22px; border-radius: 50%; padding: 0;
  display:flex; align-items:center; justify-content:center;
  font: 600 .72rem var(--sans); color: var(--green);
  border: 1.5px solid var(--green-mist); background: var(--paper);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.addon__info:hover, .addon__info[aria-expanded="true"]{ background: var(--green); border-color: var(--green); color: var(--cream); }
.addon__tip{
  position:absolute; z-index: 20; left: 8px; right: 8px; top: 40px;
  margin: 0; padding: 12px 14px; text-align: left;
  font-size: .8rem; line-height: 1.5; color: var(--ink-soft);
  background: var(--paper); border: 1px solid var(--green-mist); border-radius: 10px;
  box-shadow: 0 18px 34px -16px rgba(20,40,29,.35);
  animation: tip-in .25s var(--ease);
}
.addon__tip[hidden]{ display:none; }
@keyframes tip-in{ from{ opacity:0; translate: 0 -4px; } to{ opacity:1; translate: 0 0; } }
.addon:has(.addon__tip:not([hidden])){ z-index: 15; transform: none; }

.addons__note{ text-align:center; margin-top: 34px; color: var(--ink-faint); font-size:.88rem; }

/* =========================================================
   FAQ
   — the accordion mechanics (.faq__item, .faq__icon pseudo-
     elements, open/close transitions) now live in common.css,
     shared with the template detail page. Sizing stays here.
   ========================================================= */
.faq-section{ padding-bottom: 120px; }
.faq{ max-width: 760px; margin: 0 auto; display:flex; flex-direction:column; gap: 12px; }
.faq__q{
  width:100%; display:flex; align-items:center; justify-content:space-between;
  padding: 18px 22px; font-size:.95rem; font-weight:500; color: var(--ink); text-align:left;
}
.faq__icon{ position:relative; width:16px; height:16px; flex:0 0 auto; margin-left: 16px; }
.faq__a p{ padding: 0 22px 20px; color: var(--ink-soft); font-size:.9rem; }

/* =========================================================
   Responsive — Tablet
   ========================================================= */
@media (max-width: 1024px){
  /* stacked plans: room for the "Most Popular" badge above each card */
  .plans{ padding-top: 14px; row-gap: 36px; }
  /* A 2-column grid left the featured Business card spanning both
     columns — full width but the same short height as the others,
     so it looked stretched/landscape next to them. Stack all three
     in a single column instead (same pattern already used for the
     pricing preview on the home page), so every card keeps its
     normal proportions. */
  .plans{ grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .plan--featured{ grid-column: auto; }
  .addons{ grid-template-columns: repeat(2,1fr); }
  .care__plans{ grid-template-columns: 1fr; max-width: 520px; }
  .photo-example{ grid-template-columns: 1fr; gap: 24px; padding: 24px; max-width: 560px; }
  .photo-section{ padding-bottom: 80px; }
  .photo-pair{ gap: 8px; }
  .photo-pair__arrow{ width: 28px; height: 28px; font-size: .9rem; }
  .photo-pair__item figcaption{ top: 6px; left: 6px; padding: 3px 7px; font-size: .6rem; }
  .care__banner{ flex-direction: column; align-items: flex-start; }
  /* phones: the note opens inside the card instead of floating over it */
  .addon__tip{ position: static; margin-top: 12px; box-shadow: none; background: var(--cream); }
  .addon:has(.addon__tip:not([hidden])){ grid-column: 1 / -1; }

  .price-hero{ padding: 76px 0 48px; }
  .plans-section{ padding: 72px 0 88px; }
  .compare-section{ padding-bottom: 88px; }
  .addons-section{ padding-bottom: 88px; }
  .faq-section{ padding-bottom: 96px; }
}

/* =========================================================
   Responsive — Mobile
   ========================================================= */
@media (max-width: 680px){
  .price-hero{ padding: 56px 0 72px; }
  .price-hero__actions{ flex-direction:column; }
  .price-hero__actions .btn{ width:100%; }

  .plans{ grid-template-columns: 1fr; }
  .plan--featured{ grid-column: span 1; order:-1; }

  .addons{ grid-template-columns: repeat(2,1fr); }

  /* Compare Packages table is wider than the screen here (.compare has
     min-width:640px) and scrolls sideways inside .table-wrap, but nothing
     showed that — fade the right edge so it reads as "more content this
     way" instead of a hard cut-off. Paired with the one-time scroll nudge
     in price.js that plays when this table first comes into view. */
  .table-wrap{
    mask-image: linear-gradient(90deg, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
  }

  .plans-section{ padding-top: 56px; }
  .plans-section,.compare-section,.addons-section{ padding-bottom: 80px; }
  .faq-section{ padding-bottom: 90px; }
}
