:root {
  color-scheme: light;
  --paper: #fff9ea;
  --ink: #263c58;
  --tomato: #c84032;
  --check: #da4939;
  --yellow: #f3c65b;
  --line: #e4d8c8;
  --muted: #657080;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, Consolas, "Liberation Mono", monospace;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: radial-gradient(ellipse at 85% 18%, #f3c65b19, transparent 45%); }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--tomato); outline-offset: 7px; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 10; padding: .75rem 1rem; background: var(--ink); color: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.page-shell { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.25rem, 5.7vw, 6.5rem); }
.site-header { min-height: 112px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--mono); font-size: clamp(1.45rem, 2.1vw, 1.85rem); font-weight: 700; letter-spacing: -.045em; text-decoration: none; }
.wordmark-dot { color: var(--tomato); }
.header-note { font-size: .875rem; line-height: 1.5; }
.hero { padding: 3.5rem 0; }
h1 { margin: 0; font-family: var(--mono); font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.14; letter-spacing: -.06em; color: var(--ink); }
h1 em { font-weight: inherit; font-style: normal; }
.cursor { display: inline-block; width: .13em; height: .13em; margin-left: .13em; background: var(--tomato); vertical-align: baseline; }

.apps { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; }
.apps h2 { font-family: var(--mono); font-size: 1.4rem; font-weight: 600; letter-spacing: -.04em; margin: 0 0 1rem; }
.apps p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.7rem 0 2rem; border-top: 1px solid var(--line); }
.site-footer p { font-family: var(--mono); font-size: 1.1rem; font-weight: 700; letter-spacing: -.04em; margin: 0; }
.site-footer p span { color: var(--tomato); }
.site-footer > span { font-size: .8125rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 960px) {
  .hero { padding: 3rem 0; }

}
@media (max-width: 820px) {
  .site-header { min-height: 88px; gap: 1rem; }
  .header-note { max-width: 8rem; text-align: right; font-size: .8125rem; }
  .hero { padding: 2.5rem 0; }
  h1 { font-size: clamp(2rem, 7vw, 3rem); }

  .site-footer { align-items: flex-start; padding: 1.5rem 0; }
  .site-footer > span { max-width: 9rem; text-align: right; }
}
@media (max-width: 480px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: .65rem; padding: 1.25rem 0; }
  .header-note { max-width: none; text-align: left; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .site-footer > span { max-width: none; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.header-logo { width: 52px; height: 52px; object-fit: contain; flex: 0 0 auto; }

.app-in-progress { display: flex; align-items: center; gap: 1.5rem; padding-top: .5rem; }
.app-icon { position: relative; width: 144px; aspect-ratio: 1; flex: 0 0 auto; overflow: hidden; border-radius: 23%; background: linear-gradient(145deg, rgb(255 255 255 / 24%), rgb(255 255 255 / 5%)); -webkit-backdrop-filter: blur(14px) saturate(115%); backdrop-filter: blur(14px) saturate(115%); box-shadow: 0 3px 10px #263c5808, inset 0 1px 1px #ffffffaa, inset 0 -1px 1px #ffffff33; }
.app-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.terminal-cursor { position: absolute; left: 32%; top: 29%; width: 3%; height: 4.5%; border-radius: .4px; background: #fff0c9; box-shadow: 0 0 3px #fff0c955; animation: terminal-blink 1.2s steps(1, end) infinite; }
@keyframes terminal-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (max-width: 480px) {
  .app-in-progress { gap: 1rem; }
  .app-icon { width: 112px; }
}
@media (prefers-reduced-motion: reduce) {
  .terminal-cursor { animation: none; }
}

.drafting-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; color: #526b87; }
.drafting-outline { stroke: currentColor; stroke-width: .85; stroke-dasharray: 7 1.4 1.2 1.4; opacity: .75; }
.drafting-guides { stroke: currentColor; stroke-width: .6; opacity: .38; }
.drafting-centres { stroke: currentColor; stroke-width: .65; opacity: .55; }
