/* The public pages: the landing page, pricing, the guide, legal, the trust and news pages (and a share
   link's page).
   Split from style.css (16 Nov 2026, C2): each page links css/base.css and its own sheets in <head>, in the order
   base, pattern, marketing, auth, make, library, settings, share, workspace; a rule that came later in style.css still
   comes later where both load. Its dark twin is css/marketing-dark.css (07_scripts/maintenance/site_dark_css.py).
   An !important left says why, on the line before its rule: what it must win over. */

/* =====================================================================
                            COMMON PAGE STYLES
   ===================================================================== */

/* Subtitle text. */
/* !important: a utility: wins wherever it is put */
.subtitle {
  font-family: var(--font-family-open-sans) !important;
  font-weight: 400 !important;
  font-size: 1.5rem !important;
  line-height: 1.3 !important;
}

/* =======================
   INDEX STYLES
   ======================= */

.index-hero-section {
  background-color: var(--bg-light);
  padding-top: 3rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.index-hero-container {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.index-hero-content {
  flex: 1;
  max-width: 40rem;
}

/* The landing title in its half of the hero: 116 px whatever the window cut "Generator" off under the picture at 200%
   zoom (UAT ACS-03). It grows with the window up to the same 116 px; phones have their own size (max-width 600px). */
/* !important: over the New design's .index-hero-content h1 */
@media (min-width: 601px) {
  .index-hero-content h1 {
    font-size: clamp(3rem, 9vw, 7.25rem) !important;
  }
}

.index-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.index-hero-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 100%;
  max-width: none;
}

.index-how-it-works-section {
  background-color: var(--White);
  padding: 3.125rem 0;
  text-align: center;
}

.index-how-it-works-images {
  position: relative;
  height: 33.125rem;
  margin-bottom: 5rem;
}

.index-how-it-works-images img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

.index-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8rem;
  margin-top: 4rem;
  margin-bottom: 3.75rem;
  margin-right: 3rem;
  margin-left: 3rem;
}

.index-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.index-step-item img {
  height: 16.875rem;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.125rem;
  display: block;
}

/* !important: over the New design's .index-step-item > .index-step-numb… */
.index-step-number {
  display: inline-block;
  width: 2.375rem;
  height: 2.375rem;
  border-radius: 50%;
  background-color: var(--Pure-Blue);
  color: var(--White);
  font-family: var(--font-family-roboto) !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  text-align: center;
  line-height: 2.375rem;
  vertical-align: middle;
  margin-bottom: 1.375rem !important;
}

.index-section-cta {
  text-align: center;
}

/* !important: over the New design's .trial-link */
.trial-link {
  text-decoration: underline;
  font-weight: bold;
  color: var(--Black) !important;
  transition: color var(--transition);
}

/* !important: over the New design's .trial-link */
.trial-link:hover,
.trial-link:focus,
.trial-link:active {
  color: var(--Pure-Blue) !important;
}

.index-who-is-it-for-section {
  background-color: var(--bg-light);
  padding: 6.25rem 0;
  text-align: center;
}

.index-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
  margin-top: 5rem;
}

.index-card {
  background-color: var(--White);
  border-radius: 1.25rem;
  padding: 2.75rem 1.6rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 26.125rem;
}

/* !important: over the New design's .index-card-icon */
.index-card-icon {
  width: 3.875rem !important;
  height: 3.8125rem !important;
  margin-bottom: 2.75rem !important;
}

/* =======================
   PRICING STYLES
   ======================= */

.pricing-page ul {
  list-style: none;
}
/* Teams and education's lists keep their bullets, in the brand blue (19 Nov 2026, Israa: "add bullet points in blue";
   the same blue in the dark look). Both designs. */
.pricing-page ul.teams-list {
  list-style: disc outside;
}
.pricing-page ul.teams-list > li::marker {
  color: #0025E6;
  font-size: 1.1em;
}

.pricing-section {
  padding-bottom: 6.5625rem;
  text-align: center;
}

.pricing-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-top: 2.5rem;
  flex-wrap: nowrap;
}

.pricing-pricing-features-link {
  border: 0.0625rem solid var(--Black);
  border-radius: 1.25rem;
  padding: 0.5rem 1.5rem;
  font-family: var(--font-family-inter);
  font-weight: 500;
  font-size: 1.25rem;
  margin-top: 1.25rem;
  color: var(--Black);
}

.pricing-subscription-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.pricing-toggle-wrapper {
  display: inline-flex;
  background-color: var(--White);
  border: 0.0625rem solid #bababa;
  border-radius: 0.75rem;
  padding: 0.25rem;
}

.pricing-toggle-button {
  border: none;
  background-color: transparent;
  padding: 0.5625rem 0.75rem;
  border-radius: 0.75rem;
  font-family: var(--font-family-roboto);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  min-width: 11.0625rem;
  text-align: center;
  transition: background-color var(--transition), color var(--transition);
}

.pricing-toggle-button.active {
  background-color: var(--Pure-Blue);
  color: var(--White);
  font-weight: 700;
}

.pricing-toggle-button:not(.active) {
  color: #4e4e4e;
  font-weight: 400;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pricing-card {
  background-color: var(--White);
  border-radius: 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pricing-card-header {
  background-color: var(--Pure-Blue);
  padding: 0.9375rem;
  color: var(--White);
}

.pricing-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  gap: 1.5rem;
}

.pricing-card-button {
  background-color: var(--bg-light);
  border-radius: 0.375rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-family-inter);
  font-weight: 500;
  font-size: 1.25rem;
  margin-top: auto;
  width: fit-content;
}

/* --- Checkout Bar Styles --- */

/* Above the sticky header (z-index 9999), which covered the checkout's title. */
/* !important: over the z-index of a rule loaded later */
#checkout-modal-overlay {
  z-index: 10000 !important;
}

/* The two columns share the window: each had a 32.5rem minimum in a 60vw window, so below about
   1800px wide the payment form ran off the window's right edge and had to be scrolled to. */
.checkout-modal {
  background: var(--White);
  border-radius: 1.125rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: row;
  width: min(68.75rem, 94vw);
  height: 90vh;
  max-width: 94vw;
  overflow: auto;
}

