/* Product pages inherit the homepage's typography, palette, navigation and controls.
   Media uses 24px corners; plan surfaces use the same radius. Text stays monochrome. */
.product-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 64px;
  padding-block: 64px 88px;
}
.product-hero-copy h1 {
  margin: 0 0 28px;
  font-size: clamp(42px, 4.55vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.065em;
  font-weight: 500;
}
.product-hero-copy > p:not(.eyebrow) {
  max-width: 40ch;
  margin: 0 0 32px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
}
.product-hero-copy .eyebrow {
  color: var(--ink);
}
.product-art {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 24px;
  background-color: #184cbd;
  background-image: url('/assets/legal-3d-sheet.webp');
  background-size: 300% 300%;
  background-repeat: no-repeat;
}
.platform-art {
  background-position: 50% 100%;
}
.pricing-art {
  background-position: 100% 100%;
}
.product-section {
  padding-block: 80px;
}
.product-section-heading {
  margin-bottom: 48px;
}
.product-section h2 {
  margin: 0 0 20px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 500;
}
.product-section-heading > p {
  margin: 0;
  max-width: 48ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
}
.product-role-list {
  display: grid;
}
.product-role {
  display: grid;
  grid-template-columns: 180px 1.25fr 0.85fr;
  gap: 40px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-block: 28px;
}
.product-role h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.product-role h3 img {
  flex: 0 0 24px;
}
.product-role h3 img,
.product-control-grid img {
  filter: grayscale(1) brightness(0);
}
.product-role p {
  margin: 0;
  line-height: 1.65;
}
.product-role > span {
  line-height: 1.65;
}
.product-apps {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0 0 56px;
}
.product-apps img {
  object-fit: contain;
}
.product-steps {
  list-style: none;
  display: grid;
  gap: 40px;
  padding: 0;
  margin: 0;
  max-width: 920px;
}
.product-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 32px;
}
.step-number {
  font-size: 31px;
  letter-spacing: -0.05em;
  line-height: 1.1;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.product-steps h3 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0 0 10px;
}
.product-steps p {
  line-height: 1.65;
  margin: 0;
  max-width: 60ch;
}
.product-control-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}
.product-control-grid img {
  margin-bottom: 22px;
}
.product-control-grid h3 {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin: 0 0 14px;
}
.product-control-grid p {
  margin: 0;
  line-height: 1.7;
}
.product-page .text-link {
  display: inline-block;
  text-underline-offset: 5px;
}
.product-page .text-link:hover {
  text-decoration: underline;
}
.product-desktop {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 100px;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 48px;
}
.product-desktop p {
  max-width: 53ch;
  margin: 0 0 22px;
  line-height: 1.65;
}
.product-desktop kbd {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9em;
  white-space: nowrap;
}
.product-desktop-actions {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.product-desktop-actions .button,
.product-coming-soon {
  min-width: 244px;
  justify-content: center;
}
.product-coming-soon {
  padding: 16px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: not-allowed;
  font-size: 15px;
}
.product-desktop-actions p {
  font-size: 13px;
  margin: 8px 0 0;
}
.product-desktop-actions p a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.product-plans {
  padding-top: 8px;
}
.product-plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.product-plan {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 24px;
}
.managed-plan {
  border: 2px solid var(--ink);
  padding: 41px;
}
.product-plan h3 {
  margin: 0 0 24px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.product-plan-description {
  font-size: 19px;
  line-height: 1.5;
  margin: 0 0 28px;
}
.product-plan-price {
  margin: 0 0 28px;
  font-size: clamp(25px, 2.25vw, 35px);
  letter-spacing: -0.04em;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.product-plan-action {
  width: 100%;
  justify-content: center;
  margin-bottom: 30px;
}
.product-plan ul {
  list-style: none;
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
}
.product-plan li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 14px;
  align-items: baseline;
  line-height: 1.6;
}
.product-plan li::before {
  content: '✓';
  font-size: 14px;
}
.product-plan-note {
  font-size: 13px;
  line-height: 1.7;
  max-width: 82ch;
  margin: 28px 0 0;
}
.product-pricing-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
.product-pricing-detail .product-section-heading {
  margin: 0;
}
.product-pricing-facts {
  margin: 0;
  display: grid;
  gap: 30px;
}
.product-pricing-facts dt {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.035em;
  margin-bottom: 9px;
}
.product-pricing-facts dd {
  margin: 0;
  line-height: 1.65;
}
.product-faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}
.product-faq-list details {
  border-top: 1px solid var(--line);
  padding-block: 24px;
}
.product-faq-list summary {
  font-size: 21px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.025em;
  cursor: pointer;
  padding-right: 12px;
}
.product-faq-list p {
  max-width: 59ch;
  margin: 18px 0 0;
  line-height: 1.65;
}
.product-faq-list a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.product-price-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
.product-price-contact h2 {
  font-size: clamp(30px, 3vw, 44px);
}
.product-price-contact p {
  max-width: 46ch;
  margin: 0;
  line-height: 1.65;
}
.product-price-contact .button {
  flex-shrink: 0;
}
.product-page[data-theme='dark'] .product-role h3 img,
.product-page[data-theme='dark'] .product-control-grid img,
[data-theme='dark'] .product-page .product-role h3 img,
[data-theme='dark'] .product-page .product-control-grid img {
  filter: brightness(0) invert(1);
}
@media (max-width: 1024px) {
  .product-hero {
    gap: 32px;
    padding-block: 48px 64px;
  }
  .product-hero-copy h1 {
    font-size: clamp(36px, 5vw, 58px);
  }
  .product-role {
    grid-template-columns: 150px 1.3fr 0.9fr;
    gap: 24px;
  }
  .product-control-grid {
    gap: 28px;
  }
  .product-desktop {
    gap: 48px;
  }
  .product-pricing-detail,
  .product-faq {
    gap: 40px;
  }
  .product-plan {
    padding: 30px;
  }
  .managed-plan {
    padding: 29px;
  }
}
@media (max-width: 768px) {
  .product-hero {
    grid-template-columns: 1fr;
    padding-block: 36px 32px;
    gap: 36px;
  }
  .product-hero-copy h1 {
    font-size: clamp(38px, 7.9vw, 60px);
    letter-spacing: -0.06em;
  }
  .product-hero-copy > p:not(.eyebrow) {
    font-size: 17px;
    max-width: 44ch;
  }
  .product-section {
    padding-block: 48px;
  }
  .product-section-heading {
    margin-bottom: 32px;
  }
  .product-section-heading > p {
    font-size: 16px;
  }
  .product-role {
    grid-template-columns: 125px 1fr;
    gap: 20px;
    padding-block: 24px;
  }
  .product-role h3 {
    font-size: 18px;
    gap: 9px;
  }
  .product-role h3 img {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }
  .product-role > span {
    grid-column: 2;
    font-size: 13px;
    margin-top: -10px;
  }
  .product-role p {
    font-size: 15px;
  }
  .product-apps {
    gap: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
  }
  .product-apps img {
    width: 32px;
    height: 32px;
  }
  .product-steps {
    gap: 32px;
  }
  .product-steps li {
    grid-template-columns: 28px 1fr;
    gap: 20px;
  }
  .product-steps h3 {
    font-size: 22px;
  }
  .step-number {
    font-size: 26px;
  }
  .product-control-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-control-grid article {
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 18px;
  }
  .product-control-grid h3 {
    margin-bottom: 10px;
  }
  .product-control-grid p {
    grid-column: 2;
  }
  .product-control-grid img {
    margin: 0;
  }
  .product-desktop,
  .product-pricing-detail,
  .product-faq {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-desktop {
    margin-top: 24px;
  }
  .product-desktop-actions {
    justify-items: stretch;
  }
  .product-desktop-actions .button,
  .product-coming-soon {
    width: 100%;
  }
  .product-plans {
    padding-top: 16px;
  }
  .product-plans-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-plan {
    padding: 28px;
  }
  .managed-plan {
    padding: 27px;
  }
  .product-plan h3 {
    font-size: 26px;
  }
  .product-plan-price {
    font-size: 29px;
    overflow-wrap: anywhere;
  }
  .product-faq-list summary {
    font-size: 19px;
  }
  .product-price-contact {
    display: grid;
    gap: 28px;
  }
  .product-price-contact .button {
    justify-content: center;
  }
}
@media (max-width: 400px) {
  .product-role {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .product-role > span {
    grid-column: auto;
    margin: 0;
  }
  .product-plan {
    padding: 24px;
  }
  .managed-plan {
    padding: 23px;
  }
}
