/* patent.click kit: the brand's own material (bond paper, the vermillion stamp, registrar's jade on
   "no filing, no charge" only) on Linear's craft values (plan.md). Source Serif 4 for display, Inter for
   reading and the product, JetBrains Mono for serials, times and labels. Light only. No icons: arrows,
   carets, glyphs and the hamburger are drawn in CSS. */
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 560 700; font-display: swap; src: url("/_d/source-serif-4.woff2?v=d69c61c4") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 600; font-display: swap; src: url("/_d/source-serif-4-italic.woff2?v=16acebd1") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/_d/inter.woff2?v=c42d9ff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("/_d/jetbrains-mono.woff2?v=56aedacd") format("woff2"); }

:root {
  color-scheme: light;
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --col: 1280px; --gut: 78px; --inset: 32px; --head: 72px;
  --sec: 128px;
  --ease: cubic-bezier(.25,.46,.45,.94); --ease-fig: cubic-bezier(.32,.72,0,1); --ease-in: cubic-bezier(.215,.61,.355,1);
  /* bond paper */
  --bg: #F5EDDC; --bg-rgb: 245,237,220; --sheet: #FFFDF4; --deep: #ECE1C6; --deep-2: #E6DABD; --field: #FFFDF6;
  --t1: #241D10; --t2: #3D3421; --t3: #584E38; --t4: #6C6248;
  --l0: rgba(36,29,16,.05); --l1: rgba(36,29,16,.09); --l2: rgba(36,29,16,.16);
  --line: #DCCFAE; --line-2: #CDBE97; --line-strong: #B9A87E;
  /* the stamp: one accent. Label #FFF8EA on it 5.9:1; as small text on paper 5.3:1 */
  --accent: #B33417; --accent-rgb: 179,52,23; --accent-deep: #8F2A12;
  --btn-bg: #B33417; --btn-hi: #A42F15; --btn-lo: #93290F; --btn-fg: #FFF8EA;
  /* registrar's jade: "no filing, no charge" and nothing else */
  --jade: #1E6B47;
  /* the ink plate the product sits on */
  --ink: #231B0F; --ink-rgb: 35,27,15;
  --stack: 0 5px 2px rgba(46,32,12,.01), 0 3px 2px rgba(46,32,12,.04), 0 1px 1px rgba(46,32,12,.07), 0 0 1px rgba(46,32,12,.08);
  --lift: 0 1px 1px rgba(46,32,12,.04), 0 22px 54px -22px rgba(46,32,12,.32), 0 6px 18px -8px rgba(46,32,12,.10);
}
@media (max-width: 1280px) { :root { --gut: 42px; } }
@media (max-width: 1024px) { :root { --gut: 36px; --inset: 8px; } }
@media (max-width: 768px)  { :root { --sec: 96px; } }
@media (max-width: 640px)  { :root { --gut: 20px; --head: 64px; --sec: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 24px); background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--t3);
  font: 400 16px/1.6 var(--font); letter-spacing: -.006em; font-feature-settings: "cv01", "ss03";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset, legend { margin: 0; font-size: inherit; font-weight: inherit; }
fieldset { padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
em { font-style: normal; }
code, kbd, .mono { font-family: var(--mono); font-feature-settings: normal; letter-spacing: 0; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
::selection { background: rgba(var(--accent-rgb), .16); color: var(--t1); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 9999px; background: var(--t1); color: var(--bg); font-size: 13px; font-weight: 510; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--col) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }

/* ---- type: the serif carries display, Inter carries reading ---- */
h1, h2, h3, .h1, .h2, .h3 { color: var(--t1); text-wrap: balance; }
.h1, .h2 { font-family: var(--serif); font-weight: 600; font-optical-sizing: auto; }
.h1 { font-size: 72px; line-height: 1.02; letter-spacing: -.022em; }
.h2 { font-size: 46px; line-height: 1.06; letter-spacing: -.02em; }
.h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.014em; font-weight: 590; }
.lede { font-size: 19px; line-height: 1.5; letter-spacing: -.011em; color: var(--t3); text-wrap: pretty; }
.label { font-family: var(--mono); font-size: 12px; line-height: 17px; letter-spacing: .06em; text-transform: uppercase; color: var(--t4); font-weight: 400; }
.fine { font-size: 14px; line-height: 1.55; color: var(--t4); text-wrap: pretty; }
@media (max-width: 1024px) { .h1 { font-size: 60px; } .h2 { font-size: 40px; line-height: 1.08; } .lede { font-size: 18px; } }
@media (max-width: 640px)  { .h1 { font-size: 44px; line-height: 1.04; letter-spacing: -.02em; } .h2 { font-size: 32px; line-height: 1.1; letter-spacing: -.018em; } .lede { font-size: 17px; line-height: 1.55; } }