.checkout-modal-left {
  flex: 3 1 0;
  min-width: 0;
  padding: 2rem 1.5rem 2rem 2rem;
  border-right: 0.0625rem solid #f2f2f2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.checkout-modal-right {
  flex: 2 1 0;
  min-width: 0;
  padding: 2rem 2rem 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-modal .close-checkout-btn {
  margin-top: 0.75rem;
  margin-left: 0.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.checkout-modal .close-checkout-btn:hover,
.checkout-modal .close-checkout-btn:focus {
  background: #f2f2f2;
}

/* Shown in place of the payment form once the payment is recorded. */
.checkout-confirmed {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem 0;
}

.pricing-features-section {
  background-color: var(--White);
  padding: 6.5625rem 0;
}

.pricing-features-grid {
  padding-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.125rem 1.75rem;
  justify-content: center;
  max-width: 69.8125rem;
  margin: 0 auto;
  position: relative;
}

/* !important: over the New design's .pricing-feature-item (and more) */
.pricing-feature-item {
  background-color: var(--color-bg-feature);
  border-radius: 0.4rem;
  padding: 1.5rem;
  text-align: center;
  font-family: var(--font-family-roboto) !important;
  font-weight: 700 !important;
  font-size: 1.375rem !important;
  line-height: 1.4;
  color: var(--color-text-dark);
  position: relative;
  padding-top: 2.5rem;
}

.pricing-feature-icon-wrapper {
  width: 2.1875rem;
  height: 2.1875rem;
  border-radius: 50%;
  background-color: var(--Pure-Blue);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -1.09375rem;
  left: 50%;
  transform: translateX(-50%);
}

.pricing-feature-icon-wrapper img {
  width: 1rem;
  height: 1rem;
}

.pricing-feature-item.centered-feature {
  grid-column: span 1;
}

/* !important: over .pricing-feature-item.centered-feat… */
.pricing-feature-item.centered-feature:nth-last-child(2) {
  grid-column: 1 / 3;
  grid-row: 3;
  margin-left: 10.625rem !important;
  margin-right: 11.875rem !important;
}

/* !important: over the New design's .pricing-feature-item */
.pricing-feature-item.centered-feature:last-child {
  grid-column: 2 / 4;
  grid-row: 3;
  margin-left: 11.875rem !important;
  margin-right: 10.625rem !important;
}

.pricing-faq-section {
  padding: 6.25rem 0;
}

.pricing-faq-container {
  max-width: 67.625rem;
}

.pricing-faq-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.pricing-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-accordion-item {
  background-color: var(--White);
  border-radius: 0.625rem;
  padding: 1.5625rem 2rem;
}

.pricing-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
}

.pricing-accordion-icon {
  width: 1.8125rem;
  height: 1.25rem;
  transition: transform var(--transition) ease;
  flex-shrink: 0;
}

.pricing-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition) ease-out, padding-top var(--transition) ease-out;
}

/* Room for the longest answer on a phone (12.5rem cut off the end of the one about designs). */
.pricing-accordion-item.open .pricing-accordion-content {
  max-height: 40rem;
  padding-top: 0.5rem;
}

.pricing-accordion-item.open .pricing-accordion-icon {
  transform: rotate(45deg);
}

/* Pricing's links in running text (20 Nov 2026, Israa: "so its obvious its a link"): Enterprise's and Academic's
   Teams and education, and the FAQ's email address. The brand blue, underlined; in the dark look the light ink with
   the blue underline (its twin, and base-dark's links). */
.pricing-card-body p a,
.pricing-faq-header a,
.pricing-accordion-content a {
  color: var(--Pure-Blue);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

/* =======================
   LEGAL PAGE STYLES
   ======================= */

.legal-page {
  overflow-y: auto;
}

.legal-page .legal-page-container {
  background: var(--bg-light);
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

.legal-page .header-background {
  width: 100%;
  max-width: 90%;
  height: 6.25rem;
  margin: 0 auto;
  background: var(--Pure-Blue);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0rem;
}

/* !important: over .legal-page .section p (and more) */

.legal-page .nav-list {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  height: 2.5625rem;
  margin: 0 0% auto 50%;
  list-style: none;
  padding: 0;
}

.legal-page .brand {
  position: absolute;
  top: 0.3125rem;
  left: 2.1875rem;
  font-family: var(--font-family-poppins);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--Black);
}

/* Main Content */
.legal-page .legal-page-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 100%;
  max-width: 90%;
  margin: 2% auto 0;
  gap: 10%;
}

.legal-page .legal-content-main {
  flex: 1 1 0;
  min-width: 0;
  max-height: auto;
}

.legal-page .nav-section {
  flex-direction: row;
  display: flex;
  gap: 3.125rem;
}

.legal-page .section {
  margin-bottom: 2.875rem;
  padding-bottom: 2.25rem;
  border-bottom: 0.0625rem solid var(--Dusty-Gray);
}

.legal-page .section-title {
  font-family: var(--brand-font);
  font-weight: 700;
  color: var(--text-blue);
  font-size: 2.25rem;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.legal-page .section p,
.legal-page .section ul,
.legal-page .section li {
  font-family: var(--brand-font);
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.5;
}

.legal-page .legal-content-main-nav {
  flex: 0 0 20rem;
  max-width: 20rem;
  margin: 0;
  align-self: flex-start;
  position: sticky;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  border-radius: 0.5rem;
  border: 0.0625rem solid var(--bg-light);
  box-shadow: 0rem 0.25rem 1rem var(--White);
  padding: 1.125rem 1.5rem;
  z-index: 10;
}

.legal-page .legal-content-main-nav-link:hover,
.legal-page .legal-content-main-nav-link.active {
  color: var(--Pure-Blue);
  text-decoration: none;
}

#data-sources .legal-content-main {
  width: 100%;
  max-width: 90vw;
  margin: 0 auto;
  box-sizing: border-box;
  padding-left: 2vw;
  padding-right: 2vw;
}

#data-sources pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  box-sizing: border-box;
}

/* !important: over the New design's .nd-legal .legal-page .legal-conten… */
#data-sources .legal-content-main>* {
  width: 100% !important;
  box-sizing: border-box;
}

/* =======================
   MEDIA QUERIES
   ======================= */
/* 1200px and below: Large laptops/tablets */
/* The four plans in two rows of two (22 Nov 2026, Lucy: from 1024 to 1200 px they were three and one left alone), one
   under another on a phone. */
@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 992px and below: Tablets */
@media (max-width: 992px) {
  .index-header-container {
    padding: 0 2.5rem;
  }

  .index-how-it-works-images {
    display: none;
  }

  .index-steps-grid {
    grid-template-columns: 1fr;
    gap: 3.125rem;
    margin-top: 2.5rem;
  }

  .index-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .pricing-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.75rem 1.75rem;
  }

  /* The last two features in the grid's two columns like the rest (19 Nov 2026, Israa: "make sure there are no other
     spacing issues"): on a tablet they kept the laptop's places in three columns (2 / 4 made a third column) and its
     170 and 190 px side margins, so "Export to industry formats" ran wide and "Priority customer support" was squeezed
     out of its box. The phone already had this (600px and below).
     !important: over .pricing-feature-item.centered-feature:nth-last-child(2) and :last-child's margins */
  .pricing-feature-item.centered-feature,
  .pricing-feature-item.centered-feature:nth-last-child(2),
  .pricing-feature-item.centered-feature:last-child {
    grid-column: auto !important;
    grid-row: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .checkout-modal {
    flex-direction: column;
    max-width: 98vw;
    min-width: 0;
  }

  .checkout-modal-left,
  .checkout-modal-right {
    flex: none;
    min-width: 0;
    padding: 1.5rem 12vw;
    border-right: none;
    border-bottom: 0.0625rem solid #f2f2f2;
  }

  /* Stripe's form gets the window's width. */
  .checkout-modal-left {
    padding: 1.5rem 1rem;
  }

  .legal-page .legal-page-content {
    flex-direction: column;
    max-width: 95vw;
    gap: 0;
  }

  .legal-page .legal-content-main-nav {
    position: static;
    max-width: 100%;
    width: 100%;
    margin: 1.5rem 0;
    gap: 0.5rem;
    padding: 1rem 0.625rem;
  }

}

