/* Canary Copy marketing site. Left aligned throughout. One loud thing: the form set in the hero. */
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--canary); padding: 6px 10px; z-index: 10; }
.wrap { max-width: 1180px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) clamp(18px, 4vw, 40px); }
.band { background: var(--white); border-top: var(--line); border-bottom: var(--line); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); margin-bottom: 0.45em; }
h3 { font-size: var(--t-md); font-stretch: 110%; margin-bottom: 0.4em; }
.intro { font-size: var(--t-md); line-height: 1.35; max-width: 54ch; color: var(--ink-2); margin-bottom: 1.6em; }
.fine { font-size: var(--t-sm); color: var(--ink-2); max-width: 78ch; }
code { font-family: var(--typed); font-size: 0.95em; background: var(--canary-pale); padding: 0 0.25em; }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(18px, 4vw, 40px); background: var(--white); border-bottom: var(--line); position: sticky; top: 0; z-index: 5; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 850; font-stretch: 122%; font-size: 1.25rem; letter-spacing: -0.012em; }
.brand:hover { background: none; }
.bar nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); font-weight: 650; font-stretch: 92%; }
.bar nav a:not(.btn) { text-decoration: none; }
.bar nav a:not(.btn):hover { background: var(--canary); }

/* Hero */
.hero { max-width: 1280px; margin: 0 auto; padding: clamp(36px, 6vw, 84px) clamp(18px, 4vw, 40px) clamp(56px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: var(--t-2xl); font-weight: 900; font-stretch: 125%; letter-spacing: -0.03em; line-height: 0.94; margin-bottom: 0.32em; }
.lede { font-size: clamp(1.12rem, 1.7vw, 1.36rem); line-height: 1.4; max-width: 34em; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 1.5em 0 0.9em; }
.cta .btn { font-size: 1.1rem; }

/* The form set */
.formset { position: relative; padding: 0 0 26px 26px; }
.formset .sheet { position: relative; }
.formset .theirs { position: absolute; inset: 26px 26px 0 0; transform: rotate(-2.2deg); background: var(--white); }
.formset .yours { padding: 22px 24px 20px 46px; transform: rotate(0.6deg); animation: peel 900ms cubic-bezier(.2,.8,.2,1) 200ms both; }
@keyframes peel { from { transform: translate(-22px, -22px) rotate(-2.2deg); } to { transform: rotate(0.6deg); } }
.edge { position: absolute; left: 0; top: 0; bottom: 0; width: 28px; border-right: 1.5px dashed var(--ink); writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; font-stretch: 78%; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; line-height: 28px; color: var(--ink); }
.theirs .edge { color: var(--ink-3); border-right-color: var(--ink-3); }
.formhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: var(--line); padding-bottom: 12px; margin-bottom: 14px; }
.formhead h2 { font-size: clamp(1.25rem, 2.3vw, 1.7rem); margin: 0; font-stretch: 112%; }
.formno { font-family: var(--typed); font-size: var(--t-xs); white-space: nowrap; padding-top: 4px; }
.boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: var(--line); background: var(--white); }
.box { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px 10px; min-width: 0; }
.box + .box { border-left: var(--line); }
.box select, .box input { font: inherit; font-family: var(--typed); font-size: 1.1rem; color: var(--ink); background: transparent; border: 0; padding: 2px 0; width: 100%; min-width: 0; }
.box select:focus-visible, .box input:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.result { margin: 18px 0 14px; min-height: 5.4em; }
.result .payby { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.result .stamp { font-size: clamp(1.25rem, 2.6vw, 1.85rem); padding: 0.18em 0.5em 0.06em; border-width: 3px; background: var(--white); }
.result p { margin: 10px 0 0; max-width: none; }
.formset .src { margin: 0; padding: 10px 14px; background: var(--white); border-left: 5px solid var(--ink); }
.formset .src p { font-family: var(--typed); font-size: var(--t-sm); margin: 0 0 6px; max-width: none; }
.formset .src cite { font-style: normal; font-size: var(--t-xs); overflow-wrap: anywhere; }

/* Pay clocks table */
.clocks { border: var(--line); border-radius: var(--radius); overflow: hidden; }
.clock { display: grid; grid-template-columns: 11rem minmax(0, 0.9fr) minmax(0, 1.5fr); gap: 0; border-bottom: var(--line); }
.clock:last-child { border-bottom: 0; }
.clock > * { padding: 16px 18px; margin: 0; max-width: none; }
.clock .name { font-weight: 850; font-stretch: 116%; font-size: 1.2rem; background: var(--canary); border-right: var(--line); }
.clock .starts { border-right: 1.5px dashed var(--ink-3); }
.clock .rule a { font-size: var(--t-xs); display: inline-block; margin-top: 6px; }
.clock.unknown .name { background: var(--goldenrod-pale); }

/* Quotes */
.quotes { display: grid; grid-template-columns: 1.25fr 1.1fr 0.85fr; gap: 22px; align-items: start; }
.q { margin: 0; padding: 22px 24px; }
.q .said { margin: 0 0 14px; font-family: var(--typed); font-size: 1.02rem; line-height: 1.45; }
.q figcaption { font-size: var(--t-sm); color: var(--ink-2); }
.q:nth-child(2) { transform: rotate(0.5deg); margin-top: 18px; }
.q:nth-child(3) { transform: rotate(-0.7deg); }
.q:nth-child(3) blockquote { font-size: 1.3rem; }

/* Steps: a real sequence, so it is numbered */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: clamp(40px, 6vw, 80px); }
.steps > li { counter-increment: step; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.steps > li:nth-child(even) .steptext { order: 2; }
.steps > li:nth-child(even) { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); }
.steptext h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.steptext h3::before { content: counter(step); display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; margin-right: 0.5em; background: var(--canary); border: var(--line); border-radius: 50%; font-family: var(--typed); font-size: 0.7em; vertical-align: 0.12em; }
.steps img { width: 100%; height: auto; display: block; border: var(--line); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink); background: var(--desk); }
.legend { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }

