/* One mobile alignment rule-set for the public landing page only. */
@media (max-width: 720px) {
  /* Brand, navigation, then account actions: each has a predictable row. */
  body.marketing-page > header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: auto;
    min-height: 0;
    gap: 8px;
    padding: calc(14px + env(safe-area-inset-top)) 16px 14px;
    text-align: center;
  }

  body.marketing-page > header .brand {
    order: 0;
    flex: 1 0 100%;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    padding-bottom: 4px;
  }

  body.marketing-page > header .brand-name {
    margin-left: 0;
    font-size: 18px !important;
  }

  body.marketing-page > header .header-journey {
    order: 1;
    flex: 1 0 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
  }

  body.marketing-page > header .header-journey .quiet {
    justify-content: center;
    flex: 1 1 76px;
    max-width: 150px;
    min-height: 44px;
    padding: 10px 8px;
    margin: 0;
    text-align: center;
    font-size: 12px;
  }

  body.marketing-page > header > button {
    order: 2;
    flex: 1 1 108px;
    min-width: 0;
    max-width: 180px;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 12px;
  }

  body.marketing-page > header #loginBtn,
  body.marketing-page > header #historyBtn {
    margin: 0;
    max-width: 180px;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    font-size: 12px;
  }

  body.marketing-page > header #menuBtn {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 10px;
  }

  body.marketing-page > header [hidden] {
    display: none !important;
  }

  .nb-marketing {
    text-align: center;
  }

  .nb-marketing :is(h1, h2, h3, p, blockquote, small, label, button, a, summary) {
    text-align: center;
  }

  .nb-marketing :is(.nb-hero-copy h1, .nb-hero-copy > p, .nb-section-heading > p,
    .nb-feature-card h3, .nb-feature-card p, .nb-flow h2, .nb-faq-answer p) {
    margin-inline: auto;
  }

  .nb-marketing .nb-page-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding-block: 12px;
    overflow: visible;
  }

  .nb-marketing .nb-hero-actions {
    justify-content: center;
    align-items: center;
  }

  .nb-marketing .nb-button {
    justify-content: center;
    max-width: 100%;
  }

  .nb-marketing .nb-preview-top {
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  .nb-marketing .nb-sample-options {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Equal side padding keeps the answer centred independently of its letter. */
  .nb-marketing .nb-sample-options button {
    display: block;
    position: relative;
    padding: 12px 40px;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .nb-marketing .nb-sample-options button > span {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
  }

  .nb-marketing .nb-sample-options button > svg {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }

  .nb-marketing .nb-features {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-marketing .nb-feature-card {
    padding: 22px 20px;
  }

  .nb-marketing .nb-feature-icon {
    position: static;
    margin: 0 auto 14px;
  }

  .nb-marketing .nb-flow-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .nb-marketing .nb-flow-heading .nb-inline-link {
    margin-top: 0;
  }

  .nb-marketing .nb-flow-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
  }

  .nb-marketing .nb-flow-top {
    justify-content: center;
    margin: 0 0 3px;
  }

  .nb-marketing .nb-flow-icon {
    position: static;
  }

  .nb-marketing .nb-flow-card :is(h3, p) {
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .nb-marketing .nb-free-perks {
    justify-content: center;
  }

  .nb-marketing .nb-free-copy .nb-free-start {
    justify-content: center;
  }

  .nb-marketing .nb-pricing :is(.nb-price, .nb-plan-validity) {
    justify-content: center;
  }

  .nb-marketing .nb-pricing .nb-plan > div:first-child {
    grid-template-rows: auto;
    min-width: 0;
  }

  .nb-marketing .nb-purchase-consent {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .nb-marketing .nb-purchase-consent input {
    margin: 0;
    flex-shrink: 0;
  }

  .nb-marketing .nb-checkout-phone {
    margin-inline: auto;
  }

  .nb-marketing .nb-checkout-phone input {
    text-align: center;
    max-width: 100%;
  }

  /* Keep the disclosure icon outside the centred question's text area. */
  .nb-marketing .nb-faq summary {
    display: block;
    position: relative;
    padding: 18px 46px;
  }

  .nb-marketing .nb-faq-plus {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
  }

  .nb-marketing .nb-faq .nb-faq-answer p {
    padding: 0 18px 20px;
  }

  .nb-marketing .nb-review-person {
    justify-content: center;
  }

  .nb-marketing .nb-footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nb-marketing .nb-footer nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 420px;
    gap: 8px 12px;
  }

  .nb-marketing .nb-footer nav button {
    min-width: 0;
    min-height: 44px;
    padding: 10px 8px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .nb-marketing .nb-footer > p {
    flex-basis: auto;
  }

  /* This footer remains hidden on landing; these rules never reveal it. */
  body.marketing-page > .site-footer {
    align-items: center;
    text-align: center;
  }

  body.marketing-page > .site-footer > div {
    justify-items: center;
  }

  body.marketing-page > .site-footer nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 420px;
    gap: 8px 12px;
  }

  body.marketing-page > .site-footer nav button {
    min-width: 0;
    min-height: 44px;
    padding: 10px 8px;
    text-align: center;
  }
}

/* Compact feature rows: one icon and one clear label. */
.nb-marketing .nb-features{gap:12px}
.nb-marketing .nb-feature-card{display:flex;flex-direction:row;align-items:center;gap:16px;min-height:82px;padding:18px 20px}
.nb-marketing .nb-feature-card .nb-feature-icon{position:static;flex:0 0 44px;width:44px;height:44px;margin:0;transform:none}
.nb-marketing .nb-feature-card h3{margin:0;font-size:17px;line-height:1.35;text-align:left}
@media(max-width:720px){.nb-marketing .nb-features{gap:10px}.nb-marketing .nb-feature-card{min-height:72px;padding:13px 16px;gap:14px}.nb-marketing .nb-feature-card h3{font-size:16px;text-align:left}}
