:root {
  --ink: #15231c;
  --ink-soft: #3d5148;
  --paper: #f6f2e8;
  --paper-2: #fffdf7;
  --emerald: #0d6b3c;
  --emerald-dk: #085730;
  --terra: #b34b2a;
  --gilt: #c0902f;
  --rule: #d8d0bd;
  --stub: #efe7d4;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.72;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald); }

/* ---------------------------------------------------------- the gutter --- */
/* LONGHANDS. Nothing that shares an element with .tl-wrap may set the
   `padding` shorthand — see the module docstring. */
.tl-wrap {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --------------------------------------------------------------- head --- */
.tl-head {
  background: var(--ink);
  border-bottom: 3px solid var(--gilt);
}
.tl-head__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.tl-logo {
  display: block;
  max-width: 158px;
  flex: 0 0 auto;
}
.tl-logo img { width: 100%; height: auto; }
.tl-burger {
  width: 44px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #3d5148;
  border-radius: 4px;
  color: var(--paper);
  cursor: pointer;
}
.tl-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}
.tl-nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tl-nav a {
  color: #d9e4dd;
  text-decoration: none;
  padding-top: 6px;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}
.tl-nav a:hover { color: #fff; border-bottom-color: var(--gilt); }
.tl-nav a[aria-current] { color: #fff; border-bottom-color: var(--gilt); }
.tl-nav__cta { display: none; }
.tl-head__cta {
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gilt);
  text-decoration: none;
  border-radius: 3px;
  padding-top: 9px;
  padding-bottom: 9px;
  padding-left: 16px;
  padding-right: 16px;
}
.tl-head__cta:hover { background: #d7a53c; }

/* -------------------------------------------------------- breadcrumb ---- */
.tl-trace {
  background: #ecE4d2;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 13px;
}
.tl-trace ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding-top: 9px;
  padding-bottom: 9px;
  padding-left: 0;
  padding-right: 0;
}
.tl-trace li::after { content: "/"; margin-left: 8px; color: #9a9182; }
.tl-trace li:last-child::after { content: ""; }
.tl-trace a { color: var(--ink-soft); text-decoration: none; }

/* -------------------------------------------------------------- hero ---- */
.tl-hero {
  background:
    radial-gradient(circle at 12% 120%, rgba(13,107,60,.18), transparent 60%),
    radial-gradient(circle at 92% -20%, rgba(192,144,47,.20), transparent 55%),
    var(--ink);
  color: #f2ece0;
  border-bottom: 1px dashed #4a5f55;
}
.tl-hero__inner { padding-top: 44px; padding-bottom: 40px; }
.tl-hero--compact .tl-hero__inner { padding-top: 30px; padding-bottom: 28px; }
.tl-hero__kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gilt);
  border: 1px dashed var(--gilt);
  border-radius: 2px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 11px;
  padding-right: 11px;
  margin-bottom: 16px;
}
.tl-hero h1 {
  font-family: var(--sans);
  font-size: 34px;
  line-height: 1.16;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -.01em;
}
.tl-hero .overture-line {
  font-size: 18px;
  max-width: 62ch;
  margin: 0;
  color: #dfd8c9;
}

/* -------------------------------------------------------------- main ---- */
.tl-main { display: block; }
.tl-body { padding-top: 34px; padding-bottom: 46px; max-width: 800px; }
.tl-body h2 {
  font-family: var(--sans);
  font-size: 25px;
  line-height: 1.25;
  font-weight: 800;
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px dashed var(--rule);
}
.tl-body h3 {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 700;
  margin: 28px 0 10px;
}
.tl-body p { margin: 0 0 16px; }
.tl-body ul, .tl-body ol { margin: 0 0 18px; padding-left: 22px; }
.tl-body li { margin-bottom: 7px; }
.tl-body figure { margin: 24px 0; }
.tl-body figure img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--rule);
}
.tl-body figcaption {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
  border-left: 3px solid var(--gilt);
  padding-left: 10px;
}

