/* FCS Play arcade shell 0.6: matches the Full Circle Storyworks website (paper, ink, copper; system fonts).
   System fonts only, no images from other sites, no external requests. */
:root {
  --paper: #f5f2ed; --paper-2: #faf8f4; --sand: #e9e3da; --sand-2: #ede8e0; --ink: #211f1d; --muted: #625b55; --copper: #a84620;
  --copper-dark: #873716; --peach: #f4d5c1; --peach-2: #ffd9c0; --line: #d9d3ca; --dark: #232526; --radius: 99px;
  --robot: #c4612f; --robot-base: #873716; --a: #e8a33d; --b: #6f9c8a; --star: #f0b84a;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.6; }
main { flex: 1; width: 100%; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.045em; line-height: 1.08; margin-top: 0; }
h1 { font-size: clamp(2.6rem, 5.4vw, 5rem); margin-bottom: 18px; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: 1.5rem; letter-spacing: -0.03em; }
p { margin-top: 0; }
a { color: inherit; text-underline-offset: 0.2em; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 5px; border-radius: 4px; }
::selection { background: #edc5ae; color: var(--ink); }
.small { font-size: 0.88rem; color: var(--muted); }
.lead { max-width: 640px; font-size: clamp(1.12rem, 1.9vw, 1.5rem); line-height: 1.45; letter-spacing: -0.025em; color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: 0.11em; text-transform: uppercase; margin-bottom: 18px; color: var(--muted); }
.wrap { max-width: 1440px; margin: 0 auto; padding-left: clamp(20px, 6vw, 120px); padding-right: clamp(20px, 6vw, 120px); }

/* Header: the main site's wordmark and quiet underline navigation. */
.site-header { background: rgba(250, 248, 244, 0.96); border-bottom: 1px solid rgba(60, 50, 40, 0.08); position: sticky; top: 0; z-index: 10; }
.header-inner { max-width: 1680px; margin: auto; padding: 0 clamp(16px, 4.7vw, 88px); min-height: 72px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 24px; }
.wordmark { text-decoration: none; font-size: 23px; line-height: 1.2; letter-spacing: -0.055em; font-weight: 600; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.wordmark-dot { color: var(--copper); }
.arcade-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); font-size: 15px; letter-spacing: -0.01em; }
.arcade-nav a { text-decoration: none; min-height: 44px; display: flex; align-items: center; position: relative; white-space: nowrap; }
.arcade-nav a::after { content: ""; position: absolute; bottom: 8px; left: 0; right: 0; height: 2px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform 0.18s; }
.arcade-nav a:hover::after, .arcade-nav a[aria-current]::after { transform: scaleX(1); }
.arcade-nav a[aria-current] { color: var(--copper); }

/* Buttons and links. */
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 48px; border-radius: var(--radius); background: var(--copper); color: #fff; text-decoration: none; padding: 11px 26px; font-size: 16px; font-weight: 600; transition: background 0.2s, transform 0.2s; }
.button:hover { background: var(--copper-dark); transform: translateY(-1px); }
.text-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--copper); font-weight: 600; min-height: 44px; }
.text-link:hover { text-decoration: underline; }
.back { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--copper); }

