/* Public pages share the account screens' light palette and controls. */
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
.site-shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.page-surface { background: var(--paper); border: 1px solid #ebebed; border-radius: 28px; box-shadow: 0 10px 44px #22222205; }
.section-kicker { color: var(--muted); font-size: 11px; letter-spacing: .03em; margin-bottom: 14px; }
.site-footer { padding: 25px 0 30px; align-items: center; }
.site-footer .welcome-brand { color: var(--ink); }

.home-hero { padding: 70px 20px 55px; text-align: center; }
.home-hero h1 { font-size: clamp(48px, 6.2vw, 80px); font-weight: 600; letter-spacing: -.065em; line-height: 1.05; }
.home-hero h1 > span { color: var(--purple); }
.home-description { max-width: 38em; color: var(--muted); font-size: 16px; line-height: 1.8; margin: 25px auto 27px; }
.home-actions { display: flex; justify-content: center; gap: 10px; }
.home-actions .button { padding-inline: 25px; }
.home-features { padding: 80px 8px 70px; }
.section-intro { text-align: center; margin-bottom: 48px; }
.section-intro h2 { font-size: 36px; font-weight: 500; letter-spacing: -1.3px; margin-bottom: 13px; }
.section-intro > p:last-child { color: var(--muted); font-size: 13px; }
.feature-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 55px; padding: 0 24px; }
.feature-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 22px; }
.feature-mark svg { width: 20px; height: 20px; }
.purple-mark { background: #eae4fa; color: #7953e9; }
.orange-mark { background: #ffe7d9; color: #a75023; }
.yellow-mark { background: #fff2be; color: #7f6722; }
.feature-columns h3 { font-size: 19px; font-weight: 500; letter-spacing: -.5px; margin-bottom: 12px; }
.feature-columns p { font-size: 12px; line-height: 1.8; color: var(--muted); margin-bottom: 22px; }
.feature-columns .text-link { font-size: 11px; }
.home-start { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 37px 42px; background: #fff; border: 1px solid #ebebed; border-radius: 24px; margin-bottom: 35px; }
.home-start h2 { font-size: 27px; font-weight: 500; letter-spacing: -.8px; }
.home-start .button { flex: none; }

.page-heading { margin-bottom: 45px; }
.page-heading h1 { font-size: 40px; font-weight: 500; letter-spacing: -1.6px; margin-bottom: 14px; }
.page-heading > p:last-child { color: var(--muted); font-size: 13px; }
.connect-layout { padding: 50px 55px; }
.connect-methods { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; }
.connect-password { border-left: 1px solid var(--line); padding-left: 50px; min-width: 0; }
.connect-bookmarks { min-width: 0; }
.connect-password h2, .bookmarklet-option h3 { font-size: 24px; font-weight: 500; line-height: 1.25; letter-spacing: -.7px; margin-bottom: 16px; }
.bookmarklet-option > .muted { color: var(--muted); font-size: 12px; line-height: 1.8; margin-bottom: 23px; }
.bookmarklet-option { margin-bottom: 28px; }
.bookmarklet-save[aria-disabled=true] { opacity: .6; cursor: wait; }
.bookmarklet-actions { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; margin-top: 10px; }
.bookmarklet-actions .text-link { font-size: 10px; white-space: nowrap; }
.bookmarklet-option textarea { width: 100%; border: 1px solid var(--line); background: #f5f5f6; border-radius: 9px; padding: 12px; margin-top: 12px; min-height: 100px; resize: vertical; font-size: 11px; }
.bookmarklet-steps { margin: 20px 0; padding-left: 19px; color: #676770; font-size: 12px; line-height: 1.8; }
.bookmarklet-steps li { padding-left: 4px; margin-bottom: 8px; }
.bookmarklet-option > .text-link { font-size: 11px; margin-top: 17px; }
.browser-link-alternative { border-top: 1px solid var(--line); padding-top: 19px; }
.browser-link-alternative > summary { cursor: pointer; color: #52525a; font-size: 12px; line-height: 1.7; }
.browser-link-alternative[open] > summary { margin-bottom: 24px; }
.browser-link-alternative .bookmarklet-option { padding: 20px; border-radius: 15px; background: var(--bg); }
.browser-link-alternative .bookmarklet-option h3 { font-size: 20px; }
.connect-password .field label > span { color: #9999a1; margin-left: 4px; font-weight: 400; }
.form-footnote { color: var(--muted); font-size: 10px; line-height: 1.8; margin: 20px 0 18px; }
.connect-password > .text-link { font-size: 11px; }

.guide-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 60px; margin-top: 28px; margin-bottom: 45px; }
.guide-nav { position: sticky; top: 30px; align-self: start; padding: 20px 5px; }
.guide-nav > .mono { margin-bottom: 21px; color: var(--muted); }
.guide-nav nav { display: grid; gap: 5px; }
.docs-nav-link { display: flex; gap: 10px; font-size: 11px; line-height: 1.7; padding: 11px 12px; color: #7b7b83; border-radius: 10px; }
.docs-nav-link[aria-current=location] { background: #eae4fa; color: #594099; }
.guide-content { background: #fff; border: 1px solid #ebebed; border-radius: 26px; padding: 50px 55px; }
.guide-heading { margin-bottom: 50px; }
.guide-heading h1 { font-size: 43px; font-weight: 500; letter-spacing: -1.8px; margin-bottom: 18px; }
.guide-heading > p:last-child { font-size: 13px; color: var(--muted); }
.guide-section { padding: 32px 0; border-top: 1px solid var(--line); scroll-margin-top: 30px; }
.guide-section h2 { font-size: 25px; font-weight: 500; letter-spacing: -.6px; margin: 12px 0 16px; }
.guide-section > p { color: var(--muted); font-size: 13px; line-height: 1.9; margin-bottom: 16px; }
.guide-section .button { font-size: 11px; min-height: 37px; padding: 8px 16px; margin-top: 5px; }
.guide-callout { padding: 20px 24px; background: var(--bg); border-radius: 15px; margin: 25px 0 0; }
.guide-callout p { font-size: 12px; color: #666670; line-height: 1.8; }
kbd { display: inline-block; padding: 1px 5px; border: 1px solid #dddde2; border-radius: 5px; font: 11px/1.4 Consolas, monospace; background: white; color: #595962; }

.status-layout { padding: 50px 55px; margin-top: 28px; margin-bottom: 45px; }
.status-heading { display: flex; justify-content: space-between; align-items: center; gap: 35px; margin-bottom: 38px; }
.status-heading h1 { font-size: 44px; font-weight: 500; letter-spacing: -1.8px; margin-bottom: 18px; }
.status-heading p:last-child { color: var(--muted); font-size: 13px; max-width: 480px; line-height: 1.8; }
.status-heading .button { flex: none; }
.check-summary { display: flex; gap: 18px; align-items: center; padding: 27px 30px; background: var(--bg); border-radius: 17px; margin-bottom: 25px; }
.check-indicator { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #eae4fa; color: #7953e9; flex: none; }
.check-indicator svg { width: 20px; height: 20px; }
.check-indicator[data-state=error] { background: #ffe7d9; color: #a75023; }
.check-summary h2 { font-size: 21px; font-weight: 500; letter-spacing: -.5px; margin-bottom: 8px; }
.check-summary p { color: var(--muted); font-size: 12px; }
.check-list article { display: grid; grid-template-columns: 1fr 110px 75px; gap: 20px; align-items: center; padding: 25px 5px; border-bottom: 1px solid var(--line); }
.check-list h3 { font-size: 14px; font-weight: 500; }
.check-result { font-size: 11px; color: var(--muted); }
.check-result[data-state=success] { color: #594099; }
.check-result[data-state=error] { color: #a75023; }
.check-timing { font-size: 11px; color: #92929b; text-align: right; }
.check-note { padding: 25px 0 20px; }
.check-note p { font-size: 12px; color: var(--muted); line-height: 1.8; max-width: 630px; margin-top: 9px; }
.status-layout > .text-link { font-size: 11px; }

.bridge-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.bridge-card { width: min(500px, 100%); border: 1px solid #ebebed; border-radius: 24px; padding: 35px; background: white; box-shadow: 0 10px 44px #22222205; }
.bridge-card > .welcome-brand { display: inline-block; margin-bottom: 40px; }
.bridge-card > h1 { font-size: 30px; font-weight: 500; letter-spacing: -1px; margin-bottom: 20px; }
.bridge-card > .muted { font-size: 13px; line-height: 1.8; margin-bottom: 24px; }
.linked-profile { display: grid; gap: 9px; padding: 20px; background: var(--bg); border-radius: 14px; margin-bottom: 24px; overflow-wrap: anywhere; }
.linked-profile strong { font-size: 20px; font-weight: 500; }
.linked-profile > .muted { font-size: 11px; }
.bridge-card > .field-help { margin: 22px 0 0; line-height: 1.9; }
.bridge-card > .text-link { margin-top: 23px; font-size: 11px; }

@media (max-width: 1000px) {
  .feature-columns { gap: 30px; padding: 0 12px; }
  .connect-layout, .status-layout { padding: 40px; }
  .connect-methods { gap: 35px; }
  .connect-password { padding-left: 30px; }
  .guide-layout { grid-template-columns: 185px minmax(0, 1fr); gap: 30px; }
  .guide-content { padding: 40px; }
  .check-list article { grid-template-columns: 1fr 90px 65px; gap: 15px; }
}
@media (max-width: 740px) {
  .site-shell { width: calc(100% - 32px); }
  body:not([data-page=login]):not([data-page=signup]):not([data-page=console]) > .welcome-nav { gap: 12px; }
  body:not([data-page=login]):not([data-page=signup]):not([data-page=console]) .welcome-links { gap: 12px; }
  .home-hero { padding: 40px 8px 38px; }
  .home-hero h1 { font-size: 54px; }
  .home-description { font-size: 13px; }
  .home-features { padding: 50px 10px 40px; }
  .section-intro { text-align: left; margin-bottom: 35px; }
  .section-intro h2 { font-size: 29px; }
  .section-intro > p:last-child { font-size: 12px; }
  .feature-columns { grid-template-columns: 1fr; padding: 0; gap: 30px; }
  .feature-columns article { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
  .feature-mark { float: left; margin: 0 17px 60px 0; width: 37px; height: 37px; border-radius: 12px; }
  .feature-columns .text-link { font-size: 11px; }
  .feature-columns p { margin-bottom: 13px; }
  .feature-columns h3 { font-size: 18px; }
  .home-start { flex-direction: column; align-items: flex-start; padding: 28px; }
  .home-start h2 { font-size: 25px; }
  .site-footer { width: calc(100% - 48px); padding-top: 13px; flex-wrap: wrap; gap: 13px; }
  .site-footer nav { width: 100%; justify-content: flex-end; }
  .connect-layout, .status-layout { padding: 30px 25px; border-radius: 22px; margin-top: 10px; }
  .page-heading { margin-bottom: 30px; }
  .page-heading h1 { font-size: 30px; letter-spacing: -1px; }
  .connect-methods { grid-template-columns: 1fr; gap: 28px; }
  .connect-password { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0 0; }
  .bookmarklet-actions { flex-wrap: wrap; gap: 5px; }
  .guide-layout { grid-template-columns: 1fr; gap: 16px; margin-top: 8px; }
  .guide-nav { position: static; padding: 15px 5px; }
  .guide-nav > .mono { margin-bottom: 12px; }
  .guide-nav nav { grid-template-columns: 1fr 1fr; gap: 3px; }
  .docs-nav-link { font-size: 10px; padding: 8px; }
  .guide-content { border-radius: 22px; padding: 32px 25px; }
  .guide-heading h1 { font-size: 32px; letter-spacing: -1px; }
  .guide-heading { margin-bottom: 32px; }
  .guide-section h2 { font-size: 24px; }
  .guide-section > p { font-size: 12px; }
  .status-heading { flex-direction: column; align-items: flex-start; margin-bottom: 30px; gap: 23px; }
  .status-heading h1 { font-size: 36px; }
  .check-summary { padding: 20px; gap: 14px; }
  .check-summary h2 { font-size: 19px; }
  .check-list article { grid-template-columns: 1fr auto; gap: 10px; padding: 20px 0; }
  .check-list h3 { font-size: 13px; }
  .check-result { text-align: right; }
  .check-timing { grid-column: 1 / -1; text-align: left; font-size: 10px; }
  .bridge-page { padding: 14px; }
  .bridge-card { padding: 27px; }
  .bridge-card > h1 { font-size: 27px; }
}
@media (max-width: 360px) {
  .welcome-links > a[href="/#features"] { display: none; }
  .home-hero h1 { font-size: 48px; }
  .home-actions .button { padding-inline: 17px; font-size: 12px; }
  .connect-layout, .status-layout { padding: 25px 20px; }
  .guide-content { padding-inline: 20px; }
  .check-summary { padding: 15px; gap: 10px; }
  .check-indicator { width: 36px; height: 36px; border-radius: 11px; }
  .check-summary h2 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