/* ------------------------------------------------------ ticket stubs ---- */
/* The signature element: a card with two punched notches and a tear-line. */
.tl-stub {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 10px;
  margin: 26px 0;
  padding-top: 22px;
  padding-bottom: 22px;
  padding-left: 24px;
  padding-right: 24px;
  box-shadow: 0 1px 0 #fff inset, 0 6px 18px rgba(21,35,28,.07);
}
.tl-stub::before, .tl-stub::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 50%;
  top: 50%;
  margin-top: -9px;
}
.tl-stub::before { left: -10px; }
.tl-stub::after { right: -10px; }
.tl-stub__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 8px;
}
.tl-code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.tl-code__value {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink);
  background: var(--stub);
  border: 1px dashed var(--emerald);
  border-radius: 5px;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 16px;
  padding-right: 16px;
}
.tl-code__btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--emerald);
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 18px;
  padding-right: 18px;
}
.tl-code__btn.is-done { background: var(--ink-soft); }
.tl-code__hint {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 10px;
}

/* --------------------------------------------------------- fact tiles --- */
.tl-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.tl-fact {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--emerald);
  border-radius: 6px;
  padding-top: 14px;
  padding-bottom: 14px;
  padding-left: 14px;
  padding-right: 14px;
}
.tl-fact__k {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tl-fact__v {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 800;
  margin-top: 4px;
}

/* ------------------------------------------------------------- steps ---- */
.tl-steps {
  list-style: none;
  counter-reset: tlstep;
  margin: 24px 0;
  padding-left: 0;
}
.tl-steps li {
  counter-increment: tlstep;
  position: relative;
  padding-left: 52px;
  padding-bottom: 20px;
  border-left: 2px dashed var(--rule);
  margin-left: 17px;
}
.tl-steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.tl-steps li::before {
  content: counter(tlstep);
  position: absolute;
  left: -18px;
  top: -2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--emerald);
  color: #fff;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tl-steps__h { font-family: var(--sans); font-weight: 700; }

/* ------------------------------------------------------ tier selector --- */
.tl-tiers {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 10px;
  margin: 26px 0;
  padding-top: 18px;
  padding-bottom: 18px;
  padding-left: 18px;
  padding-right: 18px;
}
.tl-tiers__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.tl-tiers__btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: var(--stub);
  border: 1px solid var(--rule);
  border-radius: 20px;
  cursor: pointer;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 15px;
  padding-right: 15px;
}
.tl-tiers__btn[aria-selected="true"] {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #fff;
}
.tl-tiers__panel {
  border-top: 2px dashed var(--rule);
  padding-top: 14px;
}
.tl-tiers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

/* ------------------------------------------------------------ tables ---- */
.tl-table__wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--rule);
  border-radius: 8px;
}
.tl-table {
  border-collapse: collapse;
  width: 100%;
  font-family: var(--sans);
  font-size: 14.5px;
}
.tl-table th, .tl-table td {
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
  padding-top: 11px;
  padding-bottom: 11px;
  padding-left: 13px;
  padding-right: 13px;
}
.tl-table th {
  background: var(--stub);
  font-weight: 800;
  white-space: normal;
}
.tl-table tbody tr:last-child td { border-bottom: 0; }
.tl-table code { font-family: var(--mono); font-size: 13.5px; }

