@layer base, layout, motion;
@layer base {
  :root { color-scheme: light; --paper: #f4f1e8; --ink: #252923; --muted: #62665b; --gold: #e8c84e; --line: #c6c8bb; --serif: Georgia, 'Times New Roman', serif; --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
  * { box-sizing: border-box; }
  html { scroll-padding-top: 8rem; }
  body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); }
  a { color: inherit; text-underline-offset: .25em; }
  a:hover { text-decoration-thickness: 2px; }
  :focus-visible { outline: 3px solid #665108; outline-offset: 6px; }
  h1, h2, h3, p { margin: 0; }
  h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; line-height: 1.05; }
  h1 { font-size: clamp(4rem, 9.5vw, 10rem); }
  h2 { font-size: clamp(2.6rem, 5vw, 5.5rem); }
  h3 { font-size: 1.2rem; font-weight: 500; }
  img { max-width: 100%; }
  .eyebrow, .edition, .card-caption, .hero-note, .release-pill { font: .69rem/1.5 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
  .eyebrow { margin-bottom: 1.8rem; }
  .text-link { font-size: .9rem; }
  .skip { position: fixed; left: 1rem; top: -10rem; z-index: 20; padding: 1rem; background: var(--gold); }
  .skip:focus { top: 1rem; }
}
@layer layout {
  .masthead { position: fixed; z-index: 10; top: 0; left: 0; right: 0; min-height: 88px; padding: 1.2rem 4vw; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  .wordmark { display: inline-flex; align-items: center; gap: .5rem; font: 600 1.7rem/1 var(--sans); letter-spacing: -.08em; text-decoration: none; }
  .wordmark-dot { color: #82691b; margin-left: -.5rem; }
  .release-pill { padding: .65rem 1.1rem; border: 1px solid #705b16; border-radius: 100px; background: var(--gold); color: #29250e; font-weight: 700; text-decoration: none; letter-spacing: .06em; text-align: center; }
  .source-link { font-size: .8rem; }
  main { padding-top: 88px; }
  .hero { position: relative; isolation: isolate; overflow: clip; padding: 3rem 7vw 0; min-height: calc(100svh - 88px); display: flex; flex-direction: column; justify-content: space-between; }
  .hero-top, .hero-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; }
  .hero-top { margin-bottom: 4rem; }
  .hero h1 { position: relative; z-index: 1; margin: 1rem 0 3.5rem; }
  .hero h1 em { color: #6b704f; }
  .policy-hero h1 { font-size: clamp(3rem, 6.2vw, 7rem); max-width: 75rem; }
  .policy-hero .hero-top { margin-bottom: 1.5rem; }
  .policy-pedestal { margin: 0 0 3rem; max-width: 72rem; }
  .policy-plaque { padding: clamp(1.5rem, 4vw, 4rem); border: 1px solid var(--ink); background: var(--paper); }
  .policy-plaque .eyebrow { color: var(--muted); }
  blockquote { margin: 0; }
  .policy-plaque blockquote { font: clamp(2rem, 3.8vw, 4.4rem)/1.2 var(--serif); letter-spacing: -.035em; }
  .policy-pedestal figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding: 1.2rem clamp(1.5rem, 4vw, 4rem); background: var(--gold); color: var(--ink); border: 1px solid var(--ink); border-top: 0; font-size: .85rem; }
  .policy-context { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 72rem; margin-bottom: 3rem; }
  .policy-context > div { border-top: 1px solid var(--line); padding-top: 1rem; }
  .policy-context h2 { font: 600 1rem/1.4 var(--sans); letter-spacing: 0; margin-bottom: .75rem; }
  .policy-context p { font-size: 1rem; }
  .policy-context a { display: inline-block; font-size: .85rem; margin-top: 1rem; }
  .agency { background: #e5e7d8; }
  .human-impact { border-bottom: 1px solid var(--line); }
  .standfirst { font: 1.6rem/1.3 var(--serif); }
  .hero-message { max-width: 36rem; min-width: 0; }
  .slogan-support { margin-top: 1rem; }
  .hero-bottom { padding-bottom: 3rem; }
  .hero-note { border-top: 1px solid var(--line); display: flex; gap: 3rem; padding: 1.4rem 0; }
  .orbit { position: absolute; z-index: -1; width: 48vw; height: 48vw; right: -4vw; top: 6rem; border: 1px solid #bcc0a9; border-radius: 50%; }
  .orbit-two { width: 35vw; height: 35vw; right: 2.5vw; top: 12rem; background: radial-gradient(circle at 40% 35%, #f0da84, #e4e5d0 60%, transparent 71%); border: none; }
  .section-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 3rem; padding: 8rem 7vw; }
  .section-grid > .eyebrow { padding-top: .75rem; }
  .prose { max-width: 49rem; }
  .prose p { margin-top: 1.6rem; font-size: 1.15rem; line-height: 1.85; }
  .prose h2 { margin-bottom: 2.5rem; }
  .prose .text-link { display: inline-block; margin-top: 2rem; }
  .interception { background: #e5e7d8; overflow: clip; }
  .interception .section-grid { padding-bottom: 3rem; }
  .intro { max-width: 36rem; margin-top: 2rem; }
  .prompt-scene { position: relative; isolation: isolate; min-height: 36rem; display: grid; grid-template-columns: 1fr .65fr 1fr; gap: 1rem; align-items: center; padding: 4rem 7vw 6rem; }
  .scene-orbit { position: absolute; z-index: -1; border: 1px solid #b1b69c; width: 58vw; height: 23rem; border-radius: 50%; top: 5rem; left: 21vw; transform: rotate(-15deg); }
  .prompt-card { background: var(--paper); border: 1px solid #bdc1ad; padding: 2rem; box-shadow: 0 18px 30px #2c34110a; }
  .draft { transform: rotate(-4deg) translateY(-1rem); }
  .outbound { transform: rotate(4deg) translateY(2rem); }
  .prompt-text { font: clamp(1.6rem, 2.5vw, 2.6rem)/1.5 var(--serif); letter-spacing: -.02em; }
  mark { background: #ebc4b3; color: inherit; padding: .05em .12em; }
  .outbound mark { background: #d4dfb6; }
  .card-caption { display: block; margin-top: 2rem; color: #595e50; letter-spacing: .04em; font-size: .6rem; }
  .local-filter { display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center; font-size: .75rem; }
  .local-filter strong { font-weight: 500; font-size: .9rem; }
  .scene-note { margin: 0 auto; max-width: 48rem; padding: 0 2rem 5rem; font-size: .85rem; text-align: center; }
  .principles { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .principles article { border-top: 1px solid var(--line); padding-top: 1rem; }
  .principles span { font: .75rem/1 var(--sans); color: var(--muted); }
  .principles h3 { margin: 1.4rem 0 1rem; }
  .principles p { font-size: .95rem; color: #52584c; }
  .privacy { border-top: 1px solid var(--line); }
  .installation { padding: 7rem 7vw 8rem; background: #272e24; color: var(--paper); }
  .installation h2 { margin-bottom: 3rem; }
  .install-panel { border: 1px solid #69715f; max-width: 65rem; padding: 2rem; }
  .install-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
  .install-heading span { color: #edcf71; font-size: .75rem; }
  #install-notice { font-size: .85rem; margin: 1rem 0 1.5rem; color: #edcf71; }
  pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #1a2118; padding: 1.5rem; font-size: .82rem; line-height: 1.9; }
  .install-detail { font-size: .8rem; max-width: 45rem; color: #c7ccbf; margin-top: 1.5rem; }
  .install-links { display: flex; align-items: center; gap: 2rem; margin-top: 2rem; }
  .button { background: var(--gold); color: #252923; text-decoration: none; padding: .9rem 1.4rem; font-size: .9rem; }
  .button span { margin-left: 2rem; }
  .installation :focus-visible { outline-color: var(--gold); }
  footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.5rem 7vw; font-size: .75rem; }
  .document { max-width: 60rem; margin: auto; padding: 6rem 2rem; }
  .document h1 { font-size: clamp(3rem, 7vw, 5.5rem); margin-bottom: 3rem; }
  .document h2 { font-size: 2.2rem; margin-top: 3rem; margin-bottom: 1rem; }
  .document table { border-collapse: collapse; font-size: .85rem; margin-top: 2rem; width: 100%; }
  .document th, .document td { border-bottom: 1px solid var(--line); padding: .75rem; text-align: left; }
  @media (max-width: 760px) {
    .masthead { padding: 1rem 5vw; min-height: 100px; flex-wrap: wrap; gap: .5rem; }
    .release-pill { font-size: .6rem; padding: .5rem .65rem; }
    .wordmark { font-size: 1.4rem; }
    .source-link { display: none; }
    main { padding-top: 100px; }
    .hero { min-height: calc(100svh - 100px); padding: 2rem 6vw 0; }
    .hero-top { margin-bottom: 2rem; }
    .edition { display: none; }
    .hero h1 { font-size: clamp(3.3rem, 12.2vw, 6rem); }
    .policy-hero h1 { font-size: clamp(2.4rem, 9vw, 4rem); }
    .policy-context { grid-template-columns: 1fr; gap: 2rem; }
    .policy-pedestal figcaption { flex-direction: column; }
    .hero-bottom { flex-direction: column; gap: 1.5rem; }
    .hero-note { gap: 1rem; justify-content: space-between; font-size: .55rem; }
    .orbit-one { width: 80vw; height: 80vw; right: -30vw; }
    .orbit-two { width: 65vw; height: 65vw; right: -20vw; top: 10rem; }
    .section-grid { grid-template-columns: 1fr; gap: 1rem; padding: 5rem 6vw; }
    .prompt-scene { grid-template-columns: 1fr; gap: 2.5rem; padding: 2rem 9vw 4rem; }
    .draft, .outbound { transform: none; }
    .scene-orbit { display: none; }
    .prompt-text { font-size: 2rem; }
    .principles { grid-template-columns: 1fr; }
    .installation { padding: 5rem 6vw; }
    .install-panel { padding: 1rem; }
    .install-heading { flex-direction: column; gap: .4rem; }
    pre { padding: 1rem; font-size: .75rem; }
    .install-links, footer { align-items: flex-start; flex-direction: column; }
    .document { padding: 4rem 6vw; }
  }
}
@layer motion {
  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) and (min-width: 761px) {
      .orbit-one { animation: orbit-drift linear both; animation-timeline: scroll(); }
      .orbit-two { animation: glow-drift linear both; animation-timeline: scroll(); }
      .draft { animation: draft-drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
      .outbound { animation: outbound-drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
      @keyframes orbit-drift { to { transform: translateY(30rem) rotate(30deg); } }
      @keyframes glow-drift { to { transform: translateY(55rem) scale(1.2); } }
      @keyframes draft-drift { from { transform: translateY(3rem) rotate(-6deg); } to { transform: translateY(-3rem) rotate(-2deg); } }
      @keyframes outbound-drift { from { transform: translateY(5rem) rotate(6deg); } to { transform: translateY(-5rem) rotate(2deg); } }
    }
  }
  @media print { .masthead { position: static; } main { padding-top: 0; } .orbit, .scene-orbit { display: none; } * { animation: none !important; transform: none !important; } }
}
