/* The product's own pages (/, /pricing): the landing and the price. Every selector is under .mk or an .mk-* class,
   so none of it can restyle a club's site or the workspace. Same stock and ink as the rest of the product:
   cream paper, printing ink, minute-book maroon, Bitter for the printed display and Atkinson Hyperlegible for
   text; boxes have corners and a hard printed offset where a screen would use a soft shadow. */

.mk { --mk-shadow: 6px 6px 0 #dfc9c3; --mk-gap: clamp(1rem, 4vw, 2rem); }
.mk-wrap { max-width: 1120px; margin: 0 auto; padding-inline: var(--mk-gap); }
.mk-narrow { max-width: 860px; }

.mk-skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .5rem .8rem; z-index: 20; }
.mk-skip:focus { left: .6rem; top: .6rem; }

/* ---- header: the letterhead, a double rule under it ---- */
.mk-head { background: var(--sheet); border-bottom: 3px double var(--ink); }
.mk-head-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .65rem; }
.mk-brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.005em; color: var(--ink); text-decoration: none; }
.mk-brand img { display: block; }
.mk-nav { display: flex; align-items: center; gap: clamp(.8rem, 2.4vw, 1.6rem); }
.mk-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: .95rem; padding-block: .3rem; }
.mk-nav a:not(.btn):hover, .mk-nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (max-width: 560px) { .mk-nav-opt { display: none; } }

/* ---- type ---- */
.mk h1 { font-size: clamp(2.1rem, 5.2vw, 3.3rem); line-height: 1.07; letter-spacing: -.012em; margin: 0 0 1rem; font-weight: 700; text-wrap: balance; }
.mk h2 { font-size: clamp(1.55rem, 3.4vw, 2.15rem); line-height: 1.14; letter-spacing: -.008em; margin: 0 0 .7rem; font-weight: 700; text-wrap: balance; max-width: 30ch; }
.mk h3 { margin: 0 0 .35rem; font-size: 1.08rem; }
.mk-kicker { font-family: var(--display); text-transform: uppercase; letter-spacing: .11em; font-size: .75rem; font-weight: 600; color: var(--accent); margin: 0 0 .7rem; }
.mk-lede { font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.5; color: var(--ink-2); margin: 0 0 1.4rem; max-width: 36rem; }
.mk-sub { font-size: 1.06rem; color: var(--ink-2); max-width: 44rem; margin: 0 0 1.6rem; }
.mk-fine { font-size: .86rem; color: var(--muted); max-width: 52rem; }
.mk-micro { font-size: .92rem; color: var(--ink-2); margin: .7rem 0 0; }

.mk-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.4rem; margin: 0; }
.mk-big { padding: .8rem 1.3rem; font-size: 1.05rem; transition: background .15s; }
.mk-link { color: var(--accent); font-weight: 700; text-underline-offset: 4px; }

/* ---- hero ---- */
.mk-hero { position: relative; overflow: hidden; padding-block: clamp(2rem, 6vw, 4.6rem); background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(2rem - 1px), rgba(33, 30, 24, .055) calc(2rem - 1px), rgba(33, 30, 24, .055) 2rem); }
.mk-hero::before { content: ""; position: absolute; top: 0; bottom: 0; left: clamp(.35rem, 1.6vw, 1.1rem); width: 5px; border-inline: 1px solid rgba(122, 47, 43, .35); pointer-events: none; }
.mk-hero-in { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(1.8rem, 5vw, 3.6rem); align-items: center; position: relative; }
.mk-hero-solo .mk-hero-in { grid-template-columns: minmax(0, 46rem); }
@media (max-width: 920px) { .mk-hero-in { grid-template-columns: minmax(0, 1fr); } .mk-hero::before { display: none; } }

