/* Shared editorial alignment. Hero and pricing introductions retain their centered composition. */
.company-page .section-heading,
.company-page .studio-section,
.product-page .section-heading,
.product-page .product-heading,
.product-page .workflow-heading,
.product-page .offline-copy {
  text-align: right;
  align-items: flex-start;
}
.company-page .section-heading > h2,
.company-page .section-heading > p,
.company-page .studio-section h2,
.company-page .studio-copy p,
.product-page .section-heading > h2,
.product-page .section-heading > p,
.product-page .product-heading > h2,
.product-page .product-heading > p { text-align: right; margin-inline: 0; }
.company-page .studio-links { justify-content: flex-start; }
.company-page .zepo-intro { align-self: flex-start; justify-content: flex-start; direction: rtl; }
.company-page #featured .zepo-benefits { align-items: flex-start; text-align: right; }
.company-page .zepo-benefits .icon { flex-shrink: 0; }
.company-page .zepo-cta-bar,
.product-page .offline-summary { text-align: right; align-items: flex-start; }
.product-page .offline-summary { margin-inline: 0; }
.product-page .product-pricing > .product-heading,
.product-page .product-pricing > .product-heading h2,
.product-page .product-pricing > .product-heading p { text-align: center; margin-inline: auto; }

/* Blue glass with a restrained champagne rim on the recommended plan. */
.product-page .product-pricing .is-recommended {
  background: #e9f2fc;
  border-color: #f6e9cb;
  box-shadow: inset 0 0 0 4px #ffffffd9, inset 0 0 0 6px #c7aa6e80, 0 26px 40px -18px #263a5a75;
}
.product-page .product-pricing .is-recommended .plan-surface {
  background: linear-gradient(145deg,#f9fcffe8,#d5e8fbd9);
}
.product-page .is-recommended .plan-recommendation {
  background: linear-gradient(145deg,#fff8e8,#e9d7ad);
  color: #5e4c29;
  box-shadow: inset 0 1px 1px #fff, 0 3px 8px #31527b16;
}
.product-page .is-recommended .plan-cta {
  background: linear-gradient(150deg,#438bcd,#245cb5 60%,#284d9b);
  background-color: #245cb5;
  color: #fff;
  border-color: #ebd5a4;
  box-shadow: inset 0 1.5px 1px #fff9,inset 0 -1px 2px #17315c66,0 5px 14px #214c852e;
}
.product-page .plan-cta { font-size: 17px; text-decoration: none; }
.product-page .purchase-consent {
  font-size: 13px;
  line-height: 1.65;
  font-weight: 400;
  color: #365271;
  margin: 14px 0 0;
  text-align: right;
}
.purchase-consent a { text-decoration: underline; text-underline-offset: 3px; }
.product-page .pricing-price-note { margin-top: 8px; }
.company-page .zepo-cta-bar > p,
.product-page .pricing-renewal { text-align: right; }

/* Balanced lines avoid a short final fragment; hero copy shares its heading axis. */
.company-page main :is(h1,h2,h3,p),
.product-page main :is(h1,h2,h3,p) { text-wrap: balance; }
.company-page .hero-content > p { text-align: center; margin-inline: auto; max-width: 38ch; }
.company-page .bespoke-shell > .section-heading { text-align: center; align-items: center; }
.company-page .bespoke-shell .section-heading > h2,
.company-page .bespoke-shell .section-heading > p,
.company-page #buildCaption { text-align: center; margin-inline: auto; }
.company-page .app-card-status > span { display: none; }

/* Four concise offers: all actions share one height and one row. */
.product-page .product-pricing { padding-inline: clamp(24px,3vw,48px); }
.product-page .product-pricing .pricing-plans { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; align-items: stretch; }
.product-page .product-pricing .pricing-plan { margin-block: 0; }
.product-page .product-pricing .plan-surface { padding: 26px 22px; min-height: 360px; }
.product-page .plan-heading { min-height: 32px; }
.product-page .plan-heading h3 { font-size: 23px; }
.product-page .plan-recommendation { font-size: 12px; padding: 5px 8px; }
.product-page .plan-price { margin-top: 16px; gap: 0; flex-direction: column; align-items: flex-start; }
.product-page .plan-price bdi { font-size: 46px; }
.product-page .plan-price > span { font-size: 15px; line-height: 1.5; }
.product-page .plan-billing { margin-top: 14px; min-height: 44px; font-size: 15px; line-height: 1.45; }
.product-page .plan-duration { margin-block: 6px 16px; font-size: 14px; min-height: 24px; }
.product-page .product-pricing .plan-availability { margin-top: auto; padding-top: 28px; }
.product-page .plan-cta { font-size: 15px; min-height: 48px; padding: 10px 12px; white-space: nowrap; }
.product-page .purchase-consent { font-size: 11px; line-height: 1.55; margin-top: 8px; }
.product-page .plan-availability > .launch-placeholder { font-size: 10px; padding: 4px; margin-block: 8px 0; }
.product-page .student-verification-note { min-height: 0; font-size: 11px; line-height: 1.5; padding: 0; margin-block: 8px 0; }
.product-page .download-details { margin: 10px 0 0; font-size: 11px; line-height: 1.5; text-align: right; }
.product-page .download-details p { margin-top: 8px; font-size: 12px; }
.product-page #download { scroll-margin-top: 110px; }
@media (min-width: 601px) and (max-width: 1099px) {
  .product-page .product-pricing .pricing-plans { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* One editorial grid: the heading, visual, and details share a right edge. */
.company-page main > .section,
.product-page main > .section { padding-block: 72px; }
.company-page .studio-section { gap: 24px; }
.company-page .section-heading > p,
.product-page .product-heading > p { margin-top: 18px; }
.company-page .showcase .section-heading,
.company-page .apps-section > .section-heading { margin-bottom: 32px; }
.company-page .showcase .home-zepo-media { width: 100%; margin-top: 0; }
.company-page .keyboard-section { gap: 32px; }
.company-page .keyboard-art { width: 100%; margin-inline: 0; }
.company-page .bespoke-shell > .section-heading { margin-bottom: 24px; }
.company-page .bespoke-stage { height: 360px; margin-block: 0 20px; }
.company-page .faq-section,
.product-page .faq-section { gap: 32px; }
.company-page .faq-list,
.product-page .faq-list { width: 100%; max-width: none; margin: 0; }
.faq-item summary, .faq-item p { text-align: right; }
.product-page .product-examples,
.product-page .product-guidance { gap: 32px; }
.product-page .product-examples .product-heading { padding-inline: 0; }
.product-page .product-guidance { align-items: start; }
.product-page .product-guidance > .product-heading { margin-block: 0; }

/* Closing heroes are centered compositions, distinct from editorial sections. */
.company-page .final-section,
.product-page .final-section { text-align: center; }
.company-page .final-section .section-heading,
.product-page .final-section .section-heading { align-items: center; text-align: center; }
.company-page .final-section .section-heading > h2,
.company-page .final-section .section-heading > p,
.product-page .final-section .section-heading > h2,
.product-page .final-section .section-heading > p,
.product-page #download > .closing-benefits { text-align: center; margin-inline: auto; }
.company-page #contact,
.product-page .custom-invitation {
  padding: 80px 32px;
  margin-block: 32px 64px;
  border: 1px solid #ffffffd9;
  border-radius: 28px;
  background: #d8e8f9;
  box-shadow: inset 0 0 0 4px #ffffff80, 0 18px 36px -26px #34567b66;
}
.closing-field { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.closing-field canvas { display: block; width: 100%; height: 100%; }
.company-page #contact::before,
.product-page .custom-invitation::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center,#f3f7fced 5%,#eef5fcc9 35%,#eef5fc30 80%);
}
.company-page #contact > .btn,
.product-page .custom-invitation > .btn { margin-top: 28px; }
.product-page #download > .launch-placeholder { display: table; margin-inline: auto; }
.product-page .student-verification-note { font-size: 13px; line-height: 1.6; min-height: 32px; padding-block: 5px; margin: 8px 0; color: #365271; }
.launch-placeholder {
  display: inline-block;
  max-width: 100%;
  margin-block: 8px;
  padding: 5px 8px;
  border: 1px dashed #946c29;
  border-radius: 5px;
  background: #fff5da;
  color: #624510;
  font: 12px/1.6 ui-monospace, monospace;
  overflow-wrap: anywhere;
  white-space: normal;
  text-align: left;
}
.launch-placeholder:focus { outline: 2px solid #275fba; outline-offset: 3px; }
@media (max-width: 600px), (max-width: 900px) and (max-height: 550px) and (orientation: landscape) and (pointer: coarse) {
  .scroll-fade, .reveal-ready .reveal { opacity: var(--scroll-opacity,1) !important; transform: none !important; filter: none !important; transition: opacity 90ms linear; }
  .scroll-fade:focus-within, .is-paused .scroll-fade { opacity: 1 !important; }
  .company-page .hero-content,
  .product-page .product-hero-layout,
  .product-page .hero-content { opacity: var(--hero-fade,1) !important; }
  .company-page .nav-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)) 36px; gap: 6px; }
  .company-page .nav .nav-actions > .btn { width: 100%; min-width: 0; padding: 8px; font-size: 12px; }
  .company-page .nav .mobile-app-link { color: #fff; border-color: #c7e3ff; background: linear-gradient(150deg,#4995ebc9,#20469bf2 56%,#2464dce8); background-color: #245cac; }
  .company-page .studio-section { text-align: right; }
  .company-page .showcase .zepo-benefits { display: flex; gap: 10px; font-size: 14px; line-height: 1.6; }
  .company-page .showcase .zepo-benefits .icon { margin-top: 1px; }
  .company-page .showcase .section-heading > p { font-size: 16px; line-height: 1.65; }
  .product-page .product-hero h1 { font-size: clamp(31px,10.6vw,63px); white-space: nowrap; letter-spacing: -.035em; }
  .company-page main > .section,
  .product-page main > .section { padding-block: 48px; }
  .company-page .studio-copy { margin-top: 20px; }
  .company-page .section-heading > p,
  .product-page .product-heading > p { margin-top: 12px; }
  .company-page .showcase .section-heading,
  .company-page .apps-section > .section-heading { margin-bottom: 24px; }
  .company-page .showcase .home-zepo-media { margin-top: 0; }
  .company-page .showcase .zepo-intro { gap: 12px; }
  .company-page .showcase .zepo-intro h2 { font-size: clamp(28px,8vw,38px); }
  .company-page .bespoke-shell > .section-heading { margin-bottom: 16px; }
  .company-page .bespoke-stage { height: 220px; margin-block: 0 16px; }
  .company-page .faq-section,
  .product-page .faq-section { gap: 24px; }
  .product-page .product-examples,
  .product-page .product-guidance { gap: 24px; }
  .company-page #contact,
  .product-page .custom-invitation { padding: 48px 20px; margin-block: 16px 40px; border-radius: 22px; }
  .company-page #contact .section-heading h2,
  .product-page .custom-invitation .section-heading h2 { font-size: clamp(27px,7.7vw,38px); }
  .company-page #contact .section-heading p,
  .product-page .custom-invitation .section-heading p { font-size: 15px; }
  .product-page .offline-surface { padding: 26px 20px 20px; gap: 24px; }
  .product-page .offline-copy p { margin-top: 16px; font-size: 15px; line-height: 1.65; }
  .product-page .offline-proof { display: none; }
  .product-page .offline-library { padding-top: 18px; border-top: 1px solid #cfdbeb; }
  .product-page .offline-library > div { padding: 0 5px !important; }
  .product-page .offline-library dt { font-size: 12px; line-height: 1.45; min-height: 36px; text-wrap: balance; }
  .product-page .offline-library dd { font-size: clamp(23px,6.6vw,28px); line-height: 1.2; }
  .product-page .product-guidance .product-heading > p { font-size: 16px; line-height: 1.65; margin-top: 14px; }
  .product-page .product-guidance .text-link { display: none; }
  .product-page .product-guide .guide-chat { padding: 20px; gap: 16px; }
  .product-page .product-guide .guide-chat ol { line-height: 1.9; }
  .product-page .product-pricing { padding: 34px 16px 32px; }
  .product-page .product-pricing .pricing-plans { grid-template-columns: minmax(0,1fr); margin-top: 16px; }
  .product-page .product-pricing .plan-surface { padding: 24px; }
  .product-page .plan-price { flex-direction: row; align-items: baseline; gap: 10px; }
  .product-page .plan-billing { min-height: 0; font-size: 16px; }
  .product-page .plan-duration { min-height: 0; }
  .product-page .purchase-consent { font-size: 12px; }
  .mobile-plan-picker { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 3px; padding: 4px; }
  .mobile-plan-picker button { font-size: 12px; padding-inline: 3px; white-space: nowrap; }
  .mobile-plan-picker button[data-mobile-plan="annual"] { color: #254b78; background: linear-gradient(145deg,#f7fbff,#d4e7fb); box-shadow: inset 0 0 0 1px #c8b07d; }
  .mobile-plan-picker button[data-mobile-plan="annual"][aria-pressed="true"] { box-shadow: inset 0 0 0 1px #b39862,inset 0 2px 2px #fff,0 3px 9px #32567924; }
  .product-page .plan-cta { padding-inline: 8px; font-size: 16px; gap: 8px; }
  .product-page .purchase-consent { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-fade, .reveal-ready .reveal,
  .company-page .hero-content, .product-page .product-hero-layout,
  .product-page .hero-content { opacity: 1 !important; transition: none !important; }
}

/* Supporting details stay outside the pricing cards, on the same right edge. */
.product-page .product-pricing { margin-bottom: 0; }
.product-page .pricing-notes {
  width: calc(100% - 48px); max-width: 1440px; margin: 18px auto 0;
  padding-inline: clamp(24px,3vw,48px); text-align: right; color: #365271;
}
.product-page .pricing-notes p { margin: 6px 0; font-size: 12px; line-height: 1.65; text-wrap: pretty; }
.product-page .pricing-notes .student-verification-note { min-height: 0; padding: 0; }
.pricing-notes .launch-links { display: flex; flex-wrap: wrap; column-gap: 24px; margin-top: 10px; }
.pricing-notes .launch-placeholder { margin: 0; padding: 3px 5px; font-size: 10px; }
.product-page .pricing-notes .download-details { margin-top: 12px; font-size: 12px; }
.pricing-notes summary { cursor: pointer; width: fit-content; }
.product-page .custom-invitation { width: calc(100% - 48px); max-width: 1440px; background: #f1f3f6; }
.product-page .custom-invitation .closing-field { opacity: .6; }
@media (max-width: 760px) {
  .product-page .custom-invitation, .product-page .pricing-notes { width: calc(100% - 24px); }
}
@media (max-width: 600px), (max-width: 900px) and (max-height: 550px) and (orientation: landscape) and (pointer: coarse) {
  .product-page .product-pricing .plan-surface { min-height: 320px; }
  .product-page .custom-invitation, .product-page .pricing-notes { width: calc(100% - 20px); }
  .product-page .pricing-notes { padding-inline: 16px; margin-top: 16px; }
  .pricing-notes .launch-links { display: block; }
}

/* Read the trial as one phrase, and let the mobile example copy use its full grid width. */
.product-page .trial-plan .trial-duration { display: block; font-size: clamp(26px,2.4vw,34px); font-weight: 650; line-height: 1.35; white-space: nowrap; min-height: 86px; }
@media (max-width:600px) {
  .product-page .trial-plan .trial-duration { font-size: clamp(26px,8vw,32px); min-height: 56px; }
  .product-page .product-examples > .product-heading { width: 100%; max-width: none; }
  .product-page .product-examples > .product-heading > p { width: 100%; max-width: none; margin-top: 18px; text-wrap: pretty; }
}

/* Homepage actions share one row on desktop and phone. */
.company-page .hero-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; max-width: 440px; margin-inline: auto; margin-top: 48px; gap: 12px; }
.company-page .hero-actions > .btn { width: 100%; min-width: 0; min-height: 50px; padding-inline: 18px; white-space: nowrap; }
.company-page .nav .nav-actions > .btn { width: 124px; min-height: 44px; }
@media (min-width: 601px) {
  .company-page .nav .nav-actions > .btn { width: 105px; min-height: 37px; padding: 6px 10px; gap: 6px; font-size: 13px; }
  .company-page .nav .nav-actions > .btn .icon { width: 16px; height: 16px; }
}
@media (max-width: 600px) {
  .company-page .nav .nav-actions > .btn { width: 100%; }
  .company-page .hero-actions { gap: 8px; }
  .company-page .hero-actions > .btn { min-height: 48px; padding-inline: 8px; font-size: clamp(12.5px,3.3vw,14px); }
}
