/* couchcrosscountry.com - navy, gold and cream, from the landing page design David chose (28 Oct, confirmed 3 Nov 2026). */
:root {
  --navy: #12304a;
  --navy-deep: #0d2538;
  --navy-card: #1d4e6e;
  --navy-line: #2c4a63;
  --cream: #fff6e6;
  --sand: #f8ebd2;
  --sand-line: #dcc9a4;
  --card-line: #eadfc8;
  --gold: #ffc857;
  --gold-deep: #8a5e06;
  --ice: #dff0f7;
  --muted: #4a5f72;
  --muted-on-navy: #b8ccda;
  --green: #2e7d4f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
.wordmark {
  font-family: "Sora", "DM Sans", system-ui, sans-serif;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.navy {
  background: var(--navy);
  color: var(--cream);
}

.sand {
  background: var(--sand);
}

section > .wrap {
  padding-top: 88px;
  padding-bottom: 88px;
}

/* Header */
.site-head .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.wordmark {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wordmark b {
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.wordmark span {
  font-size: 8.6px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.43em;
  color: var(--gold);
}

.site-head nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  font-size: 16px;
  font-weight: 500;
}

.site-head nav a {
  color: var(--ice);
  text-decoration: none;
}

.site-head nav a:hover {
  text-decoration: underline;
}

/* The language menu (12 Nov 2026): the current language, the others when opened. */
.langs {
  position: relative;
  font-size: 14px;
}

.langs summary {
  list-style: none;
  cursor: pointer;
  padding: 4px 10px;
  border: 1px solid var(--navy-line);
  border-radius: 8px;
  color: var(--ice);
  font-weight: 600;
}

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

.langs summary::after {
  content: " ▾";
  font-size: 11px;
}

.langs[open] summary {
  background: var(--navy-card);
}

.lang-list {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-width: 140px;
  padding: 6px;
  border-radius: 12px;
  background: var(--navy-deep);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.site-head nav .lang-list a {
  padding: 8px 12px;
  border-radius: 8px;
}

.site-head nav .lang-list a[aria-current="page"] {
  background: var(--navy-card);
  color: var(--cream);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 26px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

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

.btn-line {
  border: 2px solid var(--ice);
  color: var(--cream);
  padding: 13px 24px;
}

.btn-navy {
  background: var(--navy);
  color: var(--cream);
}

.site-head .btn {
  padding: 10px 18px;
  font-size: 16px;
  border-radius: 12px;
  color: var(--navy);
}

/* Hero */
.hero .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 56px;
  padding-top: 48px;
  padding-bottom: 32px;
}

.hero-text {
  flex: 1 1 420px;
  min-width: 0;
}

.kicker {
  margin: 0 0 16px;
  font-weight: 600;
  font-size: 16px;
  color: var(--gold);
}

h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1.05;
}

h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 560px;
  font-size: 20px;
  color: var(--ice);
}

.actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.facts {
  margin: 28px 0 0;
  font-size: 15px;
  color: var(--muted-on-navy);
}

.facts b {
  color: var(--gold);
  font-weight: 600;
}

.devices {
  flex: 1 1 520px;
  min-width: 0;
  position: relative;
  padding-bottom: 56px;
}

.devices .laptop {
  width: 88%;
  border-radius: 16px;
  border: 1px solid var(--navy-line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.devices .phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 27%;
  border-radius: 22px;
  border: 5px solid var(--navy-deep);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.wave {
  display: block;
  width: 100%;
  height: 70px;
}

.weather-band {
  background: var(--gold);
  color: var(--navy);
}

.weather-band .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  padding-top: 2px;
  padding-bottom: 28px;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
}

/* Section headings */
.eyebrow {
  margin: 0 0 12px;
  font-weight: 600;
  font-size: 16px;
  color: var(--gold-deep);
}

.navy .eyebrow {
  color: var(--gold);
}

h2 {
  margin: 0;
  max-width: 780px;
  font-weight: 600;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.1;
}

.intro {
  margin: 20px 0 0;
  max-width: 700px;
  font-size: 19px;
  color: var(--muted);
}

/* Cards */
.cards {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 240px;
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--card-line);
  border-radius: 18px;
  background: #fffdf8;
}

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card h3 {
  margin: 18px 0 8px;
  font-weight: 600;
  font-size: 22px;
}

.card p {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

/* Steps */
.steps-row {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 56px;
  align-items: flex-start;
}

.steps {
  flex: 1 1 440px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--sand-line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--sand-line);
}

.steps .num {
  flex: 0 0 48px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
  color: var(--gold-deep);
}

.steps h3 {
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 22px;
}

.steps p {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

figure {
  margin: 0;
}

.shot img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(18, 48, 74, 0.25);
}

figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.navy figcaption {
  color: var(--muted-on-navy);
}

.steps-row .shot {
  flex: 1 1 420px;
  min-width: 0;
}

.controls {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  padding: 20px 26px;
  border: 1px solid var(--sand-line);
  border-radius: 18px;
  background: var(--cream);
  font-size: 16px;
}

.controls strong {
  font-weight: 600;
}

kbd {
  display: inline-block;
  min-width: 34px;
  margin-right: 8px;
  padding: 3px 10px;
  border: 1px solid var(--navy);
  border-bottom-width: 4px;
  border-radius: 8px;
  background: #fffdf8;
  font-family: inherit;
  font-weight: 700;
  text-align: center;
}

.controls .note {
  color: var(--muted);
}

/* The touch controls on a phone, the keys on a computer (12 Nov 2026). */
.controls.touch {
  display: none;
}

@media (max-width: 760px), (pointer: coarse) {
  .controls.keys {
    display: none;
  }

  .controls.touch {
    display: flex;
  }
}

/* Compete */
.race-cards {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.race-card {
  flex: 1 1 300px;
  min-width: 0;
  padding: 28px;
  border-radius: 20px;
  background: var(--navy-card);
}

.tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
}

.race-card h3 {
  margin: 16px 0 10px;
  font-weight: 600;
  font-size: 25px;
}

.race-card p {
  margin: 0;
  font-size: 16px;
  color: var(--ice);
}

.compete-shots {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.compete-shots img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--navy-line);
}

.compete-shots .wide {
  flex: 2 1 520px;
  min-width: 0;
}

.compete-shots .narrow {
  flex: 1 1 260px;
  min-width: 0;
  max-width: 380px;
}

.after {
  margin: 28px 0 0;
  max-width: 760px;
  font-size: 16px;
  color: var(--muted-on-navy);
}

/* Sites */
.site-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.site-card {
  padding: 20px 22px;
  border: 1px solid var(--card-line);
  border-radius: 16px;
  background: #fffdf8;
}

.site-card h3 {
  margin: 0;
  font-weight: 600;
  font-size: 21px;
}

.site-card p {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.site-card.home {
  border: 0;
  background: var(--navy);
  color: var(--cream);
}

.site-card.home p {
  color: var(--ice);
}

.next-sites {
  margin: 28px 0 0;
  font-size: 16px;
  color: var(--muted);
}

.next-sites b {
  color: var(--navy);
  font-weight: 600;
}

/* Pricing */
.plans {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
}

.plan {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--card-line);
  border-radius: 20px;
  background: #fffdf8;
}

.plan.basic {
  border: 3px solid var(--navy);
  padding: 26px;
}

.plan.advanced {
  border: 0;
  background: var(--navy);
  color: var(--cream);
}

.plan h3 {
  margin: 0;
  font-weight: 600;
  font-size: 23px;
}

.price {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.1;
}

.price small {
  font-size: 18px;
  font-weight: 500;
}

.plan.advanced .price {
  color: var(--gold);
}

.plan .terms {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.plan.advanced .terms {
  color: var(--muted-on-navy);
}

.plan .what {
  margin: 6px 0 0;
  font-size: 16px;
}

.ticks {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.ticks svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.small {
  margin: 24px 0 0;
  font-size: 15px;
  color: var(--muted);
}

/* FAQ */
.faq-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 44px 64px;
}

.dictionary {
  flex: 1 1 340px;
  min-width: 0;
  padding: 32px;
  border-radius: 22px;
  background: var(--navy);
  color: var(--cream);
}

.dictionary .from {
  margin: 0;
  font-size: 14px;
  color: var(--muted-on-navy);
}

.dictionary h2 {
  margin: 12px 0 0;
  font-size: 44px;
  line-height: 1.05;
  color: var(--gold);
}

.dictionary .noun {
  margin: 6px 0 0;
  font-style: italic;
  color: var(--muted-on-navy);
}

.dictionary p {
  margin: 14px 0 0;
  font-size: 18px;
}

.dictionary .see {
  margin-top: 20px;
  font-size: 16px;
  color: var(--ice);
}

.faq {
  flex: 1 1 520px;
  min-width: 0;
}

.faq h2 {
  margin-bottom: 20px;
}

.faq details {
  padding: 18px 0;
  border-top: 1px solid var(--sand-line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--sand-line);
}

.faq summary {
  cursor: pointer;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 20px;
}

.faq details p {
  margin: 8px 0 0;
  font-size: 16px;
  color: var(--muted);
}

/* Roadmap */
.road {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.road .card {
  flex: none;
}

.road .card.now {
  border: 2px solid var(--navy);
}

.tag.later {
  background: var(--muted);
  color: var(--cream);
}

/* Done: green, as a finished step usually is (12 Nov 2026). */
.tag.done {
  background: var(--green);
  color: #fff;
}

.tag.next {
  background: var(--navy);
  color: var(--cream);
}

/* Join */
.join {
  background: var(--gold);
}

.join .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.join h2 {
  font-size: 36px;
}

.join p {
  margin: 10px 0 0;
  font-size: 18px;
}

.join .right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.join .follow a {
  color: var(--navy);
  font-weight: 700;
}

/* Small print */
.legal-cards .card a {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--navy);
}

/* Footer */
.site-foot {
  background: var(--navy-deep);
  color: var(--muted-on-navy);
}

.site-foot .wrap {
  padding-top: 56px;
  padding-bottom: 32px;
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px 64px;
}

.foot-brand {
  flex: 1 1 280px;
  min-width: 0;
}

.foot-brand p {
  margin: 16px 0 0;
  max-width: 320px;
}

.foot-nav {
  flex: 2 1 480px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 56px;
}

.foot-nav div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-nav strong {
  font-weight: 600;
  color: var(--gold);
}

.foot-nav a {
  color: var(--ice);
  text-decoration: none;
}

.foot-nav a:hover {
  text-decoration: underline;
}

.foot-base {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #28445c;
  font-size: 14px;
}

.foot-base p {
  margin: 0 0 8px;
}

/* Plain pages (imprint) */
.plain .wrap {
  max-width: 760px;
  padding-top: 64px;
  padding-bottom: 88px;
}

.plain h2 {
  margin-top: 32px;
  font-size: 22px;
}

@media (max-width: 760px) {
  section > .wrap {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .site-head nav .hide-small {
    display: none;
  }

  /* On a phone the language button stands at the left: its list opens to the right, onto the screen (23 Nov 2026). */
  .lang-list {
    left: 0;
    right: auto;
  }
}

/* About: the pilot behind the game, in his own words (3 Nov 2026). */
.about {
  max-width: 820px;
}

.about p {
  margin: 18px 0 0;
  font-size: 18px;
  color: var(--muted);
}

/* Legal pages: drafts shown for review (3 Nov 2026). */
.draft-note {
  padding: 14px 18px;
  border: 1px solid var(--gold-deep);
  border-radius: 12px;
  background: #fff1cf;
}

.legal h2 {
  margin-top: 36px;
}

.legal .table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.legal th,
.legal td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--sand-line);
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--sand);
}

