/* Form Drop: the marketing page. Its own world (Wristbands), separate from the
   staff app (app.css) and from each account's form theme (styles.css). */

:root {
    color-scheme: only light;
    --ink: #141414;
    --ink-2: #4a4a4a;
    --paper: #ffffff;
    --rule: #e2e2e0;
    --rule-2: #cfcfcc;
    --go: #ff5a1f;        /* Start free, and nothing else */
    --go-deep: #c43d0c;
    --blue: #2f5bff;      /* Fans */
    --lime: #c6f432;      /* Clients */
    --pink: #ff3d8b;      /* Customers */
    --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
    --body: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --gutter: clamp(16px, 4.45vw, 64px);
    --band-h: clamp(64px, 6.67vw, 96px);
    --h1: clamp(46px, 5.85vw, 84px);
    --table-shadow: drop-shadow(0 1px 1px rgba(20, 20, 20, 0.1)) drop-shadow(0 12px 14px rgba(20, 20, 20, 0.16));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-color: var(--ink) #ededeb;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 18px/1.5 var(--body);
    caret-color: var(--ink);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

::selection {
    background: var(--lime);
    color: var(--ink);
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--focus, var(--ink));
    outline-offset: 3px;
}

.ico {
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wrap {
    width: min(100% - 2 * var(--gutter), 1312px);
    margin-inline: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 10;
    padding: 10px 14px;
    background: var(--ink);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
}

.skip:focus {
    top: 12px;
}

/* ---------- Top bar ---------- */

.top {
    display: flex;
    align-items: center;
    gap: 36px;
    min-height: 80px;
    padding: 0 var(--gutter);
    font-size: 15px;
    font-weight: 500;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    font: 900 24px/1.1 var(--display);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
}

.top-nav {
    display: flex;
    gap: 32px;
}

.top-nav a,
.foot nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.top-nav a:hover,
.foot nav a:hover,
.see:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.top-nav i {
    width: 9px;
    height: 9px;
    border-radius: 2px;
    background: var(--c);
}

.btn-line {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 18px;
    border: 1.5px solid var(--ink);
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn-line:hover {
    background: var(--ink);
    color: #fff;
}

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

.hero {
    position: relative;
    padding-top: clamp(16px, 2.2vw, 32px);
    overflow: clip;
}

.hero-head {
    display: grid;
    width: min(100% - 2 * var(--gutter), 1312px);
    margin-inline: auto;
}

.hero-head h1,
.hero-head .lead {
    grid-area: 1 / 1;
}

h1 {
    font: 900 var(--h1)/1.05 var(--display);
    letter-spacing: -0.004em;
    text-wrap: balance;
}

h1 span {
    display: block;
    white-space: nowrap;
}

/* The lead starts level with the headline's short second line, never beside the first. */
.lead {
    align-self: start;
    justify-self: end;
    width: min(37rem, 44%);
    margin-top: calc(var(--h1) * 1.05 + 4px);
    color: var(--ink-2);
    font-size: clamp(17px, 1.32vw, 19px);
}

.lead b {
    color: var(--ink);
    font-weight: 600;
}

/* The table the bands lie on. Desktop places them like the approved sketch. */
.table {
    position: relative;
    height: calc(27.6vw + var(--band-h) + 56px);
    margin-top: clamp(24px, 2.8vw, 40px);
}

.band {
    position: absolute;
    display: flex;
    height: var(--band-h);
    color: var(--on);
    filter: var(--table-shadow);
    transform: rotate(var(--rot));
    transform-origin: var(--origin, 50% 50%);
}

.band-fans { --c: var(--blue); --on: #fff; --focus: var(--ink); --rot: -1.4deg; --origin: 100% 50%; left: 4.45vw; top: 0; width: 65.3vw; }
.band-clients { --c: var(--lime); --on: var(--ink); --rot: 2.2deg; left: 16.4vw; top: 10.7vw; width: 77vw; }
.band-customers { --c: var(--pink); --on: var(--ink); --rot: -3.4deg; left: 3.9vw; top: 18.6vw; width: 70vw; }
.band-events { --c: var(--ink); --on: #fff; --focus: #fff; --rot: 1.6deg; --origin: 0 50%; left: 27.8vw; top: 27.6vw; width: 86vw; }

/* The events band runs off the edge, so its price rides beside the name, not at the hidden end. */
.band-events .band-price {
    margin-left: 0;
}

.band.is-flipped {
    flex-direction: row-reverse;
}

.band-body {
    display: flex;
    flex: 1;
    align-items: center;
    gap: clamp(14px, 1.8vw, 26px);
    min-width: 0;
    padding: 0 clamp(18px, 2.1vw, 30px);
    background: var(--c);
    border-radius: 5px 0 0 5px;
}

.is-flipped .band-body {
    border-radius: 0 5px 5px 0;
}

.band-cat {
    font: 900 clamp(28px, 3.05vw, 44px)/1.1 var(--display);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.band-rule {
    flex: none;
    width: 2px;
    height: 50%;
    background: currentColor;
    opacity: 0.3;
}

.band-name {
    min-width: 0;
    font-size: clamp(17px, 1.67vw, 24px);
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.band-name small {
    display: block;
    margin-top: 6px;
    font: 500 12px/1.45 var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.band-price {
    margin-left: auto;
    font: 800 clamp(28px, 3.05vw, 44px)/1.1 var(--display);
    letter-spacing: 0.01em;
}

.band-slits {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 34px;
    background: var(--c);
}

.band-slits i {
    width: 3px;
    height: 12px;
    border-radius: 2px;
    background: var(--paper);
    transform: skewX(-26deg);
}

.band-tab {
    flex: none;
    width: clamp(48px, 8.2vw, 118px);
    background: var(--c);
    border-left: 2px dashed color-mix(in srgb, var(--on) 30%, transparent);
    border-radius: 0 18px 18px 0;
}

.is-flipped .band-tab {
    border-left: 0;
    border-right: 2px dashed color-mix(in srgb, var(--on) 30%, transparent);
    border-radius: 18px 0 0 18px;
}

/* The one action: an adhesive tab, peeled at its corner. */
.band-go {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: clamp(168px, 15.8vw, 228px);
    padding: 0 16px;
    background: var(--go);
    color: var(--ink);
    border-left: 2px dashed rgba(20, 20, 20, 0.35);
    border-radius: 0 18px 0 0;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
    --focus: var(--ink);
}

.band-go::before,
.band-go::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 26px;
    height: 26px;
}

.band-go::before {
    background: var(--paper);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.band-go::after {
    background: var(--go-deep);
    border-radius: 0 0 0 3px;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    transition: width 0.25s var(--ease), height 0.25s var(--ease);
}

.band-go .ico {
    transition: transform 0.25s var(--ease);
}

.band-go:hover .ico {
    transform: translateX(4px);
}

.band-go:hover::before,
.band-go:hover::after {
    width: 32px;
    height: 32px;
}

.see {
    position: absolute;
    left: 72vw;
    top: calc(var(--band-h) * 0.32);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    text-decoration: none;
}

/* Bands settle onto the table once, already visible as they move. */
@media (prefers-reduced-motion: no-preference) {
    .band {
        animation: band-settle 0.9s var(--ease) both;
        animation-delay: calc(var(--n, 0) * 70ms);
    }

    .band:nth-child(2) { --n: 1; }
    .band:nth-child(3) { --n: 2; }
    .band:nth-child(4) { --n: 3; }

    @keyframes band-settle {
        from {
            transform: translateY(-26px) rotate(0deg);
        }
    }
}

/* ---------- Section rhythm ---------- */

section h2 {
    font: 900 clamp(40px, 4.4vw, 64px)/1.05 var(--display);
    letter-spacing: 0.005em;
    text-wrap: balance;
}

.section-lead {
    max-width: 58ch;
    margin-top: 14px;
    color: var(--ink-2);
    font-size: clamp(17px, 1.32vw, 19px);
}

.uses,
.how,
.sell,
.free,
.pricing,
.faq {
    padding-top: clamp(72px, 8.9vw, 128px);
}

/* ---------- Who's filling it in ---------- */

.use-tabs {
    display: flex;
    gap: 12px;
    margin-top: 40px;
    align-items: flex-end;
}

.use-tabs[hidden] {
    display: none;
}

.use-tab {
    display: flex;
    flex: 1;
    align-items: stretch;
    min-height: 64px;
    padding: 0;
    border: 0;
    background: var(--c);
    color: var(--on);
    border-radius: 5px 5px 0 0;
    font: 900 clamp(22px, 2.2vw, 32px)/1 var(--display);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    filter: var(--table-shadow);
    transform: translateY(8px) rotate(var(--tilt, -1deg));
    transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
}

.use-tab span:first-child {
    display: flex;
    flex: 1;
    align-items: center;
    padding: 0 18px;
}

.use-tab .band-slits {
    width: 28px;
    background: transparent;
}

.use-tab:nth-child(even) {
    --tilt: 1.2deg;
}

.use-tab:hover {
    transform: translateY(3px) rotate(0deg);
}

.use-tab[aria-selected="true"] {
    transform: none;
    filter: none;
}

.use-tab[data-use="fans"] { --c: var(--blue); --on: #fff; }
.use-tab[data-use="clients"] { --c: var(--lime); --on: var(--ink); }
.use-tab[data-use="customers"] { --c: var(--pink); --on: var(--ink); }
.use-tab[data-use="events"] { --c: var(--ink); --on: #fff; --focus: var(--go); }

.use {
    padding: clamp(40px, 4.5vw, 64px) 0 clamp(48px, 5.5vw, 80px);
    background: var(--flood);
    color: var(--on);
    --focus: var(--on);
}

.use[hidden] {
    display: none;
}

.use-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr) minmax(0, 0.95fr);
    gap: clamp(24px, 3.3vw, 48px);
    align-items: start;
}

.use h3 {
    font: 900 clamp(48px, 5vw, 72px)/1 var(--display);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.use-line {
    margin-top: 10px;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.35;
}

.points {
    display: grid;
    gap: 14px;
    margin-top: 26px;
    font-size: 17px;
}

.points li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: baseline;
}

.points .ico {
    width: 15px;
    height: 13px;
    transform: translateY(1px);
}

/* A sample of the account's own public form, floating over the flood. */
.sample {
    display: grid;
    gap: 14px;
    padding: 22px 22px 24px;
    background: #fff;
    color: var(--ink);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 22px 36px -16px rgba(0, 0, 0, 0.45);
    --focus: var(--ink);
}

.sample-tag {
    font: 500 11px/1.45 var(--mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-2);
}

.sample-title {
    margin-top: -6px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.sf {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 600;
}

.sf input,
.sf select,
.sf textarea {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1.5px solid var(--rule-2);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: 400 16px/1.4 var(--body);
}

.sf textarea {
    resize: vertical;
}

.sf input:focus,
.sf select:focus,
.sf textarea:focus {
    border-color: var(--ink);
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--flood) 45%, transparent);
}

.sf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sf-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
}

.sf-check input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--ink);
}

.sf-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
}

.sf-item-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.sf-item-name small {
    display: block;
    margin-top: 2px;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 500;
}

.qty {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--rule-2);
    border-radius: 8px;
}

.qty button {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: 600 18px/1 var(--body);
    cursor: pointer;
    border-radius: 6px;
}

.qty button:hover:not(:disabled) {
    background: #f1f1ef;
}

.qty button:disabled {
    color: #a3a3a0;
    cursor: default;
}

.qty output {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
}

.sample-btn {
    min-height: 48px;
    margin-top: 4px;
    border: 0;
    border-radius: 8px;
    background: var(--flood);
    color: var(--on);
    font: 700 17px/1 var(--body);
    cursor: pointer;
}

.sample-btn:hover {
    filter: brightness(0.94);
}

.ledger-head {
    padding-bottom: 12px;
    border-bottom: 3px solid currentColor;
    font: 800 24px/1.1 var(--display);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ledger-rows li {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    column-gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--on) 28%, transparent);
}