/* ---- the lockup: the struck-corner mark + "patent" in vermillion + ".click" in ink ---- */
.brand { display: inline-flex; align-items: center; gap: 9px; height: 40px; color: var(--t1); white-space: nowrap; }
.brand .mk { flex: none; width: 15px; height: 19px; color: var(--accent); }
.brand .wm { font: 700 22px/1 var(--serif); letter-spacing: -.012em; }
.brand .wm b { color: var(--accent); font-weight: 700; }

/* ---- arrows, drawn ---- */
.ar { position: relative; display: inline-block; flex: none; width: 12px; height: 10px; margin-left: 1px; vertical-align: -1px; transition: transform .16s var(--ease); }
.ar::before { content: ""; position: absolute; left: 0; right: 1px; top: 4.25px; height: 1.5px; border-radius: 1px; background: currentColor; }
.ar::after { content: ""; position: absolute; right: 1px; top: 1.5px; width: 6.5px; height: 6.5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); border-radius: 0 1px 0 0; }

/* ---- buttons: pills, one primary per view ---- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; height: 40px; padding: 0 18px; border: 0; border-radius: 9999px; cursor: pointer;
  font: 510 15px/1 var(--font); letter-spacing: -.01em; white-space: nowrap; text-align: center;
  transition: background-color .16s var(--ease), box-shadow .16s var(--ease), color .16s var(--ease), transform .16s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 14px; }
.btn-lg { height: 48px; padding: 0 24px; font-size: 16px; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); font-weight: 590;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(90,22,6,.3), var(--stack); }
.btn-primary:hover { background: var(--btn-hi); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 0 0 1px rgba(90,22,6,.34), 0 8px 18px -8px rgba(var(--accent-rgb), .5), var(--stack); }
.btn-primary:active { background: var(--btn-lo); }
.btn-ghost { background: rgba(255,253,244,.6); color: var(--t1); box-shadow: inset 0 0 0 1px var(--l2), 0 1px 1px rgba(46,32,12,.04); }
.btn-ghost:hover { background: var(--sheet); box-shadow: inset 0 0 0 1px rgba(36,29,16,.26), 0 1px 1px rgba(46,32,12,.05); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.tlink { display: inline-flex; align-items: center; gap: 7px; color: var(--t1); font-weight: 510; white-space: nowrap; transition: color .1s var(--ease); }
.tlink:hover { color: var(--accent); }
.btn:hover .ar, .tlink:hover .ar { transform: translateX(2px); }
@media (max-width: 560px) {
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; height: 48px; font-size: 16px; }
  .actions .tlink { justify-content: center; height: 44px; }
}
@media (pointer: coarse) { .tlink { position: relative; } .tlink::before { content: ""; position: absolute; inset: -12px -6px; } }

/* ---- nav: transparent at the top, the paper bar arrives on scroll; a native <details> menu ≤768 ---- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--head); border-bottom: 1px solid transparent; background-color: transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), -webkit-backdrop-filter .3s var(--ease), backdrop-filter .3s var(--ease); }
.nav.is-scrolled, html:not(.js) .nav, .nav:has(.nav-menu[open]) { border-bottom-color: var(--l1); background-color: rgba(var(--bg-rgb), .95); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); }
.nav > .wrap { display: flex; align-items: center; gap: 4px; height: 100%; }
.nav .brand { margin-right: auto; }
.nav-links { display: flex; align-items: center; }
.nav-links a { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border-radius: 9999px; font-size: 14px; color: var(--t3); white-space: nowrap; transition: color .1s var(--ease), background-color .1s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--t1); }
.nav-links a:hover { background: var(--l0); }
.nav-div { width: 1px; height: 16px; margin: 0 10px; background: var(--line-2); }
.nav-menu { display: none; }
.nav-menu > summary { list-style: none; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.burger { position: relative; display: block; flex: none; width: 40px; height: 40px; margin-left: 8px; border-radius: 9999px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--l2); }
.burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; border-radius: 2px; background: var(--t1); transition: transform .28s var(--ease-fig), top .28s var(--ease-fig); }
.burger i:nth-child(1) { top: 16px; } .burger i:nth-child(2) { top: 22.5px; }
.nav-menu[open] .burger i:nth-child(1) { top: 19.25px; transform: rotate(45deg); }
.nav-menu[open] .burger i:nth-child(2) { top: 19.25px; transform: rotate(-45deg); }
.menu { position: absolute; left: 0; right: 0; top: calc(var(--head) - 1px); height: calc(100dvh - var(--head) + 1px); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--l1); background: var(--bg); }
.nav-menu[open] .menu { animation: menu-in .24s var(--ease-fig); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
.menu ul { padding-block: 8px 24px; }
.menu a { display: flex; align-items: center; justify-content: space-between; height: 52px; border-bottom: 1px solid var(--l1); font-size: 17px; font-weight: 510; color: var(--t2); }
.menu a .ar { color: var(--t4); }
.menu a:hover { color: var(--t1); }
@media (max-width: 768px) {
  .nav-links, .nav-div { display: none; }
  .nav-menu { display: block; }
  .nav .nav-cta { height: 36px; padding: 0 16px; font-size: 14px; }
}
@media (max-width: 340px) { .brand .wm { font-size: 20px; } .nav .nav-cta { padding: 0 13px; } }
@media (prefers-reduced-motion: reduce) { .nav-menu[open] .menu { animation: none; } .burger i { transition: none; } }

/* ---- hero load-in: Linear's per-line blur-in (JS pages only) ---- */
.js .in-1, .js .in-2, .js .in-3, .js .in-4, .js .in-5 { opacity: 0; filter: blur(10px); transform: translateY(18px); animation: blurin 1s var(--ease-in) forwards; }
.js .in-1 { animation-delay: .08s; } .js .in-2 { animation-delay: .18s; } .js .in-3 { animation-delay: .3s; } .js .in-4 { animation-delay: .42s; } .js .in-5 { animation-delay: .6s; }
@keyframes blurin { to { opacity: 1; filter: none; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .in-1, .js .in-2, .js .in-3, .js .in-4, .js .in-5 { opacity: 1; filter: none; transform: none; animation: none; } }

/* ---- sections: title left, description right, top-aligned; stacked under 1024 ---- */
.sec { position: relative; padding-block: var(--sec); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: start; padding-bottom: 72px; }
.sec-head > .h2 { grid-column: 1; }
.sec-head > .lede { grid-column: 2; padding-top: 10px; max-width: 44ch; }
@media (max-width: 899px) { .sec-head { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-bottom: 56px; } .sec-head > .h2, .sec-head > .lede { grid-column: 1; } .sec-head > .lede { padding-top: 0; } }
@media (max-width: 640px)  { .sec-head { gap: 14px; padding-bottom: 40px; } }

/* ---- frames and panels: a real 1px border; bands inside are square with a 2px rail ---- */
.frame { position: relative; padding: 8px; border-radius: 20px; background: rgba(36,29,16,.022); box-shadow: inset 0 0 0 1px var(--l1); }
.panel { position: relative; overflow: hidden; border-radius: 12px; background: var(--sheet); border: 1px solid var(--line); }
@media (max-width: 640px) { .frame { padding: 6px; border-radius: 16px; } .panel { border-radius: 10px; } }
/* the ink plate the product sits on */
.plate { position: relative; padding: 10px; border-radius: 22px; background: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255,248,234,.06), 0 1px 1px rgba(46,32,12,.08), 0 30px 70px -30px rgba(46,32,12,.55), 0 10px 24px -12px rgba(46,32,12,.25); }
@media (max-width: 640px) { .plate { padding: 6px; border-radius: 16px; } }

