/* Chikara landing page.
   Ported from the "Chikara Landing" design. Colours, type sizes and spacing
   are the design's; hover states and the responsive collapse are added here,
   since inline styles in the source could express neither. */

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/Sora-Regular-95de2322.ttf") format("truetype");
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/Sora-SemiBold-515e398d.ttf") format("truetype");
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/Sora-Bold-6c9b6b1f.ttf") format("truetype");
}

@font-face {
  font-family: "Big Shoulders Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/BigShouldersCondensed-Bold-1f583084.ttf") format("truetype");
}

@font-face {
  font-family: "Big Shoulders Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/BigShouldersCondensed-ExtraBold-40553a45.ttf") format("truetype");
}

:root {
  --paper: #fdf6ec;
  --surface: #ffffff;
  --sunken: #f7eee0;
  --ink: #201b17;
  --ink-soft: #6b6259;
  --line: #e8dfd2;
  --coral: #f1502b;
  --coral-dark: #d8421f;
  --mint: #3e9c7c;

  --wrap: 1080px;
  --gutter: 40px;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Sora", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
p,
figure {
  margin: 0;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--coral);
}

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

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

/* ---------- shared type ---------- */

.display {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.03;
  text-wrap: pretty;
}

h2 {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: pretty;
}

.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 30em;
  text-wrap: pretty;
}

.body {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 30em;
  text-wrap: pretty;
}

.fine {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.fine--quote {
  text-wrap: pretty;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 34px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 120ms ease, box-shadow 120ms ease;
}

.btn--primary {
  background: var(--coral);
  color: var(--surface);
  box-shadow: 0 12px 28px -10px rgba(241, 80, 43, 0.6);
}

.btn--primary:hover {
  background: var(--coral-dark);
  color: var(--surface);
}

.btn--plain {
  background: var(--surface);
  padding: 0 30px;
  box-shadow: 0 6px 18px -8px rgba(32, 27, 23, 0.18);
}

.btn--plain:hover {
  color: var(--ink);
  box-shadow: 0 10px 24px -8px rgba(32, 27, 23, 0.26);
}

.btn--outline {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--paper);
}

.btn--small {
  height: 44px;
  padding: 0 24px;
  font-size: 15px;
  box-shadow: 0 8px 20px -8px rgba(241, 80, 43, 0.55);
}

.btn--block {
  flex: 1;
  height: 46px;
  font-size: 15px;
  box-shadow: none;
}

/* ---------- header ---------- */

.bar {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 26px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wordmark__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  image-rendering: pixelated;
}

.wordmark__text {
  font-family: "Big Shoulders Condensed", "Sora", sans-serif;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: 0.01em;
  line-height: 1;
}

.wordmark__text--small {
  font-size: 22px;
}

.bar__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.bar__link {
  font-size: 15px;
  font-weight: 600;
}

/* ---------- layout blocks ---------- */

.hero,
.split {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 60px var(--gutter) 96px;
  display: grid;
  grid-template-columns: 1fr 344px;
  gap: 72px;
  align-items: center;
}

.split {
  padding: 96px var(--gutter);
}

.split--even {
  grid-template-columns: 1fr 1fr;
}

.hero__copy,
.split__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero__copy {
  gap: 28px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

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

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

.band__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 96px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 34em;
}

.prose .body {
  max-width: none;
}

/* ---------- ticks ---------- */

.ticks {
  list-style: none;
  margin: 0;
  padding: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
}

.ticks li {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.ticks li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
  transform: translateY(-3px);
}

/* ---------- phone frame ---------- */

.phone {
  width: 344px;
  max-width: 100%;
  padding: 10px;
  border-radius: 46px;
  background: var(--ink);
  box-shadow: 0 40px 70px -26px rgba(32, 27, 23, 0.45);
}

.phone__screen {
  position: relative;
  width: 100%;
  aspect-ratio: 390 / 844;
  border-radius: 36px;
  overflow: hidden;
  background: var(--paper);
}

/* The screenshots are taller than 390:844, so the frame crops from the top
   rather than letterboxing — the status bar and the content below it are what
   matter, the empty tail of the screen isn't. */
.phone__shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ---------- coach ---------- */

.coach {
  display: grid;
  grid-template-columns: 1fr 372px;
  gap: 56px;
  align-items: start;
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: 24px;
  background: var(--paper);
}

.bubble {
  font-size: 16px;
  line-height: 1.5;
  padding: 16px 20px;
}

.bubble--athlete {
  align-self: flex-end;
  max-width: 78%;
  border-radius: 20px 20px 6px 20px;
  background: var(--ink);
  color: var(--paper);
}

