/* The app's own palette and type: paper, creosote, rust and steel, Barlow
   Condensed over IBM Plex Sans. The page is a drafting sheet: the models stand
   on the logo's rail and the business details sit in a title block. */
:root {
    color-scheme: light;
    --paper: #fcfaf6;
    --stage: #f5efe7;
    --ink: #20160f;
    --rust: #b84a27;
    --rust-deep: #9d3e20;
    --rust-on-ink: #eb7a52;
    --steel: #465865;
    --on-ink-soft: #d8d0c5;
    --rule: rgba(32, 22, 15, 0.3);
    --rule-soft: rgba(32, 22, 15, 0.14);
    --rule-on-ink: rgba(252, 250, 246, 0.28);
    --grid: rgba(45, 90, 125, 0.11);
    --ties: rgba(32, 22, 15, 0.42);
    --ties-on-ink: rgba(252, 250, 246, 0.38);
    --display: 'Barlow Condensed', 'IBM Plex Sans', ui-sans-serif, sans-serif;
    --body: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
    --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --gutter: clamp(16px, 4vw, 56px);
    --band: clamp(52px, 7vw, 92px);
}

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

html {
    background: var(--ink);
    scroll-behavior: smooth;
    scroll-padding-top: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: clip;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.55;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

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

a {
    color: var(--rust);
}

a:hover {
    color: var(--rust-deep);
}

a:focus-visible {
    outline: 2px solid var(--steel);
    outline-offset: 3px;
}

.wrap {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.label {
    font-family: var(--display);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.note {
    font-size: 15px;
    line-height: 1.45;
    color: var(--steel);
}

/* Coming soon: the bar above everything and the stamp over the headline. */
.soon-bar {
    background: var(--rust);
    color: #fff;
}

.soon-bar .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 14px;
    padding-block: 9px;
}

.soon-bar-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--rule-soft);
}

.site-header .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 32px;
    padding-block: 14px;
}

.brand {
    display: block;
    padding-block: 6px;
}

.brand img {
    width: auto;
    height: 42px;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 26px;
}

.site-nav a {
    padding-block: 11px;
    color: var(--ink);
    font-family: var(--display);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav a:hover {
    color: var(--rust);
}

/* Hero */
.hero {
    border-bottom: 1px solid var(--rule-soft);
    background-color: var(--paper);
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-position: center top;
    background-size: 24px 24px;
}

.hero .wrap {
    display: flex;
    flex-direction: column;
    gap: clamp(36px, 5vw, 60px);
    padding-top: clamp(40px, 6vw, 76px);
}

.hero-intro {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 36px 72px;
}

.hero-copy {
    flex: 999 1 620px;
    min-width: 0;
}

.hero-tagline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-bottom: 16px;
}

.soon-stamp {
    padding: 2px 14px 3px;
    border: 3px solid var(--rust);
    border-radius: 4px;
    background: var(--paper);
    color: var(--rust);
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-eyebrow {
    color: var(--rust);
    font-size: 17px;
}

h1 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(38px, 12.4vw, 144px);
    line-height: 0.92;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

h1 span {
    color: var(--rust);
}

.hero-lede {
    max-width: 36em;
    font-size: clamp(19px, 1.6vw, 22px);
    line-height: 1.45;
}

.scales {
    flex: 1 1 220px;
    max-width: 280px;
    border: 1px solid var(--rule);
    background: var(--paper);
}

.scales .label {
    padding: 8px 14px;
    border-bottom: 1px solid var(--rule);
    color: var(--steel);
}

.scales dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 18px;
    padding: 8px 14px 10px;
    font-family: var(--mono);
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}

.scales dt {
    font-weight: 500;
}

.scales dd {
    text-align: right;
}

/* The models on the rail: each cell carries its own length of track, so the
   rail stays unbroken along every row however the grid wraps. */
.rail-line {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
    gap: 22px 0;
    padding-bottom: 28px;
}

