@charset "utf-8";

/* Humanize Autotyper landing page.
   Palette and type are the same tokens the extension popup uses, so the site
   and the product look like the same object. */

* { box-sizing: border-box; }

:root {
  --paper:      #E4D5B0;
  --desk:       #D3C094;
  --raised:     #F2EAD2;
  --cream:      #F5EDD6;
  --ink:        #2C2417;
  --ink-soft:   #6A5A3F;
  --rule:       #C4B285;
  --ribbon:     #A63A2A;
  --ribbon-deep:#85291C;
  --green:      #4E6B3A;
  --lip-cream:  #C2A97A;
  --lip-ribbon: #7A2418;

  --slab: "American Typewriter", "Rockwell", "Courier New", Courier, monospace;
  --body: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --mono: "Courier New", Courier, monospace;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-coarse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.22' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.7'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
  --fiber: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.11 0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)' opacity='0.34'/%3E%3C/svg%3E");
  --speck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.045' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 0 0 0 0 0 0 0 .55 .2'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; scroll-padding-top: 78px; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(1100px 600px at 15% -5%, rgba(255,250,235,.50), transparent 60%),
    radial-gradient(900px 500px at 95% 20%, rgba(140,112,64,.16), transparent 60%),
    var(--speck),
    var(--fiber);
  overflow-x: hidden;
}

/* ══════════════════════════════════════════════════════════ grain + vignette */

.grain {
  position: fixed;
  top: -60%; left: -60%;
  width: 220%; height: 220%;
  z-index: 300;
  pointer-events: none;
  opacity: .46;
  mix-blend-mode: multiply;
  background-image: var(--grain);
  animation: shift 900ms steps(4, end) infinite;
}
/* A second, larger-grained pass drifting the other way, so the texture reads as
   paper stock rather than a single tiling noise. */
