/* Support pages share the journal's paper, type, reading grid and closing card. */
.support-page { --sage: #e4eadb; }
.support-main { padding-bottom: 12px; }
.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  align-items: center;
  gap: 80px;
  padding: 64px 0 26px;
}
.support-heading { min-width: 0; }
.support-heading .eyebrow { display: flex; align-items: center; gap: 12px; }
.support-heading .eyebrow::before { content: ''; width: 25px; height: 2px; background: var(--forest); }
.support-heading h1 { font-size: clamp(48px, 5.3vw, 76px); line-height: 1.03; letter-spacing: -.055em; margin-top: 24px; }
.support-lede { max-width: 590px; margin-top: 26px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.support-art {
  width: 100%;
  max-width: 450px;
  justify-self: end;
  padding: 25px;
  background: var(--peach);
  border-radius: 49% 49% 18px 18px;
}
.support-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 32px 20px 20px;
  background: var(--white);
  border-radius: 49% 49% 9px 9px;
}
.privacy-page .support-art { background: var(--sage); }
.terms-page .support-art { background: #ead8af; }
.contact-page .support-art { background: var(--forest); }
.support-page .article-wire { margin-top: 18px; margin-bottom: 28px; }
.support-page .article-layout { align-items: start; }
.support-page .contents { border-bottom: 0; }
.support-page .contents a { font-size: 13px; line-height: 1.55; }
.support-page .contents a:hover { text-decoration: underline; text-underline-offset: 4px; }
.support-body { overflow-wrap: break-word; }
.support-body h2 { text-wrap: pretty; }
.support-body > .story-section { padding-block: 35px 30px; }
.support-body > .story-section:last-child { padding-bottom: 0; }
.support-body .support-summary { padding: 34px 38px; margin: 0 0 34px; }
.support-summary h2 { font-size: 30px; margin-bottom: 20px; }
.support-summary p { margin-top: 18px; }
.support-summary p:first-child { margin-top: 0; }
.support-body .support-summary p + p { margin-top: 18px; }
.support-body .support-summary p:last-child { font-size: 17px; line-height: 1.8; }
.support-summary .eyebrow { font-family: var(--round); }
.support-body li::marker { color: var(--forest); }
.support-body a { text-decoration-thickness: 1px; }
.support-body code { box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.support-page .article-cta { margin-top: 80px; }
.support-page .article-cta .cta-copy > p { margin-top: 0; }
.support-page .article-cta .pill { margin-top: 24px; }

/* Large, numbered cards keep the connection instructions in distinct steps. */
.setup-page .article-layout { grid-template-columns: 210px minmax(0, 820px); gap: 60px; }
.setup-page .contents ol { counter-reset: none; }
.setup-page .contents li { counter-increment: none; }
.setup-page .contents a { grid-template-columns: 20px minmax(0, 1fr); }
.setup-page .contents a::before { content: ''; width: 5px; height: 5px; margin: 7px 0 0 4px; padding: 0; background: var(--forest); border-radius: 50%; }
.setup-page .contents li:nth-child(2) a::before { content: '01'; }
.setup-page .contents li:nth-child(3) a::before { content: '02'; }
.setup-page .contents li:nth-child(4) a::before { content: '03'; }
.setup-page .contents li:nth-child(5) a::before { content: '04'; }
.setup-page .contents li:nth-child(n+2):nth-child(-n+5) a::before { width: auto; height: auto; margin: 2px 0 0; background: none; }
.support-body > .setup-step {
  padding: 38px;
  margin-bottom: 30px;
  border: 1px solid var(--line);
  border-radius: 10px 42px 10px 10px;
  background: var(--white);
  scroll-margin-top: 30px;
}
.step-heading { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 23px; align-items: center; margin-bottom: 26px; }
.step-marker { display: grid; place-items: center; width: 68px; height: 68px; background: var(--forest); color: var(--white); border-radius: 50%; font-family: var(--round); font-size: 32px; font-weight: 850; letter-spacing: -.04em; line-height: 1; }
.support-body .step-heading h2 { margin: 0; font-size: 32px; line-height: 1.15; }
.support-body .setup-before > ul { margin-bottom: 0; }
.setup-welcome { display: flex; align-items: center; gap: 18px; border-top: 1px solid #2869572b; padding-top: 20px; margin-top: 24px; }
.support-body .setup-welcome > img { width: 58px; height: 58px; flex: none; }
.support-body .setup-welcome .bubble p { font-size: 14px; line-height: 1.65; margin: 0; }
.step-note { padding: 3px 0 3px 18px; border-left: 3px solid var(--peach); margin: 22px 0; }
.step-note p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0; }
.setup-step > .step-note:last-child { margin-bottom: 0; }
.asc-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; background: var(--sage); padding: 15px 18px; border-radius: 8px; font-size: 12px; font-weight: 700; line-height: 1.7; margin-block: 26px 20px; }
.asc-crumb-sep { color: var(--forest); }
.support-body .asc-shot { margin: 28px 0; }
.diagram-link { display: block; padding: 12px; background: var(--soft); border-radius: 12px; }
.support-body .asc-shot img { width: 100%; height: auto; border-radius: 7px; }
.support-body .asc-shot figcaption { font-size: 14px; line-height: 1.7; margin-top: 14px; }
.support-body .asc-info-list { list-style: none; padding: 0; margin: 24px 0 0; border: 1px solid #d2d9c9; border-radius: 10px; overflow: hidden; }
.support-body .asc-info-list li { display: grid; grid-template-columns: 123px minmax(0, 1fr); gap: 18px; padding: 15px 18px; margin: 0; border-bottom: 1px solid #d2d9c9; font-size: 14px; line-height: 1.7; }
.support-body .asc-info-list li:nth-child(odd) { background: #e4eadb65; }
.support-body .asc-info-list li:last-child { border-bottom: 0; }
.asc-pill { color: var(--forest); font-weight: 750; }
.setup-step p + p, .setup-step .asc-info-list + p { margin-top: 22px; }
.setup-result-stage { display: flex; justify-content: center; padding: 32px; background: var(--sage); border-radius: 32px 10px 10px 10px; }
.setup-result-stage a { display: block; width: min(100%, 310px); padding: 6px; border-radius: 16px; background: var(--white); box-shadow: 0 12px 23px #344c3b1f; }
.support-body .setup-result-stage img { width: 100%; height: auto; border-radius: 10px; }
.support-body .setup-result figcaption { font-size: 12px; }
.setup-troubleshooting > ul { padding-left: 21px; }

/* The contact form is a single generous sheet, with its existing behaviour. */
.contact-panel { width: min(100%, 900px); margin-inline: auto; padding: 48px; border-radius: 12px 60px 12px 12px; background: var(--sage); }
.note-form { margin: 0; min-width: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.support-form label { display: block; font-size: 15px; font-weight: 750; }
.support-form label > span { display: block; margin-bottom: 11px; }
.support-form .full { margin-top: 28px; }
.support-form input, .support-form textarea { display: block; width: 100%; min-width: 0; border: 1px solid #8a9885; border-radius: 9px; padding: 15px 16px; background: var(--white); color: var(--ink); font: 400 17px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.support-form textarea { resize: vertical; min-height: 200px; }
.support-form input::placeholder, .support-form textarea::placeholder { color: var(--muted); opacity: 1; }
.support-form input:focus-visible, .support-form textarea:focus-visible { outline: 3px solid #a34a22; outline-offset: 4px; }
.form-actions { margin-top: 26px; }
.support-form .primary-button { border: 0; border-radius: 40px; padding: 15px 27px; min-height: 50px; font: 800 15px/1.5 var(--round); background: var(--ink); color: var(--white); cursor: pointer; }
.support-form .primary-button:hover { background: var(--forest); }
.support-form .primary-button:disabled { opacity: .65; cursor: wait; }
.form-status { margin-top: 24px; padding: 18px 20px; border: 1px solid var(--forest); border-radius: 9px; font-size: 16px; line-height: 1.65; background: var(--white); overflow-wrap: anywhere; }
.form-status.is-error { border: 2px solid #a34a22; }

@media (max-width: 1100px) {
  .support-page .wrap { width: calc(100% - 64px); }
  .support-hero { gap: 48px; padding-top: 48px; }
  .support-heading h1 { font-size: 58px; }
  .support-art { padding: 20px; }
  .support-art img { padding: 24px 12px 12px; }
  .support-page .article-layout { grid-template-columns: 170px minmax(0, 720px); gap: 38px; }
  .support-body > .setup-step { padding: 30px; }
  .step-heading { grid-template-columns: 58px minmax(0, 1fr); gap: 20px; }
  .step-marker { width: 58px; height: 58px; font-size: 28px; }
  .support-body .step-heading h2 { font-size: 29px; }
}
@media (max-width: 800px) {
  .support-page .wrap { width: calc(100% - 48px); }
  .support-hero { grid-template-columns: 1fr; gap: 32px; max-width: 720px; margin-inline: auto; padding-top: 40px; }
  .support-heading h1 { max-width: 650px; font-size: 58px; }
  .support-art { max-width: 360px; justify-self: center; }
  .support-page .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .support-page .contents { border-bottom: 1px solid var(--line); }
  .support-page .contents a { font-size: 12px; }
  .support-body > .setup-step { padding: 34px; }
  .contact-panel { padding: 36px; }
}
@media (max-width: 600px) {
  .support-page .wrap { width: calc(100% - 40px); }
  .support-hero { padding: 34px 0 8px; gap: 28px; }
  .support-heading .eyebrow { font-size: 10px; gap: 9px; }
  .support-heading .eyebrow::before { width: 18px; }
  .support-heading h1 { font-size: clamp(36px, 11vw, 55px); margin-top: 18px; line-height: 1.06; }
  .support-lede { margin-top: 23px; font-size: 16px; line-height: 1.7; }
  .support-art { max-width: 280px; padding: 17px; border-radius: 49% 49% 12px 12px; }
  .support-art img { padding: 18px 12px 12px; }
  .support-page .article-wire { margin-top: 26px; margin-bottom: 8px; }
  .support-page .contents ol { gap: 16px 18px; }
  .support-page .contents a { font-size: 12px; }
  .support-page .article-layout { gap: 26px; }
  .support-body .support-summary { padding: 26px 24px; margin-bottom: 26px; }
  .support-summary h2 { font-size: 27px; }
  .support-body .support-summary p:last-child { font-size: 16px; }
  .support-body > .story-section { padding-block: 28px 25px; }
  .support-body > .setup-step { padding: 26px 22px; border-radius: 9px 32px 9px 9px; margin-bottom: 24px; }
  .step-heading { grid-template-columns: 1fr; gap: 17px; margin-bottom: 23px; }
  .step-marker { width: 52px; height: 52px; font-size: 26px; }
  .support-body .step-heading h2 { font-size: 28px; }
  .setup-welcome { gap: 12px; }
  .support-body .setup-welcome > img { width: 46px; height: 46px; }
  .support-body .setup-welcome .bubble p { font-size: 13px; }
  .step-note p { font-size: 14px; }
  .asc-breadcrumb { font-size: 11px; padding: 13px 14px; gap: 5px 7px; margin-top: 22px; }
  .diagram-link { padding: 5px; border-radius: 8px; }
  .support-body .asc-shot figcaption { font-size: 13px; }
  .support-body .asc-info-list li { grid-template-columns: 1fr; gap: 4px; padding: 13px 15px; font-size: 14px; }
  .setup-result-stage { padding: 23px; }
  .contact-panel { padding: 28px 24px; border-radius: 9px 38px 9px 9px; }
  .form-grid { grid-template-columns: 1fr; gap: 23px; }
  .support-form .full { margin-top: 23px; }
  .support-form label { font-size: 14px; }
  .support-form input, .support-form textarea { font-size: 16px; padding: 13px; }
  .support-form textarea { min-height: 220px; }
  .support-form .primary-button { width: 100%; }
  .support-page .article-cta { margin-top: 50px; }
}
@media (max-width: 374px) {
  .support-page .wrap { width: calc(100% - 36px); }
  .support-heading h1 { font-size: 36px; }
  .support-art { max-width: 250px; }
  .support-body .support-summary { padding-inline: 21px; }
  .support-body > .setup-step { padding-inline: 19px; }
  .support-body .step-heading h2 { font-size: 26px; }
  .support-page .contents ol { grid-template-columns: 1fr; gap: 14px; }
  .contact-panel { padding-inline: 21px; }
}
@media print {
  .support-page .wrap { width: 100%; }
  .support-hero { display: block; padding: 0 0 25px; }
  .support-heading h1 { font-size: 32pt; }
  .support-art { display: none; }
  .support-page .article-layout { display: block; }
  .support-body > .setup-step { break-inside: auto; padding: 20px; }
  .step-heading, .asc-shot, .setup-result { break-inside: avoid; }
  .contact-panel { padding: 20px; }
}

/* Send a note: the bird perches on the form card itself, feet on its top edge. */
.contact-panel-perched { position: relative; margin-top: 96px; }
.contact-panel-perched .card-perch { position: absolute; width: 96px; height: auto; right: 64px; top: 0; transform: translateY(-96%); pointer-events: none; }
@media (max-width: 600px) {
  .contact-panel-perched { margin-top: 72px; }
  .contact-panel-perched .card-perch { width: 74px; right: 36px; }
}
