/* liteway.app — the palette of app/lib/app/theme/liteway_colors.dart and the app's font, Nunito
   (app/assets/fonts, OFL: fonts/OFL.txt), cut to Latin. No scripts, nothing from other hosts. */

@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #0f766e;
  --teal2: #1cb09c;
  --teal-soft: #e3f3f0;
  --ink: #2e2e2e;
  --ink-strong: #17201f;
  --mute: #5f6463;
  --free: #c2410c;
  --row: #f3f3f3;
  --line: #e7e9e8;
  --sky-top: #eaf6f3;
  --sky-bottom: #cbe6e0;
  --sand: #f6e4bb;
  --white: #fff;
  --page: #fbfdfc;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(16, 37, 34, 0.06), 0 12px 32px rgba(16, 37, 34, 0.08);
  --font: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
}

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

img {
  height: auto;
}

a {
  color: var(--teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #0b5e57;
}

:focus-visible {
  outline: 3px solid var(--teal2);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 12px;
  z-index: 10;
}

.skip:focus {
  left: 16px;
  top: 12px;
}

.wrap {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

/* Header */

.top {
  padding: 18px 0;
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-strong);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.brand svg {
  width: 30px;
  height: 30px;
}

.brand {
  font-size: 1.35rem;
  font-weight: 900;
  gap: 7px;
}

.nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.975rem;
  padding: 8px 14px;
  border-radius: 999px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(15, 118, 110, 0.08);
  color: var(--teal);
}

/* The home page's header sits on the sky the hero starts with. */

.home .top {
  background: var(--sky-top);
}

/* Hero */

.hero {
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%);
  border-radius: 0 0 44px 44px;
  padding: 8px 0 72px;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
  font-weight: 850;
  color: var(--ink-strong);
  margin: 12px 0 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.lead {
  font-size: clamp(1.125rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: #3d4645;
  max-width: 34rem;
  margin: 0 0 28px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero .eyebrow {
  background: rgba(255, 255, 255, 0.7);
  padding: 6px 12px;
  border-radius: 999px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(15, 118, 110, 0.28);
}

.button:hover {
  background: #0b5e57;
  color: var(--white);
}

.button.quiet {
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink-strong);
  box-shadow: none;
}

.button.quiet:hover {
  background: var(--white);
  color: var(--teal);
}

.soon {
  font-size: 0.95rem;
  color: var(--mute);
  margin: 18px 0 0;
}

/* The phone: the app's home screen in a device frame — the video of the real app when
   media/app.mp4 is there (site/build.py), else the screen drawn here. Sizes in em of the phone,
   so that the whole screen scales with it. */

.phone {
  --w: min(340px, 82vw);
  position: relative;
  justify-self: center;
  width: var(--w);
  font-size: calc(var(--w) / 34);
  padding: 0.95em;
  border-radius: 5.4em;
  background: linear-gradient(150deg, #3b424b 0%, #1a1e23 45%, #2b3138 100%);
  box-shadow: inset 0 0 0 0.2em #4a525c, inset 0 0 0 0.45em #0e1114,
    0 3em 6em rgba(16, 37, 34, 0.28), 0 0.8em 2em rgba(0, 0, 0, 0.18);
}

.phone::before,
.phone::after {
  content: "";
  position: absolute;
  width: 0.35em;
  border-radius: 0.3em;
  background: #2b3138;
}

.phone::before {
  left: -0.3em;
  top: 18%;
  height: 6.5%;
  box-shadow: 0 9em 0 #2b3138;
}

.phone::after {
  right: -0.3em;
  top: 27%;
  height: 10%;
}

.screen {
  position: relative;
  aspect-ratio: 1320 / 2868;
  border-radius: 4.5em;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%);
  isolation: isolate;
}

.screen-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen .still {
  display: none;
}

.island {
  position: absolute;
  z-index: 3;
  top: 1.1em;
  left: 50%;
  width: 10.2em;
  height: 3em;
  margin-left: -5.1em;
  border-radius: 3em;
  background: #000;
}

.statusbar {
  position: absolute;
  z-index: 2;
  top: 1.75em;
  left: 0;
  right: 0;
  padding: 0 2.6em 0 3.3em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.35em;
  font-weight: 700;
  color: #000;
}

.statusbar svg {
  height: 0.95em;
  width: auto;
}

.world-layer {
  position: absolute;
  left: -14%;
  width: 128%;
  max-width: none;
  top: 12%;
}

.topbar {
  position: absolute;
  z-index: 2;
  top: 5.9em;
  left: 1.5em;
  right: 1.5em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  height: 3.5em;
  padding: 0 1.15em 0 0.95em;
  border-radius: 2em;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0.2em 0.8em rgba(16, 37, 34, 0.08);
  font-size: 1em;
  font-weight: 850;
  color: var(--ink);
}

.chip svg {
  width: 1.9em;
  height: 1.9em;
}

.chip span {
  font-size: 1.6em;
}

.gear {
  width: 3.7em;
  height: 3.7em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  display: grid;
  place-items: center;
}

.gear svg {
  width: 2em;
  height: 2em;
}

.panel {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30.5%;
  background: var(--white);
  border-radius: 3.2em 3.2em 0 0;
  padding: 6.3em 1.6em 0;
  text-align: center;
}

.power {
  position: absolute;
  top: -5.2em;
  left: 50%;
  width: 10.4em;
  height: 10.4em;
  margin-left: -5.2em;
  border-radius: 50%;
  background: var(--teal);
  display: grid;
  place-items: center;
  box-shadow: 0 1.2em 2.6em rgba(15, 118, 110, 0.35);
}

.power::after {
  content: "";
  position: absolute;
  inset: -1em;
  border-radius: 50%;
  border: 0.3em solid rgba(28, 176, 156, 0.45);
  animation: pulse 2.6s ease-out infinite;
}

.power svg {
  width: 4.4em;
  height: 4.4em;
}

.status {
  font-size: 2.7em;
  font-weight: 900;
  color: var(--teal);
  line-height: 1.1;
}

.status-sub {
  margin-top: 0.15em;
  font-weight: 800;
  font-size: 1.4em;
  color: var(--free);
}

.where-row {
  margin-top: 1.6em;
  display: flex;
  align-items: center;
  gap: 1em;
  background: var(--row);
  border-radius: 1.6em;
  padding: 1.1em 1.3em;
  text-align: left;
}

.flag-de {
  flex: none;
  width: 3em;
  height: 2em;
  border-radius: 0.35em;
  background: linear-gradient(180deg, #111 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6% 100%);
}

.where-row b {
  display: block;
  font-size: 1.5em;
  font-weight: 850;
  color: var(--ink);
  line-height: 1.2;
}

.where-row small {
  display: block;
  font-size: 1.15em;
  font-weight: 700;
  color: var(--mute);
}

.where-row svg {
  margin-left: auto;
  width: 1.8em;
  height: 1.8em;
}

.home-bar {
  position: absolute;
  bottom: 0.9em;
  left: 50%;
  width: 13em;
  height: 0.5em;
  margin-left: -6.5em;
  border-radius: 1em;
  background: #111;
}

@keyframes pulse {
  0% {
    transform: scale(0.92);
    opacity: 1;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .power::after {
    animation: none;
    opacity: 0.6;
  }

  .screen video {
    display: none;
  }

  .screen .still {
    display: block;
  }
}

/* Sections */

.section {
  padding: 88px 0;
}

.section h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 850;
  color: var(--ink-strong);
  margin: 10px 0 14px;
}

.section .intro {
  color: #3d4645;
  font-size: 1.15rem;
  max-width: 40rem;
  margin: 0 0 40px;
}

.grid {
  display: grid;
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 18px 0 8px;
  color: var(--ink-strong);
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--mute);
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--teal-soft);
  display: grid;
  place-items: center;
}

.icon svg {
  width: 26px;
  height: 26px;
}

.step {
  font-weight: 850;
  font-size: 0.9rem;
  color: var(--teal);
  background: var(--teal-soft);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

/* Automatic: places, like the app's rows */

.auto {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.auto .wrap {
  display: grid;
  gap: 48px;
  align-items: center;
}

.places {
  list-style: none;
  margin: 0;
  padding: 18px;
  background: var(--row);
  border-radius: 28px;
  display: grid;
  gap: 10px;
}

.places li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 1px 2px rgba(16, 37, 34, 0.05);
}

.places .icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.places .icon svg {
  width: 22px;
  height: 22px;
}

.places .name {
  font-weight: 750;
  color: var(--ink-strong);
}

.places .where {
  display: block;
  font-size: 0.9rem;
  color: var(--mute);
  font-weight: 500;
}

.tag {
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.tag.direct {
  background: var(--row);
  color: var(--mute);
}

.tag.protected {
  background: var(--teal);
  color: var(--white);
}

.note {
  font-size: 0.95rem;
  color: var(--mute);
  margin: 18px 0 0;
}

.pass-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(90deg, var(--teal2), var(--teal));
  padding: 5px 12px;
  border-radius: 999px;
}

/* Plans */

.plans {
  display: grid;
  gap: 18px;
  align-items: stretch;
}

.plan {
  border-radius: 28px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.plan.pass {
  border: 2px solid transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(135deg, var(--teal2), var(--teal)) border-box;
}

.plan h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--ink-strong);
  letter-spacing: -0.02em;
}

.plan .price {
  margin: 6px 0 20px;
  color: var(--mute);
  font-weight: 650;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 12px;
}

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

.checks svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.plan .small {
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--mute);
}

