/* tiers: home page only (pricing toggle, plan states, the line, comparison table, FAQ, CTA) */
/* home: pricing head */
.pricing { padding: clamp(40px, 7vw, 84px) 0 28px; }
.pricing-head { text-align: center; max-width: 860px; }
.pricing h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); font-weight: 760; letter-spacing: -.035em; text-wrap: balance; }
.pricing .lead { margin: 18px auto 0; max-width: 60ch; color: var(--slate); font-size: 1.12rem; text-wrap: pretty; }
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 30px; padding: 5px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 1px 0 rgb(22 21 27 / .04); }
.seg label { position: relative; z-index: 1; cursor: pointer; padding: 10px clamp(14px, 3vw, 26px); border-radius: 999px; text-align: center; color: var(--slate); transition: color .35s var(--ease); }
.seg label span { display: block; font-weight: 650; font-size: 1rem; }
.seg label small { display: block; font: 400 .72rem/1.3 var(--mono); opacity: .8; }
.seg-thumb { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--ink); transition: transform .45s var(--ease); }
.pricing:has(#mode-been:checked) .seg-thumb { transform: translateX(100%); }
.pricing:has(#mode-first:checked) .seg-first, .pricing:has(#mode-been:checked) .seg-been { color: #fff; }
.pricing:not(:has(#mode-been:checked)) .seg-first { color: #fff; }
.pricing:has(#mode-first:focus-visible) .seg-first, .pricing:has(#mode-been:focus-visible) .seg-been { outline: 2.5px solid var(--plum); outline-offset: 2px; }

/* the line */
.line { margin-top: clamp(40px, 7vw, 80px); position: relative; }
.line-img { margin: 0; height: clamp(240px, 42vw, 520px); overflow: hidden; }
.line-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.line-in { position: relative; margin-top: -90px; background: var(--card); border-radius: var(--r); border: 1px solid var(--line); padding: clamp(22px, 4vw, 40px); display: grid; gap: 24px; box-shadow: 0 30px 60px -48px rgb(22 21 27 / .5); }
.line-head h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); max-width: 22ch; }
.line-facts { margin: 0; display: grid; gap: 18px; }
.line-facts div { border-top: 2px solid var(--ink); padding-top: 12px; }
.line-facts div:nth-child(2), .line-facts div:nth-child(3) { border-top-color: var(--red); }
.line-facts dt { font: 600 .78rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.line-facts dd { margin: 0; font-size: 1rem; line-height: 1.5; }
.line-facts dd a { display: block; margin-top: 6px; font: 400 .8rem/1.4 var(--mono); }
@media (min-width: 900px) { .line-in { grid-template-columns: 1fr 1.7fr; align-items: start; } .line-facts { grid-template-columns: repeat(3, 1fr); } }

/* comparison table */
.compare { padding: clamp(56px, 8vw, 96px) 0 20px; }
.compare-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 40px; margin-bottom: 22px; }
.compare-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.compare-head p { margin: 0; max-width: 48ch; color: var(--slate); }
.col-switch { display: none; }
.ctable-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.ctable { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: .93rem; line-height: 1.45; }
.ctable thead th { position: sticky; top: var(--bar); z-index: 5; background: rgb(255 255 255 / .97); border-bottom: 1px solid var(--line2); padding: 16px 14px 12px; text-align: left; vertical-align: bottom; font: 650 1.02rem/1.2 var(--sans); }
.ctable thead th:first-child { border-top-left-radius: var(--r); }
.ctable thead th:last-child { border-top-right-radius: var(--r); }
.ctable thead th .meter { display: flex; margin-bottom: 8px; }
.ctable th.rowhead { width: 19%; }
.ctable tbody th[scope="row"] { text-align: left; font-weight: 600; padding: 13px 14px; vertical-align: top; color: var(--ink); }
.ctable td { padding: 13px 14px; vertical-align: top; border-left: 1px solid var(--line); }
.ctable tbody tr:not(.group) > * { border-top: 1px solid var(--line); }
.ctable td > span { display: inline; }
.ctable td .mk { display: inline-block; vertical-align: -4px; margin-right: 6px; }
.ctable tr.group th { text-align: left; padding: 22px 14px 8px; font: 600 .74rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--plum); background: transparent; }
.ctable tr.uk > * { background: var(--red-t); }
.ctable tr.uk th { color: var(--red); }
.ctable tbody:last-child tr:last-child th { border-bottom-left-radius: var(--r); }
.ctable tbody:last-child tr:last-child td:last-child { border-bottom-right-radius: var(--r); }
.ctable th.c-gentle, .ctable th.c-moderate, .ctable th.c-strong, .ctable th.c-strongest, .ctable th.c-growkit { border-left: 1px solid var(--line); }
.tlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tlist a { font-weight: 600; }
.compare:has(#col-gentle:checked) .col-switch label[for="col-gentle"], .compare:has(#col-moderate:checked) .col-switch label[for="col-moderate"], .compare:has(#col-strong:checked) .col-switch label[for="col-strong"], .compare:has(#col-strongest:checked) .col-switch label[for="col-strongest"], .compare:has(#col-growkit:checked) .col-switch label[for="col-growkit"] { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 799px) {
  .ctable-wrap { overflow-x: auto; }
  .ctable { min-width: 760px; }
  @supports selector(:has(*)) {
    .col-switch { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 4px; }
    .col-switch label { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card); font-weight: 600; font-size: .9rem; cursor: pointer; }
    .ctable-wrap { overflow: visible; }
    .ctable { min-width: 0; table-layout: auto; }
    .ctable th.rowhead { width: 42%; }
    .compare:has(#col-gentle:checked) .ctable :is(th, td)[class^="c-"]:not(.c-gentle),
    .compare:has(#col-moderate:checked) .ctable :is(th, td)[class^="c-"]:not(.c-moderate),
    .compare:has(#col-strong:checked) .ctable :is(th, td)[class^="c-"]:not(.c-strong),
    .compare:has(#col-strongest:checked) .ctable :is(th, td)[class^="c-"]:not(.c-strongest),
    .compare:has(#col-growkit:checked) .ctable :is(th, td)[class^="c-"]:not(.c-growkit) { display: none; }
  }
}

.story { padding: clamp(48px, 7vw, 88px) 0; }
.story-in { max-width: 760px; }
.story-in h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
/* FAQ */
.faq { padding: clamp(48px, 7vw, 90px) 0; background: var(--card); border-top: 1px solid var(--line); }
.faq-in { display: grid; gap: 28px; }
@media (min-width: 960px) { .faq-in { grid-template-columns: 340px 1fr; gap: 64px; } .faq-head { position: sticky; top: calc(var(--bar) + 28px); align-self: start; } }
.faq-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.faq-head p { color: var(--slate); margin: 12px 0 0; }
.faq-mascot { width: 130px; margin-top: 22px; }
.faq-list { border-top: 1px solid var(--line2); }
.faq-list details { border-bottom: 1px solid var(--line2); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 2px; font-weight: 650; font-size: 1.08rem; line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--line2); background: linear-gradient(var(--ink), var(--ink)) center / 10px 1.6px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.6px 10px no-repeat; transition: transform .35s var(--ease), background-size .35s; }
.faq-list details[open] summary::after { transform: rotate(180deg); background-size: 10px 1.6px, 1.6px 0; border-color: var(--plum); }
.faq-list summary:hover { color: var(--plum); }
.faq-a { padding: 0 44px 22px 2px; }
.faq-a p { margin: 0 0 10px; color: var(--slate); max-width: 64ch; }
.faq-a a { font-weight: 600; text-decoration: none; }

/* CTA band */
.cta-band { background: var(--plum); color: #fff; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding: clamp(30px, 5vw, 48px) 0; }
.cta-in p { margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 650; letter-spacing: -.015em; max-width: 36ch; line-height: 1.3; }

@media (max-width: 699px) { .plan-flag { height: auto; margin: 0; } .plan-flag:has(> :not([class*="rec"])), .pricing:not(:has(#mode-been:checked)) .plan[data-rec-first] .plan-flag, .pricing:has(#mode-been:checked) .plan[data-rec-been] .plan-flag { margin-bottom: 10px; } }