/* ---- the tuck: a section that slides over the mock above it on a crisp paper edge and casts a short,
   soft shadow onto it (never a fade) ---- */
.over { position: relative; z-index: 2; background: var(--bg); border-top: 1px solid rgba(255,253,244,.9); box-shadow: 0 -1px 0 rgba(36,29,16,.08); }
.over::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% + 1px); height: 14px; pointer-events: none;
  background: linear-gradient(0deg, rgba(20,14,6,.16), rgba(20,14,6,.05) 45%, rgba(20,14,6,0)); }

/* ---- forms: labels above, 16px inputs on phones, inline errors ---- */
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field > label { font-size: 15px; font-weight: 510; line-height: 1.4; color: var(--t1); letter-spacing: -.01em; }
.input, .textarea { width: 100%; height: 48px; padding: 0 14px; border: 0; outline: 0; border-radius: 10px; background: var(--field); color: var(--t1); font-size: 15px; line-height: 1.4;
  box-shadow: inset 0 0 0 1px var(--l2), 0 1px 1px rgba(46,32,12,.03); transition: box-shadow .16s var(--ease); }
.textarea { height: auto; min-height: 168px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.input::placeholder, .textarea::placeholder { color: #7A6F55; opacity: 1; }
.input:hover, .textarea:hover { box-shadow: inset 0 0 0 1px rgba(36,29,16,.28), 0 1px 1px rgba(46,32,12,.03); }
.input:focus-visible, .textarea:focus-visible { outline: 0; box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .9), 0 0 0 3px rgba(var(--accent-rgb), .15); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .8), 0 0 0 3px rgba(var(--accent-rgb), .08); }
.err { display: flex; gap: 8px; align-items: baseline; font-size: 14px; line-height: 1.45; color: var(--accent-deep); font-weight: 510; }
.err::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transform: translateY(-1px); }
@media (max-width: 640px), (pointer: coarse) { .input, .textarea { font-size: 16px; } }

