@font-face {
  font-family: "Inter";
  src: url("/assets/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Workshop palette: a cool drafting-paper white, ink for type, the gold of
   the K for the one thing to press, and the pencil grey of the blueprint. */
:root {
  --paper: #f3f4f5;
  --sheet: #ffffff;
  --ink: #15161a;
  --graphite: #4a4f57;
  --pencil: #c9ccd1;
  --gold: #c9a24a;
  --gold-ink: #8a6a1f;
  --gutter: max(1.25rem, env(safe-area-inset-left));
  --measure: 72rem;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--gold-ink);
}

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

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

.bar {
  display: flex;
  max-width: var(--measure);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
  padding: 1.5rem var(--gutter);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.08em;
  color: var(--ink);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.bar-e {
  width: 0.515em;
  height: 0.72em;
  fill: currentColor;
}

.bar-e .accent {
  fill: var(--gold);
}

.bar-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.bar-link {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.bar-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.lang-switch {
  display: inline-flex;
  gap: 0.125rem;
  padding: 0.1875rem;
  border: 1px solid var(--pencil);
  border-radius: 999px;
  background: var(--sheet);
}

.lang-switch button {
  min-width: 2.5rem;
  min-height: 2rem;
  padding: 0 0.625rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--graphite);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

/* Hero: the hoodie and its drawing fill the band; the claim sits on the
   open fabric between them, on a soft white wash so it reads over both. */

.hero {
  position: relative;
  display: grid;
  min-height: clamp(34rem, 78vh, 50rem);
  place-items: center;
  padding: 4rem var(--gutter);
  background: url("/assets/splash-kleedit.webp") 58% center / cover no-repeat;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 34rem 22rem at 50% 50%, rgb(243 244 245 / 0.9), rgb(243 244 245 / 0.6) 55%, rgb(243 244 245 / 0) 100%);
}

.hero-copy {
  position: relative;
  display: flex;
  max-width: 36rem;
  flex-direction: column;
  align-items: center;
}

.headline {
  font-size: clamp(2.375rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.lead {
  max-width: 34rem;
  margin-top: 1.5rem;
  color: var(--graphite);
  font-size: 1.1875rem;
  text-wrap: pretty;
}

.hero .btn {
  min-width: 16rem;
  margin-top: 2.25rem;
}

.btn {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}

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

.btn-primary:hover {
  background: #2a2c33;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: #d8b563;
}

/* Three steps, sewn together: a dashed gold seam runs through the numbers,
   because the steps really are a sequence and the product is clothing. */

.flow {
  background: var(--sheet);
  border-block: 1px solid var(--pencil);
}

.flow > * {
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.flow .section-title {
  padding-top: 4rem;
}

.steps {
  position: relative;
  display: grid;
  gap: 2.5rem;
  padding-top: 2.5rem;
  padding-bottom: 4.5rem;
  list-style: none;
}

.step {
  position: relative;
  padding-left: 4rem;
}

/* The seam: between two numbers, never past the last one. */
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 2.75rem;
  bottom: -2.5rem;
  left: 1.3125rem;
  border-left: 2px dashed var(--gold);
}

.step-no {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--sheet);
  font-size: 1.0625rem;
  font-weight: 800;
}

.step h3 {
  padding-top: 0.5rem;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
}

.step p {
  max-width: 34ch;
  margin-top: 0.5rem;
  color: var(--graphite);
}

/* Packages: the one you can buy is the dark sheet, the rest are still
   pencil on the drawing board. */

.plans {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 4.5rem var(--gutter) 5rem;
}

.plans-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

.plan-main {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: 1.25rem;
  background: var(--ink);
  color: #fff;
}

.plan-name {
  font-size: 1.375rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.plan-desc {
  margin-top: 0.75rem;
  color: var(--graphite);
}

.plan-main .plan-desc {
  color: rgb(255 255 255 / 0.72);
}

.checks {
  display: grid;
  gap: 0.625rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 1.75rem;
}

.checks li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 0.125rem;
  width: 0.75rem;
  height: 0.4rem;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.plan-main .btn {
  margin-top: auto;
}

.plans-soon {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1.5rem;
}

.plan-soon {
  padding: 1.5rem 1.75rem;
  border: 1.5px dashed var(--pencil);
  border-radius: 1.25rem;
}

.plan-soon .plan-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: 1.1875rem;
}

.soon {
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  background: #e7e9ec;
  color: var(--graphite);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
}

.plan-soon .checks {
  margin: 1rem 0 0;
  color: var(--graphite);
  font-size: 0.9375rem;
}

.plan-soon .checks li::before {
  border-color: var(--pencil);
}

/* The catalogue: how a product that is not in it yet gets there. */

.catalog-note {
  display: grid;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgb(0 0 0 / 0.08);
  border-radius: 1rem;
  background: var(--sheet);
}

/* The short gold bar of the brand lockup, instead of a coloured side edge. */
.catalog-note::before {
  content: "";
  width: 2.5rem;
  height: 0.25rem;
  margin-bottom: 0.25rem;
  background: var(--gold);
}

.catalog-note h3 {
  font-size: 1.1875rem;
  font-weight: 700;
}

.catalog-note p {
  max-width: 60ch;
  color: var(--graphite);
}

.catalog-note .catalog-price {
  color: var(--ink);
  font-weight: 650;
}

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

.footer {
  display: flex;
  max-width: var(--measure);
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
  padding: 2rem var(--gutter) max(2rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--pencil);
  color: var(--graphite);
  font-size: 0.875rem;
}

.tagline {
  display: flex;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-legal {
  flex-basis: 100%;
  color: var(--graphite);
  font-size: 0.8125rem;
}

.footer-legal span + span {
  margin-left: 0.25rem;
}

/* Privacy statement: one readable column. */

.legal {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem var(--gutter) 5rem;
}

.legal h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.legal-date {
  margin-top: 0.75rem;
  color: var(--graphite);
  font-size: 0.9375rem;
}

.legal h2 {
  margin-top: 2.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.legal p,
.legal ul {
  margin-top: 0.75rem;
  color: var(--graphite);
}

.legal ul {
  padding-left: 1.25rem;
}

.legal li + li {
  margin-top: 0.375rem;
}

/* Wider screens ------------------------------------------------------------ */

/* On a phone the middle of the drawn hoodie (about 81% across the splash)
   sits on the right edge of the screen, so its left half frames the text. */
@media (max-width: 699px) {
  .hero {
    background-position: 73% center;
  }
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .step {
    padding-top: 4.25rem;
    padding-left: 0;
  }

  .step:not(:last-child)::before {
    top: 1.3125rem;
    bottom: auto;
    left: 3.25rem;
    right: -1.5rem;
    border-top: 2px dashed var(--gold);
    border-left: 0;
  }

  .plans-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }
}

@media (min-width: 960px) {
  .plan-main {
    padding: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}
