/* Layout from the marketing page at trial.sitehold.dev, trimmed to what this page uses. */

/* The design system's subtle ink is too light for 4.5:1 text on paper; the owner app uses this darker tone. */
:root { --sh-color-ink-subtle: #656f6a; }

html, body { margin: 0; background: var(--sh-color-ground-paper); color: var(--sh-color-ink); }
body { font-family: var(--sh-font-sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
p a, li a, .footer-links a { text-decoration: underline; text-underline-offset: 2px; }
code, pre { font-family: var(--sh-font-mono); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* The DS Panel's px-16 leaves too little room on phones. */
@media (max-width: 640px) { .panel-inner { padding-left: 24px; padding-right: 24px; } }

/* Header */
.site-header { background: var(--sh-color-ground-white); border-bottom: 1px solid var(--sh-color-line); }
.site-header-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-wordmark { font-size: 17px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--sh-color-ink); }
a.site-wordmark:hover { color: var(--sh-color-brand); }
.site-nav { display: flex; gap: 28px; align-items: center; height: 100%; font-size: 14px; font-weight: 500; }
.site-nav a { height: 60px; box-sizing: border-box; display: flex; align-items: center; border-bottom: 2px solid transparent; color: var(--sh-color-ink-muted); }
.site-nav a:hover { color: var(--sh-color-brand); border-bottom-color: var(--sh-color-brand); }
@media (max-width: 820px) { .site-nav { display: none; } }

/* Shared section layout */
section[id] { scroll-margin-top: 16px; }
.section-stack { display: flex; flex-direction: column; gap: 40px; }
.section-heading { display: flex; flex-direction: column; gap: 20px; }
.section-title { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; margin: 0; text-wrap: balance; max-width: 760px; }
.section-note { margin: 0; font-size: 15px; line-height: 1.5; color: var(--sh-color-ink-muted); max-width: 640px; }
.on-brand-muted { opacity: 0.8; }

/* Hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 56px 72px; align-items: start; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; max-width: 600px; }
.eyebrow { color: var(--sh-color-ink-muted); display: flex; gap: 12px; align-items: center; }
.eyebrow-rule { width: 24px; height: 1px; background: var(--sh-color-line-strong); }
.hero-title { font-size: clamp(40px, 5.2vw, 64px); line-height: 1.0; margin: 0; text-wrap: balance; }
.hero-lede { font-size: 20px; line-height: 1.5; margin: 0; color: var(--sh-color-ink-muted); text-wrap: pretty; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin: 0; font-size: 14px; color: var(--sh-color-ink-subtle); }

.chain { display: flex; flex-direction: column; max-width: 520px; width: 100%; justify-self: end; margin: 0; }
.chain-box { border: 2px solid var(--sh-color-line-ink); padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; background: var(--sh-color-ground-white); }
.chain-box p { margin: 0; }
.chain-request { font-size: 20px; line-height: 1.3; font-weight: 500; }
.chain-agent { font-size: 15px; line-height: 1.5; color: var(--sh-color-ink-muted); }
.chain-link { width: 2px; height: 28px; margin: 0 auto; background: var(--sh-color-line-ink); }
.chain-sitehold { background: var(--sh-color-brand); color: var(--sh-color-ink-inverse); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 14px; }
.chain-sitehold-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.chain-sitehold-name { font-size: 22px; letter-spacing: 0.02em; text-transform: uppercase; }
.chain-sitehold-tag { opacity: 0.8; }
.chain-ops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 16px; font-family: var(--sh-font-mono); font-size: 13px; line-height: 1.6; opacity: 0.92; }
.hero-site-body { padding: 16px 14px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.hero-site-hours { display: flex; flex-direction: column; gap: 8px; }

/* The website drawn as an object */
.site-object { border: 2px solid var(--sh-color-line-ink); background: var(--sh-color-ground-white); display: flex; flex-direction: column; }
.site-object-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--sh-color-line); gap: 12px; }
.site-object-url { font-family: var(--sh-font-mono); font-size: 12px; color: var(--sh-color-ink-muted); }
.site-object-footer { padding: 10px 16px; border-top: 1px solid var(--sh-color-line); font-size: 12px; color: var(--sh-color-ink-subtle); }
.site-image { height: 64px; background: var(--sh-color-ground-sand); }
.site-line { font-size: 12px; line-height: 1.4; color: var(--sh-color-ink-muted); }
.site-line.is-changed { background: var(--sh-color-brand-tint); color: var(--sh-color-brand-fg); padding: 2px 6px; align-self: flex-start; }

/* What Sitehold does: the trial page's lifecycle boxes */
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 2px; }
.promise { border: 2px solid var(--sh-color-ink-inverse); padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.promise.is-highlight { background: var(--sh-color-ink-inverse); color: var(--sh-color-brand); }
.promise-name { font-size: 22px; font-weight: 600; margin: 0; }
.promise p { margin: 0; font-size: 15px; line-height: 1.55; }
.promise code { font-size: 13px; }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0; border-top: 1px solid var(--sh-color-line-strong); }
.step { padding: 20px 24px 20px 0; display: flex; flex-direction: column; gap: 8px; border-bottom: 1px solid var(--sh-color-line); }
.step-label { color: var(--sh-color-brand); }
.step-name { font-size: 20px; font-weight: 600; margin: 0; }
.step p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--sh-color-ink-muted); }

