:root {
  color-scheme: light;
  --bg: #f6f4ef;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --paper: #fffefb;
  --text: #1b2130;
  --muted: #5f6878;
  --line: #dcd8cc;
  --navy: #22365c;
  --navy-deep: #15213a;
  --navy-soft: #e2e8f4;
  --brass: #a26e24;
  --brass-deep: #7d5213;
  --brass-soft: #f3e6cc;
  --teal: #2b6d67;
  --teal-soft: #dcecea;
  --red: #a9463a;
  --red-soft: #f6e0db;
  --mark: #fff0bf;
  --shadow: 0 28px 80px rgba(27, 33, 48, .14);
  --max: 1180px;
}

html[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0e1118;
  --surface: #151a24;
  --surface-strong: #1a2030;
  --paper: #1c2231;
  --text: #eceae3;
  --muted: #a5abb7;
  --line: #2d3546;
  --navy: #a9bde6;
  --navy-deep: #c5d4f2;
  --navy-soft: #1f2b44;
  --brass: #e2b566;
  --brass-deep: #f0cb88;
  --brass-soft: #3b3020;
  --teal: #86cbc3;
  --teal-soft: #193634;
  --red: #f09a8b;
  --red-soft: #432621;
  --mark: #4a3d18;
  --shadow: 0 30px 90px rgba(0, 0, 0, .4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; color: var(--text); background: var(--bg); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { color: inherit; font: inherit; }
[hidden] { display: none !important; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 14px; border-radius: 9px; color: #fff; background: var(--navy-deep); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
html[data-theme='dark'] .skip-link { color: #0e1118; }

/* Header */
.site-header { position: sticky; z-index: 80; top: 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(18px); }
.header-inner { display: flex; min-height: 78px; align-items: center; gap: 24px; }
.site-brand { display: inline-flex; min-width: max-content; align-items: center; gap: 11px; text-decoration: none; }
.site-brand-mark { display: grid; width: 44px; height: 44px; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-strong); box-shadow: 0 8px 24px rgba(27, 33, 48, .1); }
.site-brand-mark img { width: 39px; height: 39px; object-fit: contain; }
html[data-theme='dark'] .site-brand-mark img { filter: brightness(1.35) saturate(1.1); }
.site-brand-copy { display: grid; line-height: 1.1; }
.site-brand-copy strong { font-size: 16px; letter-spacing: -.025em; }
.site-brand-copy small { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 800; }
.top-nav { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; }
.top-nav a { color: var(--muted); font-size: 12px; font-weight: 800; text-decoration: none; }
.top-nav a:hover { color: var(--brass); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta { display: inline-flex; min-height: 42px; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; color: #fff; background: var(--navy-deep); font-size: 12px; font-weight: 850; text-decoration: none; box-shadow: 0 10px 24px rgba(21, 33, 58, .2); }
.header-cta:hover { background: var(--navy); }
html[data-theme='dark'] .header-cta { color: #0e1118; }

/* Application language bar (same markup and behaviour as index.html, built by lang.js) */
.pill-control { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .82); box-shadow: 0 10px 24px rgba(15, 23, 42, .08); backdrop-filter: blur(10px); color: var(--muted); font-size: 13px; font-weight: 800; }
html[data-theme='dark'] .pill-control { background: rgba(17, 24, 39, .82); }
.language-control { position: relative; z-index: 1; gap: 7px; }
.language-control.is-open { z-index: 3400; }
.language-select-wrap { position: relative; display: inline-flex; min-width: 0; align-items: center; gap: 7px; }
.language-select-wrap.is-open { z-index: 3200; }
.language-select-flag { width: 24px; height: 16px; flex: 0 0 24px; border: 1px solid rgba(15, 23, 42, .16); border-radius: 3px; object-fit: cover; box-shadow: 0 1px 3px rgba(15, 23, 42, .16); }
html[data-theme='dark'] .language-select-flag { border-color: rgba(226, 232, 240, .22); box-shadow: 0 1px 4px rgba(0, 0, 0, .36); }
.language-select-wrap > select:not(.language-select-native) { min-width: 116px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-strong); font-weight: 800; }
.pill-control select.language-select-native { position: absolute; width: 1px; min-width: 0; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); border: 0; opacity: 0; pointer-events: none; white-space: nowrap; }
.language-select-button { display: inline-flex; min-width: 176px; max-width: 240px; margin: 0; padding: 8px 12px; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: var(--surface-strong); direction: ltr; font: inherit; font-weight: 800; line-height: 1.2; cursor: pointer; }
.language-select-button:focus-visible, .language-select-option:focus-visible, .theme-toggle:focus-visible { outline: 3px solid color-mix(in srgb, var(--navy) 30%, transparent); outline-offset: 2px; }
.language-select-button-label { min-width: 0; overflow: hidden; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.language-select-arrow { width: 8px; height: 8px; margin-left: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; opacity: .68; transform: translateY(-2px) rotate(45deg); transition: transform .16s ease; }
.language-select-wrap.is-open .language-select-arrow { transform: translateY(2px) rotate(225deg); }
.language-select-menu { position: absolute; z-index: 3300; top: calc(100% + 8px); right: 0; width: max-content; min-width: 240px; max-width: min(320px, calc(100vw - 36px)); max-height: min(420px, calc(100vh - 120px)); overflow: auto; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-strong); box-shadow: 0 18px 42px rgba(15, 23, 42, .18); }
.language-select-menu[hidden] { display: none; }
.language-select-option { display: flex; width: 100%; min-height: 34px; padding: 8px 10px; align-items: center; gap: 9px; border: 0; border-radius: 8px; color: var(--text); background: transparent; direction: ltr; font: inherit; font-weight: 700; line-height: 1.25; text-align: left; cursor: pointer; }
.language-select-option:hover, .language-select-option.is-active { background: color-mix(in srgb, var(--navy) 10%, transparent); }
.language-select-option[aria-selected='true'] { color: var(--navy); background: color-mix(in srgb, var(--navy) 16%, transparent); }
.language-select-option-label { min-width: 0; overflow-wrap: anywhere; }
html[data-theme='dark'] .language-select-menu { box-shadow: 0 18px 42px rgba(0, 0, 0, .42); }
.theme-toggle { width: 42px; height: 42px; padding: 0; justify-content: center; cursor: pointer; }
.theme-toggle img { width: 20px; height: 20px; }
html[data-theme='dark'] .theme-toggle img { filter: invert(1) brightness(1.2); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr); min-height: 700px; align-items: center; gap: clamp(48px, 6vw, 90px); padding-top: 68px; padding-bottom: 92px; }
.hero-copy { position: relative; z-index: 2; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--brass-deep); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.hero-kicker span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #fff; background: var(--brass); font-family: Georgia, "Times New Roman", serif; font-size: 14px; letter-spacing: 0; }
html[data-theme='dark'] .hero-kicker span { color: #0e1118; }
.hero h1 { max-width: 660px; margin: 21px 0 23px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(50px, 6.2vw, 82px); font-weight: 500; line-height: .95; letter-spacing: -.055em; }
.hero h1 em { display: block; color: var(--brass); font-weight: 500; }
.hero-lead { max-width: 590px; margin: 0; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.66; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; padding: 12px 19px; border: 1px solid transparent; border-radius: 13px; cursor: pointer; font-size: 13px; font-weight: 850; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--navy-deep); box-shadow: 0 14px 30px rgba(21, 33, 58, .2); }
.button-primary:hover { background: var(--navy); }
html[data-theme='dark'] .button-primary { color: #0e1118; }
.button-quiet, .button-copy { border-color: var(--line); background: var(--surface-strong); }
.button-quiet:hover, .button-copy:hover { border-color: var(--brass); }
.button-large { min-height: 57px; padding-inline: 23px; white-space: nowrap; }
.assistant-state { display: flex; min-height: 20px; margin-top: 17px; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 720; }
.state-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brass) 15%, transparent); }
.assistant-state.is-ready .state-dot { background: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 16%, transparent); }
.assistant-state.is-unavailable { color: var(--red); }
.assistant-state.is-unavailable .state-dot { background: var(--red); }
[data-assistant-link][aria-disabled='true'], #openContractAssistant[aria-disabled='true'] { opacity: .55; pointer-events: none; box-shadow: none; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 9px 16px; margin: 17px 0 0; padding: 0; color: var(--muted); list-style: none; font-size: 11px; font-weight: 730; }
.hero-notes li { display: flex; align-items: center; gap: 6px; }
.hero-notes span { color: var(--teal); font-weight: 950; }

