:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #101820;
  background: #dce8f1;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  --blue: #0075ff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #ffb62d;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.app {
  width: 100%;
  max-width: 390px;
  min-height: 100svh;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 0 60px #12334a22;
}
.hero {
  position: relative;
  isolation: isolate;
  padding-top: max(24px, env(safe-area-inset-top));
}
.hero:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -2;
  background-repeat: no-repeat;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.brand {
  text-align: center;
  color: white;
  position: relative;
  text-shadow: 0 2px 3px #00315d55;
}
.brand-icon {
  display: block;
  margin: 0 auto 1px;
}
.wordmark {
  font-size: 58px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -2.5px;
}
.wordmark span {
  color: #40b4ff;
  font-style: italic;
}
.brand p {
  line-height: 1.35;
}
.photo-label {
  position: absolute;
  bottom: 30px;
  right: 16px;
  color: #fff;
  background: #003e70aa;
  border-radius: 20px;
  padding: 5px 8px;
}
.welcome {
  position: relative;
  margin-top: -24px;
  border-radius: 30px 30px 0 0;
  background: linear-gradient(#fff, #fbfcff);
  padding: 9px 20px max(20px, env(safe-area-inset-bottom));
  min-height: 440px;
}
.handle {
  height: 4px;
  width: 42px;
  border-radius: 3px;
  background: #d5d7dc;
  margin: 0 auto 13px;
}
h1 {
  margin: 0 10px 8px;
}
.intro {
  margin: 0 10px;
}
.examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 18px;
}
.example {
  min-width: 0;
  text-align: center;
  background: white;
  border-radius: 10px;
  overflow: hidden;
}
.example-image {
  height: 83px;
  border: 1px solid #1181ea;
  border-radius: 10px;
  background-repeat: no-repeat;
  background-size: 1371.4286% 1024%;
  background-color: #95d7fb;
}
.square {
  background-position: 29.8455% 45.0216%;
}
.cathedral {
  background-position: 29.8455% 61.7965%;
}
.museum {
  background-position: 29.8455% 78.355%;
}
.example span {
  display: block;
  line-height: 1.2;
  margin: 7px 0 3px;
}
.primary {
  width: 100%;
  border: 1px solid #0064d4;
  border-radius: 27px;
  background: linear-gradient(110deg, #0082ff, #0050b3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}
.primary:active {
  transform: translateY(1px);
}
.primary:disabled {
  cursor: wait;
  opacity: 0.75;
}
.privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.35;
  margin: 13px 0 0;
}
.info {
  border: 1.6px solid #17212c;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  width: 17px;
  height: 17px;
  text-align: center;
  flex-shrink: 0;
}
.privacy strong {
  font-weight: 600;
}
.status {
  padding: 13px 14px;
  background: #edf6ff;
  border: 1px solid #c4dfff;
  border-radius: 13px;
  color: #123c62;
  font-size: 14px;
  line-height: 1.45;
  margin-top: 12px;
}
.status[data-kind="error"] {
  background: #fff4e8;
  border-color: #f2cf9f;
  color: #75400d;
}
.secondary {
  display: block;
  margin: 12px auto 0;
  background: transparent;
  border: 0;
  color: #0065d6;
  text-decoration: underline;
  font-size: 14px;
  min-height: 40px;
  cursor: pointer;
}
details {
  font-size: 11px;
  color: #58677a;
  line-height: 1.5;
  margin: 16px 8px 0;
}
summary {
  cursor: pointer;
  text-align: center;
  padding: 8px;
  min-height: 32px;
}
details p {
  margin: 9px 0;
}
@media (min-width: 481px) {
  .app {
    margin: 24px auto;
    border-radius: 32px;
    min-height: calc(100svh - 48px);
  }
  .hero {
    height: 430px;
  }
}
@media (max-width: 350px) {
  .welcome {
    padding-left: 15px;
    padding-right: 15px;
  }
  h1 {
    font-size: 26px;
  }
  .intro {
    font-size: 15px;
  }
  .examples {
    gap: 8px;
  }
  .example span {
    font-size: 11px;
  }
  .primary {
    font-size: 18px;
  }
  .hero {
    height: 400px;
  }
  .wordmark {
    font-size: 52px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
h1 {
  white-space: nowrap;
}
.brand p {
  white-space: nowrap;
  margin: 12px 8px;
}
.example span {
  white-space: nowrap;
  font-size: clamp(10px, 2.8vw, 11px);
  letter-spacing: -0.25px;
}
.intro,
.privacy,
details,
.status {
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}
@media (max-width: 350px) {
  h1 {
    font-size: 23px;
  }
  .example span {
    font-size: 10px;
  }
}
h1 {
  text-align: left;
  margin-left: 10px;
  margin-right: 10px;
}
.hero {
  background: radial-gradient(
    ellipse at 18% 58%,
    #0878c9 0%,
    #0056a2 48%,
    #003b72 100%
  );
}
.hero:after {
  background: linear-gradient(
    to bottom,
    rgba(0, 50, 105, 0.12),
    transparent 60%
  );
}
.brand {
  z-index: 1;
}

.nearby {
  padding: 24px 18px max(28px, env(safe-area-inset-bottom));
  min-height: 100svh;
  background: #fff;
}
.nearby-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nearby-header .wordmark {
  font-size: 34px;
  letter-spacing: -1.5px;
}
.text-button {
  background: none;
  border: 0;
  color: #0065d6;
  min-height: 44px;
  cursor: pointer;
  font-size: 12px;
}
.location-note {
  background: #edf3f8;
  border-radius: 16px;
  padding: 17px 14px;
  margin: 20px 0;
  font-size: 14px;
  font-weight: 600;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.6px;
  margin: 22px 0 14px;
}
.categories {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding: 2px 0 12px;
}
.categories button {
  white-space: nowrap;
  border: 0;
  border-radius: 24px;
  background: #edf0f4;
  color: #182637;
  padding: 12px 16px;
  min-height: 44px;
  cursor: pointer;
  font-size: 13px;
}
.categories button[aria-pressed="true"] {
  background: #0074ff;
  color: white;
}
.categories button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.nearby-status {
  font-size: 13px;
  color: #4e6176;
  line-height: 1.5;
  min-height: 40px;
  margin: 8px 0 18px;
}
.place {
  display: flex;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid #e5eaf0;
}
.place-art {
  width: 85px;
  min-width: 85px;
  height: 105px;
  border-radius: 15px;
  background: linear-gradient(145deg, #b9e4ff, #e9f4ff);
  display: grid;
  place-items: center;
  font-size: 36px;
  color: #0870c1;
}
.place-art.parks {
  background: #e2f4e7;
  color: #317c46;
}
.place-art.cafes,
.place-art.food {
  background: #fff1df;
  color: #a5682b;
}
.place-body {
  min-width: 0;
}
.place h3 {
  font-size: 16px;
  line-height: 1.3;
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}
.place p {
  margin: 5px 0;
  font-size: 12px;
  line-height: 1.4;
}
.place-category {
  color: #5d6e80;
}
.walk-time {
  font-weight: 700;
  color: #10375a;
}
.route-pending {
  color: #8b5b20;
}
.place-source {
  font-size: 11px;
  color: #0064c7;
  display: inline-block;
  padding: 8px 0;
  min-height: 32px;
}
.source {
  font-size: 11px;
  color: #647488;
  line-height: 1.7;
  margin-top: 28px;
}
.source a {
  color: #446887;
}

.discovery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 14px;
}
.discovery-actions button,
.choose-place {
  border: 1px solid #c8def5;
  border-radius: 12px;
  color: #005bbb;
  background: #edf6ff;
  padding: 11px 12px;
  min-height: 44px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.discovery-actions button:disabled {
  opacity: 0.55;
}
.chosen-place {
  font-size: 13px;
  line-height: 1.5;
  padding: 12px;
  background: #edf6ff;
  border-radius: 12px;
}
.choose-place {
  margin-top: 8px;
}

.demo-explanation {
  font-size: 11px;
  line-height: 1.5;
  color: #596b7d;
  text-align: center;
  margin: 0 8px 12px;
}
.hero {
  height: 390px;
}
.hero:before {
  background-image: url("assets/frechen-rathaus.jpg");
  background-size: cover;
  background-position: center 60%;
  height: 245px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 32%);
  mask-image: linear-gradient(to bottom, transparent, #000 32%);
}
.brand-icon {
  width: 54px;
  height: 64px;
}
.brand .wordmark {
  font-size: 48px;
  letter-spacing: -2px;
}
.brand p {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05px;
  text-shadow: none;
  margin-top: 10px;
}
h1 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.7px;
  margin-bottom: 9px;
}
.intro {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  color: #5b6573;
}
.primary {
  font-size: 16px;
  font-weight: 600;
  min-height: 49px;
  letter-spacing: 0;
  box-shadow: none;
}
.primary svg {
  width: 19px;
  height: 21px;
}
.example span {
  font-weight: 500;
}
.welcome {
  padding-top: 9px;
}
.examples {
  margin-top: 18px;
}
.photo-label {
  font-size: 9px;
  font-weight: 400;
}
@media (max-width: 350px) {
  .hero {
    height: 370px;
  }
  h1 {
    font-size: 22px;
  }
  .intro {
    font-size: 13px;
  }
  .brand .wordmark {
    font-size: 46px;
  }
  .primary {
    font-size: 15px;
  }
}
/* Keyboard focus remains visible, but programmatic view focus has no black box. */
.view-title:focus:not(:focus-visible) {
  outline: none;
}
.categories {
  scrollbar-width: thin;
  scrollbar-color: #c9d8e8 transparent;
}
.privacy {
  color: #58677a;
  font-size: 11px;
}