/* ---- the closer: a ruled legal sheet with a vermillion margin rule and the struck corner ---- */
.cta { position: relative; padding: 40px 0 160px; }
.cta-sheet { position: relative; isolation: isolate; max-width: 1080px; margin: 0 auto; padding: 112px 64px 120px 128px; background: var(--sheet);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 72px), calc(100% - 72px) 100%, 0 100%); }
.cta-rules { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(180deg, transparent 0 39px, rgba(36,29,16,.075) 39px 40px); background-position: 0 31px; }
.cta-margin { position: absolute; top: 0; bottom: 0; left: 88px; width: 1px; background: rgba(var(--accent-rgb), .55); box-shadow: 4px 0 0 rgba(var(--accent-rgb), .22); z-index: -1; }
.cta-wrap { filter: drop-shadow(0 1px 1px rgba(46,32,12,.10)) drop-shadow(0 16px 22px rgba(46,32,12,.10)); }
.cta-fold { position: absolute; right: 0; bottom: 0; width: 72px; height: 72px; z-index: 1; clip-path: polygon(0 0, 100% 0, 0 100%);
  background: linear-gradient(135deg, #E4D7B8 0%, #EFE5CD 46%, #F7F0DE 50%); box-shadow: inset 1px 1px 0 rgba(36,29,16,.06); }
.cta .h2 { max-width: 11em; font-size: 54px; line-height: 1.04; }
.cta-body { max-width: 40em; margin-top: 22px; font-size: 19px; line-height: 1.55; color: var(--t3); }
.cta .actions { margin-top: 40px; }
@media (max-width: 1024px) { .cta .h2 { font-size: 44px; } .cta-sheet { padding: 88px 48px 104px 104px; } .cta-margin { left: 72px; } }
@media (max-width: 640px) {
  .cta { padding: 16px 0 100px; }
  .cta .h2 { font-size: 32px; line-height: 1.1; }
  .cta-sheet { padding: 64px 16px 88px 44px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), calc(100% - 44px) 100%, 0 100%); }
  .cta .actions { flex-direction: column; align-items: stretch; }
  .cta .actions .btn { width: calc(100% + 28px); height: 48px; margin-left: -28px; font-size: 16px; }
  .cta-fold { width: 44px; height: 44px; }
  .cta-margin { left: 28px; }
  .cta-body { font-size: 17px; }
}
@media (max-width: 400px) {
  .cta-sheet { padding: 56px 16px 80px 36px; }
  .cta-margin { left: 22px; }
  .cta .actions .btn { width: calc(100% + 20px); margin-left: -20px; padding: 0 10px; font-size: 15px; }
}

/* ---- footer ---- */
.foot { position: relative; padding: 72px 0 40px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand p { margin-top: 14px; max-width: 36ch; font-size: 14px; line-height: 1.55; color: var(--t3); }
.foot-h { display: block; margin-bottom: 10px; font: 510 14px/1.4 var(--font); color: var(--t1); }
.foot li a { display: inline-flex; align-items: center; min-height: 30px; font-size: 14px; color: var(--t3); transition: color .1s var(--ease); }
.foot li a.mono { font-size: 13px; }
.foot li a:hover { color: var(--t1); }
/* the two quiet disclosure lines, then the base row under a rule that runs the footer's full width (as on marlow and gigs) */
.foot-notes { display: grid; gap: 4px; margin-top: 56px; font-size: 13.5px; line-height: 1.6; color: var(--t2); }
.foot-notes p { max-width: 110ch; text-wrap: pretty; }
.colophon { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--t4); }
.colophon span { text-wrap: pretty; }
.colophon a { color: var(--t3); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .2em; }
.colophon a:hover { color: var(--t1); }
@media (max-width: 1024px) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .colophon { flex-direction: column; align-items: flex-start; } .foot { padding-top: 56px; } .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; } .foot-grid > nav:last-child { grid-column: 1 / -1; } }
@media (pointer: coarse) { .foot li a { min-height: 40px; } }

/* ---- shared: the jade guarantee ---- */
.jade { color: var(--jade); font-weight: 590; }