/* Questions */

.faq {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0 22px;
}

summary {
  cursor: pointer;
  list-style: none;
  font-weight: 750;
  color: var(--ink-strong);
  padding: 18px 28px 18px 0;
  position: relative;
}

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

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--teal);
}

details[open] summary::after {
  content: "–";
}

details p {
  margin: 0 0 18px;
  color: #3d4645;
}

/* Contact band */

.band {
  background: linear-gradient(135deg, #12312f 0%, #0f4d48 100%);
  color: #e8f3f1;
  border-radius: 36px;
  padding: 48px 36px;
  display: grid;
  gap: 20px;
  align-items: center;
}

.band h2 {
  color: var(--white);
  margin: 0;
}

.band p {
  margin: 0;
  color: #cfe3df;
}

.band .button {
  background: var(--white);
  color: var(--teal);
  box-shadow: none;
  justify-self: start;
}

.band .button:hover {
  background: var(--teal-soft);
}

/* Documents: privacy, terms, support */

.doc {
  max-width: 760px;
  padding: 40px 0 96px;
}

.doc h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 850;
  color: var(--ink-strong);
  margin: 8px 0 12px;
}

.doc h2 {
  font-size: 1.55rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
  margin: 2.2em 0 0.5em;
}

.doc h3 {
  font-size: 1.2rem;
  color: var(--ink-strong);
  margin: 1.8em 0 0.4em;
}