.legal blockquote {
  margin: 16px 0;
  padding: 4px 20px;
  border-left: 4px solid var(--gold);
  background: #fffdf8;
}

.foot-base a {
  color: var(--ice);
}

/* Watching a live race from the website, no account needed (14 Nov 2026). */
.race-watch {
  font-weight: 700;
}

/* A page per site and the FAQ page (14 Nov 2026). */
.site-page h1,
.faq-page h1 {
  margin: 4px 0 0;
}

.site-place {
  margin: 6px 0 0;
  font-size: 18px;
  color: var(--muted);
}

.site-about {
  margin: 22px 0 26px;
  font-size: 18px;
  line-height: 1.6;
}

.site-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 16px 0 0;
}

.site-facts div {
  padding: 14px 16px;
  border: 1px solid var(--card-line);
  border-radius: 14px;
  background: #fffdf8;
}

.site-facts dt {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-facts dd {
  margin: 4px 0 0;
  font-size: 17px;
}

.site-tasks {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.site-tasks li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--card-line);
  font-size: 17px;
}

.site-tasks li span {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.site-others {
  line-height: 1.9;
}

.faq-page .faq-item {
  padding: 16px 0;
  border-top: 1px solid var(--sand-line);
}

.faq-page .faq-item summary {
  cursor: pointer;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 19px;
}

.faq-page .faq-item p {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

/* The start page's site cards open the site's page. */
a.site-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}

a.site-card:hover,
a.site-card:focus-visible {
  border-color: var(--gold-deep);
  transform: translateY(-2px);
}

.faq-more {
  margin: 20px 0 0;
  font-weight: 600;
}
