/* patent.org · sibling of the patentlitigator design system (2026-08-29)
   Distinct patent practice design; navy, white, and blue. Single light theme. */

:root {
  --paper: #ffffff;
  --card: #ffffff;
  --panel: #eef3f8;
  --ink: #101e32;
  --body: #35465c;
  --muted: #52647a;
  --faint: #5b6c80;
  --hair: #dce4ed;
  --hair2: #c8d4e2;
  --accent: #145ea8;
  --accent-deep: #103f72;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Archivo", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
}

/* Below 1024px the header wraps to two or three rows (145 to 194px). Sticky between 681px
   and 1023px, it covered up to half of a phone held sideways (844 x 390) and keyboard focus
   landed behind it (WCAG 2.4.11), so it scrolls away there and on short screens. Where it
   stays sticky, scroll-padding keeps focused and linked-to content clear of it, even if the
   web fonts fail and the header wraps to two rows. */
@media (max-width: 1023px), (max-height: 599px) {
  .site-header { position: static; }
}
@media (min-width: 1024px) and (min-height: 600px) {
  html { scroll-padding-top: 160px; }
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-top: 15px;
  padding-bottom: 15px;
  flex-wrap: wrap;
}

.wordmark {
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
}
.wordmark em { color: var(--accent); font-style: normal; }
.wordmark:hover { color: var(--ink); }

.site-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--paper);
  border: none;
  font: 600 13.5px var(--sans);
  padding: 11px 18px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--accent-deep); color: var(--paper); }
.site-header .btn { margin-left: auto; }

/* ---------- Front page ---------- */

.front-hero { padding: 46px 0 12px; }
.front-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.front-hero h1 {
  margin: 10px 0 10px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.005em;
  max-width: 24ch;
  text-wrap: balance;
}
.front-hero p { color: var(--muted); font-size: 16px; max-width: 58ch; margin: 0; }

.featured {
  margin: 30px 0 8px;
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: 30px 34px;
}
.featured .kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.featured h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 33px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.featured h2 a { color: var(--ink); text-decoration: none; }
.featured h2 a:hover { color: var(--accent); }
.featured p { font-family: var(--serif); font-size: 17.5px; color: var(--body); line-height: 1.55; margin: 0 0 14px; max-width: 72ch; }
.featured .byline { font-size: 12.5px; color: var(--faint); }

.section-decks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 26px 0 40px;
}
.deck { border-top: 3px solid var(--accent); padding-top: 14px; }
.deck-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.deck-name a { color: var(--ink); text-decoration: none; }
.deck-name a:hover { color: var(--accent); }
.deck-blurb { font-size: 12.5px; color: var(--faint); margin: 0 0 14px; line-height: 1.5; }
.deck-post { padding: 10px 0; border-top: 1px solid var(--hair); }
.deck-post h3 {
  margin: 0 0 5px;
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.3;
}
.deck-post h3 a { color: var(--ink); text-decoration: none; }
.deck-post h3 a:hover { color: var(--accent); }
.deck-post p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.deck-empty { font-size: 12.5px; color: var(--faint); font-style: italic; padding: 10px 0; border-top: 1px solid var(--hair); }

/* ---------- Section index and cards ---------- */

.section-index { max-width: 780px; margin: 0 auto; padding: 46px 0 40px; }
.section-index > h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.section-index .lede { color: var(--muted); font-size: 15px; margin: 0 0 26px; }

.list-item { padding: 20px 0; border-bottom: 1px solid var(--hair); }
.list-item .kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.list-item h2 { margin: 0 0 8px; font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.25; }
.list-item h2 a { color: var(--ink); text-decoration: none; }
.list-item h2 a:hover { color: var(--accent); }
.list-item p { margin: 0 0 8px; font-family: var(--serif); font-size: 15.5px; color: var(--body); line-height: 1.55; }
.list-item .byline { font-size: 12.5px; color: var(--faint); }

/* ---------- Article ---------- */

.article { max-width: 720px; margin: 0 auto; padding: 48px 0 24px; }

.article-kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.article h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.16;
  font-weight: 600;
  margin: 0 0 16px;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.standfirst {
  font-family: var(--serif);
  font-size: 18.5px;
  line-height: 1.5;
  color: var(--body);
  margin: 0 0 16px;
}

.byline {
  font-size: 12.5px;
  color: var(--faint);
  margin-bottom: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hair);
}

.article-body { font-family: var(--serif); font-size: 17px; line-height: 1.65; color: #2e2922; }
.article-body p { margin: 0 0 18px; }
.article-body h2 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  margin: 30px 0 10px;
  letter-spacing: -0.005em;
}

.sources { margin-top: 28px; border-top: 1px solid var(--hair); padding-top: 16px; }
.sources h2 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 10px;
}
.sources ul { margin: 0; padding-left: 18px; }
.sources li { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-bottom: 6px; }