.doc p,
.doc li {
  color: #343b3a;
}

.doc ul {
  padding-left: 1.3em;
}

.doc li + li {
  margin-top: 0.4em;
}

.doc .meta {
  color: var(--mute);
  font-weight: 650;
  margin: 0 0 28px;
}

.doc strong {
  color: var(--ink-strong);
}

.doc address {
  font-style: normal;
}

/* Footer */

.foot {
  border-top: 1px solid var(--line);
  padding: 32px 0 44px;
  color: var(--mute);
  font-size: 0.95rem;
}

.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.foot a {
  color: var(--mute);
  text-decoration: none;
  font-weight: 650;
}

.foot a:hover {
  color: var(--teal);
}

/* Not found */

.lost {
  text-align: center;
  padding: 96px 0 120px;
}

.lost h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: var(--ink-strong);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.lost p {
  color: var(--mute);
  margin: 0 0 28px;
}

.lost .button {
  display: inline-flex;
}

/* Wider screens */

@media (min-width: 720px) {
  .grid.three {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .band {
    grid-template-columns: 1fr auto;
    padding: 56px 56px;
  }
}

@media (min-width: 960px) {
  .hero {
    padding: 24px 0 96px;
  }

  .hero .wrap {
    grid-template-columns: 1.05fr 1fr;
  }

  .auto .wrap {
    grid-template-columns: 1fr 1fr;
  }

  .grid.four {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 520px) {
  .nav a {
    padding: 8px 10px;
  }

  .nav .optional {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .band {
    padding: 36px 24px;
  }
}