.hero-visual { position: relative; min-width: 0; margin: 0; padding: 26px 30px 46px; }
.hero-visual::before { position: absolute; z-index: -1; inset: 4% -8% -2% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(162, 110, 36, .2), rgba(34, 54, 92, .12) 50%, transparent 72%); content: ""; filter: blur(24px); }
.hero-paper { position: relative; display: grid; gap: 20px; max-width: 470px; margin-inline: auto; padding: 38px 40px 34px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); box-shadow: var(--shadow), 14px 14px 0 -1px color-mix(in srgb, var(--surface) 70%, var(--line)), 14px 14px 0 0 var(--line); transform: rotate(-1.6deg); }
.paper-heading { display: grid; justify-items: center; gap: 4px; padding-bottom: 18px; border-bottom: 1px double var(--line); text-align: center; }
.paper-heading small { color: var(--brass); font-size: 9px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.paper-heading strong { font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 600; letter-spacing: -.02em; }
.paper-heading span { color: var(--muted); font-size: 11px; font-style: italic; }
.paper-article { display: grid; gap: 7px; }
.paper-article b { color: var(--navy); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.paper-article i { font-family: Georgia, "Times New Roman", serif; font-size: 14px; font-weight: 600; }
.paper-line { display: block; height: 7px; border-radius: 4px; background: color-mix(in srgb, var(--muted) 20%, transparent); }
.paper-line.short { width: 58%; }
.paper-line.mid { width: 78%; }
.paper-signatures { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 14px; }
.paper-signatures span { padding-top: 8px; border-top: 1px solid var(--text); color: var(--muted); font-size: 10px; font-weight: 800; text-align: center; }
.chat-float { position: absolute; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface-strong) 95%, transparent); box-shadow: 0 20px 50px rgba(27, 33, 48, .18); backdrop-filter: blur(12px); }
.chat-question { top: 34%; left: -24px; width: min(330px, 74%); padding: 14px 16px; border-color: color-mix(in srgb, var(--navy) 30%, var(--line)); border-radius: 18px 18px 18px 4px; }
.chat-avatar { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border-radius: 13px; color: #fff; background: var(--navy-deep); }
html[data-theme='dark'] .chat-avatar { color: #0e1118; }
.chat-question > span:last-child { display: grid; }
.chat-question small { color: var(--navy); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.chat-question strong { margin-top: 2px; font-family: Georgia, "Times New Roman", serif; font-size: 15px; font-weight: 600; line-height: 1.3; }
.chat-answer { right: 0; bottom: 18%; max-width: 250px; padding: 11px 15px; border-radius: 18px 18px 4px 18px; color: #fff; background: var(--teal); border-color: transparent; font-size: 13px; font-weight: 700; }
html[data-theme='dark'] .chat-answer { color: #0e1118; }
.stamp-float { position: absolute; top: 0; right: 14px; display: grid; width: 96px; height: 96px; place-items: center; align-content: center; gap: 2px; border: 2px dashed var(--brass); border-radius: 50%; color: var(--brass-deep); background: color-mix(in srgb, var(--brass-soft) 85%, transparent); text-align: center; transform: rotate(11deg); }
.stamp-float strong { font-family: Georgia, "Times New Roman", serif; font-size: 26px; line-height: 1; }
.stamp-float span { max-width: 70px; font-size: 8px; font-weight: 900; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }

/* Sections */
.proof-strip { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); }
.proof-inner { display: flex; min-height: 58px; align-items: center; justify-content: center; gap: clamp(15px, 3vw, 34px); color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.proof-inner i { color: var(--brass); font-style: normal; }
.eyebrow { margin: 0 0 10px; color: var(--brass-deep); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.intro-section { padding-top: 100px; padding-bottom: 108px; }
.intro-layout { display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(360px, .73fr); align-items: end; gap: clamp(45px, 8vw, 105px); }
.intro-layout h2, .section-heading h2, .builder-heading h2, .how-heading h2, .faq-heading h2, .final-cta h2, .safety-section h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 4.8vw, 60px); font-weight: 500; line-height: 1.04; letter-spacing: -.04em; }
.intro-layout h2 em { display: block; color: var(--brass); font-weight: 500; }
.intro-layout p { margin: 0 0 5px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.intro-layout strong { color: var(--text); }

.types-section { padding: 105px 0 112px; border-block: 1px solid var(--line); background: var(--surface); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 42px; margin-bottom: 43px; }
.section-heading > div { max-width: 760px; }
.section-heading > p { max-width: 420px; margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.type-card { position: relative; display: block; min-height: 260px; overflow: hidden; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface-strong); text-decoration: none; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.type-card:hover { border-color: var(--card-color); box-shadow: 0 18px 40px rgba(27, 33, 48, .08); transform: translateY(-3px); }
.type-card::after { position: absolute; right: -36px; bottom: -52px; width: 130px; height: 130px; border-radius: 50%; background: var(--card-soft); content: ""; opacity: .7; }
.type-icon { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 44px; border-radius: 17px; color: var(--card-color); background: var(--card-soft); }
.type-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.type-number { position: absolute; top: 24px; right: 24px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.type-card h3 { position: relative; z-index: 1; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
.type-card p { position: relative; z-index: 1; margin: 11px 0 0; padding-right: 22px; color: var(--muted); font-size: 13px; }
.type-card i { position: absolute; z-index: 1; right: 24px; bottom: 20px; color: var(--card-color); font-size: 18px; font-style: normal; }
.tone-navy { --card-color: var(--navy); --card-soft: var(--navy-soft); }
.tone-teal { --card-color: var(--teal); --card-soft: var(--teal-soft); }
.tone-brass { --card-color: var(--brass); --card-soft: var(--brass-soft); }
.tone-red { --card-color: var(--red); --card-soft: var(--red-soft); }

/* Prompt builder */
.builder-section { padding: 112px 0; color: #f2efe6; background: #141d30; }
.builder-shell { display: grid; grid-template-columns: minmax(0, .76fr) minmax(560px, 1.24fr); align-items: start; gap: clamp(55px, 8vw, 100px); }
.builder-heading { position: sticky; top: 115px; }
.builder-heading .eyebrow { color: #e2b566; }
.builder-heading h2 { color: #f2efe6; }
.builder-heading > p:not(.eyebrow) { max-width: 450px; margin: 21px 0 0; color: #b6bfd0; font-size: 15px; line-height: 1.7; }
.privacy-note { display: flex; gap: 11px; margin-top: 29px; padding: 15px; border: 1px solid #33415f; border-radius: 15px; color: #c3cbda; background: #1a2540; font-size: 12px; }
.privacy-note > span:first-child { display: grid; width: 27px; height: 27px; flex: 0 0 auto; place-items: center; border-radius: 9px; color: #141d30; background: #e2b566; font-weight: 900; }
.prompt-builder { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 29px; border: 1px solid #33415f; border-radius: 27px; background: #1b2640; box-shadow: 0 28px 70px rgba(0, 0, 0, .25); }
.field { display: grid; min-width: 0; align-content: start; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field > label, .field legend { padding: 0; color: #f2efe6; font-size: 12px; font-weight: 850; }
.field textarea, .field select, .field input[type='text'] { width: 100%; border: 1px solid #3f4d6c; border-radius: 12px; color: #f2efe6; background: #141d30; outline: none; }
.field textarea { min-height: 72px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.field input[type='text'] { min-height: 48px; padding: 9px 13px; }
.field textarea::placeholder, .field input::placeholder { color: #7d889e; }
.field select { min-height: 48px; padding: 9px 37px 9px 12px; }
.field textarea:focus, .field select:focus, .field input[type='text']:focus { border-color: #e2b566; box-shadow: 0 0 0 3px rgba(226, 181, 102, .14); }
.field small { color: #8e99ae; font-size: 10px; }
.detail-options, .extra-options { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.detail-options legend, .extra-options legend { width: 100%; margin-bottom: 2px; }
.detail-options label { position: relative; flex: 1 1 110px; }
.extra-options label { position: relative; flex: 0 1 auto; }
.detail-options input, .extra-options input { position: absolute; opacity: 0; pointer-events: none; }
.detail-options span, .extra-options span { display: grid; min-height: 42px; padding: 8px 14px; place-items: center; border: 1px solid #3f4d6c; border-radius: 12px; color: #bcc5d5; background: #141d30; cursor: pointer; font-size: 12px; font-weight: 800; text-align: center; }
.extra-options span { border-radius: 999px; }
.extra-options span::before { content: "+ "; color: #7d889e; }
.detail-options input:focus-visible + span, .extra-options input:focus-visible + span { outline: 2px solid #e2b566; outline-offset: 2px; }
.detail-options input:checked + span { border-color: #e2b566; color: #141d30; background: #e2b566; }
.extra-options input:checked + span { border-color: #e2b566; color: #f5d9a4; background: rgba(226, 181, 102, .14); }
.extra-options input:checked + span::before { content: "✓ "; color: #e2b566; }
.prompt-preview { min-height: 170px; margin-top: 3px; padding: 17px 18px; border: 1px dashed #4a5877; border-radius: 16px; background: #141d30; }
.preview-label { display: flex; justify-content: space-between; gap: 15px; color: #e2b566; font-size: 9px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.preview-label span:last-child { color: #7d889e; }
.prompt-preview p { margin: 14px 0 0; color: #e8ebf1; font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.builder-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.builder-actions .button-primary { color: #141d30; background: #e2b566; box-shadow: none; }
.builder-actions .button-primary:hover { background: #efc883; }
.builder-actions .button-copy { border-color: #3f4d6c; color: #e8ebf1; background: #22304f; }
.copy-icon { font-size: 14px; }

/* Example contract */
.example-section { padding-top: 112px; padding-bottom: 118px; }
.contract-demo { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(290px, .7fr); gap: 17px; }
.contract-paper { padding: 44px 48px 40px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: 0 20px 65px rgba(27, 33, 48, .08); }
.contract-paper > header { display: grid; justify-items: center; gap: 4px; padding-bottom: 24px; border-bottom: 3px double var(--line); text-align: center; }
.contract-paper > header span { color: var(--brass); font-size: 10px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.contract-paper h3 { margin: 4px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 3vw, 38px); font-weight: 500; letter-spacing: -.03em; }
.contract-paper > header p { margin: 0; color: var(--muted); font-size: 13px; font-style: italic; }
.contract-articles { display: grid; gap: 22px; margin: 28px 0 0; padding: 0; list-style: none; }
.contract-articles h4 { margin: 0 0 7px; color: var(--navy); font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.contract-articles p { margin: 0 0 4px; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.6; }
.contract-articles mark { padding: 0 4px; border-radius: 4px; color: inherit; background: var(--mark); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 12px; font-weight: 800; }
.contract-paper > footer { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 44px; }
.contract-paper > footer div { display: grid; gap: 7px; text-align: center; }
.contract-paper > footer span { height: 1px; background: var(--text); }
.contract-paper > footer small { color: var(--muted); font-size: 11px; font-weight: 800; }
.side-output { display: grid; grid-template-rows: auto auto 1fr; gap: 13px; }
.side-output article { display: flex; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 21px; background: var(--surface); }
.mini-icon { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border-radius: 12px; color: var(--navy); background: var(--navy-soft); font-weight: 900; }
.side-output small { color: var(--brass-deep); font-size: 9px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.side-output h3 { margin: 4px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.15; }
.side-output p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.side-output > a { display: flex; min-height: 150px; align-items: flex-end; justify-content: space-between; gap: 15px; padding: 23px; border-radius: 21px; color: #fff; background: var(--navy-deep); font-family: Georgia, "Times New Roman", serif; font-size: 22px; line-height: 1.1; text-decoration: none; }
.side-output > a:hover { background: var(--navy); }
html[data-theme='dark'] .side-output > a { color: #0e1118; }

/* Steps, safety, FAQ */
.how-section { display: grid; grid-template-columns: minmax(0, .72fr) minmax(560px, 1.28fr); gap: clamp(55px, 8vw, 110px); padding-top: 112px; padding-bottom: 115px; border-top: 1px solid var(--line); }
.how-heading { position: sticky; top: 115px; align-self: start; }
.steps { display: grid; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 55px 1fr; gap: 20px; padding: 6px 0 33px; }
.steps li:not(:last-child) { margin-bottom: 27px; border-bottom: 1px solid var(--line); }
.steps li > span { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 50%; color: #fff; background: var(--navy-deep); font-family: Georgia, "Times New Roman", serif; font-size: 19px; }
.steps li:nth-child(even) > span { background: var(--brass); }
html[data-theme='dark'] .steps li > span { color: #0e1118; }
.steps h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 600; }
.steps p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }

.safety-section { padding: 105px 0 110px; color: #f2efe6; background: #1f1c17; }
.safety-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(560px, 1.28fr); gap: clamp(55px, 8vw, 110px); }
.safety-section .eyebrow { color: #e2b566; }
.safety-content > p { max-width: 700px; margin: 3px 0 27px; color: #bfbab0; font-size: 15px; line-height: 1.7; }
.safety-list { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.safety-list article { display: flex; min-height: 132px; gap: 12px; padding: 18px; border: 1px solid #423d33; border-radius: 17px; background: #29251f; }
.safety-list article > span { display: grid; width: 33px; height: 33px; flex: 0 0 auto; place-items: center; border-radius: 10px; color: #1f1c17; background: #e2b566; font-family: Georgia, "Times New Roman", serif; font-size: 14px; font-weight: 900; }
.safety-list h3 { margin: 0; font-size: 13px; }
.safety-list p { margin: 6px 0 0; color: #b8b3a9; font-size: 12px; }

.faq-section { display: grid; grid-template-columns: minmax(0, .65fr) minmax(560px, 1.35fr); gap: clamp(50px, 8vw, 110px); padding-top: 112px; padding-bottom: 112px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 17px; background: var(--surface-strong); }
.faq-list summary { position: relative; padding: 20px 56px 20px 20px; cursor: pointer; font-size: 14px; font-weight: 850; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 50%; right: 20px; color: var(--brass); content: "+"; font-family: Georgia, "Times New Roman", serif; font-size: 25px; transform: translateY(-50%); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 0; padding: 0 20px 20px; color: var(--muted); font-size: 13px; }

.final-cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; margin-bottom: 85px; padding: 49px; border: 1px solid color-mix(in srgb, var(--brass) 30%, var(--line)); border-radius: 29px; background: var(--brass-soft); }
.final-cta h2 { font-size: clamp(34px, 4.3vw, 54px); }
.final-cta p:not(.eyebrow) { max-width: 650px; margin: 16px 0 0; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 34px; padding-bottom: 28px; }
.footer-main nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 17px; }
.footer-main nav a { color: var(--muted); font-size: 12px; font-weight: 750; text-decoration: none; }
.footer-main nav a:hover { color: var(--brass); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 17px; padding-bottom: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

[dir='rtl'] .hero-kicker, [dir='rtl'] .hero-notes li, [dir='rtl'] .assistant-state { flex-direction: row-reverse; justify-content: flex-end; }
[dir='rtl'] .chat-question { right: -24px; left: auto; }
[dir='rtl'] .chat-answer { right: auto; left: 0; }
[dir='rtl'] .stamp-float { right: auto; left: 14px; }
[dir='rtl'] .type-number, [dir='rtl'] .type-card i { right: auto; left: 24px; }
[dir='rtl'] .type-card p { padding-right: 0; padding-left: 22px; }
[dir='rtl'] .faq-list summary { padding-right: 20px; padding-left: 56px; }
[dir='rtl'] .faq-list summary::after { right: auto; left: 20px; }

@media (max-width: 1180px) {
  .top-nav { display: none; }
  .header-actions { margin-inline-start: auto; }
}

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { width: min(100%, 600px); margin-inline: auto; }
  .type-grid { grid-template-columns: 1fr 1fr; }
  .builder-shell, .how-section, .safety-layout, .faq-section { grid-template-columns: 1fr; }
  .builder-heading, .how-heading { position: static; max-width: 750px; }
  .builder-shell { gap: 45px; }
  .how-section, .faq-section { gap: 42px; }
  .safety-layout { gap: 40px; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 70px; gap: 10px; }
  .site-brand-copy small, .header-cta, #languageSelectLabel { display: none; }
  .language-select-button { width: 56px; min-width: 0; padding: 8px 10px; }
  .language-select-button-label { display: none; }
  .language-select-menu { position: fixed; top: 72px; right: 12px; left: 12px; width: auto; max-width: none; }
  .hero { padding-top: 52px; padding-bottom: 72px; }
  .hero-visual { padding: 22px 6px 40px; }
  .hero-paper { padding: 30px 26px 28px; }
  .chat-question { left: -4px; }
  .proof-inner { justify-content: flex-start; overflow-x: auto; }
  .intro-section, .types-section, .builder-section, .example-section, .how-section, .safety-section, .faq-section { padding-top: 76px; padding-bottom: 78px; }
  .intro-layout { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .section-heading { display: grid; align-items: start; gap: 20px; margin-bottom: 31px; }
  .section-heading > p { max-width: none; }
  .prompt-builder { padding: 22px; }
  .contract-demo { grid-template-columns: 1fr; }
  .contract-paper { padding: 32px 26px 30px; }
  .side-output { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .side-output > a { grid-column: 1 / -1; min-height: 110px; }
  .final-cta { grid-template-columns: 1fr; margin-bottom: 55px; padding: 31px; }
  .final-cta .button { width: 100%; }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .footer-main nav { justify-content: flex-start; }
}

@media (max-width: 540px) {
  .hero h1 { font-size: clamp(42px, 12.5vw, 60px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-notes { display: grid; }
  .hero-paper { transform: none; }
  .chat-question { position: relative; top: auto; left: auto; width: 100%; margin-top: -18px; }
  [dir='rtl'] .chat-question { right: auto; }
  .chat-answer { bottom: -8px; }
  .stamp-float { top: 4px; right: -2px; width: 78px; height: 78px; }
  .type-grid, .prompt-builder, .safety-list { grid-template-columns: 1fr; }
  .type-card { min-height: 0; }
  .type-icon { margin-bottom: 28px; }
  .field-wide { grid-column: auto; }
  .builder-actions { align-items: stretch; flex-direction: column; }
  .builder-actions .button { width: 100%; }
  .contract-paper > footer { gap: 20px; }
  .side-output { grid-template-columns: 1fr; }
  .side-output > a { grid-column: auto; }
  .steps li { grid-template-columns: 46px 1fr; gap: 14px; }
  .steps li > span { width: 43px; height: 43px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .button:hover, .type-card:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .hero-actions, .assistant-state, .builder-section, .final-cta .button { display: none !important; }
  body { color: #000; background: #fff; }
  .hero, .intro-section, .types-section, .example-section, .how-section, .safety-section, .faq-section { padding-block: 28px; }
  .hero { min-height: 0; }
  .type-card, .contract-paper, .side-output article, .faq-list details { break-inside: avoid; box-shadow: none; }
  .safety-section { color: #000; background: #fff; }
  .safety-content > p, .safety-list p { color: #333; }
  .safety-list article { border-color: #bbb; background: #fff; }
}
