/* Tilewake demo website — 1 October 2026 */
:root { color-scheme: light; --paper: #faf8f0; --ink: #243640; --muted: #52616a; --dark: #17262d; --gold: #eed9aa; --line: #deded4; }
* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; font-size: 17px; line-height: 1.8; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: #87612a; }
a:focus-visible, summary:focus-visible { outline: 3px solid #b47b27; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(36px, 5vw, 48px); letter-spacing: -.025em; }
h2 { font-size: clamp(29px, 3.6vw, 40px); letter-spacing: -.02em; }
h3 { font-size: 27px; }
p + p { margin-top: 18px; }
img { max-width: 100%; }
.skip-link { position: absolute; z-index: 10; left: 16px; top: 12px; transform: translateY(-200%); padding: 10px 16px; background: var(--paper); color: var(--ink); }
.skip-link:focus { transform: none; }
.hero { background: #121819; }
.hero-link { display: block; max-width: 1440px; margin: 0 auto; line-height: 0; }
.hero-image { display: block; width: 100%; height: auto; }
.site-nav { background: var(--dark); color: var(--paper); }
.nav-inner { max-width: 1120px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 19px 28px; margin: 0 auto; }
.wordmark { flex-shrink: 0; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .17em; }
.nav-links { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.nav-links a { text-decoration: none; font-size: 14px; color: #c1cbd0; }
.nav-links a:hover, .wordmark:hover { color: var(--gold); }
.wrap { width: min(1120px, 100%); margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.section { padding-top: 80px; padding-bottom: 80px; }
.eyebrow { display: block; margin-bottom: 17px; color: #87612a; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; }
.intro { max-width: 780px; padding-top: 78px; padding-bottom: 80px; text-align: center; }
.intro .lead { margin: 24px auto 0; font-size: 21px; line-height: 1.7; }
.intro .description { margin-top: 18px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.intro .actions { justify-content: center; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 12px 23px; border: 1px solid var(--ink); border-radius: 6px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; transition: background .15s, border-color .15s; }
.button:hover { background: #36515e; border-color: #36515e; color: var(--paper); }
.button.secondary { background: transparent; color: var(--ink); }
.button.secondary:hover { background: #efeee4; }
.dark { background: var(--dark); color: var(--paper); }
.dark .eyebrow { color: var(--gold); }
.dark .section-copy { color: #c1cbd0; }
.dark .button { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.dark .button:hover { background: #f8e8c5; border-color: #f8e8c5; }
.dark a:not(.button):hover { color: var(--gold); }
.section-copy { max-width: 680px; margin-top: 18px; color: var(--muted); }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 34px; }
.download-card { display: flex; flex-direction: column; padding: 30px; border: 1px solid #455259; border-radius: 8px; background: #1d3038; }
.download-card .platform { display: flex; align-items: center; gap: 16px; }
.platform-icon { width: 29px; height: 29px; color: var(--gold); flex-shrink: 0; }
.download-card .file-info { margin-top: 14px; color: #c1cbd0; font-size: 14px; }
.download-card .button { align-self: flex-start; margin-top: 23px; }
.download-note { margin-top: 25px; color: #c1cbd0; font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; margin: 34px 0 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { counter-increment: steps; }
.steps li::before { content: "0" counter(steps); display: block; margin-bottom: 15px; color: #87612a; font-size: 13px; letter-spacing: .1em; }
.steps h3 { font-size: 24px; margin-bottom: 13px; }
.steps p { color: var(--muted); font-size: 16px; }
.notice { padding: 22px 26px; border-left: 3px solid #b47b27; background: #f0eee2; margin-top: 32px; color: var(--muted); font-size: 16px; }
.faq { margin-top: 32px; }
details { padding: 18px 0; border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-size: 17px; font-weight: 600; }
details p { max-width: 850px; margin: 15px 0 2px; color: var(--muted); font-size: 16px; }
code { display: inline-block; max-width: 100%; overflow-wrap: anywhere; padding: 3px 7px; border-radius: 3px; background: #eae8dd; color: var(--ink); font-size: .9em; }
.story { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.5fr); gap: 70px; border-top: 1px solid var(--line); }
.story-copy p { color: var(--muted); }
.story-copy .signature { margin-top: 22px; font-family: Georgia, "Times New Roman", serif; font-size: 19px; color: var(--ink); }
.privacy-summary { padding-top: 64px; padding-bottom: 64px; border-top: 1px solid var(--line); }
.privacy-summary h2 { font-size: 30px; }
.community { text-align: center; padding-top: 70px; padding-bottom: 72px; }
.community p { max-width: 640px; margin: 19px auto 25px; }
.site-footer { padding: 28px; text-align: center; border-top: 1px solid var(--line); font-size: 13px; color: #657078; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin-bottom: 12px; }
.site-footer p { font-size: 12px; letter-spacing: .05em; }
.legal-page { max-width: 850px; padding-top: 50px; padding-bottom: 70px; }
.legal-page h1 { font-size: clamp(34px, 5vw, 44px); margin-top: 25px; }
.legal-page .updated { color: var(--muted); font-size: 14px; margin-top: 12px; }
.legal-page section { margin-top: 34px; padding-top: 25px; border-top: 1px solid var(--line); }
.legal-page h2 { margin-bottom: 18px; font-size: 27px; }
.legal-page p, .legal-page li { color: var(--muted); font-size: 16px; }
.legal-page ul { padding-left: 24px; }
.legal-page li + li { margin-top: 8px; }
.legal-page address { font-style: normal; color: var(--muted); font-size: 16px; }
.back-link { font-size: 14px; }
@media (max-width: 740px) {
  .wrap { padding-left: 22px; padding-right: 22px; }
  .nav-inner { align-items: flex-start; flex-direction: column; gap: 10px; padding: 18px 22px; }
  .nav-links { gap: 12px 24px; }
  .section { padding-top: 54px; padding-bottom: 54px; }
  .intro { padding-top: 50px; padding-bottom: 54px; }
  .intro .lead { font-size: 19px; }
  .download-grid, .steps, .story { grid-template-columns: 1fr; }
  .download-grid { gap: 18px; }
  .download-card { padding: 25px; }
  .download-card .button { align-self: stretch; }
  .steps { gap: 28px; }
  .story { gap: 24px; }
  .notice { padding: 19px 20px; }
  .intro .actions { flex-direction: column; align-items: stretch; }
  .privacy-summary { padding-top: 50px; padding-bottom: 50px; }
  .community { padding-top: 52px; padding-bottom: 54px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