/* Connect your agent */
.connect-intro { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.connect-intro p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--sh-color-ink-muted); text-wrap: pretty; }
.address, .command { margin: 0; background: var(--sh-color-ground-white); border: 2px solid var(--sh-color-line-ink); padding: 14px 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.address { align-self: flex-start; }
.address code { font-size: 17px; font-weight: 600; }
.command { overflow-wrap: normal; overflow-x: auto; }
.command code { font-size: 13px; line-height: 1.6; }
@media (max-width: 640px) { .address code { font-size: 14px; } .command code { font-size: 12px; } }
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.app { background: var(--sh-color-ground-white); border: 1px solid var(--sh-color-line-strong); padding: 24px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 16px; }
.app-name { font-size: 22px; font-weight: 600; margin: 0; }
.app ol { list-style: decimal; margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; }
.app p { margin: 0; font-size: 15px; line-height: 1.5; }
.app :not(pre) > code { font-size: 13px; overflow-wrap: anywhere; }
.app .app-note { font-size: 14px; color: var(--sh-color-ink-muted); border-top: 1px solid var(--sh-color-line); padding-top: 14px; margin-top: auto; }
.other-agents { display: flex; flex-direction: column; gap: 8px; max-width: 720px; }
.other-agents-name { font-size: 18px; font-weight: 600; margin: 0; }
.other-agents p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--sh-color-ink-muted); }

/* Footer */
.site-footer { background: var(--sh-color-ground-white); border-top: 1px solid var(--sh-color-line); }
.site-footer-inner { max-width: 1280px; margin: 0 auto; padding: 28px 24px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: baseline; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; color: var(--sh-color-ink-muted); }

/* Not found */
.not-found { display: flex; flex-direction: column; gap: 24px; max-width: 600px; }
.not-found p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--sh-color-ink-muted); }

/* Legal pages */
.legal { display: flex; flex-direction: column; gap: 20px; max-width: 760px; font-size: 16px; line-height: 1.6; }
.legal p, .legal ul, .legal ol { margin: 0; }
.legal ul, .legal ol { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal h2 { font-size: 20px; font-weight: 600; line-height: 1.3; margin: 16px 0 0; }
.legal-meta { color: var(--sh-color-ink-muted); font-size: 15px; }
.legal-table-wrap { overflow-x: auto; }
.legal table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.5; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--sh-color-line); }
.legal th { font-weight: 600; border-bottom-color: var(--sh-color-line-strong); }
.legal-nav { border-top: 1px solid var(--sh-color-line); padding-top: 20px; margin-top: 12px; font-size: 14px; color: var(--sh-color-ink-muted); }
