:root {
  --ink: #10191e;
  --ink-2: #18252a;
  --ink-3: #23343a;
  --paper: #f2e7c9;
  --paper-2: #e8d9b5;
  --bone: #fff8e9;
  --muted: #9da8a3;
  --teal: #357a78;
  --teal-light: #8fc1b5;
  --red: #d6534b;
  --red-dark: #9d302f;
  --line: rgba(242, 231, 201, .18);
  --line-dark: rgba(16, 25, 30, .18);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow: 0 26px 64px rgba(0, 0, 0, .22);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--bone); font-family: var(--sans); line-height: 1.5; overflow-x: hidden; }
body::selection { background: var(--red); color: var(--bone); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px; }
.site-noise { position: fixed; inset: 0; pointer-events: none; opacity: .055; z-index: 10; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }

.section-frame { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
.site-header { width: min(var(--max), calc(100% - 96px)); min-height: 84px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 11px; letter-spacing: -.02em; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.brand span { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.brand em { color: var(--red); font-family: var(--serif); font-style: italic; text-transform: none; font-size: 19px; margin: 0 2px; }
.site-nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .13em; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover { color: var(--bone); }
.site-nav .nav-cta { padding: 12px 16px; color: var(--bone); border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.site-nav .nav-cta:hover { border-color: var(--red); color: var(--bone); }
.menu-toggle, .site-nav-mobile { display: none; }

.hero { min-height: 700px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr); gap: 9vw; align-items: center; padding: 76px 0 94px; position: relative; }
.hero::before { content: ''; position: absolute; width: 44vw; height: 44vw; max-width: 680px; max-height: 680px; right: -20vw; top: 24%; background: radial-gradient(circle, rgba(53,122,120,.2), transparent 65%); filter: blur(8px); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 22px; font-size: 11px; line-height: 1; text-transform: uppercase; letter-spacing: .16em; color: var(--red); }
.eyebrow-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(214,83,75,.16); margin: 0 8px 1px 2px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; line-height: .96; }
h1 { font-size: clamp(52px, 6vw, 88px); max-width: 720px; margin-bottom: 28px; }
h1 em, h2 em { color: var(--paper-2); font-style: italic; }
.hero-lede { max-width: 500px; color: #c0c9c3; font-size: 17px; line-height: 1.7; margin-bottom: 31px; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-bottom: 60px; }
.button { border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 50px; padding: 0 22px; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--bone); background: var(--red); box-shadow: 0 12px 30px rgba(214,83,75,.2); }
.button-primary:hover { background: #e5665c; }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button-dark { color: var(--bone); background: var(--ink); }
.button-outline { color: var(--ink); border: 1px solid var(--line-dark); background: transparent; }
.button-outline:hover { border-color: var(--red-dark); color: var(--red-dark); }
.button-full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 700; border-bottom: 1px solid var(--red); padding-bottom: 5px; }
.text-link:hover { color: var(--red); }
.hero-meta { display: flex; gap: 28px; color: var(--muted); }
.hero-meta div { display: grid; gap: 2px; padding-right: 28px; border-right: 1px solid var(--line); }
.hero-meta div:last-child { border: 0; }
.hero-meta strong { color: var(--paper); font-family: var(--serif); font-size: 22px; font-weight: 400; }
.hero-meta span { text-transform: uppercase; font-size: 9px; letter-spacing: .15em; }

.hero-visual { width: min(100%, 560px); justify-self: end; position: relative; z-index: 1; padding: 28px 35px 32px; }
.hero-visual::before { content: ''; position: absolute; inset: 0 0 0 13%; background: rgba(53,122,120,.18); border: 1px solid rgba(143,193,181,.22); transform: rotate(3.3deg); }
.hero-visual::after { content: ''; position: absolute; inset: 14px 4% 12px 3%; border: 1px solid rgba(214,83,75,.42); transform: rotate(-2.2deg); pointer-events: none; }
.hero-file-card { background: var(--paper); color: var(--ink); position: relative; box-shadow: var(--shadow); transform: rotate(-1.2deg); z-index: 2; }
.file-card-top, .file-card-foot { display: flex; justify-content: space-between; padding: 13px 18px; text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 800; border-bottom: 1px solid var(--line-dark); }
.file-card-foot { border-top: 1px solid var(--line-dark); border-bottom: 0; justify-content: flex-start; gap: 9px; color: #5d6a63; }
.file-image-wrap { margin: 17px 17px 0; height: 245px; overflow: hidden; }
.file-image-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.8) contrast(1.05); }
.file-card-body { padding: 21px 22px 24px; }
.file-card-body .eyebrow { color: var(--red-dark); margin-bottom: 10px; }
.file-card-body h2 { font-size: 39px; margin-bottom: 22px; }
.file-card-line { display: flex; gap: 16px; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line-dark); font-size: 11px; }
.file-card-line span { color: #69776f; text-transform: uppercase; letter-spacing: .1em; font-size: 9px; }
.file-card-line strong { font-weight: 700; }
.hero-stamp { position: absolute; z-index: 4; right: -3px; top: 0; padding: 10px 13px; border: 2px solid var(--red); color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: .16em; transform: rotate(8deg); }
.hero-note { position: absolute; z-index: 4; padding: 11px 14px; background: var(--paper-2); color: var(--ink); font-size: 11px; box-shadow: 6px 8px 0 rgba(0,0,0,.15); }
.hero-note span { color: var(--red-dark); font-weight: 900; margin-right: 7px; }
.note-one { left: -8px; bottom: 106px; transform: rotate(-6deg); }
.note-two { right: -16px; bottom: 28px; transform: rotate(4deg); }

.marquee-strip { min-height: 47px; display: flex; align-items: center; justify-content: space-evenly; gap: 20px; padding: 0 24px; border-block: 1px solid var(--line); color: var(--paper-2); text-transform: uppercase; letter-spacing: .18em; font-size: 10px; overflow: hidden; white-space: nowrap; }
.marquee-strip span { color: var(--red); font-size: 14px; }

.intro { padding: 136px 0 132px; }
.section-kicker { display: flex; align-items: center; gap: 15px; color: var(--red); text-transform: uppercase; letter-spacing: .16em; font-size: 10px; font-weight: 800; margin-bottom: 45px; }
.section-kicker > span:first-child { font-family: var(--serif); font-size: 16px; font-weight: 400; }
.section-kicker .rule { height: 1px; flex: 0 0 54px; background: var(--red); opacity: .7; }
.section-kicker.light { color: var(--teal-light); }
.section-kicker.light .rule { background: var(--teal-light); }
.intro-grid { display: grid; grid-template-columns: .95fr 1fr; gap: 10vw; align-items: end; }
h2 { font-size: clamp(44px, 5vw, 72px); margin-bottom: 0; }
.intro-copy { max-width: 545px; color: #c0c9c3; font-size: 16px; line-height: 1.7; }
.intro-copy p { margin-bottom: 17px; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 75px; }
.principle-card { padding: 28px 26px 30px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); min-height: 240px; }
.principle-card.accented { background: var(--paper); color: var(--ink); border-top-color: var(--red); }
.principle-number { display: block; color: var(--red); font-family: var(--serif); font-size: 22px; margin-bottom: 39px; }
.principle-card h3 { font-family: var(--serif); font-size: 27px; font-weight: 400; margin-bottom: 10px; }
.principle-card p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.principle-card.accented p { color: #536159; }

.process-section, .demo-section { padding: 86px 5.5vw 97px; background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); width: 100%; }
.process-section > *, .demo-section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.process-heading, .demo-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 58px; }
.process-heading h2, .demo-heading h2 { color: var(--bone); }
.process-heading p, .demo-heading p { color: var(--muted); max-width: 270px; margin-bottom: 3px; font-size: 14px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.process-card { min-height: 310px; position: relative; padding: 25px 25px 24px; background: var(--ink-2); border-top: 2px solid transparent; transition: background .2s ease, transform .2s ease, border-color .2s ease; }
.process-card:hover { background: #203136; border-top-color: var(--red); transform: translateY(-5px); }
.process-card.reveal-card { background: var(--paper); color: var(--ink); }
.process-num { color: var(--teal-light); font-family: var(--serif); font-size: 18px; }
.process-card.reveal-card .process-num { color: var(--red-dark); }
.process-icon { margin-top: 37px; color: var(--red); font-family: var(--serif); font-size: 40px; line-height: 1; }
.process-card h3 { margin: 15px 0 10px; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.process-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.process-card.reveal-card p { color: #5c6a61; }
.process-tag { position: absolute; bottom: 24px; left: 25px; color: var(--teal-light); text-transform: uppercase; letter-spacing: .14em; font-size: 9px; }
.process-card.reveal-card .process-tag { color: var(--red-dark); }

.rules-section { padding: 136px 0 132px; }
.rules-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 10vw; align-items: center; }
.rules-copy > p { max-width: 420px; margin: 25px 0 35px; color: #c0c9c3; font-size: 16px; line-height: 1.7; }
.rule-quote { max-width: 420px; padding: 21px 0 0 20px; border-left: 2px solid var(--red); color: var(--paper-2); font-family: var(--serif); font-size: 18px; line-height: 1.4; }
.rule-quote span { display: block; margin-top: 12px; color: var(--muted); font-family: var(--sans); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.rules-table-wrap { background: var(--paper); color: var(--ink); padding: 27px; transform: rotate(1deg); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 13px; }
caption { text-align: left; font-family: var(--serif); font-size: 28px; margin-bottom: 20px; }
th { padding: 0 12px 12px 0; color: #6d796f; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 800; }
td { padding: 13px 12px 13px 0; border-top: 1px solid var(--line-dark); }
td:first-child { font-family: var(--serif); font-size: 18px; }
.rules-foot { display: flex; gap: 9px; align-items: center; margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line-dark); color: #6d796f; font-size: 11px; }
.red-mark { color: var(--red); }

.demo-section { background: #0e171b; padding-top: 90px; padding-bottom: 110px; }
.demo-heading { margin-bottom: 43px; }
.demo-label { color: var(--teal-light); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; display: flex; align-items: center; gap: 8px; }
.live-dot { width: 7px; height: 7px; display: inline-block; background: var(--teal-light); border-radius: 50%; box-shadow: 0 0 0 4px rgba(143,193,181,.12); }
.demo-shell { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.demo-bar { min-height: 54px; padding: 0 23px; display: flex; align-items: center; justify-content: space-between; background: var(--ink-3); color: var(--paper); text-transform: uppercase; letter-spacing: .14em; font-size: 9px; }
.demo-bar-id { display: flex; align-items: center; gap: 8px; }
.demo-bar-id strong { color: var(--teal-light); font-weight: 700; }
.demo-bar-status { color: var(--teal-light); }
.demo-reset { border: 0; background: none; padding: 8px; color: #aeb9b2; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; cursor: pointer; }
.demo-reset:hover { color: var(--bone); }
.phase-nav { min-height: 42px; padding: 0 23px; display: flex; align-items: center; gap: 25px; border-bottom: 1px solid var(--line-dark); color: #7f8b82; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; }
.phase { display: inline-flex; align-items: center; gap: 7px; }
.phase::before { content: ''; width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 50%; }
.phase.active { color: var(--red-dark); font-weight: 800; }
.phase.active::before { background: var(--red); border-color: var(--red); }
.demo-setup { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; padding: 54px; min-height: 340px; background: var(--paper); }
.demo-setup h3 { font-family: var(--serif); font-size: 43px; font-weight: 400; letter-spacing: -.04em; margin-bottom: 16px; }
.demo-setup .setup-copy > p:last-child { max-width: 400px; color: #647269; font-size: 15px; line-height: 1.7; }
.setup-controls { max-width: 400px; justify-self: end; width: 100%; }
.setup-controls label { display: flex; justify-content: space-between; margin-bottom: 8px; color: #657269; text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 800; }
.setup-controls output { color: var(--red-dark); font-family: var(--serif); font-size: 21px; letter-spacing: 0; }
input[type='range'] { accent-color: var(--red); width: 100%; margin: 10px 0 2px; cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; color: #8a978d; font-size: 10px; margin-bottom: 27px; }
select, textarea { width: 100%; border: 1px solid #c5b896; background: rgba(255,255,255,.28); color: var(--ink); padding: 13px 14px; border-radius: 0; }
.setup-controls select { margin-bottom: 22px; }
.setup-controls .button + .button { margin-top: 9px; }
.online-panel { grid-column: 1 / -1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 35px; align-items: center; margin-top: -7px; padding: 25px 28px; border-top: 1px solid #c5b896; border-bottom: 1px solid #c5b896; background: rgba(255,255,255,.22); }
.online-copy h3 { margin: 6px 0 7px; font-family: var(--serif); font-weight: 400; font-size: 28px; }
.online-copy p:last-child { max-width: 400px; color: #68756b; font-size: 12px; line-height: 1.55; }
.online-controls > label { display: block; margin-bottom: 7px; color: #657269; text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 800; }
.online-controls > input { width: 100%; border: 1px solid #c5b896; padding: 11px 12px; background: rgba(255,255,255,.35); color: var(--ink); }
.online-action-row { display: flex; gap: 9px; align-items: stretch; margin-top: 11px; }
.online-action-row > .button { white-space: nowrap; }
.online-join { display: flex; flex: 1; min-width: 0; gap: 7px; }
.online-join input { min-width: 0; width: 100%; border: 1px solid #c5b896; padding: 11px 12px; background: rgba(255,255,255,.35); color: var(--ink); text-transform: uppercase; letter-spacing: .16em; }
.online-room-status { min-height: 31px; margin-top: 13px; color: #68756b; font-size: 11px; }
.online-status-muted { color: #879288; }
.online-status-error { display: block; padding: 9px 11px; border-left: 2px solid var(--red); color: var(--red-dark); background: rgba(214,83,75,.1); }
.online-room-header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: #69766d; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.online-room-header strong { color: var(--red-dark); font-size: 14px; letter-spacing: .18em; }
.online-player-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 11px; }
.online-player-chip { padding: 5px 8px; background: rgba(255,255,255,.46); border: 1px solid #c5b896; color: #5d6b61; font-size: 10px; }
.online-room-status .button { padding: 9px 12px; font-size: 9px; }
.setup-generator { margin-top: 17px; padding: 11px 13px; border-left: 2px solid var(--red); background: rgba(214,83,75,.1); color: var(--red-dark); font-size: 11px; }
.setup-generator.error { color: var(--red-dark); }
.demo-body { min-height: 360px; }
.demo-intro { display: grid; grid-template-columns: 1fr 1fr; min-height: 360px; }
.demo-intro-visual { min-height: 360px; background: var(--ink); position: relative; overflow: hidden; }
.demo-intro-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .72; display: block; }
.demo-intro-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,25,30,.72), transparent); }
.demo-intro-note { position: absolute; left: 28px; bottom: 27px; z-index: 1; color: var(--paper); text-transform: uppercase; letter-spacing: .13em; font-size: 10px; }
.demo-intro-copy { padding: 47px; background: var(--paper); }
.demo-intro-copy h3, .phase-panel h3 { font-family: var(--serif); font-weight: 400; font-size: 39px; line-height: 1; margin: 9px 0 18px; letter-spacing: -.04em; }
.demo-intro-copy p { color: #627067; max-width: 450px; line-height: 1.7; }

.handoff-view { padding: 39px 47px 47px; }
.handoff-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 27px; }
.handoff-head h3 { margin: 0; font-family: var(--serif); font-size: 39px; font-weight: 400; }
.handoff-head p { max-width: 240px; margin: 0; color: #6c796f; font-size: 12px; line-height: 1.5; text-align: right; }
.role-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.role-tab { border: 1px solid #c7b98f; background: transparent; color: #647269; padding: 9px 12px; text-transform: uppercase; letter-spacing: .1em; font-size: 9px; cursor: pointer; }
.role-tab.active { background: var(--ink-3); color: var(--paper); border-color: var(--ink-3); }
.role-card { display: grid; grid-template-columns: 190px 1fr; min-height: 248px; background: #efe2bf; border: 1px solid #c5b896; }
.role-portrait { min-height: 248px; background: var(--ink-3); position: relative; overflow: hidden; }
.role-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.role-initials { height: 100%; display: grid; place-items: center; color: var(--paper); font-family: var(--serif); font-size: 56px; }
.role-details { padding: 24px 28px; }
.role-details .eyebrow { margin-bottom: 7px; }
.role-details h4 { margin: 0 0 8px; font-family: var(--serif); font-size: 31px; font-weight: 400; }
.role-details > p { color: #5d6a61; font-size: 13px; line-height: 1.65; margin-bottom: 20px; }
.private-lock { border-top: 1px solid #c5b896; padding-top: 14px; color: var(--red-dark); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.private-story { margin-top: 14px; padding: 14px; background: rgba(255,255,255,.32); color: #536159; font-size: 12px; line-height: 1.6; }
.handoff-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 19px; }

.investigate-view { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(260px, .87fr); gap: 0; }
.case-brief-panel { padding: 39px 39px 45px; border-right: 1px solid #c5b896; }
.case-brief-top { display: flex; gap: 23px; margin-bottom: 30px; }
.case-thumb { width: 170px; height: 145px; flex: 0 0 auto; overflow: hidden; background: var(--ink); }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-brief-top h3 { font-family: var(--serif); font-size: 34px; font-weight: 400; line-height: 1; margin: 7px 0 8px; }
.case-brief-top p { color: #647269; font-size: 12px; line-height: 1.5; }
.evidence-list { display: grid; gap: 9px; margin-bottom: 30px; }
.evidence-list div { display: flex; gap: 9px; color: #536159; font-size: 12px; }
.evidence-list div::before { content: '◆'; color: var(--red); font-size: 7px; padding-top: 4px; }
.question-box { padding: 20px; background: var(--ink-3); color: var(--paper); }
.question-meta { display: flex; justify-content: space-between; color: var(--teal-light); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; margin-bottom: 12px; }
.question-target { display: flex; align-items: baseline; gap: 9px; margin: 0 0 15px; padding: 9px 11px; border-left: 2px solid var(--red); background: rgba(255,255,255,.06); color: #aab7ae; }
.question-target span, .question-target small { color: #8da79a; text-transform: uppercase; letter-spacing: .1em; font-size: 8px; }
.question-target strong { color: var(--paper); font-family: var(--serif); font-size: 18px; font-weight: 400; }
.question-box label { display: block; color: #aab7ae; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; margin-bottom: 7px; }
.question-box textarea { min-height: 72px; border: 1px solid #4c6263; color: var(--paper); background: rgba(255,255,255,.06); resize: vertical; }
.question-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 12px; }
.question-actions .button { flex: 0 0 auto; }
.question-actions .button small { display: block; color: #f6b0a5; font-size: 8px; letter-spacing: .06em; text-transform: uppercase; }
.question-hint { color: #9aaca1; font-size: 10px; }
.answer-card { margin-top: 14px; padding: 16px; background: var(--paper-2); color: var(--ink); border-left: 3px solid var(--red); }
.answer-card strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 400; margin-bottom: 6px; }
.answer-card p { color: #5d6a61; font-size: 12px; margin: 0; }
.board-panel { padding: 39px 28px 45px; background: #e8d9b5; }
.board-panel h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; margin: 7px 0 8px; }
.board-panel > p { color: #647269; font-size: 12px; margin-bottom: 22px; }
.suspect-list { display: grid; gap: 9px; margin-bottom: 27px; }
.suspect-row { display: grid; grid-template-columns: 1fr auto; gap: 9px; align-items: center; padding: 10px 12px; background: rgba(255,255,255,.32); }
.suspect-row strong { font-family: var(--serif); font-size: 17px; font-weight: 400; }
.suspect-row small { display: block; color: #6d796f; text-transform: uppercase; letter-spacing: .09em; font-size: 8px; }
.suspicion-controls { display: flex; gap: 3px; }
.suspicion-controls button { min-width: 19px; padding: 4px 3px; border: 1px solid #b8ab86; background: transparent; color: #6e7a70; cursor: pointer; font-size: 9px; }
.suspicion-controls button.active { color: var(--paper); background: var(--teal); border-color: var(--teal); }
.note-panel { border-top: 1px solid #c5b896; padding-top: 19px; }
.note-panel label { display: block; color: #6d796f; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; margin-bottom: 7px; }
.note-row { display: flex; gap: 7px; }
.note-row input { min-width: 0; width: 100%; border: 1px solid #c5b896; padding: 9px; background: rgba(255,255,255,.35); }
.note-row button { border: 0; width: 40px; background: var(--teal); color: var(--paper); cursor: pointer; }
.pinned-notes { display: grid; gap: 5px; margin-top: 10px; }
.pinned-notes div { padding: 6px 8px; background: rgba(214,83,75,.12); border-left: 2px solid var(--red); color: #657269; font-size: 10px; }
.accuse-bar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 39px; border-top: 1px solid #c5b896; background: #dfcda5; }
.accuse-bar p { margin: 0; color: #5b685f; font-size: 12px; }

.accuse-view, .reveal-view { padding: 45px 54px 55px; }
.accuse-view h3, .reveal-view h3 { font-family: var(--serif); font-size: 43px; font-weight: 400; margin-bottom: 10px; }
.accuse-view > p, .reveal-view > p { color: #647269; max-width: 600px; }
.accusation-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin: 28px 0; }
.accusation-card { border: 1px solid #c5b896; background: rgba(255,255,255,.25); padding: 17px 14px; text-align: left; color: var(--ink); cursor: pointer; }
.accusation-card:hover, .accusation-card.selected { border-color: var(--red); background: rgba(214,83,75,.12); }
.accusation-card strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.accusation-card span { color: #6d796f; text-transform: uppercase; letter-spacing: .08em; font-size: 8px; }
.reveal-view { background: var(--ink-3); color: var(--paper); }
.reveal-result { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 36px; align-items: center; margin-top: 27px; }
.reveal-stamp { width: 164px; height: 164px; display: grid; place-items: center; border: 3px solid var(--red); border-radius: 50%; color: var(--red); text-align: center; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; font-size: 13px; transform: rotate(-8deg); }
.reveal-copy h4 { font-family: var(--serif); color: var(--paper); font-size: 30px; font-weight: 400; margin: 0 0 9px; }
.reveal-copy p { color: #b7c2ba; font-size: 13px; line-height: 1.7; }
.reveal-receipt { margin-top: 19px; padding: 16px; background: rgba(255,255,255,.06); border-left: 2px solid var(--teal-light); color: #b7c2ba; font-size: 12px; }
.reveal-receipt strong { color: var(--teal-light); }
.generator-status { margin: 22px 0 0; padding: 12px 14px; border-left: 2px solid var(--teal-light); color: #b7c2ba; background: rgba(255,255,255,.06); font-size: 11px; }
.generator-status.error { border-left-color: var(--red); color: #f0b2a9; }
.reveal-view .button { margin-top: 28px; }

.closing { padding: 150px 0 160px; text-align: center; position: relative; }
.closing .eyebrow { margin-bottom: 22px; }
.closing h2 { font-size: clamp(55px, 7vw, 100px); margin-bottom: 34px; }
.closing-stamp { position: absolute; right: 11%; top: 25%; border: 2px solid rgba(214,83,75,.7); color: rgba(214,83,75,.7); padding: 13px 16px; transform: rotate(11deg); font-weight: 900; letter-spacing: .14em; font-size: 11px; }
.site-footer { min-height: 85px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; }
.footer-brand img { width: 36px; height: 36px; }
.footer-brand span { color: var(--bone); font-size: 11px; }
.footer-meta { display: flex; gap: 18px; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; }

@media (max-width: 980px) {
  .section-frame, .site-header { width: min(var(--max), calc(100% - 48px)); }
  .hero { grid-template-columns: 1fr; gap: 42px; padding-top: 65px; }
  .hero-visual { justify-self: center; width: min(100%, 610px); }
  .hero-copy { max-width: 680px; }
  .principle-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .rules-grid { gap: 45px; }
  .process-section, .demo-section { padding-left: 24px; padding-right: 24px; }
  .investigate-view { grid-template-columns: 1fr; }
  .case-brief-panel { border-right: 0; border-bottom: 1px solid #c5b896; }
  .board-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .board-panel h3, .board-panel > p { grid-column: 1 / -1; }
  .note-panel { border-top: 0; border-left: 1px solid #c5b896; padding: 0 0 0 20px; }
  .accuse-bar { grid-column: auto; }
}

@media (max-width: 700px) {
  .section-frame, .site-header { width: min(var(--max), calc(100% - 34px)); }
  .site-header { min-height: 72px; }
  .site-nav { display: none; }
  .menu-toggle { display: block; border: 1px solid var(--line); background: transparent; color: var(--paper); padding: 10px 12px; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; }
  .site-nav-mobile { display: none; position: absolute; z-index: 15; top: 72px; left: 17px; right: 17px; padding: 10px; background: var(--ink-2); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav-mobile.open { display: grid; }
  .site-nav-mobile a { padding: 14px 11px; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; color: var(--paper); }
  .site-nav-mobile a:last-child { border: 0; color: var(--teal-light); }
  .brand span { font-size: 11px; }
  .hero { min-height: 0; padding: 58px 0 76px; }
  h1 { font-size: clamp(45px, 13vw, 68px); }
  .hero-lede { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 42px; }
  .hero-meta { gap: 15px; }
  .hero-meta div { padding-right: 15px; }
  .hero-visual { padding: 20px 24px 25px; }
  .file-image-wrap { height: 190px; }
  .file-card-body h2 { font-size: 30px; }
  .hero-note { font-size: 9px; padding: 8px; }
  .note-one { left: -3px; bottom: 85px; }
  .note-two { right: -4px; bottom: 18px; }
  .marquee-strip { justify-content: flex-start; width: max-content; min-width: 100%; font-size: 8px; gap: 12px; }
  .intro, .rules-section { padding: 88px 0; }
  .section-kicker { margin-bottom: 31px; }
  .intro-grid, .rules-grid { grid-template-columns: 1fr; gap: 30px; }
  .intro-copy { font-size: 15px; }
  .principle-grid, .process-grid { grid-template-columns: 1fr; margin-top: 45px; }
  .principle-card { min-height: 0; }
  .principle-number { margin-bottom: 23px; }
  .process-section, .demo-section { padding: 72px 17px 82px; }
  .process-heading, .demo-heading { display: block; margin-bottom: 37px; }
  .process-heading p, .demo-heading p { margin-top: 21px; }
  .process-card { min-height: 260px; }
  .rules-table-wrap { padding: 18px 14px; transform: none; overflow-x: auto; }
  .rules-copy > p { font-size: 15px; }
  .rule-quote { font-size: 16px; }
  .demo-label { margin-top: 22px; }
  .demo-bar { min-height: 63px; padding: 0 15px; gap: 10px; flex-wrap: wrap; }
  .demo-bar-status { display: none; }
  .phase-nav { overflow-x: auto; padding-inline: 15px; gap: 18px; white-space: nowrap; }
  .demo-setup { grid-template-columns: 1fr; gap: 30px; padding: 30px 20px 38px; }
  .demo-setup h3 { font-size: 36px; }
  .setup-controls { max-width: none; justify-self: stretch; }
  .online-panel { grid-template-columns: 1fr; gap: 20px; padding: 22px 0 0; }
  .online-action-row { display: grid; grid-template-columns: 1fr; }
  .online-join { display: grid; grid-template-columns: 1fr 1fr; }
  .demo-intro { grid-template-columns: 1fr; }
  .demo-intro-visual { min-height: 220px; }
  .demo-intro-copy { padding: 30px 20px 38px; }
  .demo-intro-copy h3, .phase-panel h3 { font-size: 34px; }
  .handoff-view, .accuse-view, .reveal-view { padding: 30px 20px 38px; }
  .handoff-head { display: block; }
  .handoff-head p { text-align: left; margin-top: 12px; }
  .role-card { grid-template-columns: 1fr; }
  .role-portrait { min-height: 150px; max-height: 185px; }
  .role-details { padding: 21px; }
  .case-brief-panel { padding: 28px 20px 33px; }
  .case-brief-top { display: block; }
  .case-thumb { width: 100%; height: 180px; margin-bottom: 20px; }
  .board-panel { display: block; padding: 28px 20px 34px; }
  .note-panel { border-top: 1px solid #c5b896; border-left: 0; padding: 19px 0 0; margin-top: 23px; }
  .accuse-bar { display: block; padding: 17px 20px 22px; }
  .accuse-bar p { margin-bottom: 14px; }
  .accusation-grid { grid-template-columns: repeat(2, 1fr); }
  .reveal-result { grid-template-columns: 1fr; }
  .reveal-stamp { width: 125px; height: 125px; font-size: 10px; }
  .closing { padding: 95px 0 115px; }
  .closing-stamp { top: 9%; right: 2%; transform: rotate(8deg) scale(.8); }
  .site-footer { padding: 25px 0; align-items: flex-start; flex-wrap: wrap; }
  .site-footer > p { order: 3; width: 100%; margin: 0; }
  .footer-meta { display: grid; gap: 4px; text-align: right; }
}


/* New Games menu and private local/online case flows */
.demo-setup.menu-home { display: block; padding: 48px 54px 42px; min-height: 0; }
.new-games-intro { max-width: 680px; margin: 0 auto 34px; text-align: center; }
.new-games-intro .eyebrow { margin-bottom: 12px; }
.new-games-intro h3 { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(42px, 5vw, 60px); font-weight: 400; letter-spacing: -.045em; }
.new-games-intro > p:last-child { color: #647269; margin: 0; }
.game-mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; max-width: 850px; margin: 0 auto; }
.game-mode-card { display: grid; min-height: 245px; padding: 23px 25px 21px; text-align: left; border: 1px solid #c5b896; border-top: 3px solid var(--red); background: rgba(255,255,255,.32); color: var(--ink); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.game-mode-card:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(16,25,30,.12); background: #fff8e9; }
.game-mode-card.online-mode-card { border-top-color: var(--teal); }
.game-mode-icon { color: var(--red-dark); font-family: var(--serif); font-size: 30px; line-height: 1; }
.online-mode-card .game-mode-icon { color: var(--teal); }
.game-mode-title { display: block; margin: 14px 0 8px; font-family: var(--serif); font-size: 30px; }
.game-mode-copy { display: block; max-width: 330px; color: #657269; font-size: 13px; line-height: 1.65; }
.game-mode-cta { display: flex; align-items: center; justify-content: space-between; align-self: end; margin-top: 19px; padding-top: 13px; border-top: 1px solid #c5b896; color: var(--red-dark); text-transform: uppercase; letter-spacing: .1em; font-size: 9px; font-weight: 800; }
.online-mode-card .game-mode-cta { color: var(--teal); }
.new-games-footnote { max-width: 850px; margin: 23px auto 0; padding-top: 17px; border-top: 1px solid #c5b896; color: #68756b; text-align: center; font-size: 11px; }
.new-games-footnote strong { color: var(--red-dark); }
.demo-setup:not(.menu-home) { grid-template-columns: .85fr 1.15fr; align-items: center; gap: 48px; padding: 32px 54px 48px; }
.back-link { grid-column: 1 / -1; justify-self: start; border: 0; border-bottom: 1px solid var(--red); padding: 0 0 5px; background: transparent; color: var(--red-dark); text-transform: uppercase; letter-spacing: .1em; font-size: 10px; font-weight: 800; cursor: pointer; }
.mode-setup-copy h3 { font-family: var(--serif); font-size: clamp(36px, 4vw, 50px); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; margin: 8px 0 15px; }
.mode-setup-copy h3 em { color: #88744d; font-style: italic; }
.mode-setup-copy > p:not(.eyebrow) { max-width: 470px; color: #647269; font-size: 14px; line-height: 1.7; }
.setup-facts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.setup-facts span { padding: 7px 9px; border: 1px solid #c5b896; color: #69766d; text-transform: uppercase; letter-spacing: .1em; font-size: 8px; }
.mode-setup-action { width: 100%; max-width: 520px; justify-self: end; }
.mode-setup-action > .button { margin-top: 11px; }
.mode-setup-action .setup-generator { margin: 0 0 14px; line-height: 1.65; }
.field-label { display: block; margin-bottom: 7px; color: #657269; text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 800; }
.mode-setup-action > input, .online-join input { width: 100%; border: 1px solid #c5b896; padding: 12px 13px; background: rgba(255,255,255,.42); color: var(--ink); }
.online-action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 11px; }
.online-action-row > .button { white-space: nowrap; }
.or-divider { color: #879288; text-transform: uppercase; letter-spacing: .1em; font-size: 8px; }
.online-join { display: flex; flex: 1 1 230px; gap: 7px; min-width: 0; }
.online-join input { min-width: 0; text-transform: uppercase; letter-spacing: .14em; }
.online-lobby { margin-top: 18px; padding: 14px; border: 1px solid #c5b896; background: rgba(255,255,255,.28); }
.online-lobby-hint { margin: 5px 0 12px; color: #68756b; font-size: 11px; line-height: 1.55; }
.online-lobby .online-player-list { margin: 11px 0; }
.online-lobby .button { width: 100%; }
.online-lobby .online-status-muted { display: block; margin-top: 9px; }
.button-dark:disabled, .button-outline:disabled { opacity: .45; cursor: not-allowed; }
.answer-guide { margin-top: 16px; padding: 14px; background: rgba(16,25,30,.05); border-left: 2px solid var(--teal); }
.answer-guide > strong { color: var(--ink); font-family: var(--serif); font-size: 18px; font-weight: 400; }
.answer-guide > p { margin: 5px 0 11px; color: #69766d; font-size: 11px; }
.answer-guide article { padding: 10px 0; border-top: 1px solid #c5b896; }
.answer-guide article label, .answer-edit-label { display: block; margin-bottom: 5px; color: #657269; text-transform: uppercase; letter-spacing: .08em; font-size: 9px; font-weight: 800; }
.answer-guide article p { margin: 0; color: #536159; font-size: 12px; }
.private-story > p { margin: 5px 0 12px; }
.answer-card .answer-edit-label { color: #536159; margin: 12px 0 6px; }
.answer-card textarea { width: 100%; min-height: 96px; padding: 11px; border: 1px solid #c5b896; background: rgba(255,255,255,.5); color: var(--ink); resize: vertical; }
.online-game-view { padding: 38px 46px 48px; background: var(--paper); }
.online-game-header { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid #c5b896; }
.online-game-header h3 { max-width: 700px; margin: 7px 0 11px; font-family: var(--serif); font-size: clamp(34px, 4vw, 48px); font-weight: 400; line-height: 1; }
.online-game-header p:not(.eyebrow) { color: #647269; font-size: 12px; line-height: 1.6; }
.online-role-stamp { align-self: start; flex: 0 0 auto; padding: 10px 12px; border: 2px solid var(--red); color: var(--red-dark); text-align: center; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; font-weight: 900; transform: rotate(4deg); }
.online-role-stamp small { display: block; margin-top: 3px; font-size: 7px; }
.online-case-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; padding: 23px 0; }
.online-case-grid h4, .online-private-panel h4 { margin: 5px 0 12px; font-family: var(--serif); font-size: 22px; font-weight: 400; }
.online-case-grid ul { display: grid; gap: 9px; margin: 0 0 22px; padding-left: 19px; color: #536159; font-size: 12px; }
.online-case-grid li::marker { color: var(--red); }
.online-case-grid .suspect-list { margin-bottom: 0; }
.online-case-grid .suspect-row { grid-template-columns: minmax(120px, .65fr) 1fr; }
.online-case-grid .suspect-row > span { color: #68756b; font-size: 10px; line-height: 1.5; }
.online-private-panel { padding: 19px; background: #e8d9b5; border-left: 2px solid var(--teal); }
.online-private-panel > p:not(.eyebrow) { color: #536159; font-size: 13px; line-height: 1.75; white-space: pre-line; }
.online-interaction { padding-top: 18px; border-top: 1px solid #c5b896; }
.online-interaction .question-box { max-width: 850px; }
.online-interaction .question-hint { display: block; margin: 8px 0 13px; }
.online-interaction .button { margin-top: 12px; }
.online-interaction textarea { display: block; width: 100%; margin: 7px 0; min-height: 95px; resize: vertical; }
.online-interaction .answer-card { max-width: 850px; }
.online-wait-card { max-width: 850px; padding: 17px 19px; border-left: 3px solid var(--teal); background: #e8d9b5; }
.online-wait-card strong { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.online-wait-card p { margin: 5px 0 0; color: #647269; font-size: 12px; }

@media (max-width: 700px) {
  .demo-setup.menu-home { padding: 34px 18px 30px; }
  .game-mode-grid { grid-template-columns: 1fr; }
  .game-mode-card { min-height: 220px; }
  .demo-setup:not(.menu-home) { grid-template-columns: 1fr; gap: 25px; padding: 28px 20px 34px; }
  .back-link { grid-column: 1; }
  .mode-setup-copy h3 { font-size: 39px; }
  .mode-setup-action { max-width: none; }
  .online-action-row { display: grid; grid-template-columns: 1fr; }
  .online-join { display: grid; grid-template-columns: 1fr auto; }
  .online-game-view { padding: 27px 19px 33px; }
  .online-game-header { display: block; }
  .online-role-stamp { display: inline-block; margin-bottom: 14px; }
  .online-case-grid { grid-template-columns: 1fr; gap: 20px; }
  .online-case-grid .suspect-row { grid-template-columns: 1fr; }
}

.file-image-placeholder { display: grid; place-items: center; position: relative; isolation: isolate; background: radial-gradient(ellipse at 50% 48%, rgba(143,193,181,.22), transparent 30%), linear-gradient(135deg, #18252a, #10191e 58%, #263237); }
.file-image-placeholder::before, .file-image-placeholder::after { content: ''; position: absolute; z-index: -1; width: 180px; height: 180px; border: 1px solid rgba(242,231,201,.22); border-radius: 50%; transform: rotate(-25deg) scaleX(.55); }
.file-image-placeholder::after { width: 125px; height: 125px; border-color: rgba(214,83,75,.7); transform: rotate(35deg) scaleX(.72); }
.file-image-placeholder span { color: rgba(242,231,201,.82); text-align: center; text-transform: uppercase; letter-spacing: .2em; font-family: var(--serif); font-size: 20px; line-height: 1.6; }
.case-mark { display: grid; place-items: center; color: var(--paper); background: radial-gradient(circle, #395456 0%, var(--ink-3) 67%); text-align: center; text-transform: uppercase; letter-spacing: .18em; font-family: var(--serif); font-size: 19px; line-height: 1.5; }


/* Bounded AI-story generation feedback */
.generation-progress { display: flex; align-items: center; gap: 12px; margin-top: 15px; padding: 13px 14px; border: 1px solid rgba(53, 122, 120, .35); background: rgba(53, 122, 120, .08); color: #334d49; font-size: 12px; line-height: 1.5; }
.generation-spinner { width: 17px; height: 17px; flex: 0 0 17px; border: 2px solid rgba(53, 122, 120, .25); border-top-color: var(--teal); border-radius: 50%; animation: case-spin .8s linear infinite; }
@keyframes case-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .generation-spinner { animation: none; border-style: dashed; } }


/* Public IP Rights Guide page */
.guide-page { min-height: 100vh; }
.guide-page .guide-header { position: relative; }
.guide-page .guide-nav { display: flex; gap: 18px; }
.guide-page .guide-nav .nav-cta { white-space: nowrap; }
.guide-main { padding-bottom: 72px; }
.guide-hero.section-frame { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; padding-top: 88px; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.guide-hero h1 { max-width: 850px; margin-bottom: 22px; font-size: clamp(54px, 7vw, 90px); }
.guide-deck { max-width: 720px; margin: 0; color: #c0c9c3; font-size: 17px; line-height: 1.7; }
.guide-date-stamp { display: grid; gap: 4px; min-width: 178px; margin-bottom: 8px; padding: 15px 17px; border: 2px solid var(--red); color: var(--paper); transform: rotate(2deg); text-align: center; text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 800; }
.guide-date-stamp strong { color: var(--red); font-family: var(--serif); font-size: 22px; font-weight: 400; letter-spacing: -.02em; text-transform: none; }
.guide-date-stamp small { color: var(--muted); font-size: 8px; font-weight: 500; }
.guide-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: start; gap: 26px; padding-top: 42px; }
.guide-toc { position: sticky; top: 24px; padding: 21px 17px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.guide-toc-title { margin: 0 0 12px; color: var(--teal-light); text-transform: uppercase; letter-spacing: .15em; font-size: 9px; font-weight: 800; }
.guide-toc nav { display: grid; }
.guide-toc nav a { padding: 10px 0; border-bottom: 1px solid var(--line); color: #d8ddcf; font-size: 12px; line-height: 1.45; }
.guide-toc nav a:hover, .guide-toc-game:hover { color: var(--teal-light); }
.guide-toc-game { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; color: var(--paper-2); text-transform: uppercase; letter-spacing: .1em; font-size: 9px; font-weight: 800; }
.guide-article { min-width: 0; overflow: hidden; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.guide-article p { color: #536159; font-size: 14px; line-height: 1.75; }
.guide-article p:last-child { margin-bottom: 0; }
.guide-article strong { color: var(--ink); }
.guide-disclaimer { display: flex; gap: 16px; align-items: flex-start; padding: 22px 27px; border-bottom: 1px solid #c5b896; border-left: 4px solid var(--red-dark); background: #e8d9b5; }
.guide-disclaimer-mark { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 27px; border: 1px solid var(--red-dark); border-radius: 50%; color: var(--red-dark); font-family: var(--serif); font-size: 18px; }
.guide-disclaimer strong { font-family: var(--serif); font-size: 19px; font-weight: 400; }
.guide-disclaimer p { margin: 5px 0 0; font-size: 12px; }
.guide-section { padding: clamp(26px, 4.2vw, 52px); scroll-margin-top: 20px; }
.guide-section-ruled { border-top: 1px solid #c5b896; }
.guide-section-label { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--red-dark); text-transform: uppercase; letter-spacing: .14em; font-size: 9px; font-weight: 800; }
.guide-section-label > span:first-child { font-family: var(--serif); font-size: 16px; font-weight: 400; }
.guide-section-label .rule { width: 38px; height: 1px; background: var(--red-dark); opacity: .65; }
.guide-section h2 { margin: 0 0 18px; color: var(--ink); font-size: clamp(36px, 4.5vw, 55px); line-height: 1.02; }
.guide-section h3 { color: var(--ink); font-family: var(--serif); font-size: 25px; font-weight: 400; letter-spacing: -.02em; }
.guide-intro { max-width: 760px; margin-bottom: 24px; font-size: 15px !important; }
.guide-rights-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 25px 0 22px; }
.guide-right-card { min-width: 0; padding: 20px 18px; border: 1px solid #c5b896; border-top: 3px solid var(--teal); background: rgba(255,255,255,.27); }
.guide-right-card-accent { border-top-color: var(--red); background: #fff8e9; }
.guide-card-index { display: block; margin-bottom: 15px; color: #69766d; text-transform: uppercase; letter-spacing: .12em; font-size: 8px; font-weight: 800; }
.guide-right-card h3 { margin: 0 0 8px; font-size: 25px; }
.guide-right-card p { margin: 0; font-size: 12px; line-height: 1.65; }
.guide-caution, .guide-mini-warning { margin-top: 17px; padding: 16px 18px; border-left: 3px solid var(--red-dark); background: #f0dfc3; }
.guide-caution strong, .guide-mini-warning strong { color: var(--red-dark); font-family: var(--sans); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.guide-caution p, .guide-mini-warning p { margin: 6px 0 0; font-size: 12px; }
.guide-section > p { margin: 17px 0 0; }
.guide-cite { display: inline-block; margin-left: 3px; color: var(--red-dark); font-size: .84em; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.guide-cite:hover { color: #6f1f21; }
.guide-cross-border-list { display: grid; gap: 0; margin-top: 24px; }
.guide-cross-border-list article { padding: 20px 0; border-top: 1px solid #c5b896; }
.guide-cross-border-list h3 { margin: 0 0 8px; }
.guide-cross-border-list p { margin: 7px 0 0; }
.guide-country-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 24px; }
.guide-country-card { min-width: 0; padding: 22px 20px; border: 1px solid #c5b896; background: rgba(255,255,255,.34); }
.guide-country-head { display: flex; align-items: center; gap: 12px; padding-bottom: 13px; border-bottom: 1px solid #c5b896; }
.guide-country-head > span { display: grid; place-items: center; width: 37px; height: 37px; flex: 0 0 37px; border: 1px solid var(--red-dark); color: var(--red-dark); font-family: var(--serif); font-size: 14px; }
.guide-country-head h3 { margin: 0; font-size: 23px; }
.guide-country-card ul { display: grid; gap: 12px; margin: 15px 0 0; padding-left: 17px; }
.guide-country-card li { padding-left: 1px; color: #536159; font-size: 12px; line-height: 1.7; }
.guide-country-card li::marker { color: var(--red-dark); }
.guide-country-card li strong { color: var(--ink); }
.guide-mini-warning { margin-top: 17px; padding: 13px; }
.guide-mini-warning p { font-size: 11px; }
.guide-patent-alert { border-top: 1px solid #d2a796; border-bottom: 1px solid #d2a796; background: #efd5c4; }
.guide-patent-alert .guide-section-label { color: var(--red-dark); }
.guide-patent-alert .guide-alert-kicker { margin: 0 0 9px; color: var(--red-dark); text-transform: uppercase; letter-spacing: .15em; font-size: 9px; font-weight: 900; }
.guide-patent-alert h2 { max-width: 780px; }
.guide-patent-alert p { color: #564744; }
.guide-patent-alert strong { color: #752526; }
.guide-action-list { display: grid; gap: 0; margin: 24px 0 0; padding: 0; list-style: none; }
.guide-action-list li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 13px; padding: 17px 0; border-top: 1px solid #c5b896; }
.guide-action-list li > span { color: var(--red-dark); font-family: var(--serif); font-size: 20px; }
.guide-action-list li strong { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.guide-action-list li p { margin: 5px 0 0; font-size: 12px; }
.guide-sources { background: #ede0c2; }
.guide-sources-intro { margin-bottom: 20px !important; }
.guide-source-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 25px; margin: 0; padding: 0; list-style: none; }
.guide-source-list li { display: flex; align-items: flex-start; gap: 8px; padding: 10px 0; border-top: 1px solid #c5b896; scroll-margin-top: 24px; color: #536159; font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; }
.guide-source-list li > span:first-child { flex: 0 0 auto; color: var(--red-dark); font-weight: 900; }
.guide-source-list a { color: #235d5b; text-decoration: underline; text-underline-offset: 2px; }
.guide-source-list a:hover { color: var(--red-dark); }
.guide-updated-note { margin-top: 22px !important; padding-top: 15px; border-top: 1px solid #c5b896; font-size: 11px !important; }
.guide-back-to-top { display: flex; justify-content: space-between; gap: 18px; padding: 25px clamp(26px, 4.2vw, 52px); border-top: 1px solid #c5b896; background: #e8d9b5; }
.guide-back-to-top .text-link { color: var(--ink); }
.guide-footer .footer-meta { display: flex; gap: 18px; }
.guide-footer .footer-meta a { color: var(--paper-2); font-size: 10px; }
.guide-footer .footer-meta a:hover { color: var(--teal-light); }

@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 175px minmax(0, 1fr); gap: 17px; }
  .guide-rights-grid { grid-template-columns: 1fr; }
  .guide-right-card { padding: 17px; }
}
@media (max-width: 700px) {
  .guide-page .site-nav { display: flex; gap: 8px; }
  .guide-page .guide-nav a:first-child { display: none; }
  .guide-page .guide-nav .nav-cta { padding: 10px 11px; font-size: 8px; }
  .guide-hero.section-frame { display: block; padding-top: 58px; padding-bottom: 36px; }
  .guide-hero h1 { font-size: clamp(45px, 12vw, 67px); }
  .guide-deck { font-size: 15px; }
  .guide-date-stamp { width: max-content; min-width: 160px; margin: 25px 0 5px 5px; }
  .guide-layout { grid-template-columns: 1fr; gap: 15px; padding-top: 18px; }
  .guide-toc { position: static; padding: 16px; }
  .guide-toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 13px; }
  .guide-toc nav a { font-size: 11px; }
  .guide-article { overflow-wrap: anywhere; }
  .guide-disclaimer { padding: 17px 16px; gap: 11px; }
  .guide-section { padding: 28px 18px; }
  .guide-section h2 { font-size: clamp(35px, 9vw, 46px); }
  .guide-country-grid, .guide-source-list { grid-template-columns: 1fr; }
  .guide-country-card { padding: 18px 16px; }
  .guide-country-head h3 { font-size: 21px; }
  .guide-back-to-top { flex-direction: column; align-items: flex-start; padding: 20px 18px; }
  .guide-footer { gap: 15px; }
  .guide-footer .footer-meta { width: 100%; justify-content: flex-start; text-align: left; }
}
