/* Sections, phone first. Bands are the three papers of the order book: white original,
   pink duplicate, yellow triplicate. */

.band {
  padding: 56px 0;
}

.band-tight {
  padding: 32px 0 56px;
}

.band-white {
  background: var(--paper);
}

.band-pink {
  background: var(--pink);
}

.band-yellow {
  background: var(--yellow);
}

.band-paper {
  background: #f7f1ee;
}

.band-rule {
  border-top: 1px solid var(--rule);
}

.band-pink a {
  color: var(--rani-dark);
}

/* ---- Section openings ------------------------------------------------------------------ */

.sec-head {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

.sec-head h2 {
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1.02;
  margin-top: 8px;
}

.sec-no {
  display: inline-block;
  min-width: 2.2em;
  margin-right: 8px;
  padding: 0 6px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.sec-text p {
  max-width: 36em;
  color: var(--ink-2);
  font-size: 1.125rem;
}

.sec-text p + p {
  margin-top: 10px;
}

.more {
  font-weight: 700;
}

.h-plain {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin-bottom: 24px;
}

/* ---- Hero -------------------------------------------------------------------------- */

.hero {
  background: var(--pink);
  padding: 28px 0 48px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 32px;
}

.hero-for {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink-2);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.5rem, 11.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.012em;
}

.hero-local {
  margin-top: 14px;
  font-family: var(--display);
  font-size: 1.375rem;
  line-height: 1.35;
  color: var(--rani-dark);
}

.hero-text {
  margin-top: 16px;
  font-size: 1.1875rem;
  line-height: 1.5;
  max-width: 34em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 24px;
}

.actions .btn-rani {
  flex: 1 1 100%;
}

.actions .btn-line {
  flex: 1 1 auto;
}

.link-wa {
  font-weight: 700;
  color: var(--ink);
}

.hero-facts {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-facts li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rani);
}

.hero-proof {
  margin-top: 14px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.fig-hero {
  display: grid;
  gap: 20px;
}

.fig-hero .phone {
  order: -1;
}

/* ---- How it works: the day ---------------------------------------------------------- */

.day {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1.5px solid var(--ink);
}

.day-stop {
  display: grid;
  gap: 10px 20px;
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--rule);
}

.day-time {
  font-family: var(--display);
  font-size: 2.25rem;
  line-height: 1;
  color: var(--rani);
  font-variant-numeric: tabular-nums;
}

.day-words h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

.day-words p {
  margin-top: 6px;
  color: var(--ink-2);
  max-width: 34em;
}

.day-fig {
  max-width: 360px;
}

/* ---- Customer stories ---------------------------------------------------------------- */

.stories {
  display: grid;
  gap: 20px;
}

.story {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--pink-deep);
  border-radius: var(--radius);
}

.story-who {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.initials {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid var(--rani);
  border-radius: 50%;
  color: var(--rani);
  font-weight: 800;
  letter-spacing: 0.06em;
  transform: rotate(-6deg);
  box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4px var(--rani);
}

.story-who h3 {
  font-size: 1.1875rem;
}

.story-meta {
  color: var(--muted);
  font-size: 0.9375rem;
}

.story blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: 1.375rem;
  line-height: 1.3;
}

.story blockquote p::before {
  content: "\201C";
}

.story blockquote p::after {
  content: "\201D";
}

.changes {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96875rem;
  font-variant-numeric: tabular-nums;
}

.changes th,
.changes td {
  text-align: left;
  padding: 7px 8px 7px 0;
  border-top: 1px solid var(--rule);
  vertical-align: top;
}

.changes thead th {
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 0;
}

.changes tbody th {
  font-weight: 600;
  width: 38%;
}

.changes .was {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(184, 23, 79, 0.55);
}

.changes .now {
  font-weight: 700;
}

/* ---- Features: a catalogue index ----------------------------------------------------- */

.features-grid {
  display: grid;
  gap: 36px;
}

.features {
  display: grid;
  gap: 28px;
}

.feat-group h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--ink);
}

.feat-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feat-group li {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}

.feat-name {
  font-weight: 700;
}

.feat-line {
  color: var(--ink-2);
}

.feat-plans {
  font-size: 0.8125rem;
  color: var(--rani-dark);
  font-weight: 600;
}

.notdo {
  align-self: start;
  padding: 20px;
  background: var(--yellow);
  border-radius: var(--radius);
}

.notdo h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.notdo ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notdo li {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-top: 1px solid var(--yellow-2);
}

.notdo-what {
  font-weight: 700;
  padding-left: 22px;
  position: relative;
}

.notdo-what::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 2px;
  background: var(--rani);
}

.notdo-instead {
  padding-left: 22px;
  color: var(--ink-2);
}

/* ---- Pricing: slips from an order book ----------------------------------------------- */

.billing {
  position: relative;
}

.bill-in {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.bill-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
  padding: 4px;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
}

.bill-legend {
  padding: 0 8px 0 10px;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--muted);
}

