/* Studio treatments for four landing-page sections only:
   use-cases, feature highlights, pricing and FAQ.
   Scoped to #features / #pro / #faq so the rest of the landing page is untouched. */

/* ---------- use-cases ---------- */

#features .use-cases {
  margin: 28px 0 16px;
  color: #0d6248;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

/* ---------- feature highlights ---------- */

#features .feature-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

#features .feature-highlight {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  border: 1px solid #dbe2da;
  border-radius: 18px;
  background: rgba(255, 253, 248, .72);
  box-shadow: 0 14px 34px rgba(47, 68, 55, .045);
}

#features .feature-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid #cfe0d4;
  border-radius: 11px;
  background: rgba(255, 255, 255, .7);
  color: #0d6248;
  opacity: 1;
}

#features .feature-icon svg { width: 20px; height: 20px; }

#features .feature-highlight h3 {
  margin: 0 0 8px;
  color: #0f241c;
  font-family: 'Lora', Georgia, serif;
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.025em;
}

#features .feature-highlight p {
  margin: 0;
  color: #56635b;
  font-size: .86rem;
  line-height: 1.6;
}

/* ---------- pricing ---------- */

#pro .pro-head {
  max-width: 680px;
  margin: 0 0 28px;
  text-align: left;
}

#pro .plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

#pro .plan-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #dbe2da;
  border-radius: 18px;
  background: rgba(255, 253, 248, .78);
  box-shadow: 0 14px 34px rgba(47, 68, 55, .045);
}

#pro .plan-card h3 {
  margin: 0 0 8px;
  color: #0f241c;
  font-family: 'Lora', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -.03em;
}

#pro .plan-desc,
#pro .plan-billed,
#pro .plan-features li {
  color: #384c41;
  font-size: .84rem;
  line-height: 1.58;
}

/* Two lines of the description are reserved, not 2.6em. At this line-height a two-line
   description is 42.5px, so the older 2.6em floor (34.9px) let a one-line card — the free one —
   sit a line short and its price 7px above the other two. */
#pro .plan-desc { min-height: 3.2em; }

#pro .plan-price { margin: 18px 0 4px; }

/* The price keeps its original font, size and weight. */
#pro .plan-amount { color: #0f241c; }

/* "FREE" is a word, not a figure. The tightened tracking that pulls "$49.99" together closes a
   word up, and the size stays put so all three price rows keep the same height. */
#pro .plan-amount.is-word { letter-spacing: 0; }

#pro .plan-per {
  color: #5f7065;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

#pro .plan-features {
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

#pro .plan-features li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 18px;
}

#pro .plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0d6248;
}

#pro .plan-card .btn-primary,
#pro .plan-card .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: .86em 1.1em;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 650;
  text-decoration: none;
}

#pro .plan-card .btn-secondary {
  border: 1px solid #c7d6cb;
  background: rgba(255, 255, 255, .65);
  color: #0f241c;
}

#pro .plan-card .btn-primary {
  background: #0d6248;
  color: #fff;
  box-shadow: 0 12px 24px rgba(13, 98, 72, .18);
}

#pro .plan-card-featured {
  border-color: #0b3d2d;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(88, 160, 128, .34), transparent 58%),
    linear-gradient(155deg, #0e4b37 0%, #0a3527 62%, #082b20 100%);
  box-shadow: 0 22px 48px rgba(10, 53, 39, .22);
}

#pro .plan-card-featured h3,
#pro .plan-card-featured .plan-amount { color: #f4f1e7; }
#pro .plan-card-featured .plan-desc,
#pro .plan-card-featured .plan-billed,
#pro .plan-card-featured .plan-features li { color: #cfe0d5; }
#pro .plan-card-featured .plan-per { color: #a9cbb9; }
#pro .plan-card-featured .plan-features li::before { background: #9fcbb5; }
#pro .plan-card-featured .btn-primary { background: #f5f2e9; color: #10251d; box-shadow: none; }

/* The chip sits in the card's top-right corner, out of the flow. In flow it added its own height
   plus a 14px margin to the yearly card alone, so that card's title, price, list and button all
   sat ~37px below the other two. Absolute keeps the design and costs no layout.

   Two traps here, both from the chip being an absolutely positioned child of a flex column.
   landing.css still specifies `left: 20px` for it, and a specified left plus right over-constrains
   the box: the browser keeps the left edge and drops `right`, so the chip landed on the title.
   With only `right` given, Chrome stretches it across the card instead, because the flex
   `align-self: stretch` applies to an abspos child's static position. Hence `left: auto` and
   `width: max-content` — neither is decoration. */
#pro .pro-tag {
  position: absolute;
  top: 28px;
  left: auto;
  right: 28px;
  width: max-content;
  padding: 4px 9px;
  border: 1px solid #cfe0d5;
  border-radius: 999px;
  background: #e7f1e9;
  color: #0a3527;
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---------- FAQ: two columns, Studio cards ---------- */

#faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 36px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

#faq h2 {
  grid-column: 1 / -1;
  margin: 0 0 10px;
  color: #0f241c;
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.9rem, 3.1vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -.04em;
}

#faq details {
  margin: 0;
  padding: 0 24px;
  border: 1px solid #dbe2da;
  border-radius: 14px;
  background: rgba(255, 253, 248, .72);
  box-shadow: 0 10px 26px rgba(47, 68, 55, .035);
}

#faq details[open] {
  border-color: #c8dbce;
  background: rgba(255, 255, 255, .82);
}

#faq summary {
  position: relative;
  padding: 19px 30px 19px 0;
  color: #0f241c;
  font-size: .92rem;
  font-weight: 650;
  letter-spacing: -.01em;
  cursor: pointer;
}

#faq details p {
  margin: 0 0 20px;
  color: #384c41;
  font-size: .87rem;
  line-height: 1.62;
}

#faq .faq-compare-link {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 6px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: #5f7065;
  font-size: .82rem;
}

#faq .faq-compare-label { color: #0d6248; }
#faq .faq-compare-link a { color: #0d6248; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  #features .feature-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #pro .plans {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 720px) {
  #features .feature-highlights { grid-template-columns: 1fr; }
  #faq { grid-template-columns: 1fr; padding: 40px 20px; }
}
