/** Shopify CDN: Minification failed

Line 485:0 Unexpected "}"

**/
/*
 * The subscription page's own bands.
 *
 * One stylesheet for the four sections built for this page - hero, benefit
 * cards, how-it-works and perks - because they share a vocabulary (a centred
 * measure, a band rhythm, the same card rule) and splitting them into four
 * files would mean four places to change that rule.
 *
 * Nothing here sets a colour, a font size or a duration as a literal. Colours
 * come from the palette, type from the .type-* classes, motion from the styling
 * page. What this file owns is arrangement.
 */

/* ── Hero ──────────────────────────────────────────────────────────────── */

.sub-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /*
   * NO HEIGHT SETTING. There was one, in vh, and it did nothing: it was fed
   * through snippets/fluid.liquid, which appends `px` - so "85vh" reached the
   * browser as 85 PIXELS and the padding decided the height regardless.
   *
   * Rather than fix the unit, the setting is gone. Two controls that both
   * decide one dimension is a control that appears not to work, and the padding
   * is the one that already did.
   */
  padding: var(--sub-hero-pad);
  /* The texture is painted by an absolutely positioned child, which would
     otherwise escape the band's corners on any page that clips it. */
  overflow: hidden;
  text-align: center;
}

/*
 * A layer of its own rather than a background on .sub-hero, for one reason:
 * opacity. Setting it on the section would fade the title with the texture,
 * and painting a translucent overlay on top would tint the type instead. A
 * sibling behind the content is the only arrangement where the texture's
 * strength is its own.
 */
.sub-hero__texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-repeat: repeat;
  background-position: center;
  pointer-events: none;
}

.sub-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sub-hero-gap, var(--space-xl));
  width: min(100%, var(--sub-hero-width, 900px));
}

.sub-hero__title { margin: 0; }

/* A lead is read, so it gets a measure. Left to the content width it runs to
   90-odd characters, which is past where a line stops being comfortable. */
.sub-hero__body {
  margin: 0;
  max-width: 62ch;
  color: var(--color-text-default);
}

.sub-hero__body > * + * { margin-block-start: var(--space-xs); }

.sub-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m);
  justify-content: center;
}

/*
 * Below 480 the two buttons stack and stretch. Side by side they wrap to two
 * rows anyway at that width, and a wrapped row leaves one button centred under
 * two - which reads as a mistake rather than as a stack.
 */
@media (max-width: 479px) {
  .sub-hero__actions { flex-direction: column; align-self: stretch; }
  .sub-hero__actions .btn { width: 100%; }
}

/* ── Shared band furniture ─────────────────────────────────────────────── */

.sub-cards,
.sub-steps,
.sub-perks { position: relative; overflow: hidden; }

.sub-cards__inner,
.sub-steps__inner,
.sub-perks__inner {
  position: relative;
  z-index: 1;
  margin-inline: auto;
}

.sub-cards__actions,
.sub-steps__actions,
.sub-perks__actions { display: flex; margin-block-start: var(--space-2xl); }

/* ── Benefit cards ─────────────────────────────────────────────────────── */

.sub-cards { padding: var(--cards-pad); }
.sub-cards__inner { width: min(100%, var(--cards-width, 1400px)); }

.sub-cards__heading {
  margin: 0 0 var(--cards-gap, var(--space-2xl));
  text-align: center;
}

/*
 * ONE BLOCK, DIVIDED - and every rule in it is a DRAWN LINE.
 *
 * There are no borders here. The frame, the column rules and the line under
 * each image are all the site's divider primitive, so they take their
 * thickness, colour, duration and curve from the styling page and draw
 * themselves in on scroll like every other rule on the site.
 *
 * ── SUBGRID, BECAUSE aspect-ratio ROUNDS ────────────────────────────────
 * The media boxes were sized by `aspect-ratio` against each column's own
 * width. Three `1fr` columns rarely land on whole pixels - 465.67px and the
 * like - so each box resolved to a slightly different height and rounded to a
 * different device pixel. One image came out a pixel taller than its
 * neighbours, and the rule beneath it sat a pixel lower.
 *
 * The cards now share the grid's rows through `subgrid`: media, rule and body
 * are three rows measured ONCE for the whole block, so all three cards agree
 * by construction rather than by arithmetic that happens to come out even.
 */
.sub-cards__grid {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--cards-cols, 3), minmax(0, 1fr));
  /* media / rule / body - the rows every card is measured against. */
  grid-template-rows: auto auto 1fr;
}

.sub-card {
  position: relative;
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
}

/*
 * The frame. Four dividers rather than a border on the grid, so all four edges
 * draw in - a frame with two animated edges and two that simply appear looks
 * worse than one that does neither.
 */
.sub-cards__edge { position: absolute; z-index: 1; pointer-events: none; }
.sub-cards__edge--top    { inset: 0 0 auto 0; }
.sub-cards__edge--bottom { inset: auto 0 0 0; }
.sub-cards__edge--start  { inset: 0 auto 0 0; }
.sub-cards__edge--end    { inset: 0 0 0 auto; }

