/* Reseller page.
   Everything here leans on the tokens in ip2.css; the only reason this file
   exists is that the price ladder and the worked example are shapes no other
   page needs. */

.rs-hero {
  background: linear-gradient(180deg, var(--tint-2) 0%, var(--white) 100%);
  padding: 54px 0 58px;
  border-bottom: 1px solid var(--tint);
}
.rs-hero__in {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 46px;
  align-items: center;
}
.rs-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blue-ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rs-hero h1 {
  margin: 0 0 16px;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--blue-ink);
}
.rs-lead { margin: 0 0 26px; font-size: 18px; line-height: 1.65; max-width: 56ch; }
.rs-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.rs-cta__note { font-size: 14px; color: var(--muted); }

/* The key is the product, so it is shown rather than described. */
.rs-key {
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--tint);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
}
.rs-key__label {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.rs-key__code {
  display: block;
  padding: 14px 12px;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--blue-ink);
  background: var(--tint-2);
  border: 1px dashed var(--blue);
  border-radius: var(--r);
}
.rs-key__note { margin: 14px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* --------------------------------------------------------------- steps */

.rs-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 26px;
}
.rs-step {
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--tint);
  border-radius: var(--r-xl);
}
.rs-step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
  font-size: 15px;
}
.rs-step h3 { margin: 0 0 8px; font-size: 17px; color: var(--ink-strong); }
.rs-step p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink); }

/* --------------------------------------------------------------- ladder */

.rs-tablewrap {
  margin-top: 24px;
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--tint);
  border-radius: var(--r-xl);
}
.rs-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rs-table th {
  padding: 14px 18px;
  text-align: left;
  white-space: nowrap;
  background: var(--tint-2);
  border-bottom: 1px solid var(--tint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--blue-ink);
}
.rs-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--tint-2);
  white-space: nowrap;
}
.rs-table tr:last-child td { border-bottom: 0; }
.rs-table tbody tr:hover { background: var(--tint-2); }
/* The rate is what the eye is looking for on this table. */
.rs-rate { font-size: 19px; font-weight: 900; color: var(--blue-ink); }
.rs-dim { color: var(--muted); text-decoration: line-through; }
.rs-gain { font-weight: 800; color: var(--green); }

.rs-fine {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 78ch;
}

/* ---------------------------------------------------------- the maths */

.rs-math {
  max-width: 660px;
  margin-top: 24px;
  background: var(--white);
  border: 1px solid var(--tint);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.rs-math__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 17px 22px;
  border-bottom: 1px solid var(--tint-2);
  font-size: 15.5px;
}
.rs-math__row b { font-size: 18px; white-space: nowrap; color: var(--ink-strong); }
.rs-math__row--sum {
  border-bottom: 0;
  background: var(--green-tint);
}
.rs-math__row--sum span { font-weight: 800; color: var(--ink-strong); }
.rs-math__row--sum b { font-size: 26px; font-weight: 900; color: #2f7d18; }

/* ------------------------------------------------------------ two lists */

.rs-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}
.rs-col h3 { margin: 0 0 14px; font-size: 18px; color: var(--blue-ink); }
.rs-list { margin: 0; padding: 0; list-style: none; }
.rs-list li {
  position: relative;
  padding: 0 0 12px 30px;
  font-size: 15px;
  line-height: 1.6;
}
.rs-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
  font-size: 16px;
}
.rs-list--yes li::before { content: "\2713"; color: var(--green); }
.rs-list--no li::before { content: "\2014"; color: var(--muted-2); }

/* ------------------------------------------------------------------ faq */

.rs-faq { max-width: 860px; }
.rs-q {
  border-bottom: 1px solid var(--tint);
  padding: 4px 0;
}
.rs-q > summary {
  padding: 16px 34px 16px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-strong);
}
.rs-q > summary::-webkit-details-marker { display: none; }
.rs-q > summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 13px;
  font-size: 22px;
  font-weight: 400;
  color: var(--blue);
}
.rs-q[open] > summary::after { content: "\2212"; }
.rs-q p { margin: 0 0 18px; font-size: 15.5px; line-height: 1.7; max-width: 76ch; }

/* ---------------------------------------------------------------- apply */

.rs-apply { max-width: 760px; }
.rs-apply__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 980px) {
  .rs-hero__in { grid-template-columns: 1fr; gap: 32px; }
  .rs-hero h1 { font-size: 34px; }
  .rs-steps { grid-template-columns: repeat(2, 1fr); }
  .rs-cols { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 600px) {
  .rs-hero { padding: 36px 0 40px; }
  .rs-hero h1 { font-size: 28px; }
  .rs-lead { font-size: 16px; }
  .rs-steps { grid-template-columns: 1fr; }
  .rs-apply__pair { grid-template-columns: 1fr; }
  .rs-math__row { flex-direction: column; gap: 4px; }
  .rs-cta .btn { width: 100%; }
}


/* The three promises that sat under the original heading. */
.rs-promises { list-style: none; margin: 0 0 22px; padding: 0; }
.rs-promises li {
  position: relative; padding-left: 26px; margin-bottom: 9px;
  font-size: 16.5px; line-height: 1.5; color: #33405c; font-weight: 600;
}
.rs-promises li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%; background: #4a9bff;
}

/* Two lanes side by side, the way the original laid them out. */
.rs-types { overflow-x: auto; }
.rs-types__t { width: 100%; border-collapse: collapse; min-width: 560px; }
.rs-types__t th, .rs-types__t td {
  padding: 13px 16px; text-align: left; border-bottom: 1px solid #e6eaf2;
  font-size: 15px;
}
.rs-types__t thead th {
  font-size: 13px; text-transform: uppercase; letter-spacing: .06em;
  color: #6b7891; border-bottom: 2px solid #d9e2f2;
}
.rs-types__t tbody td:first-child { color: #4a5568; }
.rs-types__t td.y { font-weight: 700; color: #14804a; }
.rs-types__t td.n { color: #8a94a6; }
.rs-types__note {
  margin: 16px 0 0; font-size: 14px; line-height: 1.6; color: #6b7891;
  max-width: 640px;
}