/* 768px and below: Tablets/large phones */
@media (max-width: 768px) {

  .index-hero-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .index-hero-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .index-hero-content {
    display: flex;
    flex-direction: column;
    margin: auto;
    text-align: center;
  }

  .index-hero-actions {
    justify-content: center;
    flex-direction: row;
    gap: 0.75rem;
    margin-top: 0.85rem;
    margin-bottom: 0.85rem;
  }

  .index-how-it-works-section {
    padding: 1.875rem 0;
  }

  .index-section-title {
    font-size: 2.25rem;
    margin-bottom: 2.5rem;
  }

  .index-step-item {
    padding: 0 1rem;
  }

  .index-step-item img {
    max-width: 90%;
    max-height: 12.5rem;
    height: auto;
    width: auto;
  }

  .index-who-is-it-for-section {
    padding: 3.75rem 0;
  }

  .index-cards-grid {
    grid-template-columns: 1fr;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .index-card {
    text-align: center;
    align-items: center;
  }
}

/* 600px and below: Phones */
/* !important: a utility: wins wherever it is put */
@media (max-width: 600px) {

  .subtitle {
    font-size: 1rem !important;
  }

  .pricing-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.125rem 1.25rem;
  }

  /* !important: over the New design's .pricing-feature-item */
  .pricing-feature-item,
  .pricing-feature-item.centered-feature,
  .pricing-feature-item.centered-feature:nth-last-child(2),
  .pricing-feature-item.centered-feature:last-child {
    font-size: 1.125rem;
    grid-column: auto !important;
    grid-row: auto !important;
    justify-self: stretch;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .index-card {
    margin: 0rem 1rem;
    padding: 2rem 2rem;
    min-height: auto;
  }

  .nav-list li {
    width: auto;
    min-width: 0;
    text-align: left;
    flex: 1 1 auto;
    flex-wrap: wrap;
  }

}

/* Monthly / Yearly inside a small phone's page (19 Nov 2026, Israa: "make sure there are no other spacing issues"): its
   two 177 px halves made it 364 px wide, 2 px wider than a 360 px screen, so the page slid sideways. Under 381 px the
   halves share the room; at 390 and up it is as before. The New design's has its own (style-new.css). */
@media (max-width: 380px) {
  html:not([data-site-design="new"]) .pricing-toggle-wrapper {
    width: 100%;
    max-width: 22.75rem;
    box-sizing: border-box;
  }

  html:not([data-site-design="new"]) .pricing-toggle-button {
    min-width: 0;
    flex: 1 1 0;
  }
}

/* A heading reached by a link stops below the sticky header, not under it. */
.legal-page .nav-section [id] {
  scroll-margin-top: 6.5rem;
}

@media (max-width: 768px) {

  /* !important: over the white-space of a rule loaded later (and more) */
  .legal-page .nav-list .nav-link {
    white-space: nowrap !important;
    word-break: normal !important;
    padding: 0.5rem 0.75rem !important;
  }

  /* !important: over h1's !important */

  .legal-page .nav-section [id] {
    scroll-margin-top: 8.5rem;
  }

  /* Wide tables scroll inside the text instead of running past the screen. */
  .legal-page .terms-body table {
    display: block;
    overflow-x: auto;
  }
}

/* =====================================================================
   HOW TO USE PAGE (how-to-use.html)
   A contents list beside white section cards on desktop; one column with a "Jump to" menu on a phone.
   ===================================================================== */
html.howto-page {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html.howto-page {
    scroll-behavior: auto;
  }
}

.howto-skip {
  position: absolute;
  left: -9999px;
  top: 0;
}

.howto-skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10001;
  background: var(--White);
  color: var(--Pure-Blue);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.howto-hero {
  box-sizing: border-box;
  padding: 3.5rem 5.5% 2.5rem;
}

.howto-hero-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.howto-page .howto-eyebrow {
  font-family: var(--font-family-roboto);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--Pure-Blue);
  margin: 0 0 0.75rem;
}

/* !important: over h1's !important */
.howto-page h1.howto-title {
  font-size: 3.5rem !important;
  margin: 0 0 0.75rem !important;
  color: var(--text-blue) !important;
}

.howto-page .howto-lede {
  font-size: 1.375rem;
  line-height: 1.45;
  color: var(--text-secondary);
  max-width: 40rem;
  margin: 0 0 1.75rem;
}

.howto-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.howto-layout {
  box-sizing: border-box;
  max-width: calc(72rem + 11%);
  margin: 0 auto 4rem;
  padding: 0 5.5%;
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.howto-toc {
  position: sticky;
  /* (Under the one bar, --ndb-h, with 24 px between, 16 Nov 2026.) */
  top: calc(var(--ndb-h, 5.25rem) + 1.5rem);
  background: var(--White);
  border-radius: 0.875rem;
  padding: 1.25rem 1rem;
}

.howto-page .howto-toc-title {
  font-family: var(--font-family-roboto);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  /* (#828282 was 3.8:1 on the page, 13 Nov 2026.) */
  color: #5f6b7a;
  margin: 0 0 0.75rem 0.625rem;
}

.howto-toc ol {
  list-style: none;
  counter-reset: howto-toc;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.howto-toc li {
  counter-increment: howto-toc;
}

.howto-toc a::before {
  content: counter(howto-toc);
  min-width: 1rem;
  color: #5f6b7a;
  font-variant-numeric: tabular-nums;
}

.howto-toc a[aria-current="location"]::before {
  color: var(--Pure-Blue);
}

.howto-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  outline: none;
}

.howto-jump {
  display: none;
  box-sizing: border-box;
  align-items: center;
  gap: 0.75rem;
  background: var(--White);
  border-radius: 0.875rem;
  padding: 0.75rem 1rem;
  font-family: var(--font-family-roboto);
  font-weight: 500;
  color: var(--text-blue);
}

.howto-section {
  box-sizing: border-box;
  background: var(--White);
  border-radius: 1rem;
  padding: 2.5rem 3rem;
  scroll-margin-top: 6.5rem;
}

.howto-section-head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.howto-section-number {
  flex: 0 0 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--Pure-Blue);
  color: var(--White);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-roboto);
  font-weight: 700;
  font-size: 1.0625rem;
}

/* !important: over h2's !important */
.howto-page .howto-section h2 {
  font-size: 2rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
  color: var(--text-blue) !important;
}

/* !important: over h3's !important */
.howto-page .howto-section h3 {
  font-size: 1.25rem !important;
  margin: 2rem 0 0.625rem !important;
  color: var(--text-blue) !important;
  scroll-margin-top: 6.5rem;
}

.howto-section p,
.howto-section li,
.howto-section dd,
.howto-section td {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.howto-section p {
  margin: 0 0 0.875rem;
}

.howto-page .howto-section .howto-intro {
  font-size: 1.1875rem;
  color: var(--color-text-dark);
  margin-bottom: 1.5rem;
}

/* !important: over .howto-list li */
.howto-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 1rem !important;
}

/* A list inside a list item (the guide's drawing templates: Use this, Front and Back, To print). */
/* !important: over .howto-list's margin */
.howto-list .howto-list {
  list-style: circle;
  margin: 0.25rem 0 0 !important;
}

.howto-list li {
  margin: 0.375rem 0;
}

