:root {
  --ink: #08090a;
  --muted: #676b72;
  --line: #dedfe2;
  --paper: #ffffff;
  --wash: #f2f2f3;
  --coral: #ff8b87;
  --violet: #c68cff;
  --sky: #8fd8ff;
  font-family: "Instrument Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; text-decoration: none; }

.pricing-page > .site-header { width: min(1437px, calc(100% - 96px)); margin-top: 32px; }

main { width: min(1437px, calc(100% - 48px)); margin: 0 auto; }
.pricing-hero { max-width: 900px; margin: 0 auto; padding: 76px 0 56px; text-align: center; }
.pricing-hero h1 { margin: 0; font-size: clamp(42px, 5vw, 68px); font-weight: 500; line-height: 1; letter-spacing: -.052em; }
.pricing-hero p { max-width: 630px; margin: 20px auto 0; color: var(--muted); font-size: 17px; line-height: 1.5; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 16px; min-height: 707px; padding: 24px; overflow: hidden; border: 1px solid rgba(8,9,10,.08); border-radius: 80px; background: #fdfdfd; box-shadow: 0 8px 12px -10px rgba(0,0,0,.18); }
.plan-card { display: flex; min-width: 0; min-height: 658px; flex-direction: column; gap: 40px; padding: 48px 32px; border: 0; border-radius: 56px; background: transparent; }
.plan-card--featured { background: linear-gradient(23.852deg, #fff 62.338%, #daedff 81.305%, #64b4ff 104.94%); box-shadow: 0 7px 12px -9px rgba(0,0,0,.16); }
.plan-summary { position: relative; display: flex; min-height: 264px; flex-direction: column; align-items: flex-start; gap: 24px; padding: 0 0 40px; border-bottom: .8px solid rgba(0,0,0,.1); background: transparent; }
.plan-symbol { display: grid; width: 42px; height: 42px; margin: 0; place-items: center; overflow: visible; border: 0; border-radius: 11px; background: linear-gradient(145deg, #f2f2f2 0%, #a9aaad 52%, #28292c 100%); box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.plan-symbol img { width: 25px; height: 25px; object-fit: contain; }
.plan-symbol--color { background: linear-gradient(145deg, #cdacff 6.17%, #add1ff 54.38%, #8fd8ff 93.83%); }
.plan-summary > div:not(.price) { display: flex; width: 100%; flex-direction: column; gap: 8px; }
.plan-summary h2 { margin: 0; font-size: 24px; font-weight: 600; line-height: normal; letter-spacing: -.6px; }
.plan-summary p { min-height: 40px; margin: 0; color: var(--muted); font-size: 16px; line-height: normal; }
.price { display: flex; width: 100%; align-items: flex-end; gap: 5.6px; margin: 0; padding: 0; border: 0; }
.price strong { font-size: 56px; font-weight: 500; line-height: 56px; letter-spacing: -2.8px; }
.price span { padding-bottom: 8px; font-size: 18px; line-height: 18px; letter-spacing: -.54px; }
.price--enterprise { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 0; }
.price--enterprise strong { font-size: 56px; font-weight: 600; line-height: 56px; letter-spacing: -2.8px; }
.price--enterprise span { padding: 0; color: var(--muted); font-size: 14px; line-height: normal; letter-spacing: 0; }
.plan-actions { display: flex; width: 100%; flex-direction: column; align-items: center; gap: 14px; margin-top: auto; }
.plan-action { display: grid; width: 100%; min-height: 52px; place-items: center; margin: 0; border: 1px solid #000; border-radius: 24px; background: #000; color: #fff; font-size: 16px; font-weight: 500; transition: background-color 160ms ease; }
.plan-action:hover, .plan-action:focus-visible { background: #303135; }
.plan-trial { color: #656565; font-size: 16px; font-weight: 500; line-height: 20px; text-decoration: underline; text-underline-position: from-font; }
.plan-features { width: 100%; min-height: 151px; padding: 0; }
.plan-features h3 { min-height: 30px; margin: 0; padding-bottom: 8px; font-size: 14px; font-weight: 600; line-height: normal; }
.plan-features ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.plan-features li { position: relative; min-height: 21px; padding-left: 24px; color: #303238; font-size: 15px; line-height: 20.25px; }
.plan-features li::before { content: ""; position: absolute; top: 2.4px; left: 0; width: 16px; height: 16px; background: url("../public/pricing-check.svg") center / 16px 16px no-repeat; }

.other-products { position: relative; display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 2.28fr); align-items: center; gap: 48px; margin-top: 24px; padding: 42px 44px; overflow: hidden; border: 1px solid rgba(8,9,10,.07); border-radius: 32px; background: linear-gradient(125deg, #fff 0%, #fff 48%, #f6faff 100%); box-shadow: 0 8px 24px -20px rgba(0,0,0,.28); }
.other-products::before { position: absolute; top: -130px; right: -80px; width: 460px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(143,216,255,.2) 0%, rgba(198,140,255,.07) 42%, transparent 70%); content: ""; pointer-events: none; }
.other-products > * { position: relative; z-index: 1; }
.other-products-heading h2 { max-width: 250px; margin: 0; font-size: 28px; font-weight: 600; line-height: 1.05; letter-spacing: -.045em; }
.other-products-heading p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.other-products-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.other-product { display: flex; min-width: 0; min-height: 68px; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid rgba(8,9,10,.055); border-radius: 16px; background: rgba(255,255,255,.72); box-shadow: 0 2px 8px rgba(0,0,0,.045); font-size: 15px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease; }
.other-product:hover, .other-product:focus-visible { border-color: rgba(8,9,10,.11); background: rgba(255,255,255,.96); box-shadow: 0 4px 12px rgba(0,0,0,.07); }
.other-product img { flex: 0 0 auto; width: 34px; height: 34px; }
.other-product img { display: block; }
.other-product strong { font-weight: 600; }

.pricing-page > .site-footer { width: min(1437px, calc(100% - 48px)); margin-bottom: 24px; }

@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; border-radius: 48px; }
  .plan-card { min-height: 658px; }
  .plan-card--enterprise { grid-column: 1 / -1; width: calc(50% - 8px); justify-self: center; }
  .other-products { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 640px) {
  main { width: min(100% - 32px, 1240px); }
  .pricing-page > .site-header { width: min(100% - 48px, 1437px); }
  .pricing-hero { padding: 54px 0 38px; }
  .pricing-hero h1 { font-size: clamp(38px, 12vw, 54px); }
  .pricing-hero p { font-size: 16px; }
  .plans { grid-template-columns: 1fr; gap: 12px; padding: 12px; border-radius: 32px; }
  .plan-card, .plan-card--enterprise { grid-column: auto; width: 100%; min-height: 0; padding: 32px 22px; border: 0; border-radius: 24px; background: #fff; box-shadow: 0 6px 10px -8px rgba(0,0,0,.14); }
  .plan-card--enterprise { background: linear-gradient(23.852deg, #fff 62.338%, #daedff 81.305%, #64b4ff 104.94%); }
  .plan-summary { min-height: 244px; gap: 20px; padding-bottom: 30px; }
  .plan-summary h2 { font-size: 22px; }
  .plan-summary p { font-size: 15px; }
  .price strong { font-size: 48px; line-height: 48px; }
  .price--enterprise strong { font-size: 48px; line-height: 48px; }
  .plan-features { min-height: auto; }
  .plan-actions { margin-top: 18px; }
  .other-products { margin-top: 16px; padding: 30px 20px; border-radius: 24px; }
  .other-products-heading h2 { max-width: none; font-size: 26px; }
  .other-products-list { grid-template-columns: 1fr; }
  .other-product { min-height: 58px; padding: 10px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
