:root {
  --ink: #172010;
  --paper: #f8f8f4;
  --lime: #c8fa58;
  --muted: #687061;
  --pad: clamp(22px, 5vw, 80px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 14px/1.5 Manrope, sans-serif; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid #63862b; outline-offset: 5px; }
::selection { background: var(--lime); color: #14200b; }
.skip { position: fixed; top: -80px; left: 20px; z-index: 30; background: var(--lime); padding: 12px; }
.skip:focus { top: 12px; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; border: 1px solid #17201066; background: transparent;
  color: var(--ink); border-radius: 4px; font: 400 12px/1 D-DIN, sans-serif;
  text-transform: uppercase; padding: 0 20px; white-space: nowrap;
  transition: background .35s, color .35s;
}
.button:hover { background: var(--ink); color: #fff; }
.page { max-width: 1540px; padding: 115px var(--pad) 25px; margin: auto; }
.intro { margin-bottom: 32px; }
h1 { font-size: 35px; line-height: 1.2; font-weight: 500; letter-spacing: -.05em; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; animation: arrive .7s cubic-bezier(.22, 1, .36, 1) both; }
.plan { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 23px 0 0; isolation: isolate; }
.plan::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: #cfd7c5; pointer-events: none; }
.plan:hover::before { background: #85976b; }
.plan.growth::before { height: 3px; background: #b8ee4f; }
.plan.growth::after {
  content: ''; position: absolute; inset: 0 -20px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, #c8fa580d, transparent 48%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8% 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8% 92%, transparent);
}
/* Between side-by-side plans; the top rules become horizontal separators on mobile. */

.plan + .plan .plan-head::before {
  content: ''; position: absolute; top: 28px; bottom: 0; left: -24px; width: 1px;
  background: linear-gradient(transparent, #dce1d5 12% 88%, transparent); pointer-events: none;
}
.identity { display: flex; align-items: center; justify-content: flex-start; gap: 11px; }
.symbol { width: 29px; height: 29px; display: flex; align-items: center; justify-content: center; color: #465d30; }
.symbol svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.tag { font: 400 10px/1.5 D-DIN, sans-serif; text-transform: uppercase; letter-spacing: .09em; color: #59674d; }
.plan-name { font-size: 29px; font-weight: 500; letter-spacing: -.05em; line-height: 1.15; margin-top: 14px; }
.role { font-size: 15px; font-weight: 400; letter-spacing: -.025em; margin-top: 8px; color: #56624b; }
.features { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 11px; }
.features li { font-size: 13px; display: flex; align-items: flex-start; gap: 12px; }
.growth .features li:first-child { font-weight: 650; }
.tick { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: #628237; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.detail-button {
  display: inline-flex; align-items: center; padding: 0; border: 0; background: none;
  color: #536248; text-decoration: underline; text-underline-offset: 4px;
  font-size: 11px; min-height: 28px; margin: 10px 0 12px;
}
.purchase { margin-top: auto; padding-top: 16px; border-top: 1px solid #dbe0d3; }
.cost-label { font-size: 10px; color: var(--muted); margin-bottom: 3px; }
.price { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; min-height: 50px; }
.price strong { font-weight: 500; font-size: 43px; line-height: 1.15; letter-spacing: -.06em; }
.managed .price strong { font-size: 37px; letter-spacing: -.045em; }
.price .currency, .price .period { font-size: 11px; color: var(--muted); }
.cost-note { font-size: 11px; color: var(--muted); min-height: 18px; margin-top: 6px; }
.purchase .button { width: 100%; margin-top: 16px; }
.growth .purchase .button { background: #172010; color: #f8f8f4; border-color: #172010; }
.growth .purchase .button:hover { background: #344b22; }
.under { display: flex; align-items: center; justify-content: flex-end; gap: 24px; margin-top: 20px; font-size: 11px; color: var(--muted); }
.under a { min-height: 36px; display: flex; align-items: center; text-decoration: underline; text-underline-offset: 4px; }
.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: start;
  gap: 24px;
  margin-top: 44px;
  padding-top: 25px;
  border-top: 1px solid #dbe0d3;
}
.faq h2 {
  font-size: clamp(23px, 3.6vw, 29px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.05em;
}
.faq details { border-bottom: 1px solid #dbe0d3; }
.faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding-block: 12px;
  list-style: none;
  font-weight: 600;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p {
  max-width: 47ch;
  padding: 1px 20px 16px 0;
  color: var(--muted);
}
.faq details strong { color: var(--ink); font-weight: 600; }
.faq-icon { position: relative; width: 12px; height: 12px; color: var(--muted); }
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  inset: 5px 0 auto;
  height: 1px;
  background: currentColor;
}
.faq-icon::after { transform: rotate(90deg); }
.faq details[open] .faq-icon::after { transform: rotate(0deg); opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .faq-icon::after { transition: transform 240ms ease, opacity 180ms ease; }
  .faq details[open] p { animation: faq-reveal 240ms ease-out both; }

  @supports (interpolate-size: allow-keywords) and (transition-behavior: allow-discrete) and selector(details::details-content) {
    .faq details { interpolate-size: allow-keywords; }
    .faq details::details-content {
      block-size: 0;
      overflow: clip;
      opacity: 0;
      content-visibility: hidden;
      transition:
        block-size 320ms cubic-bezier(.22, 1, .36, 1),
        opacity 220ms ease,
        content-visibility 320ms allow-discrete;
    }
    .faq details[open]::details-content {
      block-size: auto;
      opacity: 1;
      content-visibility: visible;
    }
    .faq details[open] p { animation: none; }
  }
}
@keyframes faq-reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.below { margin-top: 78px; border-top: 1px solid #dce1d5; padding-top: 40px; display: flex; justify-content: space-between; gap: 40px; }
.below h2 { font-size: 25px; font-weight: 500; letter-spacing: -.04em; }
.below p { font-size: 13px; color: var(--muted); max-width: 440px; margin-top: 12px; }
.below .button { align-self: center; flex-shrink: 0; }
footer { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; margin-top: 50px; }
dialog { width: min(490px, calc(100% - 32px)); max-height: calc(100svh - 32px); overflow: auto; padding: 34px; border: 1px solid #d8dfcf; border-radius: 4px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 100px #0002; }
dialog::backdrop { background: #12200f66; backdrop-filter: blur(8px); }
dialog .eyebrow { font: 11px D-DIN, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #647257; margin-bottom: 20px; }
dialog h2 { font-size: 28px; font-weight: 500; letter-spacing: -.04em; line-height: 1.25; }
dialog p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 20px 0 26px; }
dialog .button { width: 100%; }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1100px) and (max-height: 760px) {
  .page { padding-top: 99px; }
  .intro { margin-bottom: 24px; }
  h1 { font-size: 32px; }
  .plan { padding-top: 18px; }
  .features { gap: 10px; margin-top: 21px; }
  .detail-button { margin-bottom: 15px; margin-top: 9px; }
  .price strong { font-size: 39px; }
  .purchase .button { margin-top: 12px; }
  .under { margin-top: 13px; }
}
@media (max-width: 1100px) {
  .plans { gap: 30px; }
  .plan { padding: 22px 0 0; }
  .plan + .plan .plan-head::before { left: -15px; }
  .plan-name { font-size: 27px; }
  .role { font-size: 14px; }
  .features li { font-size: 12px; }
  h1 { font-size: 31px; }
}
@media (max-width: 760px) {
  .page { padding-top: 104px; }
  .intro { margin-bottom: 29px; }
  .plans { grid-template-columns: 1fr; gap: 38px; }
  .plan { padding: 21px 0 0; }
  .plan + .plan .plan-head::before { display: none; }
  .plan.growth::after { inset: 0 -10px; }
  .plan-name { font-size: 29px; }
  .role { font-size: 16px; }
  .features { gap: 14px; margin-top: 25px; }
  .features li { font-size: 14px; }
  .detail-button { margin-bottom: 20px; min-height: 44px; }
  .purchase { margin-top: 0; padding-top: 18px; }
  .cost-note:empty { display: none; }
  .price strong { font-size: 42px; }
  .under { margin-top: 30px; align-items: flex-start; }
  .under a { min-height: 0; white-space: nowrap; }
  .below { display: block; margin-top: 55px; }
  .below .button { margin-top: 25px; }
}
@media (max-width: 380px) {
  .page { padding-inline: 20px; }
  .under { display: block; }
  .under a { margin-top: 12px; }
  h1 { font-size: 29px; }
}
@media (max-width: 560px) {
  .faq { grid-template-columns: 1fr; gap: 10px; margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