.mk-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1.2rem; margin: 2rem 0 0; padding: 0; }
.mk-facts div { border-top: 2px solid var(--ink); padding-top: .55rem; }
.mk-facts dt { font-family: var(--display); font-weight: 700; font-size: 1.55rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.mk-facts dt span { font-size: .95rem; font-weight: 500; color: var(--muted); margin-left: .1rem; }
.mk-facts dd { margin: .25rem 0 0; font-size: .88rem; line-height: 1.4; color: var(--ink-2); }
@media (max-width: 620px) {
  .mk-facts { grid-template-columns: 1fr; gap: .1rem; }
  .mk-facts div { display: grid; grid-template-columns: 7.2rem minmax(0, 1fr); align-items: baseline; gap: .8rem; padding: .5rem 0; border-top-width: 1px; }
  .mk-facts dt { font-size: 1.3rem; }
}

/* ---- the product preview: a club's site, drawn from the demo club's own rows ---- */
.mk-preview { margin: 0; animation: mk-rise .6s ease-out .05s both; min-width: 0; }
.mk-win { background: var(--sheet); border: 1px solid var(--ink); box-shadow: var(--mk-shadow); border-radius: 3px; overflow: hidden; }
.mk-win-bar { display: flex; align-items: center; gap: .35rem; padding: .5rem .7rem; background: #ebe4d3; border-bottom: 1px solid var(--ink); }
.mk-win-bar i { width: .6rem; height: .6rem; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--paper); flex: none; }
.mk-url { margin-left: .5rem; padding: .08rem .6rem; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; font-size: .76rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mk-site { padding: .9rem 1.05rem 1.1rem; font-size: .8rem; line-height: 1.45; color: var(--ink); }
.mk-site-nav { display: flex; align-items: center; gap: .9rem; padding-bottom: .55rem; border-bottom: 3px double var(--ink); margin-bottom: .8rem; color: var(--ink-2); flex-wrap: wrap; }
.mk-site-nav b { font-family: var(--display); font-size: .98rem; color: var(--ink); margin-right: auto; }
.mk-site-join { border: 1px solid var(--ink); padding: 0 .5rem; color: var(--ink); }
.mk-site-h { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 3vw, 1.65rem); line-height: 1.15; margin: 0 0 .3rem; }
.mk-site-blurb { margin: 0 0 .35rem; color: var(--ink-2); font-size: .86rem; }
.mk-site-meta { margin: 0 0 .9rem; color: var(--muted); font-size: .78rem; }
.mk-site-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; padding-top: .75rem; border-top: 1px solid var(--line-strong); }
.mk-site-k { font-family: var(--display); text-transform: uppercase; letter-spacing: .09em; font-size: .68rem; color: var(--accent); margin: 0 0 .3rem; font-weight: 600; }
.mk-site ul { list-style: none; margin: 0; padding: 0; }
.mk-site li { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: .5rem; padding: .28rem 0; border-bottom: 1px dashed var(--line); }
.mk-site li:last-child { border-bottom: 0; }
.mk-site-d { color: var(--accent); font-variant-numeric: tabular-nums; font-size: .74rem; }
.mk-site li b { display: block; font-weight: 700; }
.mk-site li em { display: block; font-style: normal; color: var(--muted); font-size: .74rem; }
@media (max-width: 520px) { .mk-site-nav span:not(.mk-site-join) { display: none; } .mk-site-cols { grid-template-columns: minmax(0, 1fr); } .mk-site { padding-inline: .8rem; } }
.mk-preview figcaption { margin: 1rem .2rem 0; font-size: .86rem; color: var(--muted); }
.mk-preview figcaption a { color: var(--accent); }

/* ---- sections ---- */
.mk-sec { padding-block: clamp(2.4rem, 6vw, 4.2rem); border-top: 1px solid var(--line); }
.mk-trust, .mk-calc-sec { background: var(--sheet); border-block: 1px solid var(--line-strong); }

.mk-step-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem clamp(1rem, 3vw, 2.2rem); counter-reset: none; }
.mk-step-list li { border-top: 2px solid var(--ink); padding-top: .8rem; }
.mk-num { display: block; font-family: var(--display); font-weight: 600; font-size: 2.3rem; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; margin-bottom: .55rem; }
.mk-step-list h3 { font-size: 1.3rem; }
.mk-step-list p { margin: 0; color: var(--ink-2); font-size: .98rem; }
@media (max-width: 820px) {
  .mk-step-list { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .mk-step-list li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: .8rem; }
  .mk-step-list .mk-num { grid-row: 1 / span 2; text-align: right; font-size: 2rem; }
}

.mk-trust-list { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem clamp(1rem, 3vw, 2rem); }
.mk-trust-list li { background: var(--paper); border: 1px solid var(--line-strong); border-radius: 2px; padding: 1rem 1.15rem 1.1rem; }
.mk-trust-list h3 { font-size: 1.12rem; padding-bottom: .35rem; border-bottom: 1px solid var(--ink); margin-bottom: .5rem; }
.mk-trust-list p { margin: 0; font-size: .96rem; color: var(--ink-2); }
@media (max-width: 720px) { .mk-trust-list { grid-template-columns: minmax(0, 1fr); } }

/* ---- the calculator ---- */
.mk-calc { background: var(--paper); border: 1px solid var(--ink); box-shadow: var(--mk-shadow); padding: clamp(1rem, 3vw, 1.6rem); margin-bottom: 1.6rem; }
.mk-calc-in { display: flex; flex-wrap: wrap; align-items: end; gap: .6rem 1.4rem; margin-bottom: 1.2rem; }
.mk-calc-in[hidden] { display: none; }
.mk-calc-in label { flex: 0 0 100%; font-weight: 700; color: var(--ink); font-size: .98rem; }
.mk-calc-in input { width: 9.5rem; margin: 0; font-family: var(--display); font-size: 1.35rem; font-weight: 600; padding: .35rem .6rem; border: 2px solid var(--ink); background: var(--sheet); font-variant-numeric: tabular-nums; }
.mk-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.mk-chips button { font: inherit; font-size: .92rem; padding: .42rem .8rem; border: 1px solid var(--line-strong); background: var(--sheet); color: var(--ink); border-radius: 2px; cursor: pointer; font-variant-numeric: tabular-nums; }
.mk-chips button:hover { border-color: var(--ink); }
.mk-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.mk-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.mk-col { background: var(--sheet); border: 1px solid var(--line-strong); border-radius: 2px; padding: 1rem 1.1rem 1.1rem; min-width: 0; }
.mk-col-us { border: 2px solid var(--accent); background: #fff9ee; }
.mk-col-name { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .09em; font-size: .78rem; color: var(--ink-2); margin: 0 0 .3rem; }
.mk-col-us .mk-col-name { color: var(--accent); }
.mk-col-price { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 4.5vw, 2.9rem); line-height: 1.05; margin: 0 0 .5rem; font-variant-numeric: tabular-nums; }
.mk-col-price small { font-family: var(--text); font-size: .95rem; font-weight: 500; color: var(--muted); margin-left: .15rem; }
.mk-col-note { margin: 0 0 .35rem; font-size: .9rem; line-height: 1.45; color: var(--ink-2); }
.mk-calc-line { margin: 1.1rem 0 0; font-weight: 700; font-size: 1.06rem; padding-top: .9rem; border-top: 1px solid var(--ink); }
@media (max-width: 860px) { .mk-cols { grid-template-columns: minmax(0, 1fr); } }