/* A list inside a numbered item of a picture's legend (the workspace picture's Quick tools): bullets, not numbers. */
/* !important: over .howto-list's margin */
.howto-legend .howto-list {
  margin: 0.25rem 0 0.25rem !important;
}

.howto-section .howto-legend .howto-list li {
  counter-increment: none;
  padding-left: 0;
  margin: 0.125rem 0;
}

.howto-legend .howto-list li::before {
  content: none;
}

/* Start here: the five steps */
/* !important: over .howto-page .howto-steps h3's !important (and more) */
.howto-steps {
  list-style: none;
  counter-reset: howto-step;
  margin: 0 0 1.5rem !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: 1rem;
}

.howto-steps li {
  counter-increment: howto-step;
  background: var(--bg-light);
  border-radius: 0.875rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.howto-steps li::before {
  content: counter(howto-step);
  box-sizing: border-box;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--White);
  border: 0.09375rem solid var(--Pure-Blue);
  color: var(--Pure-Blue);
  font-family: var(--font-family-roboto);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* !important: over h3's !important */
.howto-page .howto-steps h3 {
  font-size: 1.0625rem !important;
  margin: 0.25rem 0 0 !important;
}

.howto-section .howto-steps p {
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.howto-section .howto-steps a {
  font-size: 0.9375rem;
  font-weight: 500;
}

.howto-section .howto-steps a::after {
  /* (a no-break space: the arrow stays with the last word instead of wrapping onto a line of its own) */
  content: "\00a0→";
}

/* Tip and check boxes */
.howto-callout {
  border-radius: 0.75rem;
  border-left: 0.25rem solid;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}

.howto-callout-tip {
  background: var(--Pure-Blue-light);
  border-color: var(--Pure-Blue);
}

.howto-callout-check {
  background: var(--Sew-Off-bg);
  border-color: #c98a1b;
}

.howto-page .howto-section .howto-callout-label {
  font-family: var(--font-family-roboto);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-blue);
  margin: 0 0 0.375rem;
}

.howto-page .howto-section .howto-callout-check .howto-callout-label {
  color: var(--Sew-Off);
}

.howto-callout p:last-child {
  margin-bottom: 0;
}

.howto-callout ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.howto-callout li {
  margin: 0.25rem 0;
}

/* Pictures, and the places kept for screenshots still to be taken */
.howto-figure {
  margin: 1.5rem 0;
  background: var(--bg-light);
  border-radius: 0.875rem;
  padding: 1.5rem;
  text-align: center;
}

.howto-figure img {
  width: 24rem;
  max-width: 100%;
  height: auto;
  background: var(--White);
  border-radius: 0.5rem;
}

.howto-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--Boulder);
}

/* The example drawings in pairs or threes, screenshots, and the video */
.howto-pair,
.howto-avoid-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 11rem));
  justify-content: center;
  gap: 1rem;
}

.howto-avoid-grid {
  grid-template-columns: repeat(3, minmax(0, 11rem));
}

.howto-pair > div,
.howto-avoid-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.howto-pair img,
.howto-avoid-grid img {
  width: 100%;
  height: auto;
  background: var(--White);
  border-radius: 0.5rem;
}

.howto-pair span,
.howto-avoid-grid span {
  font-family: var(--font-family-roboto);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-blue);
}

.howto-avoid-grid span::before {
  content: "✕ ";
  content: "✕ " / "";
  color: #9b1c1c;
  font-weight: 700;
}

.howto-figure.howto-screen {
  padding: 0;
  background: none;
  text-align: left;
}

.howto-screen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  border: 0.0625rem solid var(--Dusty-Gray);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 6, 70, 0.08);
}

.howto-figure.howto-screen figcaption {
  margin-top: 0.75rem;
}

.howto-legend {
  list-style: none;
  counter-reset: howto-legend;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.375rem;
}

.howto-section .howto-legend li {
  counter-increment: howto-legend;
  position: relative;
  padding-left: 2.125rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--Boulder);
}

.howto-legend li::before {
  content: counter(howto-legend);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--Pure-Blue);
  color: var(--White);
  font-family: var(--font-family-roboto);
  font-weight: 700;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.howto-video {
  margin: 0 0 1.5rem;
  scroll-margin-top: 6.5rem;
}

.howto-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 0.875rem;
  background: var(--bg-light);
  border: 0.0625rem solid var(--Dusty-Gray);
}

.howto-video figcaption {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--Boulder);
}

/* Do and avoid */
.howto-do-dont {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.howto-do,
.howto-dont {
  border-radius: 0.875rem;
  padding: 1.25rem 1.375rem;
}

.howto-do {
  background: var(--Sew-Ok-bg);
}

.howto-dont {
  background: #fdeceb;
}

/* !important: over h3's !important */
.howto-page .howto-section .howto-do h3,
.howto-page .howto-section .howto-dont h3 {
  margin: 0 0 0.75rem !important;
  font-size: 1.125rem !important;
}

/* !important: over h3's !important */
.howto-page .howto-section .howto-do h3 {
  color: var(--Sew-Ok) !important;
}

/* !important: over h3's !important */
.howto-page .howto-section .howto-dont h3 {
  color: #9b1c1c !important;
}

.howto-do ul,
.howto-dont ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.howto-do li,
.howto-dont li {
  position: relative;
  padding-left: 1.75rem;
  margin: 0.5rem 0;
  font-size: 1rem;
}

.howto-do li::before,
.howto-dont li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.howto-do li::before {
  content: "✓";
  content: "✓" / "";
  color: var(--Sew-Ok);
}

.howto-dont li::before {
  content: "✕";
  content: "✕" / "";
  color: #9b1c1c;
}

/* The reading line, as the results window shows it */
.howto-page .howto-section .howto-sample {
  font-family: var(--font-family-roboto);
  background: var(--bg-light);
  border: 0.0625rem solid var(--Dusty-Gray);
  border-radius: 0.625rem;
  padding: 0.875rem 1.125rem;
  color: var(--text-blue);
}

/* Workspace essentials */
.howto-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.howto-card {
  background: var(--bg-light);
  border-radius: 0.875rem;
  padding: 1.25rem 1.375rem;
}

/* A card across both columns (the guide's Joining two pieces, between the two pairs of cards). */
.howto-card-wide {
  grid-column: 1 / -1;
}

/* !important: over h3's !important */
.howto-page .howto-section .howto-card h3 {
  margin: 0 0 0.625rem !important;
  font-size: 1.125rem !important;
}

.howto-card ul {
  list-style: disc;
  padding-left: 1.125rem;
}

.howto-section .howto-card li {
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0.375rem 0;
}

.howto-page kbd {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.8125em;
  background: var(--White);
  border: 0.0625rem solid var(--Grid-Gray);
  border-bottom-width: 0.125rem;
  border-radius: 0.3rem;
  padding: 0.05em 0.4em;
  color: var(--text-blue);
  white-space: nowrap;
}

/* Tables: file formats, Settings */
.howto-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1.25rem;
}

.howto-table th {
  text-align: left;
  font-family: var(--font-family-roboto);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5f6b7a;
  padding: 0.625rem 0.75rem;
  border-bottom: 0.125rem solid var(--Dusty-Gray);
}