.bubble--coach {
  align-self: flex-start;
  max-width: 88%;
  border-radius: 20px 20px 20px 6px;
  background: var(--surface);
  box-shadow: 0 6px 18px -10px rgba(32, 27, 23, 0.22);
}

.coach__phone {
  width: 372px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.coach__phone .phone {
  width: 100%;
}

.coach__phone .fine {
  font-size: 14px;
}

/* ---------- proposal ---------- */

.proposal {
  align-self: flex-start;
  width: 100%;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 10px 30px -14px rgba(32, 27, 23, 0.28);
  overflow: hidden;
}

.proposal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.proposal__head .eyebrow {
  letter-spacing: 0.12em;
}

.proposal__routine {
  font-size: 14px;
  font-weight: 600;
}

.proposal__rows {
  display: flex;
  flex-direction: column;
}

.diff {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.diff:last-child {
  border-bottom: 0;
}

.diff--add {
  background: rgba(62, 156, 124, 0.07);
}

.diff__sign {
  width: 22px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-soft);
  flex-shrink: 0;
}

.diff--add .diff__sign {
  color: var(--mint);
}

.diff__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.diff__name {
  font-size: 16px;
  font-weight: 600;
}

.diff--remove .diff__name {
  text-decoration: line-through;
  text-decoration-color: var(--ink-soft);
}

.diff__detail {
  font-size: 14px;
  color: var(--ink-soft);
}

.proposal__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}

/* ---------- numbers ---------- */

.stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 32px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 18px 44px -22px rgba(32, 27, 23, 0.28);
}

.stats__figures {
  display: flex;
  gap: 44px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.figure {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.figure__value {
  font-family: "Big Shoulders Condensed", "Sora", sans-serif;
  font-weight: 700;
  font-size: 68px;
  line-height: 0.9;
}

.figure__value--accent {
  color: var(--coral);
}

.figure__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.stats__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 26px;
}

.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
}

.stat-row__value {
  color: var(--ink-soft);
}

/* ---------- where to get it ---------- */

.channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.channel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 28px;
  border-radius: 20px;
  background: var(--paper);
  transition: background-color 120ms ease;
}

.channel:hover {
  color: var(--ink);
  background: var(--sunken);
}

.channel__name {
  font-size: 18px;
  font-weight: 600;
}

.channel__detail {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.closing {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 4px;
}

/* ---------- footer ---------- */

.foot {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.foot__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  image-rendering: pixelated;
}

.foot__text {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- narrow screens ----------
   The design is drawn at desktop width. Below the point where a 344px phone
   frame stops fitting beside the text, every two-column block becomes one. */

@media (max-width: 900px) {
  :root {
    --gutter: 24px;
  }

  .hero,
  .split,
  .split--even,
  .coach {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero {
    padding-bottom: 64px;
  }

  .split {
    padding: 64px var(--gutter);
  }

  .band__inner {
    padding: 64px var(--gutter);
    gap: 40px;
  }

  .phone,
  .coach__phone {
    width: 320px;
    margin: 0 auto;
  }

  .channels {
    grid-template-columns: 1fr;
  }

  .stats__figures {
    gap: 28px;
  }

  .figure__value {
    font-size: 56px;
  }
}

@media (max-width: 560px) {
  .bar {
    gap: 16px;
  }

  .bar__nav {
    gap: 18px;
    width: 100%;
  }

  .chat {
    padding: 20px;
  }

  .stats {
    padding: 24px;
  }

  .btn {
    width: 100%;
  }

  .btn--small,
  .btn--block {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* ---------- request form ----------
   The one place on the page that takes input. It sits where the closing CTA
   was, inside the white "Where to get it" band. */

.request {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 34em;
  padding: 32px;
  border-radius: 24px;
  background: var(--paper);
}

.request__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.request .btn {
  align-self: flex-start;
  margin-top: 6px;
}

.request--done {
  border: 1px solid var(--mint);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field__label {
  font-size: 14px;
  font-weight: 600;
}

.field__input {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 120ms ease;
}

.field__input:focus {
  border-color: var(--ink);
  outline: none;
}

.field__input--area {
  min-height: 0;
  resize: vertical;
  line-height: 1.5;
}

.field__hint {
  font-size: 13px;
  color: var(--ink-soft);
}

.notice {
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.45;
}

ul.notice {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notice--error {
  background: rgba(241, 80, 43, 0.1);
  color: var(--coral-dark);
}

.notice--warn {
  background: var(--sunken);
  color: var(--ink);
}

/* Hidden from people and from screen readers; only a bot fills it in. */
.trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