.disclaimer-box {
  margin-top: 28px;
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 16px 20px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--faint);
  line-height: 1.6;
}

/* ---------- Services and contact ---------- */

.page { max-width: 780px; margin: 0 auto; padding: 48px 0 40px; }
.page > h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.page .lede { color: var(--muted); font-size: 15.5px; margin: 0 0 26px; max-width: 60ch; }

.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
.svc-card { background: var(--card); border: 1px solid var(--hair); border-radius: 12px; padding: 20px 22px; }
.svc-card h2 { margin: 0 0 6px; font-size: 15.5px; font-weight: 700; }
.svc-card p { margin: 0; font-size: 13.5px; color: var(--body); line-height: 1.55; }

.contact-card { background: var(--card); border: 1px solid var(--hair); border-radius: 12px; padding: 26px 28px; }
.contact-row { display: flex; gap: 14px; padding: 9px 0; font-size: 15px; align-items: baseline; }
.contact-row .label {
  width: 90px;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.contact-note { font-size: 13px; color: var(--muted); margin: 16px 0 0; line-height: 1.55; }

/* ---------- Sister strip and footer ---------- */

.sister-strip {
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: var(--panel);
  padding: 18px 24px;
  margin: 0 0 40px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.sister-strip p { margin: 0; font-size: 14px; color: var(--body); }
.sister-strip a { font-weight: 600; }

.site-footer { border-top: 1px solid var(--hair); margin-top: 10px; }
.site-footer .wrap {
  display: flex;
  gap: 40px;
  padding-top: 26px;
  padding-bottom: 34px;
  flex-wrap: wrap;
}
.site-footer .wordmark { font-size: 12px; flex-shrink: 0; }
.site-footer p {
  color: #9a917f;
  font-size: 11.5px;
  max-width: 62ch;
  margin: 0;
  line-height: 1.6;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .section-decks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { position: static; }
  .front-hero { padding-top: 32px; }
  .featured { padding: 22px 20px; }
  .section-decks { grid-template-columns: 1fr; }
  .site-header .wrap { gap: 12px; }
  .site-header .btn { margin-left: 0; }
  .article, .page, .section-index { padding-top: 32px; }
  .contact-row { flex-direction: column; gap: 2px; }
}

/* Patent practice redesign */
body { font-size:16px; }
.wrap { max-width:1240px; }
.site-header .wrap { padding-top:22px; padding-bottom:22px; }
.wordmark { font-size:20px; letter-spacing:.09em; }
.site-nav a { font-size:14px; }
.btn { border-radius:3px; font-size:15px; padding:14px 22px; }
.skip-link { position:absolute; left:16px; top:-100px; background:white; padding:12px; z-index:100; }
.skip-link:focus { top:8px; }
.front-hero { margin:28px 0 0; padding:64px 52px; background:#101e32; color:white; border-top:5px solid #318bd8; position:relative; }
.front-hero .front-kicker { color:#8ec9fa; font-size:14px; }
.front-hero h1 { font-family:var(--sans); font-size:clamp(36px,5.5vw,68px); letter-spacing:-.03em; font-weight:700; max-width:16ch; line-height:1.06; margin:22px 0; }
/* A long word in a large heading wraps instead of running off a 320px screen when a reader
   widens letter and word spacing (WCAG 1.4.12). */
h1, h2, h3 { overflow-wrap:break-word; }
/* Tight tracking narrows the space between words; open it back up so headings read as words. */
.front-hero h1, .page > h1, .practice-intro h2, .insights-heading h2 { word-spacing:.05em; }
.front-hero p { color:#d2dfed; max-width:56ch; font-size:18px; line-height:1.7; }
.hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:24px; margin-top:30px; }
.front-hero .btn { background:#8ec9fa; color:#101e32; }
.front-hero .btn:hover { background:#ffffff; color:#101e32; }
.front-hero a:focus-visible, .site-footer a:focus-visible { outline-color:#8ec9fa; }
.front-hero .text-link { color:white; }
.text-link { font-weight:600; text-underline-offset:5px; }
.hero-meta { margin-top:42px; border-top:1px solid #39506a; padding-top:20px; font-family:var(--mono); font-size:13px; color:#b4cae0; }
.practice-intro { display:grid; grid-template-columns:1fr 1fr; gap:70px; padding:72px 0; }
.practice-intro h2 { font-size:clamp(28px,3.3vw,42px); letter-spacing:-.025em; line-height:1.18; max-width:20ch; margin:18px 0; }
.practice-intro p { font-size:17px; color:var(--body); line-height:1.7; }
.practice-steps > div { position:relative; padding:0 0 20px 55px; border-bottom:1px solid var(--hair); margin-bottom:22px; }
.practice-steps span { position:absolute; left:0; top:3px; font-family:var(--mono); color:var(--accent); }
.practice-steps h3 { font-size:20px; margin:0 0 8px; }
.practice-steps p { margin:0; font-size:16px; }
.contact-band { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:30px 36px; background:var(--panel); border-left:4px solid var(--accent); }
.contact-band h2 { margin:0 0 8px; font-size:25px; }
.contact-band p { margin:0; color:var(--body); max-width:58ch; }
.contact-band .btn { flex-shrink:0; }
.insights-heading { margin-top:68px; }
.insights-heading h2 { font-size:32px; letter-spacing:-.025em; margin:12px 0; }
.insights-heading p { color:var(--muted); }
.featured { border-radius:3px; background:#f7f9fc; }
.featured .kicker,.deck-name,.article-kicker,.list-item .kicker { font-size:14px; }
.deck-blurb,.deck-post p,.deck-empty { font-size:15px; }
.deck-post h3 { font-size:20px; }
.svc-card { border-radius:3px; padding:26px; }
.svc-card h2 { font-size:20px; }
.svc-card p,.page .lede { font-size:16px; }
.page { max-width:960px; }
.page > h1 { font-family:var(--sans); font-size:clamp(32px,4vw,48px); letter-spacing:-.035em; }
.contact-card { border-radius:3px; }
.contact-row .label { font-size:14px; }
.contact-note { font-size:15px; }
.site-footer { background:#101e32; }
.site-footer .wordmark { color:white; font-size:18px; }
.site-footer .wordmark em { color:#8ec9fa; }
.site-footer p { color:#c1cedd; font-size:13px; }
.article-body { color:var(--ink); font-size:18px; }
.disclaimer-box { font-size:13px; color:var(--muted); }
/* Contact form: posts to patent.org's own contact service instance (/api/challenge, /api/contact). */
.contact-grid { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); gap:24px; align-items:start; }
.form-card { background:var(--card); border:1px solid var(--hair); border-radius:3px; padding:26px; }
.field { margin-bottom:16px; }
.field label { display:block; font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin-bottom:6px; }
.field .opt { text-transform:none; letter-spacing:0; font-weight:400; }
.field input, .field textarea { width:100%; background:var(--paper); color:var(--ink); border:1px solid var(--faint); border-radius:3px; padding:11px 12px; font:400 16px var(--sans); }
.field textarea { resize:vertical; line-height:1.5; }
.field input:focus-visible, .field textarea:focus-visible { outline:2px solid var(--accent); outline-offset:1px; }
.hp { position:absolute; left:-9999px; top:-9999px; height:1px; width:1px; overflow:hidden; }
.verify-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin:18px 0; }
.btn-ghost { display:inline-block; background:none; border:1px solid var(--accent); color:var(--accent); font:600 15px var(--sans); padding:12px 18px; border-radius:3px; cursor:pointer; }
.btn-ghost:hover { background:var(--panel); }
.btn[disabled] { background:#e3e9f0; color:var(--muted); cursor:not-allowed; }
#verify-status { font-size:15px; color:var(--muted); }
#verify-status.verify-ok { color:#1f6b3a; font-weight:600; }
.form-alert { font-size:15px; margin:0; }
.form-alert.alert-ok, .form-alert.alert-err { border-radius:3px; padding:12px 14px; margin-top:14px; }
.form-alert:focus { outline:2px solid var(--accent); outline-offset:2px; }
.field-hint { font-size:14px; color:var(--muted); margin:0 0 6px; }
.field-error { font-size:14px; font-weight:600; color:#8a1f1f; margin:6px 0 0; }
.field-error:empty { display:none; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color:#a12a2a; box-shadow:0 0 0 1px #a12a2a; }
.alert-ok { background:#e8f4ec; border:1px solid #1f6b3a; color:#174f2b; }
.alert-err { background:#fbeaea; border:1px solid #a12a2a; color:#8a1f1f; }
.form-note { font-size:14px; color:var(--muted); margin:12px 0 0; }
.contact-aside { display:grid; gap:20px; }
.note-card { background:var(--panel); border-left:4px solid var(--accent); padding:20px 22px; }
.note-card h2 { font-size:18px; margin:0 0 8px; }
.note-card p { margin:0 0 10px; color:var(--body); font-size:15px; line-height:1.6; }
.note-card p:last-child { margin-bottom:0; }
@media(max-width:860px) { .contact-grid { grid-template-columns:1fr; } }
@media(max-width:800px) {
.practice-intro { grid-template-columns:1fr; gap:28px; padding:44px 0; }
.front-hero { padding:40px 26px; }
.contact-band { flex-direction:column; align-items:flex-start; padding:26px; }
.site-nav { gap:14px; }
}
@media(max-width:480px) {
.wrap { padding:0 18px; }
.hero-actions { align-items:flex-start; flex-direction:column; gap:18px; }
.front-hero h1 { font-size:38px; }
.hero-meta { line-height:1.8; }
.contact-row a { overflow-wrap:anywhere; }
}