.mk-tablewrap { margin: 0 0 1rem; overflow: visible; }
.mk-table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--paper); border: 1px solid var(--line-strong); }
.mk-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mk-table th, .mk-table td { padding: .5rem .7rem; text-align: right; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.mk-table thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); border-bottom: 1px solid var(--ink); vertical-align: bottom; }
.mk-table tbody th { font-family: var(--display); font-weight: 600; }
.mk-table th:first-child { text-align: left; }
.mk-table tr.is-tier th, .mk-table tr.is-tier td { background: var(--accent-soft); font-weight: 700; }
@media (max-width: 520px) { .mk-table { font-size: .88rem; table-layout: fixed; } .mk-table thead th { font-size: .64rem; letter-spacing: 0; white-space: normal; } .mk-table th, .mk-table td { padding: .45rem .35rem; overflow-wrap: anywhere; } .mk-table th:nth-child(3), .mk-table td:nth-child(3) { display: none; } }

/* ---- questions ---- */
.mk-faq { margin-top: 1.4rem; border-top: 1px solid var(--ink); }
.mk-faq-item { border-bottom: 1px solid var(--line-strong); }
.mk-faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .95rem .1rem; font-weight: 700; font-size: 1.04rem; }
.mk-faq-item summary::-webkit-details-marker { display: none; }
.mk-faq-item summary::after { content: "+"; font-family: var(--display); font-size: 1.4rem; line-height: 1; color: var(--accent); flex: none; }
.mk-faq-item[open] summary::after { content: "\2212"; }
.mk-faq-a { padding: 0 .1rem 1rem; max-width: 46rem; color: var(--ink-2); }
.mk-faq-a p { margin: 0; }

/* ---- closing band: the page's last word, in reversed ink ---- */
.mk-final { background: var(--ink); color: var(--paper); border-top: 0; }
.mk-final h2 { color: var(--paper); }
.mk-final .mk-sub { color: #ded5c1; margin-bottom: 0; }
.mk-final-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem 2.4rem; }
.mk-final .btn.primary { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.mk-final .btn.primary:hover { background: #fff; }
.mk-final .mk-link { color: var(--paper); }

/* ---- pricing ---- */
.mk-pricecard { background: var(--sheet); border: 1px solid var(--ink); box-shadow: var(--mk-shadow); padding: clamp(1.1rem, 3vw, 1.8rem); animation: mk-rise .6s ease-out .05s both; min-width: 0; }
.mk-price { font-family: var(--display); font-weight: 700; font-size: clamp(3.4rem, 8vw, 4.8rem); line-height: 1; margin: 0; font-variant-numeric: tabular-nums; }
.mk-price small { font-family: var(--text); font-size: 1.1rem; font-weight: 500; color: var(--muted); margin-left: .25rem; }
.mk-price-sub { margin: .4rem 0 1rem; color: var(--ink-2); padding-bottom: .9rem; border-bottom: 3px double var(--ink); }
.mk-ticks { list-style: none; margin: 0 0 1.3rem; padding: 0; }
.mk-ticks li { position: relative; padding: .3rem 0 .3rem 1.6rem; font-size: .96rem; }
.mk-ticks li::before { content: ""; position: absolute; left: .3rem; top: .55rem; width: .36rem; height: .7rem; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mk-pricecard .mk-cta { margin-bottom: .2rem; }
.mk-pricecard .mk-fine { margin: 1rem 0 0; }

/* ---- footer ---- */
.mk-foot { background: var(--sheet); border-top: 3px double var(--ink); }
.mk-foot-in { padding-block: 1.6rem 2rem; display: grid; gap: .9rem; }
.mk-foot p { margin: 0; }
.mk-foot-brand { color: var(--ink-2); max-width: 46rem; }
.mk-foot-links { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.mk-foot-links a { color: var(--ink-2); font-size: .92rem; }
.mk-foot-entity { color: var(--muted); font-size: .84rem; }

@keyframes mk-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mk-preview, .mk-pricecard { animation: none; } .mk-big { transition: none; } }

.mk-pricing-hero .mk-hero-in { align-items: start; }
