/* ReplyHippo · Kartta landing page. Colours and fonts come from tokens.css. */
*,
*::before,
*::after {
  box-sizing: border-box
}

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

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5
}

html,
body {
  overflow-x: clip
}

a {
  color: inherit
}

h1,
h2,
h3,
p {
  margin: 0
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer
}

.wrap {
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem)
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.02em
}

.bl {
  width: 1.9em;
  height: 1.9em;
  flex: none;
  display: block
}

.chip {
  display: inline-grid;
  place-items: center;
  width: .92em;
  height: .92em;
  vertical-align: -.12em;
  margin-inline: .04em
}

.chip img {
  width: 80%;
  height: 80%;
  display: block
}

[hidden] {
  display: none !important
}

.win {
  overflow: hidden
}

.bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px
}

.bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: currentColor;
  opacity: .18
}

.url {
  margin-inline: auto;
  font-size: 12.5px;
  padding: 4px 14px;
  border-radius: 7px
}

.app {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 430px
}

aside {
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px
}

aside .brand {
  font-size: 15px;
  padding: 4px 8px
}

aside ul {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
  font-size: 14px
}

aside li {
  padding: 8px 10px;
  border-radius: 8px
}

.me {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 6px 8px
}

.main {
  min-width: 0
}

.top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 14px;
  flex-wrap: wrap
}

.crumb {
  margin-right: auto
}

.crumb em {
  font-style: normal;
  opacity: .4;
  padding: 0 4px
}

.live,
.b {
  font-size: 12.5px;
  padding: 5px 11px;
  border-radius: 8px
}

.panel {
  padding: 18px 22px 22px
}

.ph {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  font-size: 14px
}

.ph span {
  opacity: .6;
  font-size: 13px
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px
}

.stat {
  padding: 12px 14px
}

.stat b {
  display: block;
  font-size: 24px;
  line-height: 1.1
}

.stat span {
  font-size: 12px;
  opacity: .65
}

.row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1.6fr) 96px;
  gap: 12px;
  align-items: center;
  padding: 11px 2px
}

.av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  flex: none
}

.who {
  min-width: 0
}

.who b {
  display: block;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.who span {
  display: block;
  font-size: 12px;
  opacity: .6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.msg {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0
}

.tag {
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 99px;
  white-space: nowrap;
  justify-self: end
}

.step {
  grid-template-columns: 64px minmax(0, 1fr) 96px
}

.day {
  font-size: 12px;
  font-weight: 600
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 170px;
  padding-top: 8px
}

.bars i {
  flex: 1
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px
}

.chips span {
  font-size: 13px;
  padding: 4px 11px;
  border-radius: 99px
}

.price {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 5rem);
  justify-content: center;
  align-items: flex-end
}

.price b {
  display: block;
  line-height: 1
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 14px
}

footer a {
  text-decoration: none
}

@media(max-width:52rem) {
  .app {
    grid-template-columns: 1fr
  }

  aside {
    display: none
  }

  .row {
    grid-template-columns: 34px minmax(0, 1fr) auto
  }

  .row .msg {
    display: none
  }

  .step {
    grid-template-columns: 56px minmax(0, 1fr) auto
  }

  .top .b {
    display: none
  }

  .stats {
    gap: 6px
  }

  .stat b {
    font-size: 19px
  }
}

.nav__in {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 4.4rem
}

.nav .brand {
  font-size: 1.2rem;
  margin-right: auto
}

.links {
  display: flex;
  gap: 1.75rem;
  font-size: .95rem
}

.links a {
  text-decoration: none;
  opacity: .7
}

.links a:hover {
  opacity: 1
}

.cta {
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  padding: .55rem 1rem
}

.foot {
  padding-block: 2.5rem 3rem
}

@media(max-width:52rem) {
  .links {
    display: none
  }
}

body {
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-variation-settings: "CASL" .4
}

.nav {
  border-bottom: 1px solid var(--contour);
  position: relative;
  z-index: 2;
  background: var(--sand)
}

.cta {
  background: var(--forest);
  color: var(--sand);
  border-radius: 999px
}

.map {
  position: relative;
  overflow: hidden
}

.topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .8
}

.hero {
  position: relative;
  text-align: center;
  padding-block: clamp(4rem, 10vw, 8rem) clamp(3rem, 6vw, 4rem)
}

h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 7.6vw, 6.8rem);
  line-height: 1;
  letter-spacing: -.03em;
  max-width: 13ch;
  margin-inline: auto
}