.ledger-rows .no {
    grid-row: span 2;
    padding-top: 3px;
    font: 500 13px/1.45 var(--mono);
    letter-spacing: 0.04em;
}

.ledger-rows .who {
    font-weight: 600;
}

.ledger-rows .what {
    color: var(--soft);
    font-size: 15px;
}

.ledger-rows .what b {
    color: var(--on);
    font-weight: 700;
}

.ledger-foot {
    margin-top: 14px;
    color: var(--soft);
    font-size: 14px;
    font-weight: 500;
}

.sample-note {
    margin-top: 18px;
    font-weight: 600;
}

.sample-note[hidden] {
    display: none;
}

.sample-note a {
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* The band snap: the chosen colour floods down from the tabs, the form drops into place. */
@media (prefers-reduced-motion: no-preference) {
    .use.is-entering {
        animation: use-flood 0.45s var(--ease) both;
    }

    .use.is-entering .sample {
        animation: use-snap 0.38s var(--ease) 0.1s both;
    }

    @keyframes use-flood {
        from {
            clip-path: inset(0 0 100% 0);
        }
        to {
            clip-path: inset(0);
        }
    }

    @keyframes use-snap {
        from {
            transform: translateY(-16px) rotate(-1.6deg);
            clip-path: inset(0 0 100% 0 round 10px);
        }
        to {
            transform: none;
            clip-path: inset(0 round 10px);
        }
    }
}

/* ---------- How: one band running in from the left edge ---------- */

.how {
    overflow: clip;
}

.run {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: calc(100% - var(--gutter) + 4px);
    margin: 40px 0 0 -4px;
    padding: 0 clamp(48px, 6vw, 96px) 0 calc(var(--gutter) + 4px);
    background: var(--ink);
    color: #fff;
    border-radius: 0 18px 18px 0;
    filter: var(--table-shadow);
    transform: rotate(-0.6deg);
    transform-origin: 0 50%;
    --focus: #fff;
}

.run li {
    padding: clamp(26px, 3vw, 40px) clamp(18px, 2.2vw, 32px);
}

.run li + li {
    border-left: 2px dashed rgba(255, 255, 255, 0.28);
}

.run-step {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    font: 900 clamp(26px, 2.5vw, 34px)/1.05 var(--display);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.run-no {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    font: 500 15px/1 var(--mono);
}

.run li > p:last-child {
    color: #d6d6d6;
    font-size: 17px;
}

/* ---------- Selling ---------- */

.sell-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: start;
}

.fare table,
.compare {
    width: 100%;
    border-collapse: collapse;
    border-top: 3px solid var(--ink);
}

.fare caption {
    padding-bottom: 10px;
    text-align: left;
    font: 500 12px/1.45 var(--mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-2);
}

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

.fare thead th,
.compare thead th {
    font: 800 15px/1.2 var(--display);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fare tbody th,
.compare tbody th {
    font-weight: 600;
}

/* Schibsted Grotesk widens punctuation under tnum, so only the steppers use it. */
.qty output {
    font-variant-numeric: tabular-nums;
}

.fare {
    overflow-x: auto;
}

.fare td:nth-child(n + 3) {
    width: 6.5rem;
}

.rules {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    margin-top: clamp(40px, 4.5vw, 64px);
    border-top: 3px solid var(--ink);
}

.rules dt,
.rules dd {
    padding: 20px 0;
    border-bottom: 1px solid var(--rule);
}

.rules dt {
    padding-right: 24px;
    font: 800 22px/1.15 var(--display);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rules dd {
    max-width: 68ch;
    color: var(--ink-2);
    font-size: 17px;
}

/* ---------- Pricing ---------- */

.plans {
    display: grid;
    gap: 22px;
    margin-top: 40px;
}

.plan-band {
    display: flex;
    min-height: 112px;
    filter: var(--table-shadow);
}

.plan-free {
    --c: #fff;
    --on: var(--ink);
    transform: rotate(-0.7deg);
}

.plan-sell {
    --c: var(--ink);
    --on: #fff;
    --focus: #fff;
    transform: rotate(0.5deg);
}

.plan-body {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px clamp(18px, 2.5vw, 36px);
    min-width: 0;
    padding: 18px clamp(20px, 2.5vw, 34px);
    background: var(--c);
    color: var(--on);
    border-radius: 5px 0 0 5px;
}

.plan-free .plan-body {
    box-shadow: inset 0 0 0 2px var(--ink);
}

.plan-free .band-slits {
    box-shadow: inset 0 2px 0 var(--ink), inset 0 -2px 0 var(--ink);
}

.plan-free .band-slits i {
    background: var(--ink);
}

.plan-sell .band-slits i {
    background: var(--paper);
}

.plan-band .band-slits {
    background: var(--c);
}

.plan-price {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    font: 900 clamp(40px, 3.9vw, 56px)/1 var(--display);
}

.plan-price small {
    font: 500 15px/1.3 var(--body);
}

.plan-what {
    margin-left: auto;
    font-size: 18px;
    font-weight: 600;
}

.plan-tab {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: clamp(168px, 15.8vw, 228px);
    padding: 0 18px;
    background: var(--ink);
    color: #fff;
    border-left: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 0 18px 18px 0;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.plan-tab:hover {
    text-decoration-color: var(--lime);
}

.plan-band .band-go {
    border-radius: 0 18px 18px 0;
}

.plan-band .band-go::before,
.plan-band .band-go::after {
    display: none;
}

.compare {
    margin-top: 48px;
}

.compare th:not(:first-child),
.compare td {
    width: 30%;
}

.compare td .ico {
    width: 15px;
    height: 13px;
}

/* ---------- FAQ ---------- */

.faq-list {
    margin-top: 32px;
    border-top: 3px solid var(--ink);
}

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

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

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

.faq summary::after {
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    background:
        linear-gradient(currentColor, currentColor) center / 14px 2.4px no-repeat,
        linear-gradient(currentColor, currentColor) center / 2.4px 14px no-repeat;
    transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
    transform: rotate(45deg);
}

.faq details p {
    max-width: 68ch;
    padding-bottom: 24px;
    color: var(--ink-2);
    font-size: 17px;
}

/* ---------- Close: the last band runs in from the left ---------- */

.close {
    padding: clamp(80px, 9.7vw, 140px) 0 clamp(72px, 8vw, 116px);
    overflow: clip;
}

.close-band {
    display: flex;
    width: min(1180px, 92vw);
    min-height: 168px;
    filter: var(--table-shadow);
    transform: rotate(-1.2deg);
    transform-origin: 0 50%;
    --c: var(--ink);
    --focus: #fff;
}

.close-body {
    flex: 1;
    padding: 32px clamp(20px, 3vw, 48px) 32px calc(var(--gutter) + 4px);
    background: var(--ink);
    color: #fff;
}

.close-body h2 {
    font-size: clamp(40px, 4.6vw, 68px);
}

.close-body p {
    margin-top: 10px;
    color: #d6d6d6;
    font-size: 18px;
}

.close-band .band-go {
    width: clamp(180px, 18vw, 260px);
    font-size: 21px;
}

/* ---------- Footer ---------- */

.foot {
    padding: 32px 0 48px;
    border-top: 1px solid var(--rule);
    font-size: 15px;
}

.foot-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 32px;
}

.foot .wordmark {
    font-size: 20px;
}

.foot nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    font-weight: 500;
}

.foot p {
    flex-basis: 100%;
    color: var(--ink-2);
    font-size: 14px;
}

/* ---------- Narrower screens ---------- */

@media (max-width: 1100px) {
    .hero-head .lead {
        grid-area: 2 / 1;
        justify-self: start;
        width: auto;
        max-width: 38rem;
        margin: 18px 0 0;
    }

    .table {
        display: grid;
        gap: 18px;
        height: auto;
        margin-top: 28px;
    }

    .bands {
        display: grid;
        gap: 14px;
        padding-inline: var(--gutter);
    }

    .band {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        min-height: var(--band-h);
        height: auto;
        transform: rotate(calc(var(--rot) * 0.35));
    }

    .band-events {
        margin-right: calc(-1 * var(--gutter) - 24px);
    }

    .see {
        position: static;
        justify-self: start;
        margin-inline: var(--gutter);
    }

    .use-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .use-copy {
        grid-column: 1 / -1;
    }

    .sell-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 880px) {
    .top {
        flex-wrap: wrap;
        gap: 0 18px;
        min-height: 0;
        padding-top: 14px;
    }

    .top-nav {
        order: 3;
        width: calc(100% + 2 * var(--gutter));
        margin: 10px calc(-1 * var(--gutter)) 0;
        padding: 10px var(--gutter) 12px;
        gap: 24px;
        overflow-x: auto;
        border-top: 1px solid var(--rule);
        scrollbar-width: none;
        white-space: nowrap;
    }

    .top-nav::-webkit-scrollbar {
        display: none;
    }

    .run {
        grid-template-columns: minmax(0, 1fr);
    }

    .run li + li {
        border-left: 0;
        border-top: 2px dashed rgba(255, 255, 255, 0.28);
    }

    .rules {
        grid-template-columns: minmax(0, 1fr);
    }

    .rules dt {
        padding-bottom: 4px;
        border-bottom: 0;
    }

    .rules dd {
        padding-top: 0;
    }

    .plan-what {
        flex-basis: 100%;
        margin-left: 0;
    }
}

@media (max-width: 720px) {
    h1 span {
        display: inline;
        white-space: normal;
    }

    .band-body {
        flex-wrap: wrap;
        gap: 2px 12px;
        padding-block: 12px;
    }

    .band-rule {
        display: none;
    }

    .band-cat {
        flex-basis: 100%;
    }

    .band-name {
        white-space: normal;
    }

    .band-name small {
        font-size: 11px;
        white-space: nowrap;
    }

    .fare thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .fare tr {
        display: grid;
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 4px 14px;
        padding: 14px 0;
        border-bottom: 1px solid var(--rule);
    }

    .fare tbody th {
        grid-column: 1 / -1;
    }

    .fare th,
    .fare td {
        width: auto !important;
        padding: 0;
        border: 0;
        font-size: 15px;
    }

    .fare td::before {
        content: attr(data-label);
        display: block;
        color: var(--ink-2);
        font: 500 11px/1.45 var(--mono);
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .band-go {
        width: 138px;
        padding: 0 12px;
        font-size: 16px;
        gap: 6px;
        white-space: nowrap;
    }

    .band-slits {
        width: 22px;
    }

    .use-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }

    .use-tab {
        flex: 1 1 calc(50% - 4px);
        min-height: 52px;
        border-radius: 5px;
        transform: none;
        filter: none;
        opacity: 0.88;
    }

    .use-tab[aria-selected="true"] {
        opacity: 1;
        box-shadow: inset 0 -4px 0 rgba(255, 255, 255, 0.6), 0 0 0 2px var(--ink);
    }

    .use-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sf-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .plan-band,
    .close-band {
        flex-direction: column;
    }

    .plan-band .band-slits,
    .close-band .band-slits {
        display: none;
    }

    .plan-band .band-go,
    .plan-tab,
    .close-band .band-go {
        width: auto;
        min-height: 56px;
        border-left: 0;
        border-top: 2px dashed rgba(20, 20, 20, 0.3);
        border-radius: 0 0 18px 18px;
    }

    .plan-tab {
        border-top-color: rgba(255, 255, 255, 0.3);
    }

    .plan-body,
    .close-body {
        border-radius: 5px 5px 0 0;
    }

    .close-band {
        width: calc(100% - var(--gutter));
    }

    .close-band .band-go::before,
    .close-band .band-go::after {
        display: none;
    }

    .compare th,
    .compare td {
        font-size: 15px;
    }
}