.howto-section .howto-table td {
  padding: 0.75rem;
  border-bottom: 0.0625rem solid var(--Dusty-Gray);
  vertical-align: top;
  font-size: 1rem;
  line-height: 1.55;
}

.howto-section .howto-table td:first-child {
  width: 34%;
  font-weight: 600;
  color: var(--text-blue);
}

/* Numbered printing steps */
/* !important: over .howto-numbered li */
.howto-numbered {
  list-style: none;
  counter-reset: howto-num;
  padding: 0 !important;
  margin: 0 0 1rem !important;
}

.howto-numbered li {
  counter-increment: howto-num;
  position: relative;
  padding-left: 2.5rem;
  margin: 0.75rem 0;
  min-height: 1.75rem;
}

.howto-numbered li::before {
  content: counter(howto-num);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--Pure-Blue-light);
  color: var(--Pure-Blue);
  font-family: var(--font-family-roboto);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Problems and fixes */
.howto-faq {
  border-top: 0.0625rem solid var(--Dusty-Gray);
  margin-top: 0.5rem;
}

.howto-faq details {
  border-bottom: 0.0625rem solid var(--Dusty-Gray);
  scroll-margin-top: 6.5rem;
}

.howto-faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 1.125rem 2.5rem 1.125rem 0;
  font-family: var(--font-family-roboto);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--text-blue);
}

.howto-faq summary::-webkit-details-marker {
  display: none;
}

.howto-faq summary::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  width: 0.5625rem;
  height: 0.5625rem;
  border-right: 0.125rem solid var(--Pure-Blue);
  border-bottom: 0.125rem solid var(--Pure-Blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--transition);
}

.howto-faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.howto-faq summary:hover {
  color: var(--Pure-Blue);
}

.howto-section .howto-faq details p {
  margin: 0;
  padding: 0 2.5rem 1.25rem 0;
}

.howto-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
  background: var(--Pure-Blue-light);
  border-radius: 0.875rem;
  padding: 1.5rem 1.75rem;
}

/* !important: over h3's !important */
.howto-page .howto-section .howto-help h3 {
  margin: 0 0 0.25rem !important;
}

.howto-section .howto-help p {
  margin: 0;
}

.howto-help .btn-rounded {
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .howto-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .howto-toc {
    display: none;
  }

  /* Kept in reach while reading down the page, under the sticky header. */
  .howto-jump {
    display: flex;
    position: sticky;
    top: calc(var(--ndb-h, 66px) + 0.625rem);
    z-index: 5;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.06);
  }

  .howto-section,
  .howto-page .howto-section h3,
  .howto-faq details {
    scroll-margin-top: 10rem;
  }

}

@media (max-width: 600px) {
  .howto-hero {
    padding: 2rem 16px 1.5rem;
  }

  /* !important: over h1's !important */
  .howto-page h1.howto-title {
    font-size: 2.25rem !important;
  }

  .howto-page .howto-lede {
    font-size: 1.125rem;
  }

  .howto-layout {
    padding: 0 16px;
  }

  .howto-jump {
    top: 4rem;
  }

  .howto-section {
    padding: 1.5rem 1.25rem;
    border-radius: 0.875rem;
  }

  /* !important: over h2's !important */
  .howto-page .howto-section h2 {
    font-size: 1.5rem !important;
  }

  .howto-section-number {
    flex-basis: 2rem;
    height: 2rem;
    font-size: 1rem;
  }

  .howto-section p,
  .howto-section li,
  .howto-section dd,
  .howto-section td {
    font-size: 1rem;
  }

  .howto-do-dont,
  .howto-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .howto-figure {
    padding: 1rem;
  }

  .howto-avoid-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .howto-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .howto-video,
  .howto-section .howto-video {
    scroll-margin-top: 10rem;
  }

  .howto-section .howto-table td:first-child {
    width: 40%;
  }

  .howto-faq summary {
    font-size: 1rem;
  }

  .howto-help {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* !important: over .howto-toc ol */
@media print {
  .howto-page .outside-main-nav-header-section,
  .howto-page .site-outside-main-footer,
  .howto-page #chatbot-button,
  .howto-page #chatbot-popup,
  .howto-toc,
  .howto-jump,
  .howto-skip,
  .howto-hero-actions,
  .howto-ask-berry {
    display: none !important;
  }

  .howto-layout {
    display: block;
    padding: 0;
  }

  .howto-section {
    padding: 0;
    margin-bottom: 2rem;
  }
}

/* ---- The redesign review's fixes for every page (13 Nov 2026) ---- */

/* Legal's tabs on a phone: in rows, every one in sight (they scrolled sideways with the scrollbar hidden: "Cookie
   Poli…", with nothing to show there was more). Settings' tabs: one row that scrolls sideways (Israa), its edges
   fading where there are more (site_chrome.js marks at-start / at-end), the chosen tab brought into view. */
@media (max-width: 768px) {
  /* !important: over the New design's .outside-main-nav > .nav-link */
  .legal-page .nav-section [id] { scroll-margin-top: 11rem; }
}

/* ---- What was left from the redesign review (13 Nov 2026, evening: "fix what is left") ---- */

/* Landing. A phone has Start free trial and Learn more (they were hidden there), above the picture; from 601 to 1024 px
   the words come first and the picture under them (the title was squeezed beside it); (Berry's card that sat on the
   coat went on 19 Nov 2026: Israa, "i want to remove the Berry widget".) */
@media (max-width: 600px) {
  .index-hero-content > .index-hero-image-wrapper { order: 10; }
  .index-hero-actions { justify-content: center; flex-wrap: wrap; margin: 0.5rem 0 1.25rem; }
}
@media (min-width: 601px) and (max-width: 1024px) {
  .index-hero-container { flex-direction: column; align-items: stretch; }
  .index-hero-content { max-width: none; margin: 0 auto; text-align: center; }
  .index-hero-actions { justify-content: center; }
  .index-hero-image-wrapper.hide-mobile { flex: none; width: 100%; min-height: 34rem; }
  /* (The picture once: up to 768 px, base.css's display flex for every .index-hero-image-wrapper showed the phone's copy
     too, the trench coat twice, 21 Nov 2026.) */
  /* !important: over base.css's .index-hero-image-wrapper display (!important) in its 768 px block */
  .index-hero-image-wrapper.hide-desktop { display: none !important; }
}

/* Pricing: the plan buttons outlined in the site's blue (they had no colour of their own: the browser's purple link on
   grey); on a phone the plans to contact us about wait under a button. */
.pricing-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-family-roboto);
  box-sizing: border-box;
}
/* Free Trial as Contact us (Israa: "they should be like contact us"): every plan's button outlined in the site's blue. */
.pricing-card-button { background-color: transparent; color: var(--Pure-Blue); border: 1.5px solid var(--Pure-Blue); }
.pricing-card-button:hover,
.pricing-card-button:focus-visible { background-color: #E9F0FF; color: var(--Pure-Blue); }
.pricing-contact-plans { display: contents; }
.pricing-more-btn { display: none; }
@media (max-width: 600px) {
  .pricing-more-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border: 1.5px solid var(--Pure-Blue);
    border-radius: 14px;
    background: #FFFFFF;
    color: var(--Pure-Blue);
    font-family: var(--font-family-roboto);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
  }
  .pricing-more-btn::after { content: "+"; font-size: 1.4rem; line-height: 1; }
  .pricing-more-btn[aria-expanded="true"]::after { content: "−"; }
  .pricing-more-btn[aria-expanded="false"] + .pricing-contact-plans { display: none; }
}