.grain.coarse {
  z-index: 298;
  opacity: .26;
  background-image: var(--grain-coarse);
  background-size: 420px 420px;
  animation: shift 1500ms steps(3, end) infinite reverse;
}
@keyframes shift {
  0%   { transform: translate3d(0, 0, 0); }
  25%  { transform: translate3d(-2%, 1.5%, 0); }
  50%  { transform: translate3d(1.5%, -1%, 0); }
  75%  { transform: translate3d(-1%, -2%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.vignette {
  position: fixed; inset: 0;
  z-index: 299;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(58,44,22,.18) 100%);
}

/* ══════════════════════════════════════════════════════════════════ the paper

   Every sheet of paper on the page is one element with a background layer
   underneath it. The rough edge is a displacement filter on that layer only,
   so the text sitting on top of it stays sharp. */

.paper { position: relative; z-index: 0; }
.paper > * { position: relative; z-index: 1; }

.paper::before {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: 0;
  background-color: var(--cream);
  background-image:
    radial-gradient(220px 120px at 12% 8%,  rgba(160,130,70,.10), transparent 70%),
    radial-gradient(300px 160px at 88% 82%, rgba(160,130,70,.09), transparent 70%),
    var(--fiber);
  filter: url(#deckle-fine) drop-shadow(0 5px 0 var(--lip-cream)) drop-shadow(0 14px 22px rgba(60,44,20,.20));
}
.paper.big::before { inset: -8px; filter: url(#deckle) drop-shadow(0 6px 0 var(--lip-cream)) drop-shadow(0 20px 34px rgba(60,44,20,.22)); }
.paper.flat::before { filter: url(#deckle-fine) drop-shadow(0 4px 0 var(--lip-cream)); }

/* A strip of tape holding the sheet down. */
.tape::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -14px; left: 50%;
  width: 104px; height: 27px;
  transform: translateX(-50%) rotate(-2.4deg);
  background: linear-gradient(180deg, rgba(255,252,240,.72), rgba(226,214,182,.66));
  border-left: 1px dashed rgba(120,100,60,.35);
  border-right: 1px dashed rgba(120,100,60,.35);
  box-shadow: 0 1px 3px rgba(60,44,20,.16);
}
.tape:nth-child(odd)::after { transform: translateX(-50%) rotate(2.1deg); left: 42%; }

/* ═════════════════════════════════════════════════════════════════════ type */

h1, h2, h3, .price, .num, .stamp, .btn, kbd, th, .clock-t {
  font-family: var(--slab);
}

h1 {
  font-size: clamp(34px, 5.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.4px;
  margin: 0 0 20px;
  text-shadow: 0 0 1px rgba(44,36,23,.22);
}
h2 { font-size: clamp(25px, 3.2vw, 36px); line-height: 1.18; margin: 0 0 14px; }
h3 { font-size: 19px; margin: 0 0 8px; }
p  { margin: 0 0 14px; }
a  { color: var(--ribbon); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ribbon-deep); }

.eyebrow {
  font-family: var(--slab);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2.6px;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.lede { font-size: clamp(17px, 1.9vw, 21px); color: var(--ink-soft); max-width: 60ch; margin: 0 0 24px; min-height: 2.6em; }
.sub  { color: var(--ink-soft); max-width: 68ch; }
.fine { font-size: 14px; color: var(--ink-soft); }
.mono { font-family: var(--mono); font-size: 14.5px; }
.strike { text-decoration: line-through; text-decoration-color: var(--ribbon); color: var(--ink-soft); }
.mt { margin-top: 30px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.sec  { padding: 76px 22px; }

/* Alternating bands, edged like a torn strip of a different stock. */
.band {
  position: relative;
  padding: 76px 0;
  margin: 10px 0;
  background-color: var(--desk);
  background-image: var(--fiber);
  border-top: 2px solid rgba(44,36,23,.22);
  border-bottom: 2px solid rgba(44,36,23,.22);
  box-shadow: inset 0 14px 26px rgba(90,68,32,.10), inset 0 -14px 26px rgba(90,68,32,.10);
}

/* ═══════════════════════════════════════════════════════════════════ topbar */

.topbar {
  position: sticky; top: 0; z-index: 250;
  background: rgba(228,213,176,.88);
  backdrop-filter: blur(7px) saturate(1.1);
  border-bottom: 2px solid var(--ink);
}
.topbar-in {
  max-width: 1080px; margin: 0 auto; padding: 11px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand b { display: block; font-family: var(--slab); font-size: 16px; line-height: 1.15; }
.brand small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.8px; color: var(--ink-soft); }
.topbar nav { display: flex; align-items: center; gap: 20px; }
.topbar nav a { font-size: 15px; color: var(--ink-soft); text-decoration: none; }
.topbar nav a:hover { color: var(--ribbon); }
.topbar nav a.btn {
  color: var(--cream);
  background: var(--ribbon);
  border-color: var(--ribbon-deep);
  box-shadow: 0 3px 0 var(--lip-ribbon);
}
.topbar nav a.btn:hover { background: #B5432F; color: var(--cream); }
.topbar nav a.btn:active { box-shadow: 0 0 0 var(--lip-ribbon); }

/* ═════════════════════════════════════════════════════════════════════ hero */

.hero { position: relative; padding: 34px 22px 82px; }

/* Two pushpins holding the sheet to the desk. Drawn head-on: a domed head, a
   specular dot up and to the left, and a shadow cast down onto the paper. */
.pin {
  position: absolute; top: 22px; z-index: 3;
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%,
    #E4705C 0%, var(--ribbon) 40%, var(--ribbon-deep) 76%, #5F1A11 100%);
  box-shadow:
    inset -2px -3px 6px rgba(0,0,0,.4),
    inset 2px 2px 4px rgba(255,225,215,.3),
    0 4px 7px rgba(40,30,12,.42),
    0 1px 2px rgba(40,30,12,.5);
}
.pin::before {
  content: ""; position: absolute; left: 5px; top: 4px;
  width: 8px; height: 6px; border-radius: 50%;
  background: rgba(255,240,235,.6);
  transform: rotate(-18deg);
}
.pin.left  { left: 30px; }
.pin.right { right: 30px; }

.sheet {
  position: relative;
  max-width: 940px; margin: 0 auto;
  padding: 62px clamp(24px, 5vw, 66px) 46px;
}
.sheet::before { border-radius: 2px; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }

/* live readout under the headline */
.readout {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px;
  padding: 12px 0 0;
  border-top: 2px dashed var(--rule);
  font-family: var(--slab); font-size: 13px; color: var(--ink-soft);
}
.readout .rd b { color: var(--ink); font-size: 16px; }
.gauge {
  width: 132px; height: 9px; flex: 0 0 auto;
  background: var(--raised);
  border: 1.5px solid var(--rule); border-radius: 3px;
  overflow: hidden;
}
.gauge i { display: block; height: 100%; width: 0; background: var(--ribbon); transition: width .22s ease-out; }

/* the caret, in the headline and in the document */
.caret {
  display: inline-block;
  width: .5em; height: 1.02em;
  margin-left: 2px;
  vertical-align: -0.16em;
  background: var(--ribbon);
}
.caret.idle { animation: blink 1.05s steps(1, end) infinite; }
@keyframes blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
h1 .caret { background: var(--ink); }

/* ═════════════════════════════════════════════════════════════════════ demo */

.head { margin-bottom: 30px; position: relative; }
.stamp {
  display: inline-block;
  margin-bottom: 12px; padding: 3px 14px 4px;
  font-size: 12px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  color: var(--ribbon);
  border: 2.5px solid var(--ribbon);
  border-radius: 4px;
  transform: rotate(-2.6deg);
  opacity: .82;
}

.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }

.panel { padding: 26px 26px 22px; }
.lbl {
  display: block; margin-bottom: 8px;
  font-family: var(--slab); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.8px; color: var(--ink-soft);
}
textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: var(--body); font-size: 16px; line-height: 1.55;
  color: var(--ink);
  background: rgba(255,252,240,.7);
  border: 2px solid var(--rule); border-radius: 6px;
  resize: vertical;
}
textarea:focus, select:focus { outline: none; border-color: var(--ribbon); }

select {
  width: 100%;
  padding: 9px 10px;
  font-family: var(--body); font-size: 15px;
  color: var(--ink);
  background: rgba(255,252,240,.7);
  border: 2px solid var(--rule); border-radius: 6px;
  cursor: pointer;
}
.count { margin: 8px 0 18px; font-size: 13.5px; color: var(--ink-soft); font-family: var(--slab); }
.count b { color: var(--ink); }
.warn { color: var(--ribbon); }

.controls { display: grid; gap: 15px; padding-top: 18px; border-top: 2px dashed var(--rule); }
.ctl-l {
  display: block; margin-bottom: 6px;
  font-size: 13.5px; color: var(--ink-soft);
}
.ctl-l b { color: var(--ink); font-family: var(--slab); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 22px;
  background: transparent; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px; border-radius: 4px;
  background: var(--raised);
  border: 1.5px solid var(--rule);
}
input[type="range"]::-moz-range-track {
  height: 8px; border-radius: 4px;
  background: var(--raised);
  border: 1.5px solid var(--rule);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; margin-top: -8px;
  background: var(--cream);
  border: 2px solid var(--ink); border-radius: 5px;
  box-shadow: 0 2px 0 var(--lip-cream);
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px;
  background: var(--cream);
  border: 2px solid var(--ink); border-radius: 5px;
  box-shadow: 0 2px 0 var(--lip-cream);
}
input[type="range"]:focus-visible { outline: 2px solid var(--ribbon); outline-offset: 4px; }

.buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 12px; }

/* word-choice toggle, same switch the popup uses */
.switchrow { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.switchtext { flex: 1; }
.switchtext > span { display: block; font-size: 13.5px; color: var(--ink-soft); }
.switchtext small { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: var(--ink-soft); opacity: .85; }
.switch { position: relative; display: inline-block; width: 46px; height: 25px; flex: 0 0 auto; margin-top: 2px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track {
  position: absolute; inset: 0; cursor: pointer;
  background: var(--raised);
  border: 2px solid var(--ink); border-radius: 14px;
  transition: background .12s;
}
.switch .track::before {
  content: ""; position: absolute; height: 15px; width: 15px; left: 3px; top: 3px;
  background: var(--cream);
  border: 1.5px solid var(--ink); border-radius: 50%;
  transition: transform .12s;
}
.switch input:checked + .track { background: var(--ribbon); }
.switch input:checked + .track::before { transform: translateX(21px); border-color: var(--ribbon-deep); }
.switch input:focus-visible + .track { outline: 2px solid var(--ribbon); outline-offset: 3px; }

/* the word-choice illustration */
.reword { padding: 30px 28px; font-family: var(--mono); font-size: 15.5px; line-height: 1.6; }
.rw-l { color: var(--ink-soft); margin-bottom: 14px; }
.rw-try { margin: 0 0 6px; padding-left: 18px; }
.rw-final { margin: 6px 0 16px; padding-left: 18px; font-weight: 700; color: var(--ink); }
.rw-final .caret { animation: blink 1.05s steps(1, end) infinite; height: .95em; }
.rw-cap { margin: 0; padding-top: 14px; border-top: 1.5px dashed var(--rule); font-family: var(--body); font-size: 13.5px; color: var(--ink-soft); }

/* the fake document */
.doc-wrap { position: sticky; top: 96px; }
.doc { padding: 0; overflow: hidden; }
.doc::before { border-radius: 8px; }
.doc-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 14px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--slab); font-size: 12px; color: var(--ink-soft);
}
.doc-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule); border: 1px solid rgba(44,36,23,.3); }
.doc-bar i:first-child { background: var(--ribbon); }
.doc-bar span { margin-left: 8px; letter-spacing: .6px; }

.page {
  position: relative;
  min-height: 340px;
  padding: 18px 22px 26px 58px;
  background-image: linear-gradient(90deg, transparent 44px, rgba(166,58,42,.30) 44px, rgba(166,58,42,.30) 46px, transparent 46px);
}
.ruled {
  min-height: 450px;
  font-size: 16.5px;
  line-height: 30px;
  white-space: pre-wrap;
  word-break: break-word;
  background-image: repeating-linear-gradient(to bottom, transparent 0 29px, rgba(140,120,75,.34) 29px 30px);
}
.ruled .ph { color: #A99A73; font-style: italic; }

.ticker {
  display: flex; align-items: center; gap: 10px;
  margin-top: 22px; padding: 9px 14px;
  font-family: var(--slab); font-size: 13px; color: var(--ink-soft);
  background: rgba(245,237,214,.6);
  border: 1.5px solid var(--rule); border-radius: 7px;
}
.ticker .spacer { flex: 1; }
.ticker .rd b { color: var(--ink); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); flex: 0 0 auto; }
.dot.on { background: var(--ribbon); box-shadow: 0 0 0 4px rgba(166,58,42,.16); }

/* ══════════════════════════════════════════════════════════════════ buttons */

.btn {
  display: inline-block;
  padding: 12px 22px;
  font-size: 16px; font-weight: 700;
  color: var(--ink); text-decoration: none;
  background: var(--cream);
  border: 2px solid var(--ink); border-radius: 8px;
  box-shadow: 0 4px 0 var(--lip-cream);
  cursor: pointer;
  transition: transform .05s ease, box-shadow .05s ease, background .12s ease;
}
.btn:hover { background: #FBF4E1; color: var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--lip-cream); }
.btn:disabled { opacity: .45; cursor: default; box-shadow: 0 4px 0 var(--lip-cream); transform: none; }
.btn-primary {
  color: var(--cream);
  background: var(--ribbon);
  border-color: var(--ribbon-deep);
  box-shadow: 0 4px 0 var(--lip-ribbon);
}
.btn-primary:hover { background: #B5432F; color: var(--cream); }
.btn-primary:active { box-shadow: 0 0 0 var(--lip-ribbon); }
.btn-sm { padding: 8px 15px; font-size: 14px; box-shadow: 0 3px 0 var(--lip-cream); }
.btn-primary.btn-sm { box-shadow: 0 3px 0 var(--lip-ribbon); }
.btn-ghost { background: transparent; box-shadow: 0 3px 0 rgba(194,169,122,.6); }

/* ═════════════════════════════════════════════════════════════ split layout */

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.split.flip > :first-child { order: 2; }

/* short "it works in Google Docs" note under the demo */
.docs-note {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
  align-items: center; margin-top: 30px;
}
.docs-note h3 { font-size: 21px; }
.docs-note p:last-child { margin-bottom: 0; }
.big-p { font-family: var(--slab); font-size: clamp(19px, 2.2vw, 25px); line-height: 1.3; margin-bottom: 14px; }

/* the chrome debugger banner mock */
.banner-demo { border-radius: 10px; overflow: hidden; box-shadow: 0 16px 32px rgba(60,44,20,.22); }
.chrome-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  font-family: -apple-system, "Segoe UI", system-ui, sans-serif; font-size: 13.5px;
  color: #4A3B12;
  background: #FCE9A8;
  border-bottom: 1px solid #D8BE68;
}
.warn-dot { width: 15px; height: 15px; border-radius: 3px; background: #E8B22B; flex: 0 0 auto; }
.chrome-bar .x { margin-left: auto; color: #2F6CC4; }
.chrome-body { padding: 24px 24px 30px; }
.chrome-body::before { inset: 0; filter: none; border-radius: 0; background-image: var(--fiber); }
.cb-line { height: 11px; margin: 0 0 13px; background: rgba(140,120,75,.28); border-radius: 3px; }
.cb-line.long { width: 92%; } .cb-line.med { width: 78%; } .cb-line.short { width: 44%; }
.cb-cursor { margin: 20px 0 0; font-family: var(--mono); font-size: 14.5px; color: var(--ink); }
.cb-cursor .caret { animation: blink 1.05s steps(1, end) infinite; }

/* ═════════════════════════════════════════════════════════════════ mistakes */

.scales { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 40px 0 26px; }
@media (max-width: 1080px) and (min-width: 941px) { .scales { grid-template-columns: repeat(2, 1fr); gap: 30px; } }
.scales .card:nth-child(4) { transform: rotate(.4deg); }
.wait {
  display: inline-block; margin: 0 2px; padding: 0 6px;
  color: var(--ribbon); background: var(--raised);
  border: 1.5px dashed var(--rule); border-radius: 4px;
}
.card { padding: 26px 24px 22px; }
.card.plan, .scales .card { display: flex; flex-direction: column; }
.scales .card { transform: rotate(-.5deg); }
.scales .card:nth-child(2) { transform: rotate(.6deg); }
.scales .card:nth-child(3) { transform: rotate(-.35deg); }
.num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-bottom: 12px;
  font-size: 17px; font-weight: 700;
  color: var(--cream); background: var(--ribbon);
  border: 2px solid var(--ribbon-deep); border-radius: 8px;
}
.scales .mono { margin-top: auto; padding-top: 12px; border-top: 1.5px dashed var(--rule); }
.after { max-width: 72ch; }

.uses { padding-left: 0; margin: 0; list-style: none; }
.uses li {
  position: relative;
  padding: 0 0 0 30px; margin-bottom: 11px;
}
.uses li::before {
  content: ""; position: absolute; left: 4px; top: .55em;
  width: 12px; height: 12px;
  background: var(--ribbon);
  border: 1.5px solid var(--ribbon-deep); border-radius: 3px;
}

/* the clock panel */
.clockbox { padding: 34px 30px; text-align: center; }
.clock-l { font-family: var(--slab); font-size: 15px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 4px; }
.clock-t { font-size: clamp(48px, 8vw, 82px); line-height: 1; margin: 0 0 8px; letter-spacing: -1px; }
.clock-s { font-size: 14px; color: var(--ink-soft); margin: 0 0 18px; }
.clock-bar { height: 12px; background: var(--raised); border: 2px solid var(--ink); border-radius: 4px; overflow: hidden; }
.clock-bar i { display: block; height: 100%; width: 68%; background: repeating-linear-gradient(45deg, var(--ribbon) 0 8px, var(--ribbon-deep) 8px 16px); }

/* ═════════════════════════════════════════════════════════════════ pricing */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 34px 0 26px; }
.plan.featured::before { background-color: #FBF3DC; }
.plan.featured { border-radius: 4px; }
.tag {
  position: absolute; z-index: 2; top: -13px; right: 18px;
  padding: 4px 12px;
  font-family: var(--slab); font-size: 11px; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--cream); background: var(--ribbon);
  border: 2px solid var(--ribbon-deep); border-radius: 5px;
  transform: rotate(2deg);
}
.price { font-size: 40px; line-height: 1; margin: 10px 0 4px; }
.per { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.plan ul { margin: 0; padding-left: 20px; font-size: 15px; }
.plan li { margin-bottom: 7px; }
.terms { margin-top: 8px; }
.terms p:last-child { margin-bottom: 0; }

/* ═════════════════════════════════════════════════════════════════ install */

.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li {
  counter-increment: s;
  position: relative;
  padding: 0 0 20px 52px;
  margin: 0;
}
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--slab); font-size: 16px; font-weight: 700;
  color: var(--ink); background: var(--cream);
  border: 2px solid var(--ink); border-radius: 8px;
  box-shadow: 0 3px 0 var(--lip-cream);
}
.dl { margin-top: 8px; }

/* ═══════════════════════════════════════════════════════════════════ trust */

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.trust table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-bottom: 12px; }
.trust th, .trust td { text-align: left; padding: 7px 8px 7px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.trust th { font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--ink-soft); white-space: nowrap; padding-right: 14px; }
.cards-accepted { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0; }
.cards-accepted span {
  font-family: var(--slab); font-size: 11.5px; letter-spacing: .4px;
  padding: 4px 9px; color: var(--ink-soft);
  background: var(--raised); border: 1.5px solid var(--rule); border-radius: 5px;
}

kbd {
  font-size: 12px; padding: 1px 6px;
  background: var(--raised);
  border: 1.5px solid var(--rule); border-bottom-width: 2.5px; border-radius: 4px;
}

/* ══════════════════════════════════════════════════════════════════ footer */

footer.site {
  margin-top: 20px; padding: 40px 0 54px;
  border-top: 2px solid var(--ink);
  background-color: var(--desk);
  background-image: var(--fiber);
}
.foot-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.foot-grid p { margin: 8px 0 0; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer.site nav a { font-size: 15px; }
footer.site > .wrap > .fine { padding-top: 18px; border-top: 2px dashed var(--rule); margin: 0; }

/* ══════════════════════════════════════════════════════════════ responsive */

@media (max-width: 940px) {
  .demo-grid, .split, .scales, .plans, .trust, .docs-note { grid-template-columns: 1fr; }
  .split { gap: 30px; }
  .split.flip > :first-child { order: 0; }
  .doc-wrap { position: static; }
  .scales { gap: 34px; }
  .scales .card, .scales .card:nth-child(2), .scales .card:nth-child(3) { transform: none; }
  .sec, .band { padding-top: 56px; padding-bottom: 56px; }
  .sheet { padding-top: 44px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .topbar nav { gap: 13px; }
  .topbar nav a:not(.btn) { display: none; }
  .pin { width: 19px; height: 19px; top: 16px; }
  .pin::before { left: 4px; top: 3px; width: 6px; height: 4px; }
  .pin.left  { left: 18px; }
  .pin.right { right: 18px; }
  .hero { padding-bottom: 56px; }
  .paper::before, .paper.big::before { filter: drop-shadow(0 4px 0 var(--lip-cream)); }
  .page { padding-left: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain { animation: none; }
  .caret.idle, .cb-cursor .caret { animation: none; }
  * { transition-duration: .01ms !important; }
}
