:root {
  --navy: #214d78;
  --navy-2: #173f68;
  --accent: #2f6fc3;
  --accent-soft: #eaf2fb;
  --green: #2d8a63;
  --green-soft: #e8f4ee;
  --paper: #f3f6f9;
  --paper-2: #edf2f6;
  --surface: #fbfcfd;
  --surface-2: #f7f9fb;
  --ink: #132033;
  --muted: #53667d;
  --soft-text: #6f8092;
  --line: #d4dee8;
  --shadow: 0 8px 22px rgba(28, 61, 96, .055);
  --radius: 13px;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, a, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
.shell { width: min(calc(100% - 36px), var(--shell)); margin: 0 auto; }
.skip-link { position: fixed; left: 10px; top: -80px; background: white; color: black; padding: 9px 12px; z-index: 1000; }
.skip-link:focus { top: 10px; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 3px solid var(--green); box-shadow: 0 2px 10px rgba(13, 42, 69, .12); }
.header-inner { height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; min-width: 205px; }
.header-logo { display: block; width: 194px; height: 48px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
.site-nav { display: flex; align-items: center; gap: 25px; color: #f7fbff; font-weight: 700; font-size: 13px; }
.site-nav a { opacity: .96; }
.site-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { border: 1px solid rgba(255,255,255,.46); border-radius: 999px; padding: 9px 15px; }
.menu-button { display: none; border: 1px solid rgba(255,255,255,.46); background: transparent; color: white; border-radius: 8px; padding: 8px 11px; font-weight: 700; }

.hero { background: linear-gradient(180deg, #f4f7fa 0%, #eef3f7 100%); }
.hero-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 30px; align-items: start; padding: 16px 0 14px; }
.hero-copy { padding-top: 4px; }
.eyebrow, .section-kicker { margin: 0 0 10px; color: var(--accent); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.hero h1 { margin: 0; font-size: clamp(35px, 3.45vw, 46px); line-height: 1.05; letter-spacing: -.034em; font-weight: 720; }
.hero-lede { max-width: 590px; margin: 14px 0 0; color: #455d76; font-size: 15px; line-height: 1.58; }
.hero-actions { display: flex; gap: 10px; margin-top: 17px; }
.button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; padding: 0 16px; border: 1px solid transparent; font-weight: 750; font-size: 13px; }
.button.primary { background: var(--accent); color: white; box-shadow: 0 5px 12px rgba(47,111,195,.14); }
.button.secondary { background: #f8fafc; color: #1e3550; border-color: #cbd7e2; }
.button.ghost { background: transparent; color: #6d7e90; border-color: #cdd8e2; }
.button.wide { width: 100%; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; color: #4f657a; font-size: 11px; font-weight: 650; }
.hero-proof span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 7px 1px 0; border-radius: 50%; background: var(--green); }

/* USPTO deadline utility */
.deadline-tool { border: 1px solid #c6d5e3; border-radius: 14px; background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.deadline-tool-top { min-height: 49px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 12px 8px 14px; background: #e6eef5; border-bottom: 1px solid var(--line); }
.deadline-tool-top > div { display: grid; gap: 2px; }
.utility-label { color: var(--green); font-size: 9px; line-height: 1; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.deadline-tool-top strong { color: #1f3d58; font-size: 15px; line-height: 1.15; }

.utility-subnote {
  color: #dfeaf5;
  font-size: 10px;
  font-weight: 700;
}

.today-button, .icon-button, .period-tab, .copy-button {
  border: 1px solid #c7d5e2;
  background: #f8fbfd;
  color: #294761;
  font-weight: 750;
}
.today-button { min-height: 32px; border-radius: 7px; padding: 0 11px; font-size: 11px; font-weight: 800; }
.today-button:hover, .icon-button:hover, .period-tab:hover, .copy-button:hover { background: #edf4fa; }

.calendar-layout { display: grid; grid-template-columns: 1fr 1fr; }
.calendar-pane { min-width: 0; padding: 10px 11px 11px; }
.calendar-pane + .calendar-pane { border-left: 1px solid var(--line); }
.calendar-pane-title { min-height: 27px; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 5px; }
.calendar-pane-title span { color: #677d93; font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.calendar-pane-title strong { color: #1e3a55; font-size: 12px; font-weight: 800; }

.calendar-nav { height: 27px; display: grid; grid-template-columns: 26px 1fr 26px; align-items: center; gap: 5px; margin-bottom: 5px; }
.calendar-nav strong { text-align: center; color: #203b56; font-size: 13px; font-weight: 800; }
.icon-button { width: 28px; height: 28px; padding: 0; border-radius: 6px; font-size: 18px; line-height: 1; font-weight: 800; }
.weekday-row, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.weekday-row { margin-bottom: 3px; color: #6e8092; font-size: 9px; font-weight: 900; text-align: center; }
.weekday-row span { padding: 2px 0; }
.day-button, .blank-day {
  aspect-ratio: 1.28 / 1;
  min-height: 29px;
}
.blank-day { display: block; }
.day-button {
  position: relative;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #2a475f;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  padding: 0;
}
.day-button:hover { background: #edf4fa; border-color: #d3e0eb; }
.day-button.today::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
}
.day-button.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  font-weight: 850;
}
.day-button.selected.today::after { background: white; }
.day-button.due-date {
  background: var(--green-soft);
  border-color: #88bca5;
  color: #1f6f50;
  font-weight: 850;
  box-shadow: inset 0 0 0 1px rgba(45,138,99,.08);
}
.day-button.raw-date:not(.due-date) {
  border-color: #d1a64b;
  color: #8a6415;
  background: #fff9e9;
}
.day-button.federal-holiday::before {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c28b24;
}

.period-tabs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 3px; margin-bottom: 5px; }
.period-tab { min-height: 31px; padding: 0 5px; border-radius: 6px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.period-tab.active { background: var(--navy); border-color: var(--navy); color: white; }


/* Subtle calendar-day context: weekends and D.C. federal holidays */
.day-button.saturday:not(.selected):not(.due-date) {
  background: #edf4fb;
  border-color: #d7e5f3;
  color: #35658f;
}
.day-button.sunday:not(.selected):not(.due-date) {
  background: #fbf0f1;
  border-color: #efdadd;
  color: #95565d;
}
.day-button.federal-holiday:not(.selected):not(.due-date) {
  background: #fff6df;
  border-color: #ead49b;
  color: #7c611b;
  font-weight: 800;
}
.day-button.raw-date.saturday:not(.due-date),
.day-button.raw-date.sunday:not(.due-date),
.day-button.raw-date.federal-holiday:not(.due-date) {
  border-color: #d1a64b;
  box-shadow: inset 0 0 0 1px rgba(209,166,75,.15);
}
.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 13px;
  padding: 7px 11px;
  border-top: 1px solid #e0e7ed;
  background: #f9fbfc;
  color: #607489;
  font-size: 9px;
  font-weight: 750;
}
.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.legend-swatch {
  display: inline-block;
  width: 11px;
  height: 11px;
  border: 1px solid transparent;
  border-radius: 3px;
}
.legend-swatch.saturday {
  background: #edf4fb;
  border-color: #d7e5f3;
}
.legend-swatch.sunday {
  background: #fbf0f1;
  border-color: #efdadd;
}
.legend-swatch.holiday {
  background: #fff6df;
  border-color: #ead49b;
}

.deadline-result { border-top: 1px solid var(--line); padding: 9px 11px 10px; background: #f7fafc; }
.result-main label { display: block; margin-bottom: 5px; color: #61788f; font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.copy-row { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.copy-row input { width: 100%; min-height: 37px; border: 1px solid #b8c9d8; border-radius: 7px; background: white; color: #15395f; padding: 0 10px; font-size: 17px; font-weight: 850; letter-spacing: .02em; }
.copy-button { min-width: 60px; border-radius: 7px; padding: 0 10px; font-size: 11px; font-weight: 800; }
.copy-button.copied { background: var(--green); border-color: var(--green); color: white; }
.result-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 10px; margin-top: 7px; color: #4d6479; font-size: 11px; font-weight: 750; }
.adjustment-note { min-height: 16px; margin: 5px 0 0; color: #617487; font-size: 10px; line-height: 1.35; }
.adjustment-note.adjusted { color: #805b16; }

.rule-note { border-top: 1px solid #dbe4eb; background: #fbfcfd; }
.rule-note summary { cursor: pointer; list-style: none; padding: 8px 11px; color: #495f74; font-size: 10px; font-weight: 850; }
.rule-note summary::-webkit-details-marker { display: none; }
.rule-note summary::after { content: " +"; color: var(--accent); }
.rule-note[open] summary::after { content: " –"; }
.rule-note p { margin: 0; padding: 0 11px 8px; color: #607286; font-size: 10px; line-height: 1.45; }
.rule-note .rule-cite { padding-bottom: 9px; color: #8290a0; }

.review-principle { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: start; margin-bottom: 14px; padding: 15px 18px; border: 1px solid #d7e1e9; border-radius: 11px; background: rgba(251,252,253,.72); }
.review-principle .section-kicker { margin: 3px 0 0; }
.review-principle h2 { margin: 0; font-size: clamp(21px, 2.1vw, 27px); line-height: 1.2; letter-spacing: -.022em; }
.review-principle p:not(.section-kicker) { max-width: 820px; margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.section { padding: 28px 0; background: var(--paper); }
.section + .section { border-top: 0; }
.soft-section { background: var(--paper-2); box-shadow: inset 0 1px 0 rgba(207,219,230,.55), inset 0 -1px 0 rgba(207,219,230,.55); }
.section-head { display: grid; grid-template-columns: 1fr 380px; gap: 42px; align-items: end; margin-bottom: 18px; }
.section h2, .panel h2, .about-copy h2 { margin: 0; font-size: clamp(24px, 2.5vw, 31px); line-height: 1.15; letter-spacing: -.028em; }
.section-summary { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tool-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 17px; box-shadow: 0 4px 14px rgba(30,58,88,.035); }
.tool-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.tool-no { color: #738599; font: 10px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.platform-tag { border: 1px solid #d0dce7; border-radius: 999px; background: #eef4f8; color: #496b87; padding: 5px 8px; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.release-tag { color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tool-card h3 { margin: 5px 0 7px; font-size: 21px; letter-spacing: -.022em; }
.tool-card > p { min-height: 46px; margin: 0; color: #586a7d; font-size: 13px; line-height: 1.55; }
.tool-card dl { margin: 14px 0 13px; padding-top: 12px; border-top: 1px solid #e1e7ed; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.tool-card dl > div { min-width: 0; }
.tool-card dt { margin-bottom: 3px; color: #8795a4; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.tool-card dd { margin: 0; color: #30465e; font-size: 11px; font-weight: 700; line-height: 1.35; }
.grow-note { margin-top: 10px; padding: 11px 13px; border-left: 3px solid var(--green); background: #edf3f7; color: #52677b; font-size: 12px; line-height: 1.5; }
.grow-note strong { color: #2f465e; }

.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 18px; box-shadow: 0 4px 14px rgba(30,58,88,.025); }
.panel-lede { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.steps-inline { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.steps-inline span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid #d7e0e8; border-radius: 8px; background: #f6f9fb; color: #465d74; font-size: 11px; font-weight: 700; }
.steps-inline b { color: var(--accent); font-size: 9px; }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 13px; }
.trust-list > div { padding: 10px; border: 1px solid #dde5ec; border-radius: 9px; background: #f8fafb; }
.trust-list strong { display: block; margin-bottom: 4px; color: #203850; font-size: 12px; }
.trust-list span { display: block; color: #66778a; font-size: 11px; line-height: 1.45; }

.bottom-grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 14px; align-items: stretch; }
.about-copy { padding: 2px 0; }
.about-copy p:not(.section-kicker) { max-width: 790px; margin: 10px 0 0; color: #53677b; font-size: 13px; line-height: 1.58; }
.contact-card { border: 1px solid #cad6e1; border-radius: var(--radius); background: #eef3f7; padding: 17px; }
.contact-card h3 { margin: 0; font-size: 20px; line-height: 1.24; letter-spacing: -.018em; }
.contact-card > p:not(.section-kicker) { margin: 9px 0 12px; color: #5d6f82; font-size: 12px; line-height: 1.5; }
.contact-card small { display: block; margin-top: 8px; color: #7d8996; font-size: 10px; }

.site-footer { border-top: 1px solid #cfd9e2; background: #e2eaf1; padding: 14px 0; }
.footer-inner { display: grid; grid-template-columns: 190px 1fr auto; gap: 22px; align-items: center; }
.footer-logo { width: 155px; height: 50px; object-fit: contain; object-position: left center; }
.footer-inner p { margin: 0; color: #697a8b; font-size: 10px; }
.footer-inner nav { display: flex; gap: 15px; color: #455a70; font-size: 11px; font-weight: 700; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 730px; }
  .deadline-tool { max-width: 720px; }
}

@media (max-width: 940px) {
  .split-grid, .bottom-grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 7px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card > p { min-height: 0; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 26px), var(--shell)); }
  .header-inner { height: 61px; }
  .header-logo { width: 170px; height: 43px; }
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; left: 13px; right: 13px; top: 58px; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); border: 1px solid rgba(255,255,255,.24); border-radius: 10px; padding: 7px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px; }
  .nav-cta { border-radius: 8px; }
  .hero-grid { padding: 18px 0 18px; }
  .hero-copy { padding-top: 0; }
  .hero h1 { font-size: clamp(32px, 9.5vw, 40px); }
  .hero-lede { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .calendar-layout { grid-template-columns: 1fr; }
  .calendar-pane + .calendar-pane { border-left: 0; border-top: 1px solid var(--line); }
  .review-principle { grid-template-columns: 1fr; gap: 4px; padding: 14px 15px; margin-bottom: 14px; }
  .section { padding: 24px 0; }
  .tool-card dl { grid-template-columns: 1fr; gap: 8px; }
  .trust-list { grid-template-columns: 1fr; }
  .footer-inner nav { flex-wrap: wrap; }
}

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

/* v9 compact layout + reference-only calendar */
.hero-grid{grid-template-columns:.92fr 1.08fr;align-items:start;padding:16px 0 14px}.hero-left{min-width:0}.hero-copy{padding-top:3px}.hero h1{font-size:clamp(34px,3.25vw,44px)}.hero-lede{max-width:570px;line-height:1.55}.hero-actions{margin-top:15px}.hero-proof{margin-top:12px}
.hero-tools{margin-top:17px;padding-top:14px;border-top:1px solid #d8e1e9}.hero-tools-head{display:grid;grid-template-columns:1fr 190px;gap:14px;align-items:end;margin-bottom:9px}.hero-tools-head .section-kicker{margin-bottom:5px}.hero-tools-head h2{margin:0;font-size:20px;line-height:1.2;letter-spacing:-.022em}.hero-tools-head>p{margin:0;color:#617489;font-size:10px;line-height:1.4}.mini-tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mini-tool-card{min-width:0;border:1px solid #d3dee8;border-radius:10px;background:rgba(251,252,253,.92);padding:10px 11px}.mini-tool-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.mini-tool-card .tool-no{font-size:9px}.mini-tool-card .platform-tag{padding:4px 6px;font-size:7px}.mini-tool-card .release-tag{font-size:7px}.mini-tool-card h3{margin:3px 0 4px;font-size:16px;letter-spacing:-.018em}.mini-tool-card p{margin:0;color:#5a6d80;font-size:10px;line-height:1.4}.mini-meta{display:grid;gap:2px;margin-top:7px;padding-top:6px;border-top:1px solid #e2e8ed;color:#435b72;font-size:8px;font-weight:700}
.calendar-instruction{display:flex;gap:7px;align-items:baseline;flex-wrap:wrap;padding:7px 11px;border-bottom:1px solid #dfe7ed;background:#f8fafc;color:#5b6f83;font-size:10px}.calendar-instruction strong{color:#32516c}.reference-status{display:flex;justify-content:space-between;gap:8px 14px;flex-wrap:wrap;padding:7px 11px;border-top:1px solid #e0e7ed;background:#f7fafc;color:#536a80;font-size:10px;font-weight:750}.calendar-disclaimer{margin:8px 10px;padding:9px 10px;border:1px solid #d9b85c;border-left:4px solid #c69625;border-radius:8px;background:#fff8e7;color:#5e4a13}.calendar-disclaimer strong{display:block;margin-bottom:3px;font-size:10px;letter-spacing:.04em}.calendar-disclaimer p{margin:0;font-size:9px;line-height:1.45}.legend-swatch.reference{background:#e8f4ee;border-color:#78b897}.utility-subnote{color:#60768b!important}.review-principle{margin-bottom:13px;padding:13px 16px}.review-principle h2{font-size:clamp(20px,2vw,25px)}.review-principle p:not(.section-kicker){font-size:12px;line-height:1.48}.engagement-note{margin:9px 0 0;color:#6b7c8e;font-size:10px;line-height:1.45}.site-use-notice{background:#eaf0f5;border-top:1px solid #cfd9e2;padding:10px 0;color:#5b6e81;font-size:10px;line-height:1.45}.site-use-notice .shell{display:flex;gap:6px;flex-wrap:wrap}.site-use-notice strong{color:#334d65}.contact-card small{line-height:1.45}
/* hide legacy standalone tools section classes if any stale markup is ever restored */
body.v9 .section#tools{display:none}
@media(max-width:1020px){.hero-grid{grid-template-columns:1fr}.deadline-tool,.hero-tools{max-width:760px}}
@media(max-width:760px){.hero-tools-head{grid-template-columns:1fr;gap:4px}.mini-tool-grid{grid-template-columns:1fr}.hero-grid{padding:16px 0}.hero h1{font-size:clamp(31px,9vw,39px)}}


/* v11 production-oriented footer */
.formal-footer {
  background: #183b5b;
  color: #edf5fb;
  border-top: 4px solid #2d8a63;
  padding: 0;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.6fr) minmax(150px, .65fr) minmax(150px, .65fr);
  gap: 48px;
  padding: 34px 0 28px;
}
.footer-brand-block { max-width: 470px; }
.footer-logo-white {
  width: 205px;
  height: 62px;
  display: block;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}
.footer-brand-block p {
  margin: 13px 0 0;
  color: #c7d8e6;
  font-size: 12px;
  line-height: 1.6;
}
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-column strong {
  margin-bottom: 3px;
  color: #ffffff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-column a {
  color: #cbdbe8;
  font-size: 12px;
}
.footer-column a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom {
  min-height: 46px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.14);
  color: #9fb5c8;
  font-size: 10px;
  line-height: 1.4;
}
.site-use-notice a {
  color: #325f88;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Formal informational/legal pages */
.legal-hero {
  background: linear-gradient(180deg, #f4f7fa 0%, #edf2f6 100%);
  border-bottom: 1px solid #d7e1e9;
}
.legal-hero .shell {
  padding-top: 34px;
  padding-bottom: 28px;
}
.legal-hero h1 {
  margin: 0;
  font-size: clamp(31px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.legal-hero p {
  max-width: 760px;
  margin: 11px 0 0;
  color: #556b80;
  font-size: 14px;
  line-height: 1.6;
}
.legal-content {
  padding: 30px 0 42px;
  background: #f3f6f9;
}
.legal-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 780px);
  gap: 44px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 6px;
  padding: 13px;
  border: 1px solid #d5dfe7;
  border-radius: 11px;
  background: #eef3f7;
}
.legal-toc strong {
  margin-bottom: 3px;
  color: #2b4965;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.legal-toc a {
  color: #516a80;
  font-size: 11px;
  line-height: 1.35;
}
.legal-toc a:hover { color: #214d78; }
.legal-document {
  border: 1px solid #d3dde6;
  border-radius: 13px;
  background: #fbfcfd;
  padding: 25px 28px;
}
.legal-document section + section {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #e0e7ed;
}
.legal-document h2 {
  margin: 0 0 9px;
  color: #1c3650;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.015em;
}
.legal-document h3 {
  margin: 16px 0 7px;
  color: #294963;
  font-size: 14px;
}
.legal-document p,
.legal-document li {
  color: #50667a;
  font-size: 12.5px;
  line-height: 1.65;
}
.legal-document ul {
  margin: 9px 0 0;
  padding-left: 20px;
}
.legal-document .notice-box {
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid #d9bc68;
  border-left: 4px solid #c69625;
  border-radius: 8px;
  background: #fff9ea;
  color: #5b4b20;
}
.legal-document .notice-box strong {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: .03em;
}
.legal-document .notice-box p { margin: 0; color: #5b4b20; }
.effective-date {
  margin-top: 7px;
  color: #738397;
  font-size: 11px;
}

.trust-grid-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.trust-page-card {
  padding: 14px;
  border: 1px solid #d9e2e9;
  border-radius: 10px;
  background: #f7fafc;
}
.trust-page-card strong {
  display: block;
  margin-bottom: 5px;
  color: #24435e;
  font-size: 13px;
}
.trust-page-card p { margin: 0; font-size: 11.5px; }

@media (max-width: 820px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 11px 0; }
  .legal-layout { grid-template-columns: 1fr; gap: 16px; }
  .legal-toc { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand-block { grid-column: auto; }
  .trust-grid-page { grid-template-columns: 1fr; }
  .legal-document { padding: 20px 18px; }
}


/* v12 compact footer — balanced against the 66px header */
.compact-footer {
  background: #1c4262;
  color: #edf5fb;
  border-top: 3px solid #2d8a63;
  padding: 0;
}

.compact-footer-row {
  min-height: 66px;
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 26px;
}

.footer-wordmark-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.footer-serif-logo {
  display: block;
  width: 126px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: .98;
}

.compact-footer-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.compact-footer-nav a {
  color: #d5e3ee;
  font-size: 11px;
  font-weight: 700;
}

.compact-footer-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.compact-footer-bottom {
  min-height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,.13);
  color: #9fb6c9;
  font-size: 9px;
  line-height: 1.35;
}

/* Neutralize the taller v11 footer structure if cached styles remain. */
.compact-footer .footer-main,
.compact-footer .footer-brand-block,
.compact-footer .footer-column,
.compact-footer .footer-bottom {
  all: unset;
}

@media (max-width: 760px) {
  .compact-footer-row {
    min-height: 72px;
    grid-template-columns: 120px 1fr;
    gap: 16px;
  }
  .footer-serif-logo {
    width: 108px;
    height: 42px;
  }
  .compact-footer-nav {
    gap: 9px 13px;
  }
  .compact-footer-nav a {
    font-size: 10px;
  }
  .compact-footer-bottom {
    min-height: 42px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 7px 0;
  }
}


/* v13 true white transparent serif wordmark */
.footer-serif-logo {
  width: 132px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
  filter: none !important;
  background: transparent !important;
}


.calendar-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  align-items: start;
}
.calendar-steps span {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.calendar-steps b {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #e7eef5;
  color: #295275;
  font-size: 9px;
  line-height: 1;
}
.reference-date-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 8px 11px;
  border-top: 1px solid #e0e7ed;
  background: #f4f8fb;
}
.reference-date-line span {
  color: #61778b;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .055em;
}
.reference-date-line strong {
  color: #173f68;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .025em;
  user-select: text;
  -webkit-user-select: text;
}
@media (max-width: 760px) {
  .calendar-steps {
    grid-template-columns: 1fr;
  }
}

/* v14 footer: revert to known-good full logo used in header */
.footer-serif-logo{width:154px!important;height:46px!important;object-fit:contain!important;object-position:left center!important;filter:brightness(0) invert(1)!important;background:transparent!important;}


/* v15: Home-to-calendar discovery path */
.calendar-top-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.calendar-open-link {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid #bfd0de;
  border-radius: 7px;
  background: rgba(255,255,255,.55);
  color: #315774;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}
.calendar-open-link:hover {
  background: #f8fbfd;
  border-color: #aebfce;
  color: #173f68;
}
.calendar-bookmark-note {
  padding: 0 11px 8px;
  color: #687b8e;
  font-size: 8.5px;
  line-height: 1.4;
}
.calendar-bookmark-note a {
  color: #2f628f;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* v15: bookmark-friendly /calendar/ page */
.calendar-page {
  min-height: 100vh;
  background: #f1f5f8;
}
.calendar-page-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.calendar-page-nav a {
  color: #f3f8fc;
  font-size: 12px;
  font-weight: 750;
}
.calendar-page-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.calendar-page-main {
  min-height: calc(100vh - 164px);
}
.calendar-page-intro {
  padding: 24px 0 32px;
}
.calendar-page-shell {
  max-width: 980px;
}
.calendar-page-copy {
  margin-bottom: 13px;
}
.calendar-page-copy .eyebrow {
  margin-bottom: 6px;
}
.calendar-page-copy h1 {
  margin: 0;
  color: #17344f;
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -.025em;
}
.calendar-page-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 8px 0 0;
  color: #566d82;
  font-size: 12px;
  line-height: 1.55;
}
.calendar-page .deadline-tool {
  width: 100%;
  box-shadow: 0 10px 28px rgba(28,61,96,.07);
}
.calendar-page .deadline-tool-top {
  min-height: 61px;
}
.calendar-page .deadline-tool-top strong {
  font-size: 17px;
}
.calendar-page .calendar-pane {
  padding: 13px 15px 15px;
}
.calendar-page .day-button,
.calendar-page .blank-day {
  min-height: 37px;
}
.calendar-page .day-button {
  font-size: 13px;
}
.calendar-page .weekday-row {
  font-size: 10px;
}
.calendar-page .calendar-nav strong {
  font-size: 14px;
}
.calendar-page .calendar-pane-title strong {
  font-size: 13px;
}
.calendar-page .period-tab {
  min-height: 34px;
  font-size: 11px;
}
.calendar-page .reference-date-line strong {
  font-size: 17px;
}
.calendar-page .calendar-disclaimer p,
.calendar-page .rule-note p {
  font-size: 10px;
}
.calendar-page-smallprint {
  margin: 9px 3px 0;
  color: #718293;
  font-size: 9px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .calendar-top-actions {
    gap: 5px;
  }
  .calendar-open-link {
    padding: 0 7px;
    font-size: 8.5px;
  }
  .calendar-page-nav {
    gap: 13px;
  }
  .calendar-page-nav a {
    font-size: 10px;
  }
  .calendar-page-intro {
    padding-top: 17px;
  }
  .calendar-page .day-button,
  .calendar-page .blank-day {
    min-height: 31px;
  }
}


/* v16 minimal public launch */
.minimal-home {
  background: #f2f5f8;
}
.minimal-header {
  min-height: 66px;
}
.minimal-nav {
  display: flex;
  align-items: center;
}
.minimal-nav a {
  color: #f7fbff;
  font-size: 12px;
  font-weight: 750;
}
.minimal-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.minimal-hero {
  background: linear-gradient(180deg, #f4f7fa 0%, #eef3f7 100%);
  padding: 18px 0 22px;
}
.minimal-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 28px;
  align-items: start;
}
.minimal-copy {
  padding-top: 8px;
}
.minimal-copy h1 {
  margin: 0;
  max-width: 520px;
  color: #17344f;
  font-size: clamp(31px, 3.3vw, 43px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 720;
}
.minimal-copy > p:not(.eyebrow):not(.coming-soon) {
  max-width: 520px;
  margin: 13px 0 0;
  color: #516a80;
  font-size: 14px;
  line-height: 1.58;
}
.coming-soon {
  margin: 15px 0 0;
  color: #315f85;
  font-size: 11px;
  font-weight: 800;
}
.minimal-footer {
  background: #1c4262;
  border-top: 3px solid #2d8a63;
  padding: 0;
}
.minimal-footer-row {
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: #a9bdcd;
  font-size: 9px;
}
.minimal-footer-row nav {
  display: flex;
  gap: 16px;
}
.minimal-footer-row a {
  color: #d6e3ed;
  font-size: 10px;
  font-weight: 700;
}
.minimal-footer-row a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.minimal-home .deadline-tool {
  margin-top: 0;
}
@media (max-width: 980px) {
  .minimal-grid { grid-template-columns: 1fr; }
  .minimal-copy { max-width: 700px; }
}
@media (max-width: 760px) {
  .minimal-hero { padding-top: 15px; }
  .minimal-copy h1 { font-size: clamp(29px, 9vw, 38px); }
  .minimal-footer-row {
    min-height: 58px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
  }
}
\n\n/* v17 minimal-launch home balance */\n.minimal-copy {\n  align-self: stretch;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  padding: 22px 4px 22px 0;\n}\n.minimal-copy .eyebrow {\n  margin-bottom: 12px;\n  font-size: 12px;\n}\n.minimal-copy h1 {\n  max-width: 500px;\n  font-size: clamp(30px, 2.75vw, 36px);\n  line-height: 1.13;\n  letter-spacing: -.025em;\n}\n.minimal-copy > p:not(.eyebrow):not(.coming-soon) {\n  max-width: 510px;\n  margin-top: 18px;\n  color: #4d657b;\n  font-size: 16px;\n  line-height: 1.72;\n}\n.minimal-copy .coming-soon {\n  margin-top: 20px;\n  color: #2f628f;\n  font-size: 12.5px;\n  font-weight: 800;\n}\n@media (max-width: 980px) {\n  .minimal-copy {\n    display: block;\n    padding: 8px 0 5px;\n  }\n}\n

/* v18: balance left-side messaging against unchanged calendar */
.balanced-copy{
  min-height:520px;
  padding:20px 0 18px;
}
.balanced-copy .eyebrow{
  margin-bottom:16px;
  font-size:11px;
  letter-spacing:.11em;
}
.balanced-copy h1{
  max-width:520px;
  margin:0;
  color:#17344f;
  font-size:clamp(30px,3vw,39px);
  line-height:1.12;
  letter-spacing:-.025em;
  font-weight:720;
}
.balanced-message{
  max-width:540px;
  margin-top:26px;
}
.balanced-message p{
  margin:0;
  color:#4d6479;
  font-size:16px;
  line-height:1.72;
}
.balanced-message p+p{
  margin-top:22px;
}
.balanced-message strong{
  color:#294d6d;
  font-weight:750;
}
.balanced-message .calendar-invite{
  margin-top:28px;
  padding-top:18px;
  border-top:1px solid #d7e1e9;
  color:#365a78;
  font-size:15px;
  line-height:1.65;
}
@media(max-width:980px){
  .balanced-copy{min-height:auto;padding:4px 0 8px}
  .balanced-message{max-width:720px;margin-top:18px}
}
@media(max-width:760px){
  .balanced-copy h1{font-size:clamp(29px,8vw,36px)}
  .balanced-message p{font-size:15px;line-height:1.65}
}


/* v21: simplified calendar header; calendar dimensions unchanged */
.highlighted-date-line {
  min-height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 6px 11px;
  border-bottom: 1px solid #dfe7ed;
  background: #f7fafc;
}
.highlighted-date-line span {
  color: #61778b;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.highlighted-date-line strong {
  color: #173f68;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .025em;
  user-select: text;
  -webkit-user-select: text;
}


/* v22: aligned selected/reference date labels above each calendar */
.date-pair-title {
  min-height: 30px;
  margin-bottom: 6px;
}
.date-pair-title span {
  color: #5f7489;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .07em;
}
.date-pair-title strong {
  color: #173f68;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .02em;
  user-select: text;
  -webkit-user-select: text;
}

/* v21 full-width top date bar is no longer used */
.highlighted-date-line {
  display: none !important;
}


/* v23 feedback invitation */
.feedback-invite {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #d7e1e9;
  max-width: 520px;
}
.feedback-invite p {
  margin: 0;
  color: #586f84;
  font-size: 13px;
  line-height: 1.55;
}
.feedback-invite p + p { margin-top: 5px; }
.feedback-invite .feedback-label {
  margin-bottom: 7px;
  color: #2f628f;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.feedback-invite strong {
  color: #34536e;
  font-weight: 750;
}
.feedback-link {
  display: inline-block;
  margin-top: 10px;
  color: #2f628f;
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.feedback-link:hover { color: #173f68; }


/* v24: keep footer at the bottom when page content is shorter than the viewport */
html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1 0 auto;
}

body > footer {
  flex-shrink: 0;
}


/* v25: legal-page header navigation spacing */
.legal-header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f7fbff;
  font-size: 12px;
  font-weight: 750;
}
.legal-header-nav a {
  color: #f7fbff;
}
.legal-header-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-header-nav .nav-separator {
  color: rgba(255,255,255,.55);
  font-weight: 400;
}
@media (max-width: 760px) {
  .legal-header-nav {
    gap: 8px;
    font-size: 11px;
  }
}


/* v26: robust legal-page header treatment */
.site-header .legal-header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f7fbff !important;
  font-size: 12px;
  font-weight: 750;
}
.site-header .legal-header-nav a {
  color: #f7fbff !important;
  text-decoration: none;
}
.site-header .legal-header-nav .nav-separator {
  color: rgba(255,255,255,.62) !important;
}
.site-header .legal-header-nav a:hover {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* v26: fill the short Home page down to the footer across browser viewport differences */
body.minimal-home > main {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}
body.minimal-home .minimal-hero {
  flex: 1 0 auto;
}


/* v27: calendar-only compact text header */
.calendar-page .header-inner {
  height: 54px;
}
.calendar-page .brand {
  min-width: 0;
}
.calendar-page .calendar-brand-text {
  display: inline-block;
  color: #ffffff;
  font-size: 16px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.018em;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .calendar-page .header-inner {
    height: 50px;
  }
  .calendar-page .calendar-brand-text {
    font-size: 15px;
  }
}