h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--forest)
}

.chip {
  background: #ffffff;
  border: 2px solid var(--route);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg)
}

.chip svg {
  transform: rotate(45deg)
}

.sub {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--muted);
  max-width: 32ch;
  margin: 1.6rem auto 2.2rem;
  background: color-mix(in srgb, var(--sand) 82%, transparent)
}

.btn {
  display: inline-block;
  background: var(--route);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 1rem 1.7rem;
  border-radius: 999px
}

.route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none
}

.coord {
  position: absolute;
  font: 500 11px var(--font-body);
  font-variation-settings: "MONO" 1;
  color: var(--label);
  letter-spacing: .06em
}

.c1 {
  left: 2%;
  top: 1.5rem
}

.c2 {
  right: 2%;
  bottom: 1rem
}

.legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.5rem;
  position: relative
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem;
  background: var(--paper);
  border: 1px solid var(--contour);
  padding: .4rem;
  border-radius: 999px
}

.tabs button {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--muted)
}

.tabs button::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid currentColor
}

.tabs button:nth-child(2)::before {
  border-radius: 0;
  transform: rotate(45deg) scale(.85)
}

.tabs button:nth-child(3)::before {
  border-radius: 0
}

.tabs button:nth-child(4)::before {
  border-radius: 2px;
  border-style: dashed
}

.tabs [aria-selected=true] {
  background: var(--forest);
  color: var(--sand)
}

.sheet {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--frame);
  padding: 10px;
  box-shadow: 0 30px 60px -45px rgba(40, 35, 20, .6)
}

.sheet::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--frame-soft);
  pointer-events: none
}

.compass {
  position: absolute;
  right: -18px;
  top: -26px;
  width: 70px;
  height: 70px;
  z-index: 2
}

.scale {
  display: flex;
  align-items: center;
  gap: .6rem;
  justify-content: flex-end;
  padding: .5rem .4rem 0;
  font: 500 11px var(--font-body);
  font-variation-settings: "MONO" 1;
  color: var(--label)
}

.scale i {
  width: 120px;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 30px, var(--paper) 30px 60px);
  border: 1px solid var(--ink)
}

.win {
  background: var(--paper);
  color: var(--ink)
}

.bar {
  border-bottom: 1px solid var(--line)
}

.url {
  background: var(--sand);
  font-family: var(--font-body);
  font-variation-settings: "MONO" 1
}

aside {
  border-right: 1px solid var(--line)
}

aside li {
  color: var(--muted)
}

aside li.on {
  background: var(--forest-tint);
  color: var(--forest);
  font-weight: 600
}

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

.live {
  background: var(--route-tint);
  color: var(--route)
}

.b {
  border: 1px solid var(--button-line)
}

.b--d {
  background: var(--forest);
  color: #ffffff;
  border-color: var(--forest)
}

.stat {
  background: var(--tint);
  border-radius: 10px
}

.stat b {
  font-family: var(--font-display);
  font-weight: 500
}

.row {
  border-top: 1px solid var(--line-soft)
}

.av {
  background: var(--forest-tint);
  color: var(--forest)
}

.tag--i {
  background: var(--forest-tint);
  color: var(--forest)
}

.tag--l {
  background: var(--route-tint);
  color: var(--route)
}

.bars {
  background: repeating-linear-gradient(transparent 0 20px, var(--line-soft) 20px 21px)
}

.bars i {
  background: var(--forest);
  border-radius: 6px 6px 0 0
}

.chips span {
  background: var(--tint)
}

.day {
  color: var(--route)
}

.pricing {
  padding-block: clamp(4rem, 9vw, 7rem)
}

.price>div {
  text-align: center
}

.price b {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.2rem, 7vw, 5.5rem)
}

.price span {
  color: var(--muted)
}

.price>div::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 auto .8rem;
  border-radius: 50%;
  border: 3px solid var(--route)
}

.foot {
  color: var(--muted)
}

@media(max-width:52rem) {

  .compass,
  .coord {
    display: none
  }
}

.chip img {
  transform: rotate(45deg)
}

.topo {
  object-fit: cover
}

.skip {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 10;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: .5rem 1rem
}

.skip:focus {
  left: 1rem
}

.tabs button:focus-visible,
.btn:focus-visible,
.cta:focus-visible,
a:focus-visible {
  outline: 2px solid var(--route);
  outline-offset: 3px
}

.example {
  margin-right: auto;
  padding-left: .4rem
}

@media (prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important
  }
}