.plans-main { overflow: hidden; }
.site-nav a[aria-current="page"] { color: var(--green); }

.plans-hero { padding: 110px 0 90px; border-bottom: 1px solid var(--line); }
.plans-hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(58px, 7.3vw, 108px); font-weight: 400; letter-spacing: -.045em; line-height: .92; }
.plans-hero h1 em { color: var(--green); font-weight: 400; }
.plans-hero-copy { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; max-width: 930px; margin: 45px 0 0 auto; }
.plans-hero-copy p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.plans-hero-copy span { padding: 18px 0 5px; border-top: 1px solid var(--line); color: var(--green); font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.55; }

.beta-pricing { display: grid; grid-template-columns: 190px 1fr .7fr; gap: clamp(30px, 5vw, 74px); align-items: center; margin-top: 55px; padding: 31px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.beta-mark { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px; }
.beta-mark span { grid-column: 1 / -1; width: max-content; margin-bottom: 8px; padding: 4px 7px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.beta-mark strong { color: var(--green); font-family: Georgia, "Times New Roman", serif; font-size: 45px; font-weight: 400; letter-spacing: -.03em; }
.beta-mark small { max-width: 72px; color: var(--muted); font-size: 8px; font-weight: 750; line-height: 1.35; text-transform: uppercase; }
.beta-copy h2 { margin: 0 0 8px; font-size: clamp(25px, 2.5vw, 35px); }
.beta-copy p, .beta-note { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.beta-note { padding-left: 24px; border-left: 1px solid var(--line); }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 70px 0 125px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan-card { display: flex; flex-direction: column; min-width: 0; padding: 38px clamp(24px, 3vw, 46px) 42px; border-right: 1px solid var(--line); }
.plan-card:last-child { border-right: 0; }
.plan-card-featured { background: var(--green-deep); color: var(--white); }
.plan-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.plan-card-featured .plan-card-head { border-color: rgba(255, 255, 255, .2); }
.plan-card-head span { color: var(--green); font-size: 9px; font-weight: 850; }
.plan-card-featured .plan-card-head span { color: #8dd5b9; }
.plan-card-head small { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .07em; text-align: right; text-transform: uppercase; }
.plan-card-featured .plan-card-head small { color: #bfd0c8; }
.plan-card h2 { margin-top: 33px; font-size: clamp(42px, 4vw, 62px); }
.plan-thesis { min-height: 60px; margin: 23px 0 13px; color: var(--green); font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.45; }
.plan-card-featured .plan-thesis { color: #8dd5b9; }
.plan-description { min-height: 92px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.plan-card-featured .plan-description { color: #bfd0c8; }
.plan-card ul { flex: 1; margin: 26px 0 32px; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.plan-card-featured ul { border-color: rgba(255, 255, 255, .2); }
.plan-card li { position: relative; padding: 13px 0 13px 20px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 11px; line-height: 1.45; }
.plan-card-featured li { border-color: rgba(255, 255, 255, .2); color: var(--white); }
.plan-card li::before { content: ""; position: absolute; top: 18px; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.plan-card-featured li::before { background: #8dd5b9; }
.plan-card > a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 45px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--green); font-size: 10px; font-weight: 800; }
.plan-card-featured > a { border-color: #8dd5b9; background: #8dd5b9; color: var(--green-deep); }
.plan-card > a:hover, .plan-card > a:focus-visible { border-color: var(--green); outline: none; background: var(--green-soft); }
.plan-card-featured > a:hover, .plan-card-featured > a:focus-visible { border-color: var(--white); background: var(--white); }
.availability { display: block; padding: 15px 0 5px; border-top: 1px solid var(--line); color: var(--green); font-size: 9px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }

.comparison { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(55px, 8vw, 130px); padding: 115px 0; border-top: 1px solid var(--line); }
.comparison-heading h2 { max-width: 520px; font-size: clamp(42px, 4.7vw, 70px); }
.comparison-table { border-top: 1px solid var(--line); }
.comparison-row { display: grid; grid-template-columns: 1.45fr repeat(3, .7fr); gap: 12px; align-items: center; min-height: 61px; border-bottom: 1px solid var(--line); }
.comparison-row > span { color: var(--ink); font-size: 11px; }
.comparison-row strong { color: var(--green); font-family: Georgia, "Times New Roman", serif; font-size: 13px; font-weight: 600; text-align: center; }
.comparison-row i { color: var(--muted); font-size: 10px; font-style: normal; text-align: center; }
.comparison-labels { min-height: 48px; }
.comparison-labels > span { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.team-value { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: end; padding: clamp(55px, 7vw, 100px); border-radius: 38px; background: var(--green-deep); color: var(--white); }
.team-value .eyebrow { color: #8dd5b9; }
.team-value h2 { max-width: 590px; font-size: clamp(42px, 5vw, 75px); }
.team-value-copy > p { margin: 0; color: #bfd0c8; font-size: 15px; line-height: 1.8; }
.knowledge-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1.2fr; gap: 10px; align-items: center; margin-top: 38px; padding-top: 23px; border-top: 1px solid rgba(255, 255, 255, .22); }
.knowledge-flow span, .knowledge-flow strong { font-size: 9px; line-height: 1.45; }
.knowledge-flow span { color: #bfd0c8; }
.knowledge-flow strong { color: #8dd5b9; }
.knowledge-flow i { color: #8dd5b9; font-style: normal; }

.enterprise-modules { padding: 130px 0 120px; }
.modules-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; margin-bottom: 62px; }
.modules-heading .eyebrow { grid-column: 1 / -1; }
.modules-heading h2 { max-width: 760px; }
.modules-heading > p:last-child { margin: 0 0 5px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.module-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.module-list article { min-height: 220px; padding: 28px 26px 34px 0; border-bottom: 1px solid var(--line); }
.module-list article + article { padding-left: 26px; border-left: 1px solid var(--line); }
.module-list span { color: var(--green); font-size: 9px; font-weight: 850; }
.module-list h3 { margin: 48px 0 13px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 500; }
.module-list p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.plans-cta { display: grid; justify-items: center; padding: 120px 0 140px; border-top: 1px solid var(--line); text-align: center; }
.plans-cta h2 { max-width: 920px; }
.plans-cta .primary-action { margin-top: 39px; }

@media (max-width: 1050px) {
  .beta-pricing { grid-template-columns: 160px 1fr; }
  .beta-note { grid-column: 2; padding: 16px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .plan-card:last-child { border-bottom: 0; }
  .plan-thesis, .plan-description { min-height: 0; }
  .comparison, .team-value { grid-template-columns: 1fr; }
  .module-list { grid-template-columns: repeat(2, 1fr); }
  .module-list article:nth-child(3) { border-left: 0; }
}

@media (max-width: 720px) {
  .plans-hero { padding: 78px 0 67px; }
  .plans-hero h1 { font-size: clamp(49px, 15.5vw, 72px); }
  .plans-hero-copy, .modules-heading { grid-template-columns: 1fr; gap: 27px; margin-top: 35px; }
  .beta-pricing { grid-template-columns: 1fr; gap: 24px; margin-top: 42px; }
  .beta-note { grid-column: 1; }
  .plan-grid { margin: 60px 0 85px; }
  .plan-card { padding: 30px 20px 34px; }
  .comparison { padding: 85px 0; }
  .comparison-table { overflow-x: auto; }
  .comparison-row { min-width: 650px; }
  .team-value { gap: 37px; padding: 42px 27px; border-radius: 28px; }
  .knowledge-flow { grid-template-columns: 1fr; }
  .knowledge-flow i { transform: rotate(90deg); }
  .enterprise-modules { padding: 90px 0 85px; }
  .module-list { grid-template-columns: 1fr; }
  .module-list article + article { padding-left: 0; border-left: 0; }
  .plans-cta { padding: 85px 0 100px; }
}