/* Legal: the site's links in its header (none were there), the phone's Menu beside the logo; on a tablet the contents
   above the text, in two columns (beside it they left the text a narrow column). */
.legal-page .legal-site-links { display: flex; align-items: center; gap: 1.25rem; margin-left: 2rem; }
.legal-page .legal-site-link { font-family: var(--font-family-roboto); font-weight: 500; font-size: 1rem; color: var(--Black); text-decoration: none; white-space: nowrap; }
.legal-page .legal-site-link:hover,
.legal-page .legal-site-link:focus-visible { color: var(--Pure-Blue); }
@media (max-width: 1024px) {
  .legal-page .legal-site-link { display: none; }
  .legal-page .legal-site-links { margin-left: auto; }
}
@media (max-width: 768px) {
  .legal-page .legal-site-links { order: 1; }
  .legal-page .nav-list { order: 2; }
}
@media (min-width: 601px) and (max-width: 1024px) {
  .legal-page .nav-section { flex-direction: column; gap: 1.5rem; }
  .legal-page .legal-content-main-nav {
    position: static;
    flex: none;
    /* (Its padding inside its width: it was wider than the page and scrolled sideways, 13 Nov 2026.) */
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem 1.5rem;
  }
}

/* How to use: the four workspace layouts side by side (one a row on a phone), and the Look choice. */
.howto-layouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}
.howto-layouts > div { display: flex; flex-direction: column; gap: 0.4rem; }
.howto-layouts img,
.howto-look-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #E3E3EA;
  border-radius: 0.5rem;
  background: var(--White);
}
.howto-layouts span {
  font-family: var(--font-family-roboto);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-blue);
}
@media (max-width: 600px) {
  .howto-layouts { grid-template-columns: minmax(0, 1fr); }
}
/* How to use: three phone screens side by side (19 Nov 2026, Israa: "update the how to use page with the new designs
   and features"), as the drawings are; still three across on a phone, each a third of the width. */