.bill-switch label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 4px 16px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.bill-save {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
}

#bill-m:checked ~ .bill-switch label[for="bill-m"],
#bill-y:checked ~ .bill-switch label[for="bill-y"] {
  background: var(--ink);
  color: var(--white);
}

#bill-m:focus-visible ~ .bill-switch label[for="bill-m"],
#bill-y:focus-visible ~ .bill-switch label[for="bill-y"] {
  outline: 3px solid var(--rani);
  outline-offset: 2px;
}

.p-y {
  display: none;
}

#bill-y:checked ~ .plans .p-m {
  display: none;
}

#bill-y:checked ~ .plans .p-y {
  display: block;
}

.plans {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 20px 22px;
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: 4px 4px var(--radius) var(--radius);
  /* The perforated top edge where the slip was torn from the book. */
  -webkit-mask: radial-gradient(circle 5px at 9px 0, transparent 98%, #000) -1px 0 / 18px 100% repeat-x;
  mask: radial-gradient(circle 5px at 9px 0, transparent 98%, #000) -1px 0 / 18px 100% repeat-x;
}

.plan-pink {
  background: var(--pink);
  border-color: var(--pink-deep);
}

.plan-serial {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.plan-flag {
  position: absolute;
  top: 22px;
  right: 18px;
  max-width: 55%;
  padding: 2px 8px;
  border: 2px solid var(--rani);
  border-radius: 5px;
  color: var(--rani-dark);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  transform: rotate(-3deg);
  text-align: center;
}

.plan h3 {
  margin-top: 4px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
}

.plan-for {
  margin-top: 6px;
  color: var(--ink-2);
}

.price-main {
  font-family: var(--display);
  font-size: 2.75rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.price-main .rs {
  font-size: 0.7em;
  margin-right: 2px;
  vertical-align: 0.12em;
}

.price-main .per {
  margin-left: 8px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.price-custom {
  font-size: 1.75rem;
}

.price-tax {
  margin-top: 6px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.price-note {
  margin-top: 4px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.plan-basis {
  font-size: 0.9375rem;
  color: var(--ink-2);
  padding-top: 10px;
  border-top: 1px dashed var(--rule-strong);
}

.plan-pink .plan-basis {
  border-top-color: var(--rani);
}

.plan-limits {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
}

.plan-pink .plan-limits {
  background: var(--pink-deep);
  border-color: var(--pink-deep);
}

.plan-limits div {
  padding: 8px 10px;
  background: var(--white);
}

.plan-pink .plan-limits div {
  background: #fbe9ef;
}

.plan-limits dt {
  font-size: 0.8125rem;
  color: var(--muted);
}

.plan-limits dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.plan-list h4 {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.plan-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.plan-list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.4;
}

.incl li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.32em;
  width: 6px;
  height: 11px;
  border: solid var(--green);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.excl li {
  color: var(--muted);
}

.excl li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.68em;
  width: 12px;
  height: 2px;
  background: var(--muted);
}

/* The trial, dated. */
.trial {
  margin-top: 28px;
  padding: 22px 20px;
  background: var(--yellow);
  border-radius: var(--radius);
}

.trial h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.625rem;
  margin-bottom: 14px;
}

.trial ol {
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 2px solid var(--ink);
  display: grid;
  gap: 16px;
}

.trial li {
  position: relative;
  display: grid;
  gap: 1px;
}

.trial li::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 0.35em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--ink);
}

.trial li:first-child::before {
  background: var(--rani);
  border-color: var(--rani);
}

.trial-day {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rani-dark);
}

.trial-what {
  font-weight: 700;
}

.trial-text {
  color: var(--ink-2);
}

.trial-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--yellow-2);
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.paynote {
  margin-top: 16px;
  color: var(--ink-2);
}

/* Comparison table. */
.compare-wrap {
  overflow-x: auto;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
}

.compare {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.compare th,
.compare td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.compare thead th {
  background: var(--ink);
  color: var(--white);
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.25rem;
}

.compare thead th.hl {
  background: var(--rani);
}

.compare td.hl {
  background: #fcf0f4;
}

.compare tbody th {
  font-weight: 600;
  width: 34%;
}

.compare-group th {
  background: var(--yellow);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare .yes {
  font-weight: 700;
  color: var(--green);
}

.compare .no {
  color: var(--muted);
}

/* ---- Your data ----------------------------------------------------------------------- */

.data-grid {
  display: grid;
  gap: 8px;
}

.datafacts {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1.5px solid var(--ink);
}

.datafacts div {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--yellow-2);
}

.datafacts dt {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.datafacts dd {
  margin: 0;
  font-size: 1.0625rem;
}

/* ---- Questions ------------------------------------------------------------------------ */

.faq {
  display: grid;
  gap: 32px;
}

.faq-group h3 {
  font-size: 0.8125rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  position: relative;
  padding: 14px 36px 14px 0;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 8px;
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--rani);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq-a {
  padding: 0 0 16px;
  max-width: 44em;
  color: var(--ink-2);
}

.faq-a p + p {
  margin-top: 8px;
}

/* ---- Changelog ------------------------------------------------------------------------ */

.posts {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1.5px solid var(--ink);
}

.post {
  display: grid;
  gap: 6px 28px;
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--rule);
}

.post-date {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 0.9375rem;
}

.post-date b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--ink);
  margin-right: 2px;
}