/* Home: hero with the paper artwork and Robo. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--sand); display: grid; grid-template-columns: 1.1fr 1fr; min-height: clamp(420px, 38vw, 620px); }
.hero-copy { align-self: center; padding: clamp(48px, 7vw, 120px) clamp(20px, 6vw, 120px); }
.hero-copy .lead { margin-bottom: 28px; }
.hero-art { position: relative; overflow: hidden; isolation: isolate; min-height: 320px;
  background: radial-gradient(ellipse at 10% 0%, #f6f0e8 5%, transparent 67%), linear-gradient(135deg, #cfc1af, #e9e1d4 55%, #b79b7e); }
.hero-art i { position: absolute; display: block; inset: 34% -10% -60% 10%; background: linear-gradient(135deg, #fffdf7, #e0d7cb 72%, #d0bfa6); border: 1px solid #cbbba5; border-radius: 7px 70px 0 0; transform: rotate(-30deg); box-shadow: -15px 20px 25px rgba(51, 35, 18, 0.11); }
.hero-art i:nth-child(2) { transform: translate(7px, -20px) rotate(-28deg); }
.hero-art i:nth-child(3) { transform: translate(14px, -40px) rotate(-26deg); }
.hero-art i:nth-child(4) { transform: translate(24px, -62px) rotate(-24deg); background: linear-gradient(120deg, #f9f5ed, #c8b9a7 88%); }
.hero-ring { position: absolute; top: 10%; left: 18%; height: 62%; aspect-ratio: 1; border: 1px solid rgba(133, 96, 64, 0.25); border-radius: 50%; }
.hero-robo { position: absolute; top: 14%; left: 24%; height: 50%; aspect-ratio: 1; filter: drop-shadow(0 18px 18px rgba(51, 35, 18, 0.18)); }
.hero-robo .r-body { fill: var(--robot); } .hero-robo .r-base { fill: var(--robot-base); } .hero-robo .r-face { fill: #2b2724; }
.hero-robo .r-eye { fill: var(--peach-2); } .hero-robo .r-line { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; } .hero-robo .r-dot { fill: var(--copper); }
.hero-robo .r-parcel { fill: #d9b98f; stroke: #8a6a45; stroke-width: 1.5; } .hero-robo .r-tape { fill: #b07a4a; }

/* Home: the two zone tiles, after the main site's property tiles. */
.doors { list-style: none; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; }
.door { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(300px, 30vw, 460px); padding: clamp(26px, 3.2vw, 56px); text-decoration: none; color: #faf7f2; background: var(--dark); }
.door::before { content: ""; position: absolute; inset: 0; z-index: -2; transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.3, 1); }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(16, 18, 20, 0.62), rgba(16, 18, 20, 0.12) 60%, rgba(16, 18, 20, 0)); }
.door-tech::before { background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 34px), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 34px), linear-gradient(135deg, #2c3134, #1d2022); }
.door-play::before { background: linear-gradient(135deg, #c4612f, #a84620 55%, #6e2a10); }
.door:hover::before { transform: scale(1.03); }
.door-art { position: absolute; top: 8%; right: 6%; width: 42%; max-width: 260px; z-index: -1; opacity: 0.95; transform: rotate(-6deg); transition: transform 0.4s cubic-bezier(0.2, 0.6, 0.3, 1); filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.3)); }
.door:hover .door-art { transform: rotate(-2deg) translateY(-4px); }
.door-play .i-robot { fill: var(--peach); } .door-play .i-base { fill: #3a2a20; } .door-tech .i-console { fill: #cfc1af; }
.door-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #e3d8ce; margin-bottom: 14px; }
.door-title { font-size: clamp(2.2rem, 3.6vw, 3.6rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; color: var(--peach); margin-bottom: 8px; }
.door-tag { font-size: clamp(1.1rem, 1.7vw, 1.45rem); letter-spacing: -0.02em; margin-bottom: 18px; }
.door-count { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: var(--radius); border: 1px solid rgba(255, 233, 214, 0.45); color: var(--peach-2); }
.door-go { margin-top: 14px; color: var(--peach-2); font-weight: 600; }
.door:focus-visible { outline: 3px solid var(--copper); outline-offset: -3px; border-radius: 0; }

/* Home: what grown-ups can count on. */
.trust-band { padding-top: 56px; padding-bottom: 64px; }
.trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.trust li { border-top: 1px solid var(--line); padding-top: 18px; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.trust li::before { content: ""; display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--copper); margin-bottom: 14px; }

/* Zone pages. */
.page-intro { padding-top: clamp(28px, 4vw, 56px); padding-bottom: 28px; }
.cards { list-style: none; padding: 0; margin: 0 0 80px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.cards > li { display: flex; }
.card { display: flex; flex-direction: column; width: 100%; padding: 14px 14px 22px; border-radius: 18px; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
a.card:hover { transform: translateY(-3px); border-color: #c9b9a6; box-shadow: 0 22px 34px -24px rgba(51, 35, 18, 0.45); }
.card > :not(.card-icon) { margin-left: 8px; margin-right: 8px; }
.card h3 { margin: 18px 8px 6px; font-size: 1.6rem; }
.blurb { margin-bottom: 0; color: var(--muted); }
.card-icon { display: block; width: 100%; height: 170px; padding: 30px; border-radius: 12px; background: radial-gradient(ellipse at 20% 0%, #f6f0e8 5%, transparent 70%), linear-gradient(135deg, #e4d9cb, #efe8de 55%, #d8c4ad); }
.card-cta { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; min-height: 46px; padding: 10px 24px; border-radius: var(--radius); font-weight: 600; color: #fff; background: var(--copper); transition: background 0.2s; }
a.card:hover .card-cta { background: var(--copper-dark); }
.soon { background: transparent; border-style: dashed; }
.soon .card-icon { filter: grayscale(0.7); opacity: 0.7; }
.soon .card-cta { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 8px 20px; font-size: 13px; }
.facts dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.facts dd { margin: 0; padding: 4px 12px; border-radius: var(--radius); border: 1px solid #c9bcab; color: #5c5046; }
.i-robot { fill: var(--robot); stroke: var(--ink); stroke-width: 2; } .i-base { fill: var(--robot-base); }
.i-eye { fill: #fffaf3; stroke: var(--ink); stroke-width: 2; } .i-line { stroke: var(--ink); stroke-width: 3; } .i-dot { fill: var(--ink); }
.i-console { fill: #9a9086; stroke: var(--ink); stroke-width: 2; }
.i-a { fill: var(--a); stroke: var(--ink); stroke-width: 2; } .i-b { fill: var(--b); stroke: var(--ink); stroke-width: 2; }
.i-star { fill: var(--star); stroke: var(--ink); stroke-width: 2; }
#arcade-status:empty { display: none; }
#arcade-status { padding: 14px 18px; border-left: 3px solid var(--copper); background: var(--sand-2); }

/* Reading pages (grown-ups, privacy), after the main site's policy pages. */
.prose { max-width: 860px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) 24px 90px; }
.prose h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.prose h2 { font-size: 1.65rem; letter-spacing: -0.025em; margin-top: 44px; margin-bottom: 14px; }
.prose p, .prose li { color: #4f4842; overflow-wrap: anywhere; }
.prose li { margin-bottom: 10px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--copper); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--ink); background: var(--sand-2); }
.todo { background: #fff3c4; color: #6b3d00; font-weight: 700; padding: 0 4px; border-radius: 4px; }

/* Footer, after the main site's footer. */
.site-footer { background: var(--sand-2); padding: 48px clamp(20px, 5.7vw, 105px) 22px; margin-top: auto; }
.footer-top { max-width: 1550px; margin: auto; display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; padding-bottom: 36px; }
.footer-top p { color: var(--muted); font-size: 14px; line-height: 1.65; margin-top: 10px; max-width: 360px; }
.footer-label { font-size: 11px; font-weight: 600; letter-spacing: 0.055em; text-transform: uppercase; display: block; margin-bottom: 8px; color: var(--muted); }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer-nav a { font-size: 14px; text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; }
.footer-nav a:hover { text-decoration: underline; }
.footer-bottom { max-width: 1550px; margin: auto; padding-top: 18px; border-top: 1px solid #d2cbc1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 12px; color: #6b6258; }

@media (prefers-reduced-motion: reduce) {
  .door::before, .door-art, .card, .button, .arcade-nav a::after { transition: none; }
  .door:hover::before, .door:hover .door-art, a.card:hover, .button:hover { transform: none; }
}
@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 260px; order: -1; }
  .hero-robo { left: 30%; }
  .doors { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .site-header { position: static; }
  .header-inner { min-height: 0; padding-top: 6px; padding-bottom: 4px; }
  .wordmark { font-size: 21px; }
  .arcade-nav { width: 100%; justify-content: space-between; gap: 8px; font-size: 15px; }
  .hero-art { min-height: 210px; }
  .door { min-height: 260px; }
  .trust { gap: 16px; }
  .trust li { font-size: 1rem; }
  .footer-top { grid-template-columns: 1fr; gap: 20px; }
}