.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.plainlist { list-style: none; padding: 0; margin: 0; }
.plainlist li { padding: 14px 0; border-bottom: var(--hair); max-width: 62ch; }
.plainlist li:first-child { border-top: var(--line); }
.notfound { padding: 22px 24px; transform: rotate(0.5deg); }
.notfound ul { padding-left: 1.1em; margin: 0 0 14px; }
.notfound li { margin-bottom: 6px; }
.notfound p { margin: 0; font-size: var(--t-sm); }
.proof { margin: 1.4em 0 1em; }
.proof .stamp { font-size: clamp(1rem, 2.1vw, 1.45rem); border-width: 3px; padding: 0.3em 0.7em 0.16em; background: var(--green-pale); white-space: normal; }

.prices { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 20px; align-items: stretch; margin-bottom: 18px; }
.price { padding: 22px 24px; }
.price .amt { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 700; line-height: 1; margin: 6px 0 14px; }
.price .amt span { font-family: var(--sans); font-size: 1rem; font-weight: 650; font-stretch: 88%; }
.price p:last-child { margin: 0; }

.faq { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 0 clamp(20px, 4vw, 56px); margin: 0; }
.faq dt { font-weight: 800; font-stretch: 110%; font-size: 1.15rem; padding: 18px 0; border-top: var(--line); }
.faq dd { margin: 0; padding: 18px 0; border-top: var(--line); max-width: 66ch; }

.footer { background: var(--ink); color: var(--white); }
.footer .wrap { padding-top: 48px; padding-bottom: 56px; }
.footer p { font-size: var(--t-sm); max-width: 86ch; color: #d6d5ee; }
.footer .brand { color: var(--white); margin-bottom: 18px; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 650; }
.footer a:hover { background: var(--canary); color: var(--ink); }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .quotes, .prices, .split { grid-template-columns: 1fr; }
  .q:nth-child(n) { transform: none; margin-top: 0; }
  .steps > li, .steps > li:nth-child(even) { grid-template-columns: 1fr; }
  .steps > li:nth-child(even) .steptext { order: 0; }
  .clock { grid-template-columns: 1fr; }
  .clock .name { border-right: 0; border-bottom: var(--line); }
  .clock .starts { border-right: 0; border-bottom: 1.5px dashed var(--ink-3); }
  .faq { grid-template-columns: 1fr; }
  .faq dd { border-top: 0; padding-top: 0; }
  .bar nav a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  .formset { padding: 0 0 16px 12px; }
  .formset .theirs { inset: 16px 12px 0 0; }
  .formset .yours { padding: 18px 16px 16px 40px; }
  .boxes { grid-template-columns: 1fr; }
  .box + .box { border-left: 0; border-top: var(--line); }
  .steps img { box-shadow: 5px 5px 0 var(--ink); }
}
@media (prefers-reduced-motion: reduce) { .formset .yours { animation: none; } }
@media print { .bar, .cta, .footer nav { display: none; } }

.tour video { display: block; width: 100%; height: auto; border: var(--line); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink); background: var(--desk); }
.tour { max-width: 980px; margin-bottom: 18px; }

#already .src { margin: 0 0 12px; padding: 10px 14px; background: var(--white); border-left: 5px solid var(--canary); box-shadow: inset 0 0 0 1px var(--ink-wash); }
#already .src p { font-family: var(--typed); font-size: 0.95rem; margin: 0 0 6px; max-width: none; }
#already .src cite { font-style: normal; font-size: var(--t-xs); color: var(--ink-2); }

/* Buying. The page ships saying sales open soon; the server swaps in the button only when checkout is live. */
.buy { margin-top: 16px; padding-top: 14px; border-top: var(--line); }
.buy p { margin: 0 0 8px; }
.buy .soon { font-weight: 650; }
.buy [hidden] { display: none; }
/* Plain document pages: terms, privacy, refunds, contact. */
.doc { max-width: 820px; }
.doc h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: 0.3em; }
.doc h2 { font-size: var(--t-lg); margin: 1.7em 0 0.5em; }
.doc p, .doc li { max-width: 70ch; }
.doc ul { padding-left: 1.1em; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); margin: 14px 0 22px; }
.doc th { text-align: left; font-weight: 650; font-size: var(--t-xs); color: var(--ink-2); padding: 10px 12px 6px; border-bottom: var(--line); }
.doc td { padding: 10px 12px; border-bottom: var(--hair); vertical-align: top; }
.doc .dated { font-size: var(--t-sm); color: var(--ink-2); }
.doc .tablewrap { overflow-x: auto; }