.howto-phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 12rem));
  justify-content: center;
  gap: 1rem;
}
.howto-phones > div { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.howto-phones img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #E3E3EA;
  border-radius: 0.75rem;
  background: var(--White);
}
.howto-phones span {
  font-family: var(--font-family-roboto);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-blue);
}
@media (max-width: 600px) {
  .howto-phones { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
  .howto-phones span { font-size: 0.8125rem; }
}

/* ==== The style system (13 Nov 2026, Israa: "do all the other recommendations"): the canvas's Style boards made the
   site's. The tokens are on :root (--ds-*), and the headings, buttons and fields are set where they are defined; here
   the body's type, placeholders, the sizes that had their own, one kind of tab, switches, Legal's text. ==== */

/* The sizes that had their own: the landing title 56 px on a laptop and a tablet (116 px pushed everything under the
   fold), 40 px on a phone; Pricing's title as a page title; the sign-in pages' titles.
   (16 Nov 2026: the landing title is mildbury.com's 116 px again, growing with the window up to it, at Israa's boss's
   word; its size on a phone and Pricing's title follow the page's tokens, set at the foot of this sheet.) */
/* !important: over h1's !important */
@media (min-width: 601px) { .index-hero-content h1 { font-size: clamp(3rem, 9vw, 7.25rem) !important; } }
/* !important: over the New design's .index-hero-content h1 */
@media (max-width: 600px) { .index-hero-content h1 { font-size: var(--ds-size-1) !important; } }
/* !important: over h2's !important */
.pricing-header h2 { font-size: var(--ds-size-1) !important; }

/* One kind of tab: pills in a pale track (Legal's underlined tabs, Settings' list). */
.legal-page .nav-list {
  gap: 2px;
  height: auto;
  padding: 4px;
  align-items: center;
  background: var(--ds-track);
  border-radius: 999px;
  width: auto;
}

/* Legal's text in the body font and the quiet colour (it was Helvetica in #595959), its links the one blue. */
/* !important: over .legal-page .section p */
.legal-page .terms-body,
.legal-page .terms-body * { font-family: var(--ds-font-body) !important; }
/* !important: over style#0's .terms-body .terms-p */
.legal-page .terms-body .terms-p,
.legal-page .terms-body p,
.legal-page .terms-body ul,
.legal-page .terms-body .terms-subtitle,
.legal-page .terms-body .terms-subtitle * { color: var(--ds-quiet) !important; }
/* !important: over style#0's .terms-body .terms-h1 (and more) */
.legal-page .terms-body .terms-title,
.legal-page .terms-body .terms-title *,
.legal-page .terms-body .terms-h1,
.legal-page .terms-body .terms-h2 { color: var(--ds-ink) !important; font-family: var(--ds-font-head) !important; font-weight: 500 !important; }

/* ---- Content pages, the landing's real example, Pricing's promises (15 Nov 2026: M7, M33, M34, M44, M45) ----
   News and its articles, Made with Mildbury, Status, Security and the Accessibility statement (content-page.js) share
   these: a plain head (eyebrow, title, one line) and a 52rem reading column. Colours are written out so that
   07_scripts/maintenance/site_dark_css.py gives each its dark twin. */
.cp-main { display: block; padding: 0 0 4rem; }
/* The footer at the foot of the window on a short page (19 Nov 2026, Israa on a tablet: "Fix the position of the
   footer in the following pages: news, made with mildbury, status, security, accessibility"): the body is at least the
   window's height (base.css) but was a plain block, so on a page shorter than the window (News; Made with Mildbury with
   no makes yet; Status while it checks; any of them on a tall tablet) the footer stopped part-way down with an empty
   band under it. The body is a column and the page's main part takes the room left; a longer page is as it was. */
body.content-page { display: flex; flex-direction: column; }
body.content-page > .cp-main { flex: 1 0 auto; }
.cp-hero { background: #f3f3f5; padding: 3rem 1rem 1.5rem; }
.cp-hero-inner, .cp-body { max-width: 52rem; margin: 0 auto; }
.cp-body { padding: 1.5rem 1rem 0; }
/* From a tablet up, the text 32 px in from the side, as the footer's and the other pages' (19 Nov 2026, Israa: "make
   sure there are no other spacing issues": it was 16 px, half the footer's, on a tablet). */
@media (min-width: 601px) { .cp-hero, .cp-body { padding-left: 2rem; padding-right: 2rem; } }
/* !important: over .visually-hidden's !important */
.cp-body > :first-child, .cp-body > section:first-child > h2:first-child { margin-top: 0 !important; }
.cp-body .cp-meta:empty { display: none; }
.content-page .cp-eyebrow { font-family: var(--font-family-inter); font-weight: 600; font-size: 0.9375rem; line-height: 1.4; color: #0025E6; margin: 0 0 0.5rem; }
/* !important: over h1's !important (and more) */
.content-page h1.cp-title { font-family: var(--font-family-inter) !important; font-size: clamp(2rem, 4vw, 2.75rem) !important; line-height: 1.15 !important; font-weight: 700; margin: 0 0 0.75rem !important; color: #000646 !important; }
.content-page .cp-lede { font-family: var(--font-family-inter); font-size: 1.125rem; line-height: 1.6; color: #303850; margin: 0; max-width: 44rem; }
/* !important: over h2's !important */
.cp-body h2 { font-family: var(--font-family-inter) !important; font-size: 1.5rem !important; line-height: 1.3 !important; font-weight: 700 !important; margin: 2.25rem 0 0.75rem !important; color: #000646 !important; }
/* !important: over h3's !important */
.cp-body h3 { font-family: var(--font-family-inter) !important; font-size: 1.125rem !important; line-height: 1.4 !important; font-weight: 700 !important; margin: 1.5rem 0 0.5rem !important; color: #000646 !important; }
.cp-body p, .cp-body li, .cp-body td, .cp-body th, .cp-body blockquote { font-family: var(--font-family-inter); font-size: 1rem; line-height: 1.65; color: #303850; }
.cp-body p { margin: 0 0 1rem; }
.cp-body a:not(.btn-rounded) { color: #0025E6; text-decoration: underline; text-underline-offset: 2px; }
.cp-body ul, .cp-body ol { padding-left: 1.25rem; margin: 0 0 1rem; }
.cp-body li { margin: 0.35rem 0; }
.cp-body .cp-meta, .cp-body p.cp-meta { color: #4a5868; font-size: 0.9375rem; }
.cp-body .cp-quote { background: #e9f5ff; border-radius: 10px; padding: 0.875rem 1.125rem; color: #000646; font-weight: 500; }
.cp-figure { margin: 1.5rem 0; }
.cp-figure > img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid #e1e3ea; background: #ffffff; }
.cp-figure-pattern > img { max-width: 26rem; margin: 0 auto; padding: 1rem; box-sizing: border-box; }
.cp-figure figcaption { font-family: var(--font-family-inter); font-size: 0.9375rem; line-height: 1.5; color: #4a5868; margin-top: 0.5rem; }
.cp-flats { display: flex; gap: 1.5rem; justify-content: center; background: #ffffff; border: 1px solid #e1e3ea; border-radius: 10px; padding: 1rem; }
.cp-flats img { width: 40%; max-width: 13rem; height: auto; }
.cp-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.cp-actions .btn-rounded { min-height: 44px; }
/* News */
/* !important: over .cp-body ul, .cp-body ol */
.cp-post-list { list-style: none; padding: 0 !important; margin: 0 0 1.5rem; }
.cp-post-list > li { border-bottom: 1px solid #e1e3ea; padding: 1.25rem 0; margin: 0; }
/* !important: over h2's !important */
.cp-post-list h2, .cp-post-list h3 { margin: 0.25rem 0 0.5rem !important; }
/* Status */
.cp-status { display: flex; gap: 1rem; align-items: flex-start; border: 1px solid #e1e3ea; border-radius: 14px; padding: 1.125rem 1.25rem; background: #ffffff; margin: 1rem 0; }
.cp-status-dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 0.4rem; flex: none; background: #828282; }
.cp-status[data-state="ok"] .cp-status-dot { background: #1e6b34; }
.cp-status[data-state="degraded"] .cp-status-dot, .cp-status[data-state="maintenance"] .cp-status-dot { background: #b26a00; }
.cp-status[data-state="down"] .cp-status-dot { background: #B3261E; }
.cp-status[aria-busy="true"] .cp-status-dot { animation: cp-pulse 1.2s ease-in-out infinite; }
@keyframes cp-pulse { 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .cp-status[aria-busy="true"] .cp-status-dot { animation: none; } }
.cp-body .cp-status p { margin: 0; }
.cp-body .cp-status .cp-status-title { font-weight: 700; color: #000646; font-size: 1.0625rem; }
/* !important: over .cp-body ul, .cp-body ol */
.cp-parts { list-style: none; padding: 0 !important; margin: 0 0 1rem; }
.cp-parts > li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #e1e3ea; padding: 0.625rem 0; margin: 0; }
.cp-parts .cp-state { font-weight: 600; }
.cp-parts > li[data-state="ok"] .cp-state { color: #1e6b34; }
.cp-parts > li[data-state="degraded"] .cp-state, .cp-parts > li[data-state="maintenance"] .cp-state { color: #7a4a00; }
.cp-parts > li[data-state="down"] .cp-state { color: #B3261E; }
/* Made with Mildbury */
/* !important: over .cp-body ul, .cp-body ol */
.cp-cards { list-style: none; padding: 0 !important; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.25rem; }
/* !important: over h1's !important */
.cp-card { border: 1px solid #e1e3ea; border-radius: 14px; overflow: hidden; background: #ffffff; margin: 0 !important; }
.cp-card > img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #f3f3f5; }
.cp-card-body { padding: 0.875rem 1rem 1.125rem; }
/* !important: over h3's !important */
.cp-card-body h3 { margin: 0 0 0.25rem !important; }
.cp-card-body blockquote { margin: 0.5rem 0 0; font-style: italic; }
.cp-card-drawing { display: block; width: 6rem; height: auto; margin-top: 0.75rem; border: 1px solid #e1e3ea; border-radius: 6px; background: #ffffff; }
.cp-empty { border: 2px dashed #bbbbbb; border-radius: 14px; padding: 2rem 1.5rem; text-align: center; margin: 0 0 1rem; }
/* !important: over .cp-body h2's !important */
.cp-body .cp-empty h2 { margin-top: 0 !important; }
/* The landing's real example (index.html) */
.index-real-example { padding: 4.5rem 0; background: #ffffff; }
/* !important: over h2's !important */
.index-real-example h2 { text-align: center; margin: 0 0 0.75rem !important; }
.index-real-lead { max-width: 46rem; margin: 0 auto 2.5rem; text-align: center; font-family: var(--font-family-inter); font-size: 1.125rem; line-height: 1.6; color: #303850; }
.index-real-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.index-real-item { margin: 0; background: #f3f3f5; border: 1px solid #e1e3ea; border-radius: 16px; padding: 1rem; display: flex; flex-direction: column; gap: 0.875rem; }
.index-real-item > img, .index-real-flats, .index-real-pattern { display: block; width: 100%; aspect-ratio: 16 / 11; background: #ffffff; border-radius: 10px; box-sizing: border-box; }
.index-real-item > img { object-fit: contain; height: auto; }
.index-real-flats { display: flex; justify-content: center; align-items: center; gap: 8%; padding: 0.75rem; }
.index-real-flats img { height: 100%; width: auto; max-width: 45%; object-fit: contain; }
.index-real-pattern { display: flex; align-items: center; justify-content: center; padding: 0.75rem; }
.index-real-pattern img { width: 100%; height: 100%; object-fit: contain; }
.index-real-item figcaption { font-family: var(--font-family-inter); font-size: 1rem; line-height: 1.5; color: #303850; }
.index-real-more { text-align: center; margin: 2rem 0 0; font-family: var(--font-family-inter); }
.index-real-more a { color: #0025E6; font-weight: 600; text-decoration: underline; }
@media (max-width: 900px) { .index-real-grid { grid-template-columns: 1fr; max-width: 32rem; margin: 0 auto; } }
/* Pricing: what every plan lets you do (M34) and the right to cancel (M33) */
.pricing-promises { list-style: none; margin: 2.5rem auto 0; padding: 0; max-width: 60rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pricing-promises strong { color: #000646; }
.pricing-promises a { color: #0025E6; text-decoration: underline; }
@media (max-width: 700px) { .pricing-promises { grid-template-columns: 1fr; } }
.checkout-cancel-note { margin: 0 0 1rem; padding: 0.75rem 1rem; background: #f3f3f5; border-radius: 10px; font-family: var(--font-family-inter); font-size: 0.875rem; line-height: 1.5; color: #303850; }

/* --- Plans and billing (15 Nov 2026, billing helper: M28, M30-M33, M41) ------------------------------------------------- */
/* Pricing: the currency (shown only when more than one is offered), promotion codes and the box before checkout. */
.pricing-subscription-toggle { flex-wrap: wrap; gap: 0.75rem 1.25rem; }
.pricing-currency { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-family-inter); color: #303850; }
.pricing-currency[hidden] { display: none; }
.pricing-currency select { min-height: 44px; padding: 0 0.625rem; border: 1px solid #8a8fa3; border-radius: 10px; background: #ffffff; color: #1b1f2a; font-family: var(--font-family-inter); font-size: 1rem; }
.pricing-currency select:focus-visible { outline: 2px solid #1A2A8F; outline-offset: 2px; }
.pricing-promo-line { text-align: center; margin: 1.5rem auto 0; color: #303850; font-family: var(--font-family-inter); }
.checkout-start-now { margin: 0 0 1rem; padding: 1rem; border: 1px solid #e1e3ea; border-radius: 10px; font-family: var(--font-family-inter); color: #1b1f2a; }
.checkout-start-now[hidden] { display: none; }
.checkout-start-now-row { display: flex; align-items: flex-start; gap: 0.75rem; }
.checkout-start-now-row input { flex: none; width: 20px; height: 20px; margin: 0.15rem 0 0; }
.checkout-start-now-row label { font-size: 0.9375rem; line-height: 1.5; cursor: pointer; }
.checkout-start-now-error { margin: 0.5rem 0 0; color: #B3261E; font-weight: 600; font-size: 0.875rem; }
.checkout-start-now-error:empty { display: none; }
.checkout-promo-note { margin: 0.75rem 0; font-size: 0.875rem; color: #303850; }
.checkout-start-now .btn-rounded { min-height: 44px; }

/* --- Teams and classes (16 Nov 2026, teams helper: M35, M36; script/settings/team_settings.js, script/account/teams_pricing.js) --------- */
/* Pricing > Teams and education. */
/* (Its foot as deep as its head, 19 Nov 2026, Israa: "make sure there are no other spacing issues": "Have a class code?"
   ended 16 px over the white of What's included, 150 px of grey over the title. The New design sets its own.) */
.pricing-teams-section { padding: 3rem 1rem; }
.pricing-teams-section .container { max-width: 60rem; margin: 0 auto; }
/* !important: over h2's margin (19 Nov 2026: h2's 0.5em, 18 to 24 px, won over the 8 px meant here; both designs) */
.pricing-teams-title { text-align: center; margin: 0 0 0.5rem !important; }
.pricing-teams-intro { text-align: center; margin: 0 auto 1.75rem; color: #303850; max-width: 40rem; }
.pricing-teams-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 700px) { .pricing-teams-grid { grid-template-columns: 1fr; } }

/* The footer's two halves apart, and the links under "Start designing" when they don't fit beside it, as the New design
   has them (19 Nov 2026, Israa: "make sure there are no other spacing issues"): on a tablet (601 to about 900 px) the
   Current landing page and Pricing had "Start designing" touching the Home / Pricing column and "How to use" broken over
   two lines. On a laptop they still sit side by side; a phone stacks them already (css/base.css). */
@media (min-width: 601px) {
  html:not([data-site-design="new"]) body:is(.index-page, .pricing-page) .outside-main-footer-top {
    flex-wrap: wrap;
    gap: 2rem 3rem;
  }
}

/* ---- The landing page and Pricing in mildbury.com's type (16 Nov 2026, Israa's boss: "the landing page the pricing
   the login and sign up should stay how they are ... I prefer sort of the size of the font on the existing one and
   things like having pattern generator") ----------------------------------------------------------------------------
   In the Current design these two pages take mildbury.com's type again (it was made smaller on 13 Nov, the style
   system): their headings in Roboto at its sizes and weights (h1 116 px, h2 48 px, h3 32 px bold, h4 24 px bold; on a
   phone 64 / 36 / 30 / 24 px), their buttons in Roboto 500 at 18 px, Pricing's title 64 px and its prices 48 px. They
   are the style system's tokens set for the pages' own sections (css/base.css's headings and buttons read them), so
   nothing here needs an !important. The site's header, footer, cookie notice and windows keep the style system's
   type, as on every other page. Not for the New design (style-new.css and new_design/index.css and pricing.css have
   its own); Log in and Sign up: css/auth.css. */
html:not([data-site-design="new"]) body:is(.index-page, .pricing-page) section {
  --ds-font-head: var(--font-family-roboto);
  --ds-size-1: 4rem;
  --ds-size-2: 3rem;
  --ds-size-3: 2rem;
  --ds-size-4: 1.5rem;
  --ds-lh-1: 1.1;
  --ds-lh-3: 1.2;
  --ds-lh-4: 1.2;
  --ds-weight-3: 700;
  --ds-weight-4: 700;
  --ds-button-font: var(--font-family-roboto);
  --ds-button-weight: 500;
  --ds-button-size: 1.125rem;
  --ds-button-lh: 1.35rem;
}
html:not([data-site-design="new"]) body:is(.index-page, .pricing-page) section .btn-rounded { padding: 0.5625rem 1.375rem; }
/* The headings black, as on mildbury.com (16 Nov 2026, Israa; the style system's navy elsewhere): one token. */
html:not([data-site-design="new"]) body:is(.index-page, .pricing-page) :is(h1, h2, h3, h4) { --ds-ink: var(--Black); }
/* What mildbury.com doesn't have, at the size of the words around it: the real example's lead and captions, Pricing's
   promises, promotion line and Teams and education cards. */
html:not([data-site-design="new"]) body.index-page .index-real-lead { font-size: 1.25rem; line-height: 1.5; }
html:not([data-site-design="new"]) body.index-page :is(.index-real-item figcaption, .index-real-more) { font-size: 1.125rem; line-height: 1.5; }
html:not([data-site-design="new"]) body.pricing-page :is(.pricing-promises li, .pricing-promo-line) { font-size: 1.125rem; line-height: 1.55; }
html:not([data-site-design="new"]) body.pricing-page :is(.teams-for, .teams-list) { font-size: 1.125rem; }
@media (max-width: 600px) {
  /* (The landing title 64 px, Pricing's 36 px: both read --ds-size-1 on a phone.) */
  html:not([data-site-design="new"]) body:is(.index-page, .pricing-page) section {
    --ds-size-1: 4rem;
    --ds-size-2: 2.25rem;
    --ds-size-3: 1.875rem;
    --ds-size-4: 1.5rem;
  }
  html:not([data-site-design="new"]) body.pricing-page section { --ds-size-1: 2.25rem; }
}