/* The column rule, owned by the card on its leading side. Absolute so it can
   span the card's full height without being a row in the subgrid. */
.sub-card__rule-v {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  z-index: 1;
  pointer-events: none;
}

/* The rule under the image is a row of its own, so it lands at the same height
   on all three cards whatever their copy does. */
.sub-card__rule-h { grid-row: 2; }

.sub-card__media {
  grid-row: 1;
  aspect-ratio: 1 / var(--cards-ratio, 1);
  overflow: hidden;
}

.sub-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sub-card__body {
  grid-row: 3;
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  padding: var(--cards-pad-inner, var(--space-xl));
  text-align: center;
}

.sub-card__title { margin: 0; }
.sub-card__copy { margin: 0; color: var(--color-text-default); text-align: start; }
.sub-card__copy > * + * { margin-block-start: var(--space-xs); }
.sub-cards__actions { justify-content: center; }

@media (max-width: 899px) {
  /*
   * One column. The card's leading rule becomes the line ABOVE it, which is
   * what joins a stack - left where it was, stacked cards would be joined by
   * nothing and the block falls apart into three.
   *
   * subgrid is dropped with it: rows only need to agree across cards that sit
   * side by side, and in a stack each card is free to be its own height.
   */
  .sub-cards__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .sub-card { grid-row: auto; grid-template-rows: auto auto 1fr; }
  .sub-card__rule-v {
    inset: 0 0 auto 0;
    --divider-width: 100%;
  }
  .sub-card__rule-v .divider__line { width: 100%; height: var(--divider-thickness); }
}

/* ── How it works ──────────────────────────────────────────────────────── */

/*
 * A CENTRED BLOCK, NUDGED LEFT - with its text left-aligned inside it.
 *
 * Three attempts got here. Centred with no offset put the copy too far in on a
 * wide screen; start-aligned against the padding put it hard against the edge;
 * a fixed asymmetric padding was right at one width and wrong at every other,
 * because 264px is a fifth of a 1280 screen and a tenth of a 2560 one.
 *
 * The block is centred and capped, so it behaves like every other band on the
 * site and keeps a real left margin at any width. The offset then shifts it
 * left of true centre, which is what makes room for the artwork on the right
 * without the copy losing its margin.
 *
 * The shift is EXTRA PADDING ON THE RIGHT rather than a transform or a negative
 * margin. A centred box moves left by half of whatever is added to its right,
 * and doing it this way it is still laid out where it is drawn - so it cannot
 * slide under the section's own padding and get clipped at a narrow width, and
 * the offset can fall to zero on a phone without anything else changing.
 */
.sub-steps {
  padding-block: var(--steps-pad-block);
  padding-inline: var(--steps-pad-inline)
                  calc(var(--steps-pad-inline) + var(--steps-offset, 0px) * 2);
}

.sub-steps__inner {
  width: min(100%, var(--steps-width, 1400px));
  margin-inline: auto;
}

.sub-steps__heading { margin: 0 0 var(--space-2xl); }

.sub-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: var(--steps-copy, 640px);
}

.sub-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-m);
}

/*
 * ── THE LINE IS CONTINUOUS, AND THAT DECIDES WHERE THE GAP LIVES ─────────
 *
 * The space between steps was `padding-block-end` on the step itself. Padding
 * sits OUTSIDE the grid's rows, so the marker column - which stretches to the
 * row - stopped short of it, and the rule came out as three segments with gaps
 * rather than one line threaded through the dots.
 *
 * The gap now belongs to the BODY, so it is part of the row the marker
 * stretches to, and the stem runs the full height of its step.
 */
.sub-step__body { padding-block-end: var(--steps-gap, var(--space-2xl)); }
.sub-step:last-child .sub-step__body { padding-block-end: 0; }

/* The last step's stem would run into nothing. Suppressed here rather than by
   testing forloop.last in Liquid, so reordering in the editor cannot strand a
   line pointing at empty space. */
.sub-step:last-child .sub-step__stem { display: none; }

.sub-step__marker {
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
}

/*
 * The marker carries the title's own .type-* class, so `lh` here IS the title's
 * line box. Half of it, less half the dot, puts the dot on the title's optical
 * centre at any type style.
 *
 * `em` was wrong for this and looked nearly right: it resolved against the
 * marker's inherited body type rather than the title's, so the dot sat against
 * a measurement of the wrong font and drifted whenever the title style changed.
 *
 * The em fallback is for browsers without `lh` - close enough that nobody
 * notices, and the modern value wins wherever it is understood.
 */
.sub-step__dot {
  width: var(--step-dot, 9px);
  height: var(--step-dot, 9px);
  border-radius: 50%;
  background: var(--divider-color);
  margin-block-start: calc(0.62em - var(--step-dot, 9px) / 2);
  margin-block-start: calc(0.5lh - var(--step-dot, 9px) / 2);
}

/*
 * The site's drawn rule, so thickness, colour, duration and curve come from the
 * styling page like every other line.
 *
 * The negative bottom margin is what closes the last gap: the stem ends at its
 * own step's bottom edge, and the NEXT step's dot begins half a line box
 * below that. Without it the line stops short of every dot, which
 * reads as three lines rather than one.
 */