.rail-line figure {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.rail-line img {
    width: 100%;
    height: clamp(150px, 16vw, 220px);
    padding: 0 12px 8px;
    object-fit: contain;
    object-position: center bottom;
    mix-blend-mode: multiply;
}

.rail {
    display: block;
    height: 5px;
    background: var(--rust);
}

.ties {
    display: block;
    height: 7px;
    margin-top: 2px;
    background-image: repeating-linear-gradient(90deg, var(--ties) 0 8px, transparent 8px 22px);
}

.rail-line figcaption {
    margin-top: 10px;
    color: var(--steel);
}

/* Sections */
.band {
    padding-block: var(--band);
}

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

.split {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 64px;
}

.split-head {
    flex: 1 1 300px;
    max-width: 380px;
    min-width: 0;
}

.split-body {
    flex: 999 1 560px;
    min-width: 0;
}

h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(40px, 4.4vw, 56px);
    line-height: 1;
    text-transform: uppercase;
    text-wrap: balance;
}

.split-head p {
    margin-top: 16px;
}

.split-head p + p {
    margin-top: 12px;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}

.section-label {
    color: var(--rust);
    font-family: var(--display);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Designs */
.groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
    gap: 32px 40px;
}

.groups h3 {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--rule);
}

/* How it works */
.how {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 36px 64px;
}

.how-steps {
    flex: 1 1 340px;
    max-width: 440px;
    min-width: 0;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.steps li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0 10px;
}

.step-number {
    color: var(--rust);
    font-family: var(--display);
    font-weight: 700;
    font-size: 34px;
    line-height: 1;
}

.steps p {
    margin-top: 2px;
}

.how-picture {
    flex: 999 1 520px;
    min-width: 0;
}

.how-picture img {
    width: 100%;
    border: 1px solid var(--rule);
    border-radius: 4px;
}

.how-picture figcaption {
    margin-top: 10px;
}

/* Pricing */
.pricing {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.price-tables {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 44px;
}

.packs {
    flex: 1 1 210px;
    min-width: 0;
}

.memberships {
    flex: 999 1 400px;
    min-width: 0;
}

.price-tables .note {
    margin: 6px 0 12px;
}

.table-scroll {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

.memberships table {
    min-width: 350px;
}

thead tr {
    border-bottom: 1px solid var(--rule);
    color: var(--steel);
    font-size: 14px;
}

tbody tr {
    border-bottom: 1px solid var(--rule-soft);
}

th,
td {
    padding: 10px 12px 10px 0;
    text-align: right;
}

thead th {
    padding-block: 6px;
    font-weight: 500;
    vertical-align: bottom;
}

th:last-child,
td:last-child {
    padding-right: 0;
}

th:first-child,
td:first-child {
    text-align: left;
}

tbody th {
    font-weight: 500;
}

td.money,
td.number {
    font-family: var(--mono);
}

.pricing-notes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 46em;
}

/* Policies */
.policies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 28px 44px;
}

.policies h3 {
    margin-bottom: 4px;
}

/* Footer: the drawing's title block */
.site-footer {
    background: var(--ink);
    color: var(--paper);
}

.site-footer .rail {
    height: 6px;
}

.site-footer .ties {
    height: 8px;
    background-image: repeating-linear-gradient(90deg, var(--ties-on-ink) 0 9px, transparent 9px 25px);
}

.site-footer .wrap {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: clamp(40px, 5vw, 64px);
    padding-bottom: 32px;
}

.footer-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 48px;
}

.footer-head img {
    width: auto;
    height: 36px;
}

.title-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 1px;
    border: 1px solid var(--rule-on-ink);
    background: var(--rule-on-ink);
}

.title-block div {
    padding: 12px 16px 14px;
    background: var(--ink);
}

.title-block dt {
    color: var(--rust-on-ink);
}

.title-block dd {
    margin-top: 4px;
}

.title-block a {
    color: var(--paper);
    overflow-wrap: anywhere;
}

.title-block a:hover {
    color: var(--rust-on-ink);
}

.title-block a:focus-visible {
    outline-color: var(--paper);
}

.copyright {
    color: var(--on-ink-soft);
    font-size: 15px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