.post-words {
  display: grid;
  gap: 4px;
  max-width: 46em;
}

.post-words h3 {
  font-size: 1.25rem;
  line-height: 1.3;
}

.post-words h3 a {
  color: var(--ink);
  text-decoration: none;
}

.post-words h3 a:hover {
  text-decoration: underline;
  color: var(--rani-dark);
}

.post-words p:last-child {
  color: var(--ink-2);
}

.tag {
  justify-self: start;
  display: inline-block;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.7;
}

.tag-new {
  background: var(--pink);
  color: var(--rani-dark);
}

.tag-improved {
  background: var(--yellow);
  color: var(--ink);
}

.tag-fixed {
  background: var(--green-bg);
  color: var(--green);
}

.tag-note {
  background: var(--ink);
  color: var(--white);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filters a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.filters a[aria-current="page"] {
  background: var(--ink);
  color: var(--white);
}

.filters .rss {
  border-style: dashed;
  margin-left: auto;
}

.empty {
  color: var(--muted);
}

.page-head {
  padding: 40px 0 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.page-head h1 {
  font-size: clamp(2.25rem, 9vw, 4.25rem);
  line-height: 1;
  margin: 8px 0 12px;
}

.post-meta {
  color: var(--muted);
}

.post-body {
  padding-top: 28px;
  padding-bottom: 56px;
}

.post-body .lede {
  margin-bottom: 20px;
}

.post-back {
  margin-top: 32px;
  font-weight: 700;
}

/* ---- Closing --------------------------------------------------------------------------- */

.closing {
  background: var(--pink);
  padding: 56px 0;
  border-top: 1px solid var(--pink-2);
}

.closing-grid {
  display: grid;
  gap: 28px;
}

.closing h2 {
  font-size: clamp(2.25rem, 9vw, 4rem);
  line-height: 1;
}

.closing-words p {
  margin-top: 14px;
  font-size: 1.125rem;
  max-width: 32em;
}

.closing-reach a {
  font-weight: 700;
}

.closing-hours {
  display: block;
  color: var(--muted);
  font-size: 0.96875rem;
}

.doors {
  display: grid;
  gap: 14px;
}

.door {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--ink);
  box-shadow: 0 3px 0 var(--ink);
}

.door:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 5px 0 var(--ink);
}

.door-trial {
  background: var(--rani);
  border-color: var(--rani-dark);
  box-shadow: 0 3px 0 var(--rani-dark);
  color: var(--white);
}

.door-trial:hover {
  color: var(--white);
  box-shadow: 0 5px 0 var(--rani-dark);
}

.door-kicker {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.door-title {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1.05;
}

.door-title::after {
  content: " \2192";
}

.door-text {
  font-size: 1rem;
}

/* ---- Forms' pages and after ------------------------------------------------------------ */

.formpage {
  background: var(--pink);
  padding: 32px 0 56px;
}

.formpage-grid {
  display: grid;
  gap: 28px;
}

.formpage h1 {
  font-size: clamp(2.25rem, 9vw, 3.75rem);
  line-height: 1;
  margin: 8px 0 14px;
}

.slip {
  position: relative;
  padding: 30px 20px 22px;
  background: var(--paper);
  border-radius: 4px 4px var(--radius) var(--radius);
  -webkit-mask: radial-gradient(circle 5px at 9px 0, transparent 98%, #000) -1px 0 / 18px 100% repeat-x;
  mask: radial-gradient(circle 5px at 9px 0, transparent 98%, #000) -1px 0 / 18px 100% repeat-x;
}

.slip-serial {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.form-note {
  margin-top: 14px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.next {
  margin-top: 24px;
}

.next h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.next ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1.5px solid var(--ink);
}

.next li {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid var(--pink-deep);
}

.next-when {
  font-weight: 800;
  color: var(--rani-dark);
}

.covers {
  margin-top: 24px;
}

.covers h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.covers ul {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 4px;
}

.formpage-reach {
  margin-top: 24px;
}

.sent {
  padding-top: 48px;
  padding-bottom: 72px;
}

.sent h1 {
  font-size: clamp(2.25rem, 8vw, 3.5rem);
  line-height: 1.02;
  margin: 8px 0 14px;
}

.sent .next li {
  border-bottom-color: var(--rule);
}

.sent .fallback {
  margin: 24px 0 16px;
}

.sent ul {
  padding-left: 1.2em;
}

.privacy section + section {
  margin-top: 8px;
}

.privacy {
  padding-top: 8px;
  padding-bottom: 64px;
}