.sub-step__stem {
  align-self: stretch;
  justify-self: center;
  width: auto;
  /* Reaches the next dot, which begins one half-line-box below this step's
     bottom edge - the same measurement that positions the dot itself. */
  margin-block-end: calc(-0.5lh + var(--step-dot, 9px) / 2);
}

.sub-step__body { display: flex; flex-direction: column; gap: var(--space-xs); }
.sub-step__title { margin: 0; }
.sub-step__copy { margin: 0; color: var(--color-text-default); }
.sub-step__copy > * + * { margin-block-start: var(--space-xs); }

/*
 * Positioned against the section, not laid out in it. A bleeding element inside
 * the padded inner box has to fight its parent's padding, and loses differently
 * at every width.
 */
.sub-steps__art {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: var(--steps-art, 42%);
  z-index: 0;
  pointer-events: none;
}

.sub-steps__art-img { width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block; }

/* ── Perks ─────────────────────────────────────────────────────────────── */

.sub-perks { padding: var(--perks-pad); }
.sub-perks__inner { width: min(100%, var(--perks-width, 1240px)); text-align: center; }
.sub-perks__heading { margin: 0; }

.sub-perks__rule {
  margin-block: var(--space-l);
  justify-content: center;
  --divider-width: 60%;
}

.sub-perks__intro { margin: 0 0 var(--space-2xl); color: var(--color-text-default); }

/*
 * A list ruled to look like a table. Each row draws its own top edge and the
 * block draws the frame, for the same reason the cards do it that way.
 */
/* The frame is four drawn edges, not a border - see the note on .sub-perk. */
.sub-perks__list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: start;
}

/*
 * NO BORDERS. Every rule in this table is a drawn line - the frame, the line
 * between rows and the one dividing an icon from its text - so they take their
 * thickness, colour, duration and curve from the styling page and draw in on
 * scroll, like the benefit cards above.
 */
.sub-perk {
  position: relative;
  display: grid;
  /*
   * THE COLUMN IS THE ICON. `auto` measures it, so there is no second setting
   * to keep in step - a fixed column width and an icon size are two controls
   * deciding one dimension, and they can disagree.
   */
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  /* Square: the row is at least as tall as the icon is wide. A minimum on the
     row rather than an aspect-ratio on the cell, because the cell is stretched
     by the grid and a stretched box ignores aspect-ratio. */
  min-height: var(--perks-icon-size, 96px);
}

.sub-perks__list { position: relative; }

.sub-perks__edge { position: absolute; z-index: 1; pointer-events: none; }
.sub-perks__edge--top    { inset: 0 0 auto 0; }
.sub-perks__edge--bottom { inset: auto 0 0 0; }
.sub-perks__edge--start  { inset: 0 auto 0 0; }
.sub-perks__edge--end    { inset: 0 0 0 auto; }

/* The row owns the rule above it, so removing a row leaves the table correct
   with nothing counting how many remain. */
.sub-perk__rule-h { position: absolute; inset: 0 0 auto 0; z-index: 1; pointer-events: none; }

/*
 * NO PADDING. The artwork is drawn inside a transparent 90x90 frame and carries
 * its own margin; padding here would add a second one.
 */
.sub-perk__icon {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
  color: var(--color-text-default);
}

.sub-perk__icon .icon {
  width: var(--perks-icon-size, 96px);
  height: auto;
}

/* Anchored to the icon cell's own trailing edge, so it follows the column
   instead of being told where the column ends. */
.sub-perk__rule-v {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 1;
  pointer-events: none;
}

.sub-perk__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: var(--perks-row-pad, var(--space-l));
}

.sub-perk__title { margin: 0; }
.sub-perk__copy { margin: 0; color: var(--color-text-default); }
.sub-perks__actions { justify-content: center; }

.sub-perks__art {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: var(--perks-art, 20%);
  z-index: 0;
  pointer-events: none;
}

.sub-perks__art-img { width: 100%; height: 100%; object-fit: cover; object-position: right center; display: block; }

@media (max-width: 767px) {
  /* The artwork is the first thing to go: at this width it either covers the
     text or is a sliver of itself, and neither is worth the bytes. */
  .sub-steps__art,
  .sub-perks__art { display: none; }

  /*
   * THE ROWS DO NOT STACK. An earlier version put the icon above its text on a
   * phone and moved the dividing rule to the icon's foot, which put a line
   * through every title and left the icon cells enormous.
   *
   * It was solving a problem that does not exist: the icon column measures the
   * icon, and the icon is a setting that slides down with the viewport - so at
   * 375px it is 56px wide and leaves nearly 300 for the copy. Two columns hold
   * perfectly well, and holding the same shape at every width is worth more
   * than a rearrangement nobody asked for.
   */
}
}

/* The wrapper that keeps a button a GRANDCHILD of its reveal wrapper - see the
   note on .reveal--in[data-reveal] > .btn in assets/button.css. It carries no
   styling of its own; its whole job is to be a level of nesting. */
.sub-cta { display: contents; }
