/* ==========================================
   SUPPORT CENTER — /support/
   Built by build-support.js. Same paper, ink and moss as the text pages.
   ========================================== */
body.support { background: var(--paper, #F6F5F1); }
.support .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Hero ---------- */
.sp-hero { margin: 16px; border-radius: 28px; background: var(--moss-pale, #DBEFE8); padding: 120px 0 72px; }
.sp-hero .sp-wrap { max-width: 760px; text-align: center; }
.sp-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; color: var(--moss, #0D8268); margin: 0 0 18px; }
.sp-hero h1 { font-family: 'EB Garamond', serif; font-weight: 400; font-size: 56px; line-height: 1.05; letter-spacing: -0.5px; color: var(--ink, #1C1C1A); margin: 0 0 14px; }
.sp-lede { font-size: 18px; line-height: 1.55; color: var(--ink-mid, #4A4A47); margin: 0 0 28px; }

/* ---------- Search ---------- */
.sp-search { position: relative; display: flex; gap: 8px; margin: 0 0 24px; }
.sp-search input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 13px 18px; border-radius: 980px; border: 1px solid rgba(28,28,26,.16); background: #fff; color: var(--ink, #1C1C1A); }
.sp-search input:focus { outline: 2px solid var(--moss, #0D8268); outline-offset: 1px; border-color: transparent; }
.sp-search button { font: inherit; font-size: 15px; font-weight: 500; padding: 0 20px; border-radius: 980px; border: 0; background: var(--moss, #0D8268); color: #fff; cursor: pointer; }
.sp-search.big input { font-size: 18px; padding: 17px 22px; }
.sp-search.big button { padding: 0 26px; font-size: 16px; }
.sp-results { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: 18px; box-shadow: 0 12px 40px rgba(0,0,0,.14); text-align: left; overflow: hidden; }
.sp-results a { display: block; padding: 12px 18px; color: var(--ink, #1C1C1A); text-decoration: none; border-top: 1px solid rgba(28,28,26,.06); }
.sp-results a:first-child { border-top: 0; }
.sp-results a:hover, .sp-results a.on { background: #F2F7F5; }
.sp-results b { display: block; font-weight: 500; }
.sp-results span { display: block; font-size: 13px; color: var(--ink-faint, #6B6B67); margin-top: 2px; }
.sp-results .none { padding: 14px 18px; color: var(--ink-mid, #4A4A47); font-size: 14px; }
.sp-search-page .sp-list { margin-top: 8px; }

/* ---------- Home ---------- */
.sp-doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; margin-bottom: 56px; }
.sp-door { display: block; background: #fff; border-radius: 22px; padding: 28px; text-decoration: none; color: inherit; border: 1px solid transparent; transition: border-color .15s ease; }
.sp-door:hover { border-color: var(--moss, #0D8268); text-decoration: none; }
.sp-door h2 { font-family: 'EB Garamond', serif; font-weight: 400; font-size: 26px; line-height: 1.15; margin: 0 0 8px; color: var(--ink, #1C1C1A); }
.sp-door p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-mid, #4A4A47); }
.sp-h { font-family: 'EB Garamond', serif; font-weight: 400; font-size: 32px; color: var(--ink, #1C1C1A); margin: 0 0 18px; }
.sp-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 56px; }
.sp-cat { display: block; background: #fff; border-radius: 18px; padding: 22px 22px 18px; text-decoration: none; color: inherit; border: 1px solid transparent; }
.sp-cat:hover { border-color: var(--moss, #0D8268); text-decoration: none; }
.sp-cat h3 { font-size: 17px; font-weight: 500; margin: 0 0 6px; color: var(--ink, #1C1C1A); }
.sp-cat p { font-size: 14px; line-height: 1.5; margin: 0 0 10px; color: var(--ink-mid, #4A4A47); }
.sp-cat .n { font-size: 12.5px; color: var(--moss, #0D8268); }

/* ---------- Lists ---------- */
.sp-list { list-style: none; padding: 0; margin: 0 0 56px; background: #fff; border-radius: 22px; overflow: hidden; }
.sp-list.two { columns: 2; column-gap: 0; }
.sp-list li { padding: 16px 24px; border-top: 1px solid rgba(28,28,26,.07); break-inside: avoid; }
.sp-list li:first-child { border-top: 0; }
.sp-list a { font-weight: 500; font-size: 16px; color: var(--ink, #1C1C1A); text-decoration: none; }
.sp-list a:hover { color: var(--moss, #0D8268); text-decoration: underline; }
.sp-list span { display: block; font-size: 14px; line-height: 1.5; color: var(--ink-faint, #6B6B67); margin-top: 3px; }
.sp-list .sp-apps { margin-top: 8px; }

/* ---------- Pages ---------- */
.sp-page { padding-top: 120px; }
.sp-page h1, .sp-article h1 { font-family: 'EB Garamond', serif; font-weight: 400; font-size: 46px; line-height: 1.08; letter-spacing: -0.3px; color: var(--ink, #1C1C1A); margin: 8px 0 12px; }
.sp-crumbs { font-size: 13.5px; color: var(--ink-faint, #6B6B67); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sp-crumbs a { color: var(--moss, #0D8268); text-decoration: none; }
.sp-crumbs a:hover { text-decoration: underline; }
.sp-crumbs .sep { color: rgba(28,28,26,.3); }
.sp-back { margin: -32px 0 56px; font-size: 15px; }
.sp-back a { color: var(--moss, #0D8268); }
.sp-apps { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.sp-chip { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 980px; background: #EEF0EC; color: var(--ink-mid, #4A4A47); }
.sp-chip.iphone { background: #E8EEF7; color: #2F4A73; }
.sp-chip.web { background: var(--moss-pale, #DBEFE8); color: #0A5E4C; }
.sp-chip.pro { background: #F3ECE0; color: #6E5226; }

/* ---------- Article ---------- */
.sp-article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding-top: 120px; align-items: start; }
.sp-article { background: #fff; border-radius: 28px; padding: 40px 48px 36px; }
.sp-article .sp-lede { margin-bottom: 16px; }
.sp-toc { background: #F6F5F1; border-radius: 16px; padding: 16px 20px; margin: 20px 0 8px; }
.sp-toc p { margin: 0 0 6px; font-size: 12px; font-weight: 500; letter-spacing: .8px; text-transform: uppercase; color: var(--ink-faint, #6B6B67); }
.sp-toc ul { margin: 0; padding-left: 18px; }
.sp-toc li { font-size: 15px; line-height: 1.7; }
.sp-toc a { color: var(--moss, #0D8268); }
.sp-body { font-size: 17px; line-height: 1.7; color: var(--ink-mid, #4A4A47); }
.sp-body h2 { font-family: 'EB Garamond', serif; font-weight: 400; font-size: 30px; line-height: 1.15; color: var(--ink, #1C1C1A); margin: 40px 0 12px; scroll-margin-top: 96px; }
.sp-body h3 { font-size: 18px; font-weight: 500; color: var(--ink, #1C1C1A); margin: 28px 0 8px; scroll-margin-top: 96px; }
.sp-body p { margin: 0 0 16px; }
.sp-body ul, .sp-body ol { margin: 0 0 18px; padding-left: 24px; }
.sp-body li { margin: 0 0 8px; padding-left: 2px; }
.sp-body strong { color: var(--ink, #1C1C1A); font-weight: 500; }
.sp-body a { color: var(--moss, #0D8268); }
.sp-body .ui { font-weight: 500; color: var(--ink, #1C1C1A); background: #F2F1EC; border-radius: 6px; padding: 1px 7px; white-space: nowrap; }
.callout { border-radius: 14px; padding: 14px 18px; margin: 0 0 18px; font-size: 16px; line-height: 1.6; background: #F2F7F5; color: var(--ink, #1C1C1A); }
.callout.tip { background: #EEF3FA; }
.callout.important { background: #FBF1E4; }
.sp-helpful { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(28,28,26,.08); font-size: 15px; color: var(--ink-mid, #4A4A47); }
.sp-helpful button { font: inherit; font-size: 14px; padding: 6px 16px; border-radius: 980px; border: 1px solid rgba(28,28,26,.18); background: #fff; cursor: pointer; color: var(--ink, #1C1C1A); }
.sp-helpful button:hover { border-color: var(--moss, #0D8268); }
.sp-helpful .thanks { flex-basis: 100%; }
.sp-helpful .thanks a { color: var(--moss, #0D8268); }
.sp-side { position: sticky; top: 96px; }
.sp-side h2 { font-size: 13px; font-weight: 500; letter-spacing: .8px; text-transform: uppercase; color: var(--ink-faint, #6B6B67); margin: 24px 0 8px; }
.sp-side ul { list-style: none; padding: 0; margin: 0; }
.sp-side li { font-size: 15px; line-height: 1.45; padding: 6px 0; }
.sp-side a { color: var(--ink, #1C1C1A); text-decoration: none; }
.sp-side a:hover { color: var(--moss, #0D8268); text-decoration: underline; }
.sp-side li.here { color: var(--moss, #0D8268); font-weight: 500; }

/* ---------- Contact ---------- */
.sp-contact { background: var(--ink, #1C1C1A); color: #fff; border-radius: 28px; padding: 40px 48px; margin: 40px 0 16px; }
.sp-contact h2 { font-family: 'EB Garamond', serif; font-weight: 400; font-size: 32px; margin: 0 0 10px; color: #fff; }
.sp-contact p { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.82); max-width: 720px; }
.sp-contact a { color: #9BE3C8; }

/* ---------- Phones ---------- */
@media (max-width: 900px) {
  .sp-doors, .sp-cats { grid-template-columns: 1fr; }
  .sp-list.two { columns: 1; }
  .sp-article-wrap { grid-template-columns: 1fr; gap: 0; }
  .sp-side { position: static; margin-top: 24px; }
}
@media (max-width: 640px) {
  .sp-wrap { padding: 0 16px; }
  .sp-hero { margin: 8px; padding: 96px 0 48px; }
  .sp-hero h1 { font-size: 40px; }
  .sp-page, .sp-article-wrap { padding-top: 96px; }
  .sp-page h1, .sp-article h1 { font-size: 34px; }
  .sp-article { padding: 26px 20px 24px; border-radius: 22px; }
  .sp-body { font-size: 16px; }
  .sp-body h2 { font-size: 26px; }
  .sp-body .ui { white-space: normal; }
  .sp-search button { padding: 0 16px; }
  .sp-contact { padding: 28px 22px; }
}
