:root {
  color-scheme: light;
  --ink: #061b2c;
  --navy: #082941;
  --blue: #0e6580;
  --teal: #20a5bb;
  --orange: #f39847;
  --paper: #f7f4ed;
  --white: #fffefb;
  --muted: #60707b;
  --line: #d7d9d8;
  --shadow: 0 24px 70px rgba(6, 27, 44, .12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.58; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 99; background: var(--white); padding: .7rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.site-header { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 1rem clamp(1.25rem, 5vw, 5rem); background: var(--white); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: .75rem; align-items: center; text-decoration: none; letter-spacing: .06em; line-height: 1; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: var(--white); background: var(--navy); border-radius: 10px; font-size: 1.4rem; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .9rem; }
.brand small { color: var(--muted); font-size: .68rem; margin-top: .34rem; letter-spacing: .19em; }
.site-header nav { display: flex; align-items: center; gap: 1.6rem; font-size: .88rem; }
.site-header nav a, .link-button { text-decoration: none; border: 0; background: none; color: var(--ink); padding: .5rem 0; cursor: pointer; border-bottom: 1px solid transparent; }
.site-header nav a:hover, .site-header nav a:focus-visible, .link-button:hover, .link-button:focus-visible { border-color: var(--orange); }
.site-header form { margin: 0; }
main { min-height: calc(100vh - 172px); }
footer { min-height: 84px; padding: 1.4rem clamp(1.25rem, 5vw, 5rem); display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--white); border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; letter-spacing: .03em; }
footer p { margin: 0; }
footer div { display: flex; gap: 1.3rem; }
.eyebrow { color: #a15430; font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.access-shell { min-height: calc(100vh - 172px); padding: clamp(2.5rem, 7vw, 7rem) clamp(1.25rem, 8vw, 9rem); display: grid; grid-template-columns: minmax(320px, 520px) minmax(280px, 1fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; background: radial-gradient(circle at 80% 10%, rgba(32,165,187,.12), transparent 31%), var(--paper); }
.access-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(2rem, 5vw, 3.5rem); }
.step-dot { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: Georgia, serif; }
.access-card h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.3vw, 3rem); line-height: 1.06; margin: .7rem 0 1.2rem; letter-spacing: -.025em; }
.access-card > p:not(.eyebrow) { color: #31444f; }
.access-form { margin-top: 1.5rem; }
.access-form label { display: block; font-weight: 750; margin-bottom: .45rem; }
.access-form input { width: 100%; min-height: 54px; border: 1px solid #aeb8bd; border-radius: 12px; padding: .8rem 1rem; letter-spacing: .08em; text-transform: uppercase; background: #fff; }
.access-form input:focus { outline: 3px solid rgba(32,165,187,.25); border-color: var(--blue); }
.primary { width: 100%; min-height: 54px; border: 0; border-radius: 999px; margin: 1rem 0 .6rem; background: linear-gradient(100deg, var(--navy), var(--blue)); color: white; font-weight: 800; cursor: pointer; }
.primary:hover { background: linear-gradient(100deg, var(--blue), var(--teal)); }
.access-form small { display: block; color: var(--muted); }
.alert { padding: .8rem 1rem; margin-top: 1rem; border-left: 4px solid #b53d2a; background: #fff0ed; color: #7d2418; }
.access-intro h2 { max-width: 760px; margin: .7rem 0 1.4rem; font-family: Georgia, serif; font-weight: 600; font-size: clamp(1.75rem, 2.9vw, 2.75rem); line-height: 1.12; letter-spacing: -.02em; }
.access-intro > p:not(.eyebrow) { max-width: 680px; font-size: 1.12rem; color: #3b4c57; }
.principles { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.principles span { border: 1px solid rgba(8,41,65,.2); border-top: 3px solid var(--orange); background: rgba(255,255,255,.65); padding: .65rem 1rem; font-weight: 700; }
.catalogue-hero { padding: clamp(3rem, 8vw, 7rem) clamp(1.25rem, 8vw, 9rem); color: white; background: radial-gradient(circle at 82% 20%, rgba(32,165,187,.24), transparent 30%), linear-gradient(135deg, #031827, #092f49 65%, #0c4156); }
.catalogue-hero .eyebrow { color: var(--orange); }
.catalogue-hero h1 { max-width: 1000px; margin: .8rem 0 1.5rem; font-size: clamp(2.2rem, 4vw, 3.75rem); line-height: 1.06; letter-spacing: -.035em; }
.catalogue-hero h1 em { color: var(--orange); font-style: normal; }
.catalogue-hero > p:not(.eyebrow) { max-width: 780px; color: #d8e4ea; font-size: 1.12rem; }
.how { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.3rem; }
.how span { padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.how b { color: var(--orange); margin-right: .5rem; }
.catalogue { padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 8vw, 9rem); }
.section-heading h2 { margin: 0 0 2rem; font-family: Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.65rem); line-height: 1.12; }
.catalogue ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.prompt-card { min-height: 185px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem; text-decoration: none; border: 1px solid var(--line); border-top: 4px solid var(--blue); background: var(--white); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.prompt-card:hover, .prompt-card:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(6,27,44,.1); border-top-color: var(--orange); outline: none; }
.prompt-card > span { color: #a15430; font-size: .72rem; font-weight: 800; letter-spacing: .13em; }
.prompt-card strong { font-family: Georgia, serif; font-size: 1.48rem; line-height: 1.16; }
.prompt-card small { color: var(--blue); font-weight: 750; }
.prompt-page { max-width: 1080px; margin: 0 auto; padding: clamp(2rem, 6vw, 5rem) 1.25rem; }
.breadcrumb { display: flex; gap: .7rem; color: var(--muted); font-size: .86rem; margin-bottom: 3rem; }
.prompt-page header { max-width: 850px; }
.prompt-page h1 { font-family: Georgia, serif; font-size: clamp(1.9rem, 3.4vw, 3.15rem); line-height: 1.1; letter-spacing: -.025em; margin: .6rem 0 1.3rem; }
.prompt-page header > p:not(.eyebrow) { max-width: 760px; color: #40535d; font-size: 1.08rem; }
.prompt-toolbar { margin-top: 2.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; background: var(--navy); color: #dce8ed; border-radius: 12px 12px 0 0; font-size: .78rem; }
.copy-button { border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: .65rem 1rem; color: white; background: transparent; font-weight: 800; cursor: pointer; }
.copy-button:hover, .copy-button:focus-visible, .copy-button.copied { color: var(--ink); background: var(--orange); border-color: var(--orange); }
.prompt-text { display: block; width: 100%; height: min(62vh, 720px); resize: vertical; border: 1px solid #b9c0c3; border-top: 0; border-radius: 0 0 12px 12px; background: #fff; color: #172b36; padding: clamp(1rem, 3vw, 2rem); font: .94rem/1.58 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; }
.prompt-text:focus { outline: 3px solid rgba(32,165,187,.25); }
.copy-status { min-height: 1.5rem; color: var(--blue); font-size: .86rem; }
.step-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.step-nav a { display: flex; flex-direction: column; padding: 1rem; text-decoration: none; border-top: 1px solid var(--line); }
.step-nav a.next { text-align: right; }
.step-nav span { color: var(--muted); font-size: .78rem; }
.step-nav strong { margin-top: .35rem; }
.prose { max-width: 850px; margin: 0 auto; padding: clamp(3rem, 7vw, 7rem) 1.25rem; }
.prose h1 { margin: .7rem 0 2rem; font-family: Georgia, serif; font-size: clamp(1.9rem, 3.3vw, 3rem); line-height: 1.1; letter-spacing: -.025em; }
.prose h2 { margin-top: 2.6rem; font-family: Georgia, serif; font-size: 2rem; }
.reading-steps { padding: 0; list-style: none; }
.reading-steps li { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.07rem; }
.reading-steps b { color: var(--orange); margin-right: .7rem; }
.note { margin-top: 2.5rem; padding: 1.3rem 1.5rem; border-left: 4px solid var(--teal); background: var(--white); }
.primary-link { display: inline-block; padding: .8rem 1rem; border-radius: 999px; background: var(--navy); color: white; text-decoration: none; font-weight: 750; }
@media (max-width: 780px) {
  .site-header { align-items: flex-start; }
  .site-header nav { flex-direction: column; align-items: flex-end; gap: .15rem; }
  .access-shell { grid-template-columns: 1fr; }
  .access-intro { order: -1; }
  .catalogue ol { grid-template-columns: 1fr; }
  .prompt-toolbar { align-items: stretch; flex-direction: column; }
  .copy-button { width: 100%; }
  footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .brand strong { font-size: .76rem; }
  .site-header nav a:nth-child(2) { display: none; }
  .access-card { border-radius: 18px; }
  .step-nav { grid-template-columns: 1fr; }
  .step-nav a.next { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