/* ------------------------------------------------------------ filter ---- */
.tl-filter { margin: 20px 0 8px; }
.tl-filter label {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.tl-filter input {
  width: 100%;
  max-width: 320px;
  font-family: var(--mono);
  font-size: 15px;
  border: 1px solid var(--rule);
  border-radius: 5px;
  background: var(--paper-2);
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 12px;
  padding-right: 12px;
}
.tl-filter__count {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* -------------------------------------------------------- calculator ---- */
.tl-calc {
  background: var(--ink);
  color: #eee7d9;
  border-radius: 10px;
  margin: 26px 0;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
}
.tl-calc__label {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gilt);
  margin-bottom: 10px;
}
.tl-calc__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.tl-calc input {
  width: 130px;
  font-family: var(--mono);
  font-size: 17px;
  border: 1px solid #4a5f55;
  border-radius: 5px;
  background: #1d2f26;
  color: #fff;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 12px;
  padding-right: 12px;
}
.tl-calc__out {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: #ffd98a;
}
.tl-calc__note {
  font-family: var(--sans);
  font-size: 13px;
  color: #b9c6bf;
  margin-top: 12px;
}

/* ------------------------------------------------------- pros / cons ---- */
.tl-judge {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 26px 0;
}
.tl-judge__col {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: 18px;
  padding-right: 18px;
}
.tl-judge__col--up { border-top: 3px solid var(--emerald); }
.tl-judge__col--down { border-top: 3px solid var(--terra); }
.tl-judge__h {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tl-judge__col--up .tl-judge__h { color: var(--emerald); }
.tl-judge__col--down .tl-judge__h { color: var(--terra); }
.tl-judge ul { margin: 0; padding-left: 20px; }

/* -------------------------------------------------------------- note ---- */
.tl-note {
  background: #fbf7ec;
  border-left: 4px solid var(--gilt);
  border-radius: 0 6px 6px 0;
  margin: 24px 0;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 18px;
  padding-right: 18px;
}
.tl-note .note {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 6px;
}

/* --------------------------------------------------------------- cta ---- */
.tl-cta {
  margin: 30px 0;
  text-align: center;
}
.tl-cta a {
  display: inline-block;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  background: linear-gradient(180deg, #11804a, var(--emerald));
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 0 #075c34;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 30px;
  padding-right: 30px;
}
.tl-cta a:hover { filter: brightness(1.07); }

/* --------------------------------------------------------------- faq ---- */
.tl-faq { margin: 26px 0; }
.tl-faq details {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 8px;
  margin-bottom: 10px;
}
.tl-faq summary {
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 700;
  list-style: none;
  padding-top: 14px;
  padding-bottom: 14px;
  padding-left: 16px;
  padding-right: 44px;
  position: relative;
}
.tl-faq summary::-webkit-details-marker { display: none; }
.tl-faq summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 22px;
  color: var(--emerald);
}
.tl-faq details[open] summary::after { content: "\2212"; }
.tl-faq .answer {
  margin: 0;
  border-top: 1px dashed var(--rule);
  padding-top: 12px;
  padding-bottom: 16px;
  padding-left: 16px;
  padding-right: 16px;
}

/* ------------------------------------------------------------ footer ---- */
.tl-foot {
  background: var(--ink);
  color: #c3cfc8;
  font-size: 15px;
  border-top: 3px solid var(--gilt);
}
.tl-foot__inner { padding-top: 34px; padding-bottom: 30px; }
.tl-foot__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
}
.tl-foot__logo { max-width: 150px; margin-bottom: 12px; }
.tl-foot h2 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gilt);
  margin: 0 0 10px;
}
.tl-foot ul { list-style: none; margin: 0; padding-left: 0; }
.tl-foot li { margin-bottom: 7px; }
.tl-foot a { color: #d9e4dd; text-decoration: none; }
.tl-foot a:hover { text-decoration: underline; }
.tl-foot__legal {
  border-top: 1px dashed #3d5148;
  margin-top: 24px;
  padding-top: 18px;
  font-size: 13.5px;
  color: #93a39b;
}
.tl-foot__legal p { margin: 0 0 9px; }
.tl-age {
  display: inline-block;
  border: 2px solid var(--terra);
  border-radius: 50%;
  color: #e0a58c;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 13px;
  width: 34px;
  height: 34px;
  line-height: 30px;
  text-align: center;
  margin-right: 10px;
}

/* ------------------------------------------------------- back to top ---- */
.tl-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  color: var(--ink);
  font-size: 19px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(21,35,28,.18);
}
.tl-top.is-on { display: flex; }

/* ------------------------------------------------------------ mobile ---- */
@media (max-width: 900px) {
  .tl-logo { max-width: 128px; }
  .tl-burger { display: flex; }
  .tl-head__cta { display: none; }
  .tl-nav {
    display: none;
    margin-left: auto;
  }
  .tl-nav--open {
    display: flex;
    flex: 0 0 100%;
    width: 100%;
    flex-direction: column;
    gap: 0;
    border-top: 1px dashed #3d5148;
    margin-top: 10px;
    padding-top: 8px;
  }
  .tl-nav--open a {
    padding-top: 11px;
    padding-bottom: 11px;
    border-bottom: 1px dashed #2a3b33;
  }
  .tl-nav__cta {
    display: block;
    margin-top: 12px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-align: center;
    color: var(--ink);
    background: var(--gilt);
    border-radius: 4px;
    text-decoration: none;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .tl-hero h1 { font-size: 27px; }
  .tl-hero .overture-line { font-size: 16.5px; }
  .tl-body h2 { font-size: 21px; margin-top: 34px; }
  .tl-code__value { font-size: 21px; }
  .tl-stub { padding-left: 18px; padding-right: 18px; }
}
