/* ============================================================================
   The public start guide (/start). Harbor's Voyage story look, from play-theme.css's tokens:
   cream canvas, ink lines, sun-yellow actions, Anton headlines. Phone first.
   ============================================================================ */

@font-face { font-family: 'Anton'; src: url('/assets/fonts/anton.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/assets/fonts/source-sans-3-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/assets/fonts/source-sans-3-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/assets/fonts/source-sans-3-700.woff2') format('woff2'); font-weight: 700 900; font-style: normal; font-display: swap; }

:root {
  --sg-ink: var(--ink, #16130a);
  --sg-ink-2: var(--ink-2, rgb(22 19 10 / 72%));
  --sg-ink-3: var(--ink-3, rgb(22 19 10 / 60%));
  --sg-line: var(--line, rgb(22 19 10 / 10%));
  --sg-line-2: var(--line-2, rgb(22 19 10 / 18%));
  --sg-canvas: var(--canvas, #f9f8f3);
  --sg-cream: var(--cream, #fffbe6);
  --sg-sun: var(--sun, #ffe14a);
  --sg-sun-soft: var(--sun-soft, #fff4b8);
  --sg-hot-soft: var(--hot-soft, #ffe1ea);
  --sg-sky-soft: var(--sky-soft, #e4efff);
  --sg-grape-soft: var(--grape-soft, #ece6ff);
  --sg-green: var(--green, #167a43);
  --sg-green-soft: var(--green-soft, #dcf2e4);
  --sg-shadow: var(--shadow-card, 0 1px 1px rgb(22 19 10 / 4%), 0 12px 28px -18px rgb(22 19 10 / 35%));
  --sg-display: 'Anton', 'Source Sans 3', sans-serif;
  --sg-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sg-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sg-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--sg-canvas);
  color: var(--sg-ink);
  font: 400 17px/1.55 var(--sg-body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sg-ink); text-decoration-color: var(--sg-sun); text-decoration-thickness: 3px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--sg-ink); }
:focus-visible { outline: 3px solid var(--sg-ink); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 12px; }
code { font-family: var(--sg-mono); font-size: 0.88em; }
.sg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sg-icon { flex: none; }

.sg-shell { width: min(1120px, 100%); margin: 0 auto; padding: 0 16px calc(32px + env(safe-area-inset-bottom)); }

/* ── Top bar ── */
.sg-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 10px; }
.sg-logo img { width: 132px; height: auto; }
.sg-top-links { display: flex; align-items: center; gap: 14px; }
.sg-lang { font-weight: 700; font-size: 15px; padding: 10px 2px; }

/* ── Buttons ── */
.sg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border: 2px solid var(--sg-ink); border-radius: 999px; background: #fff; color: var(--sg-ink);
  font: 700 15px/1.1 var(--sg-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .2s var(--sg-ease);
}
.sg-btn:hover { background: var(--sg-sun-soft); }
.sg-btn:active { transform: scale(0.98); }
.sg-btn--ink { background: var(--sg-ink); color: #fff; }
.sg-btn--ink:hover { background: var(--sg-ink); color: var(--sg-sun); }
.sg-btn--sun { background: var(--sg-sun); }
.sg-btn--sun:hover { background: var(--sg-ink); color: var(--sg-sun); }
.sg-btn--small { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.sg-btn.is-copied { background: var(--sg-green-soft); border-color: var(--sg-green); color: var(--sg-green); }

/* ── Type ── */
.sg-display { font-family: var(--sg-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.005em; }
.sg-h2 { margin: 0 0 8px; font: 400 clamp(28px, 6vw, 40px)/1.05 var(--sg-display); text-transform: uppercase; letter-spacing: 0.005em; }
.sg-small { font-size: 15px; color: var(--sg-ink-2); }

/* ── Hero ── */
.sg-hero { display: grid; gap: 22px; padding: 22px 0 8px; }
.sg-hero h1 { margin: 0; font-size: clamp(40px, 11.5vw, 84px); line-height: 1.15; text-wrap: balance; }
.sg-hero h1 > span:first-child { display: block; }
/* The sun brush covers the capitals only (Anton's caps sit 0.19em to 1.357em in each line box). */
.sg-brush {
  padding: 0.04em 0.18em 0;
  background-image: linear-gradient(to bottom, transparent 0.19em, var(--sg-sun) 0.19em, var(--sg-sun) 1.357em, transparent 1.357em);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (prefers-reduced-motion: no-preference) {
  .sg-brush { animation: sg-brush 900ms 200ms var(--sg-ease) both; }
  @keyframes sg-brush { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
}
.sg-lead { margin: 18px 0 0; max-width: 34em; font-size: 19px; line-height: 1.5; color: var(--sg-ink-2); }
.sg-made-for {
  display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: var(--sg-ink); color: var(--sg-sun);
  font-weight: 800; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; transform: rotate(-2deg);
  box-shadow: 0 8px 16px -10px rgb(0 0 0 / 60%);
}
.sg-made-for[hidden] { display: none; }
.sg-facts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.sg-facts li { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; padding-left: 30px; position: relative; font-size: 16px; color: var(--sg-ink-2); }
.sg-facts li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--sg-ink);
  -webkit-mask: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffe14a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E");
  background-size: 14px; background-position: center; background-repeat: no-repeat;
}
.sg-facts strong { color: var(--sg-ink); font-weight: 800; }

/* Marina (and Bennett) talking. */
.sg-guide { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.sg-guide-portrait { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: var(--sg-sun-soft); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sg-ink); margin: 5px; }
.sg-bubble {
  position: relative; background: #fff; border-radius: 20px; padding: 14px 18px; font-size: 16.5px; line-height: 1.45;
  box-shadow: inset 0 0 0 2px var(--sg-ink), 6px 6px 0 var(--sg-ink);
}
.sg-bubble::before {
  content: ''; position: absolute; left: -9px; top: 26px; width: 16px; height: 16px; background: #fff;
  border-left: 2px solid var(--sg-ink); border-bottom: 2px solid var(--sg-ink); transform: rotate(45deg);
}
.sg-ai-name { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sg-ink-2); }

/* ── Route: the eight stops ── */
.sg-route { margin: 26px 0 8px; }
.sg-route ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 6px; }
.sg-route a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 2px; border-radius: 14px; text-decoration: none; text-align: center; }
.sg-route-no {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--sg-ink);
  font: 400 19px/1 var(--sg-display); transition: background-color .15s ease, transform .2s var(--sg-ease);
}
.sg-route-label { font-size: 13px; font-weight: 700; line-height: 1.2; color: var(--sg-ink-2); }
.sg-route a:hover .sg-route-no, .sg-route a:focus-visible .sg-route-no { background: var(--sg-sun); transform: translateY(-2px); }
.sg-route a:hover .sg-route-label { color: var(--sg-ink); }

/* ── Your pages ── */
.sg-pages { margin: 22px 0 0; padding: 20px 18px; border-radius: 24px; background: var(--sg-cream); box-shadow: inset 0 0 0 2px var(--sg-ink); }
.sg-pages > p { color: var(--sg-ink-2); }
.sg-page-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.sg-page-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'kind kind' 'name open'; gap: 6px 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--sg-line-2); }
.sg-page-list .sg-sticker { grid-area: kind; justify-self: start; }
.sg-page-name { grid-area: name; display: grid; min-width: 0; }
.sg-page-name strong { font-size: 17px; line-height: 1.25; }
.sg-page-name span { font-size: 14px; color: var(--sg-ink-3); overflow-wrap: anywhere; }
.sg-page-list .sg-btn { grid-area: open; }

/* ── Stickers ── */
.sg-sticker { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 10px; font-size: 11.5px; line-height: 1.3; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.sg-sticker--you { background: var(--sg-sun); color: var(--sg-ink); }
.sg-sticker--owner { background: var(--sg-hot-soft); color: #9c1640; }
.sg-sticker--us { background: var(--sg-sky-soft); color: #1d4f9c; }
.sg-sticker--together { background: var(--sg-grape-soft); color: #5b3fe0; }
.sg-sticker--time { background: #efece1; color: var(--sg-ink-2); }
.sg-sticker--landing { background: var(--sg-sun-soft); color: var(--sg-ink); }
.sg-sticker--site { background: var(--sg-green-soft); color: var(--sg-green); }

/* ── Steps ── */
.sg-steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: none; }
.sg-step { scroll-margin-top: 16px; }
.sg-step-rail { display: none; }
.sg-step-card { min-width: 0; padding: 20px 18px 22px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--sg-line), var(--sg-shadow); }
.sg-step-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; margin-bottom: 14px; }
.sg-art { position: relative; display: block; width: 76px; height: 76px; }
.sg-step-art { width: 76px; height: 76px; }
.sg-art-no {
  position: absolute; left: -6px; top: -6px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--sg-ink); color: var(--sg-sun); font: 400 16px/1 var(--sg-display); box-shadow: 0 0 0 3px #fff;
}
.sg-step-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.sg-step-title { margin: 0; font-size: clamp(26px, 7vw, 38px); line-height: 1.05; text-wrap: balance; }
.sg-step-body { color: var(--sg-ink-2); max-width: 40em; }
.sg-points { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; max-width: 44em; }
.sg-points li { position: relative; padding-left: 24px; }
.sg-points li::before { content: ''; position: absolute; left: 2px; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: var(--sg-sun); box-shadow: 0 0 0 2px var(--sg-ink); }
.sg-tip { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; border-radius: 16px; background: var(--sg-cream); border: 2px dashed var(--sg-line-2); font-size: 15.5px; color: var(--sg-ink-2); }
.sg-tip .sg-icon, .sg-warn .sg-icon { margin-top: 3px; color: var(--sg-ink); }

/* Step 1: the email as it lands. */
.sg-mail { margin: 4px 0 16px; max-width: 520px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 2px var(--sg-ink), 0 18px 30px -24px rgb(22 19 10 / 60%); overflow: hidden; }
.sg-mail-head {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-bottom: 2px solid var(--sg-ink);
  background-color: var(--sg-cream); background-image: radial-gradient(rgb(22 19 10 / 9%) 1.2px, transparent 1.3px); background-size: 16px 16px;
}
.sg-mail-head .sg-icon { margin-top: 2px; }
.sg-mail dl { margin: 0; display: grid; gap: 2px; font-size: 15px; min-width: 0; }
.sg-mail dl div { display: flex; flex-wrap: wrap; gap: 0 8px; }
.sg-mail dt { min-width: 58px; color: var(--sg-ink-3); font-weight: 700; }
.sg-mail dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.sg-mail dd span { color: var(--sg-ink-2); }
.sg-mail-body { padding: 16px 14px 18px; text-align: center; }
.sg-mail-body p { color: var(--sg-ink-2); font-size: 15.5px; }
.sg-mail-button { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--sg-sun); box-shadow: inset 0 0 0 2px var(--sg-ink); font-weight: 800; }

/* Step 4: the seven taps. */
.sg-taps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: tap; }
.sg-taps li { counter-increment: tap; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--sg-line-2); font-size: 15px; font-weight: 600; }
.sg-taps li::before { content: counter(tap); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--sg-ink); color: var(--sg-sun); font: 400 13px/1 var(--sg-display); }
.sg-finish { margin: 12px 0 0; font-weight: 700; }
.sg-callout { margin: 16px 0 0; padding: 16px 16px 18px; border-radius: 18px; background: var(--sg-sky-soft); }
.sg-callout--sun { background: var(--sg-sun-soft); }
.sg-callout h4 { margin: 0 0 4px; font-size: 18px; line-height: 1.25; }
.sg-callout .sg-points { margin-top: 8px; }
.sg-callout .sg-points li::before { background: #fff; }

/* Step 5: the two tabs. */
.sg-tabs { display: grid; gap: 12px; margin-top: 4px; align-items: start; }
.sg-tab { padding: 16px; border-radius: 18px; background: #fbfaf5; box-shadow: inset 0 0 0 1px var(--sg-line-2); }
.sg-tab h4 { margin: 0 0 8px; }
.sg-tab-chip { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--sg-ink); color: var(--sg-sun); font-size: 15px; font-weight: 800; }
.sg-tab p { color: var(--sg-ink-2); margin: 0; }
.sg-buttons { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.sg-buttons li { display: grid; gap: 4px; justify-items: start; }
.sg-buttons li > span:last-child { font-size: 15px; color: var(--sg-ink-2); }
.sg-fake-btn { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 2px var(--sg-ink); font-weight: 700; font-size: 14.5px; }

/* Step 6: the checklist. */
.sg-needs { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.sg-need { padding: 14px 14px 12px; border-radius: 18px; background: #fbfaf5; box-shadow: inset 0 0 0 1px var(--sg-line-2); transition: background-color .2s ease; }
.sg-need.is-done { background: var(--sg-green-soft); }
.sg-tick { display: flex; align-items: center; gap: 12px; cursor: pointer; min-height: 44px; }
.sg-tick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sg-tick-box { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 2px var(--sg-ink); color: transparent; transition: background-color .15s ease, color .15s ease; }
.sg-tick input:checked + .sg-tick-box { background: var(--sg-ink); color: var(--sg-sun); }
.sg-tick input:focus-visible + .sg-tick-box { outline: 3px solid var(--sg-ink); outline-offset: 3px; }
.sg-need-title { font-size: 19px; font-weight: 800; line-height: 1.25; }
.sg-need-body { padding: 6px 0 0; min-width: 0; }
.sg-need-body > p:not(.sg-why):not(.sg-small):not(.sg-code-label) { color: var(--sg-ink-2); }
.sg-why { margin: 10px 0 2px; font-size: 15px; color: var(--sg-ink-2); }
.sg-why strong { color: var(--sg-ink); }
.sg-code-label { margin: 12px 0 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sg-ink-3); }
.sg-copy-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sg-copy-text { flex: 1 1 220px; min-width: 0; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 2px var(--sg-ink); font-size: 14px; overflow-wrap: anywhere; word-break: break-all; }

/* The developer section (#sales-postback). */
.sg-dev { margin: 12px 0 4px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 2px var(--sg-ink); scroll-margin-top: 16px; }
.sg-dev > summary, .sg-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 14px; cursor: pointer; font-weight: 800; }
.sg-dev > summary::-webkit-details-marker, .sg-faq summary::-webkit-details-marker { display: none; }
.sg-dev > summary .sg-icon, .sg-faq summary .sg-icon { transition: transform .2s var(--sg-ease); }
.sg-dev[open] > summary .sg-icon, .sg-faq details[open] summary .sg-icon { transform: rotate(180deg); }
.sg-dev-body { padding: 0 14px 16px; font-size: 15.5px; color: var(--sg-ink-2); }
.sg-dev-body > p { max-width: 46em; }
.sg-code { margin: 0 0 8px; padding: 12px 14px; border-radius: 12px; background: var(--sg-ink); color: #fdf8df; font: 13px/1.6 var(--sg-mono); white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.sg-code code { font-size: inherit; }
.sg-table-wrap { overflow-x: auto; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--sg-line-2); }
.sg-fields { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.sg-fields th, .sg-fields td { padding: 8px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--sg-line); }
.sg-fields thead th { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sg-ink-3); }
.sg-fields tbody th { font-weight: 600; color: var(--sg-ink); width: 1%; }
.sg-fields tbody th code { display: block; white-space: nowrap; font-size: 13px; }
.sg-fields tr:last-child th, .sg-fields tr:last-child td { border-bottom: 0; }
.sg-req { display: inline-block; margin-top: 2px; padding: 1px 7px; border-radius: 999px; background: var(--sg-sun); font-size: 10.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.sg-warn { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--sg-hot-soft); color: #6d1230; }

/* Step 7: the timeline. */
.sg-timeline { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 0; position: relative; }
.sg-timeline li { position: relative; display: grid; gap: 6px; padding: 0 0 16px 0; }
.sg-timeline li::before { content: none; }
.sg-timeline li:last-child::before { display: none; }
.sg-when { justify-self: start; align-self: start; padding: 5px 10px; border-radius: 999px; background: var(--sg-ink); color: var(--sg-sun); font-size: 12.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; text-align: center; white-space: nowrap; position: relative; z-index: 1; }
.sg-timeline li > span:last-child { padding-top: 2px; }

/* Step 8: results. */
.sg-guide--inline { margin: 0 0 16px; }
.sg-guide--inline .sg-guide-portrait { width: 64px; height: 64px; }
.sg-columns { display: grid; gap: 14px; }
.sg-columns h4 { margin: 0; font-size: 18px; }
.sg-columns .sg-points { margin-top: 6px; }

/* ── FAQ and contact ── */
.sg-faq { margin: 34px 0 0; }
.sg-faq details { border-bottom: 2px solid var(--sg-ink); }
.sg-faq details:first-of-type { border-top: 2px solid var(--sg-ink); }
.sg-faq summary { padding: 12px 2px; font-size: 18px; }
.sg-faq details p { margin: 0 2px 16px; color: var(--sg-ink-2); max-width: 44em; }

.sg-contact {
  margin: 30px 0 0; padding: 22px 18px; border-radius: 24px; display: grid; gap: 16px; align-items: center;
  background-color: var(--sg-cream); background-image: radial-gradient(rgb(22 19 10 / 9%) 1.2px, transparent 1.3px); background-size: 16px 16px;
  box-shadow: inset 0 0 0 2px var(--sg-ink);
}
.sg-contact img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sg-ink); margin: 5px; }
.sg-contact h2 { margin: 0 0 6px; font-size: clamp(28px, 6vw, 40px); line-height: 1.05; }
.sg-contact p { color: var(--sg-ink-2); }
.sg-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }

.sg-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 18px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--sg-line-2); font-size: 14px; color: var(--sg-ink-3); }
.sg-footer-links { display: flex; gap: 16px; }
.sg-footer a { color: var(--sg-ink-2); }
.sg-noscript { margin: 24px 0; padding-left: 22px; }

/* ── Wider screens ── */
@media (min-width: 560px) {
  .sg-page-list li { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: 'kind name open'; }
  .sg-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .sg-need-body { padding-left: 42px; }
  .sg-timeline li { grid-template-columns: 116px minmax(0, 1fr); gap: 10px; }
  .sg-timeline li::before { content: ''; position: absolute; left: 18px; top: 28px; bottom: 0; border-left: 2px dashed var(--sg-line-2); }
}

@media (min-width: 760px) {
  .sg-shell { padding: 0 32px 48px; }
  .sg-top { padding: 22px 0 14px; }
  .sg-logo img { width: 168px; }
  .sg-hero { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px 0 10px; }
  .sg-hero .sg-guide { grid-template-columns: 1fr; justify-items: start; gap: 18px; }
  .sg-hero .sg-guide-portrait { width: 128px; height: 128px; }
  .sg-hero .sg-bubble::before { left: 46px; top: -9px; border-left: 2px solid var(--sg-ink); border-bottom: 0; border-top: 2px solid var(--sg-ink); }
  .sg-facts { grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 26px; }
  .sg-facts li { display: block; max-width: 13em; }
  .sg-facts li strong { display: block; }

  .sg-route ol { grid-template-columns: repeat(8, minmax(0, 1fr)); position: relative; }
  .sg-route ol::before { content: ''; position: absolute; top: 24px; left: 6%; right: 6%; border-top: 3px dashed var(--sg-line-2); }
  .sg-route li { position: relative; }

  .sg-pages { padding: 24px 26px; }

  .sg-steps { gap: 0; }
  .sg-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; position: relative; padding-bottom: 22px; }
  .sg-step::before { content: ''; position: absolute; left: 31px; top: 58px; bottom: 0; border-left: 3px dashed var(--sg-line-2); }
  .sg-step:last-child::before { display: none; }
  .sg-step-rail { display: block; padding-top: 4px; }
  .sg-step-no { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sg-ink); color: var(--sg-sun); font: 400 30px/1 var(--sg-display); box-shadow: 0 0 0 4px var(--sg-canvas); position: relative; z-index: 1; }
  .sg-art-no { display: none; }
  .sg-step-card { padding: 28px 30px 30px; }
  .sg-art, .sg-step-art { width: 96px; height: 96px; }
  .sg-step-head { gap: 20px; }
  .sg-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-need { padding: 16px 18px 14px; }
  .sg-contact { grid-template-columns: auto minmax(0, 1fr); padding: 26px 30px; gap: 26px; }
  .sg-contact img { width: 128px; height: 128px; }
}

@media (min-width: 1100px) {
  .sg-hero h1 { font-size: 84px; }
  .sg-route { margin-top: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .sg-made-for { transform: none; }
  .sg-btn, .sg-route-no, .sg-dev > summary .sg-icon, .sg-faq summary .sg-icon { transition: none; }
}

@media print {
  .sg-top-links, .sg-contact-actions, .sg-route { display: none; }
  .sg-step-card, .sg-pages, .sg-contact { box-shadow: none; border: 1px solid #999; }
  .sg-dev { display: block; }
}
