/* =========================================================
   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-size:2.2rem; 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; }

/* =========================================================
   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; }
.addon{
  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); }
.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){
  /* 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(3,1fr); }

  .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; }
}
