:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #777777;
  --soft: #f7f7f7;
  --line: #e7e7e7;
  --white: #ffffff;
  --blue: #2f6ddd;
  --green: #67d66e;
  --purple: #343186;
  --tiffany: #55d6d2;
  --radius: 8px;
  --safe-top: env(safe-area-inset-top, 0px);
  --header-height: 68px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--safe-top) + 20px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family:
    Inter, "Helvetica Neue", Arial, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.page-shell,
.site-header {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(var(--header-height) + var(--safe-top));
  padding-top: var(--safe-top);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.brand {
  font-size: 17px;
  font-weight: 650;
}

.social-links,
.social-link {
  display: flex;
  align-items: center;
}

.social-links {
  gap: 10px;
}

.social-link {
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--ink);
}

.social-link:hover,
.social-link:focus-visible {
  background: var(--soft);
}

.social-link:focus-visible {
  outline: 2px solid rgba(47, 109, 221, 0.7);
  outline-offset: 2px;
}

.social-link svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.55fr);
  gap: 70px;
  align-items: start;
  padding: 58px 0 48px;
}

.maker,
.section-label {
  margin: 0 0 26px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: 44px;
  line-height: 1.12;
  font-weight: 500;
}

.intro-copy {
  max-width: 770px;
  display: grid;
  gap: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.intro-copy p,
.project-section > p,
.waitlist-section > p {
  margin: 0;
}

.spot-graphic {
  position: relative;
  min-height: 360px;
  margin-top: 40px;
}

.spot-photo-card,
.spot-question-card,
.spot-map-card,
.spot-save-card {
  position: absolute;
  border: 2px solid rgba(85, 214, 210, 0.58);
  background: var(--white);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.78),
    0 18px 45px rgba(17, 17, 17, 0.08);
}

.spot-photo-card {
  inset: 4px 20px auto auto;
  width: 235px;
  height: 285px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 55%),
    url("assets/place-cafe.jpg") center / cover;
  transform: rotate(4deg);
}

.spot-photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 36px 36px;
}

.spot-photo-label,
.spot-hotspot {
  position: absolute;
  z-index: 1;
}

.spot-photo-label {
  left: 16px;
  bottom: 15px;
  color: var(--white);
  font-size: 13px;
  font-weight: 650;
}

.spot-hotspot {
  right: 24px;
  bottom: 78px;
  width: 18px;
  height: 18px;
  border: 5px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: #ff674d;
  box-shadow: 0 0 0 9px rgba(255, 103, 77, 0.25);
}

.spot-question-card {
  left: 0;
  top: 72px;
  width: 210px;
  padding: 13px 14px;
  border-radius: 14px;
}

.spot-question-card span {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 660;
}

.spot-question-card strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 560;
}

.spot-map-card {
  left: 26px;
  bottom: 4px;
  width: 205px;
  height: 126px;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.18), rgba(255, 255, 255, 0.05)),
    url("assets/map-topkapi.jpg") 48% 53% / cover;
}

.route,
.map-dot {
  position: absolute;
}

.route {
  height: 4px;
  border-radius: 999px;
  transform-origin: left center;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.72),
    0 9px 20px rgba(0, 0, 0, 0.22);
}

.route-one {
  left: 28px;
  top: 62px;
  width: 88px;
  background: #2f6ddd;
  transform: rotate(18deg);
}

.route-two {
  left: 106px;
  top: 89px;
  width: 60px;
  background: #67b96d;
  transform: rotate(-32deg);
}

.route-three {
  left: 142px;
  top: 55px;
  width: 42px;
  background: #ff674d;
  transform: rotate(34deg);
}

.map-dot {
  right: 28px;
  top: 46px;
  width: 18px;
  height: 18px;
  border: 5px solid var(--white);
  border-radius: 50%;
  background: #ff674d;
  box-shadow:
    0 0 0 7px rgba(255, 103, 77, 0.2),
    0 9px 18px rgba(255, 103, 77, 0.3);
}

.spot-save-card {
  right: 0;
  bottom: 42px;
  display: grid;
  grid-template-columns: 34px 34px auto;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 999px;
}

.spot-save-card span {
  height: 34px;
  border-radius: 10px;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent 54%),
    url("assets/place-gallery.jpg") center / cover;
}

.spot-save-card span:nth-child(2) {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent 54%),
    url("assets/place-rooftop.jpg") center / cover;
}

.spot-save-card strong {
  font-size: 12px;
  font-weight: 650;
}

.quick-actions {
  padding: 0 0 98px;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 132px);
  gap: 24px;
}

.action-item {
  min-width: 0;
}

.app-icon {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #111111;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.1);
}

.app-icon img,
.app-icon svg {
  display: block;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 420ms ease;
}

.app-icon::before,
.app-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.app-icon::before {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.26), transparent 0 34%, transparent 35%),
    linear-gradient(to top, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.12) 58%, rgba(255, 255, 255, 0.06));
}

.app-icon::after {
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 17px;
}

.app-icon svg {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 15px;
  color: var(--white);
  background: rgba(17, 17, 17, 0.5);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transform: translate(-50%, -50%);
}

.action-item:hover .app-icon img {
  transform: scale(1.12);
}

.icon-map img {
  object-position: center;
}

.icon-chat img {
  object-position: center;
}

.icon-save img {
  object-position: center;
}

.action-item h2 {
  margin: 0 0 7px;
  font-size: 15px;
  text-align: center;
  font-weight: 500;
}

.action-item p {
  margin: 0;
  width: 132px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.project-section {
  padding: 0 0 72px;
}

.project-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.project-heading h2,
.waitlist-section h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 520;
}

.project-heading span {
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--soft);
  font-size: 13px;
  font-weight: 560;
}

.project-section > p {
  max-width: 1080px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  margin: 22px 0 34px;
  border-bottom: 1px solid currentColor;
  font-size: 16px;
  font-weight: 560;
}

.product-frame {
  position: relative;
  padding: 54px 38px 0;
  overflow: hidden;
  border: 2px solid rgba(85, 214, 210, 0.5);
  border-radius: 16px;
  background:
    radial-gradient(circle at 74% 16%, rgba(88, 85, 255, 0.12), transparent 0 24%, transparent 25%),
    linear-gradient(#fbfbfb, #f8f8f8);
  box-shadow: 0 18px 48px rgba(85, 214, 210, 0.12);
}

.product-frame::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 36px;
  right: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17, 17, 17, 0.12), transparent);
}

.app-window {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  min-height: 410px;
  overflow: hidden;
  border: 1px solid rgba(85, 214, 210, 0.42);
  border-radius: 14px 14px 0 0;
  background: var(--white);
}

.app-rail {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 14px;
  padding-top: 18px;
  border-right: 1px solid var(--line);
  background: #fcfcfc;
}

.app-rail span {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
}

.app-rail span:first-child {
  border-color: transparent;
  background: #eafb54;
}

.app-content {
  min-width: 0;
}

.app-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}

.app-toolbar strong {
  font-size: 19px;
}

.app-toolbar button,
.ask-panel button,
.form-row button {
  border: 0;
  cursor: pointer;
}

.app-toolbar button {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--white);
  background: #5855ff;
  font-weight: 650;
}

.photo-board {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 250px 190px;
  grid-auto-rows: minmax(96px, auto);
  gap: 16px;
  padding: 18px;
}

.photo-card {
  position: relative;
  min-height: 154px;
  overflow: hidden;
  border-radius: 12px;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.48), transparent 58%),
    url("assets/place-cafe.jpg") center / cover;
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
}

.photo-card-large {
  grid-row: span 2;
  min-height: 360px;
}

.photo-card-gallery {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 58%),
    url("assets/place-gallery.jpg") center / cover;
}

.photo-card-rooftop {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 58%),
    url("assets/place-rooftop.jpg") center / cover;
}

.photo-card span,
.photo-meta,
.request-bubble,
.location-pill {
  position: absolute;
  z-index: 1;
}

.photo-card span {
  left: 16px;
  bottom: 14px;
  color: var(--white);
  font-size: 14px;
  font-weight: 650;
}

.photo-meta {
  left: 18px;
  bottom: 18px;
  color: var(--white);
}

.photo-meta span,
.photo-meta strong {
  display: block;
}

.photo-meta span {
  margin-bottom: 5px;
  opacity: 0.82;
  font-size: 12px;
}

.photo-meta strong {
  font-size: 22px;
  line-height: 1.05;
}

.request-bubble {
  left: 18px;
  top: 18px;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.13);
  font-size: 13px;
  font-weight: 650;
}

.location-pill {
  right: 18px;
  bottom: 19px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(17, 17, 17, 0.38);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 620;
}

.mini-map-panel {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.24), rgba(255, 255, 255, 0.02) 62%),
    url("assets/map-karakoy.jpg") 49% 48% / cover;
}

.map-street,
.map-pin-small {
  position: absolute;
}

.map-street {
  height: 4px;
  border-radius: 999px;
  transform-origin: left center;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.7),
    0 10px 22px rgba(0, 0, 0, 0.22);
}

.street-one {
  left: 24px;
  top: 72px;
  width: 108px;
  background: #2f6ddd;
  transform: rotate(16deg);
}

.street-two {
  left: 121px;
  top: 103px;
  width: 74px;
  background: #67b96d;
  transform: rotate(-31deg);
}

.street-three {
  left: 166px;
  top: 62px;
  width: 46px;
  background: #ff674d;
  transform: rotate(30deg);
}

.map-pin-small {
  right: 36px;
  top: 55px;
  width: 18px;
  height: 18px;
  border: 5px solid var(--white);
  border-radius: 50%;
  background: #ff674d;
  box-shadow: 0 10px 22px rgba(255, 103, 77, 0.25);
}

.mini-map-panel strong {
  position: absolute;
  left: 14px;
  bottom: 13px;
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--white);
  font-size: 12px;
  font-weight: 620;
}

.ask-panel {
  display: grid;
  gap: 8px;
  align-content: start;
}

.ask-panel button {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--soft);
  text-align: left;
  font-weight: 620;
}

.ask-panel button.is-selected {
  color: var(--white);
  background: var(--ink);
}

.waitlist-section {
  max-width: 720px;
  padding: 0 0 72px;
}

.waitlist-section > p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.waitlist-form {
  margin-top: 28px;
}

.waitlist-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.form-row input,
.form-row button {
  min-height: 50px;
  border-radius: 10px;
}

.form-row input {
  width: 100%;
  border: 1px solid var(--line);
  padding: 0 15px;
  color: var(--ink);
  background: var(--white);
}

.form-row input:focus {
  outline: 3px solid rgba(47, 109, 221, 0.18);
  border-color: rgba(47, 109, 221, 0.5);
}

.form-row button {
  padding: 0 18px;
  color: var(--white);
  background: var(--ink);
  font-weight: 650;
}

.form-note {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  padding: 24px 0 30px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-inner span:first-child {
  color: var(--ink);
  font-weight: 650;
}

.footer-social {
  margin-left: auto;
}

.photo-credits {
  flex-basis: 100%;
  margin: -6px 0 0;
  color: #9a9a9a;
  font-size: 12px;
  line-height: 1.4;
}

.photo-credits a {
  border-bottom: 1px solid rgba(154, 154, 154, 0.45);
}

.site-credit {
  flex-basis: 100%;
  margin: -8px 0 0;
  color: #9a9a9a;
  font-size: 12px;
  line-height: 1.4;
}

.ambient-floater {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  width: var(--floater-size);
  --floater-size: 82px;
  --floater-pad: 18px;
  display: block;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  cursor: grab;
  padding: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transform: translate3d(
    var(--floater-pad),
    calc(var(--header-height) + var(--safe-top) + var(--floater-pad)),
    0
  );
  will-change: transform;
}

.ambient-floater:active {
  cursor: grabbing;
}

.ambient-floater:focus-visible {
  outline: 2px solid rgba(47, 109, 221, 0.7);
  outline-offset: 6px;
  border-radius: 24px;
}

.ambient-floater-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 5px;
  border-radius: 20px;
  border: 2px solid rgba(85, 214, 210, 0.72);
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9),
    0 12px 30px rgba(0, 0, 0, 0.1);
  transition:
    box-shadow 240ms ease,
    transform 240ms ease;
}

.ambient-floater img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
  animation: floater-tilt 8s ease-in-out infinite;
}

.floater-bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  z-index: 2;
  min-width: max-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 7px) scale(0.94);
  transition:
    opacity 260ms ease,
    transform 360ms ease;
  white-space: nowrap;
}

.floater-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 9px;
  height: 9px;
  background: var(--ink);
  transform: translate(-50%, -6px) rotate(45deg);
}

.ambient-floater.is-loved img {
  animation-play-state: paused;
}

.ambient-floater.is-loved .ambient-floater-frame {
  animation: floater-love-pause 2s ease-in-out both;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.ambient-floater.is-loved .floater-bubble {
  animation: floater-bubble-breathe 2s ease-in-out both;
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

@keyframes floater-tilt {
  0%,
  100% {
    transform: rotate(-5deg);
  }

  50% {
    transform: rotate(5deg);
  }
}

@keyframes floater-love-pause {
  0% {
    transform: scale(1);
  }

  18% {
    transform: scale(1.08) translateY(-2px);
  }

  70% {
    transform: scale(1.05) translateY(1px);
  }

  100% {
    transform: scale(1.02);
  }
}

@keyframes floater-bubble-breathe {
  0%,
  100% {
    transform: translate(-50%, 0) scale(1);
  }

  50% {
    transform: translate(-50%, -3px) scale(1.02);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 58px;
  }

  .page-shell,
  .site-header {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: calc(58px + var(--safe-top));
  }

  h1 {
    font-size: 36px;
  }

  .intro-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 42px;
  }

  .spot-graphic {
    min-height: 285px;
    margin-top: 8px;
  }

  .spot-photo-card {
    right: 4px;
    width: 178px;
    height: 220px;
    border-radius: 18px;
  }

  .spot-question-card {
    top: 46px;
    width: 184px;
    padding: 11px 12px;
  }

  .spot-map-card {
    left: 12px;
    bottom: 0;
    width: 172px;
    height: 108px;
  }

  .spot-save-card {
    right: 6px;
    bottom: 30px;
    grid-template-columns: 30px 30px auto;
    gap: 6px;
    padding: 7px 9px;
  }

  .spot-save-card span {
    height: 30px;
  }

  .intro-copy,
  .project-section > p {
    font-size: 16px;
  }

  .action-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
  }

  .action-item p {
    display: none;
  }

  .app-icon {
    width: 74px;
    height: 74px;
    border-radius: 18px;
  }

  .app-icon::after {
    inset: 6px;
    border-radius: 14px;
  }

  .app-icon svg {
    width: 34px;
    height: 34px;
    padding: 7px;
    border-radius: 12px;
  }

  .project-heading {
    flex-wrap: wrap;
  }

  .product-frame {
    padding: 24px 14px 0;
    border-radius: 14px;
  }

  .app-window {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .app-rail {
    display: none;
  }

  .photo-board {
    grid-template-columns: 1fr;
  }

  .photo-card-large {
    min-height: 250px;
  }

  .mini-map-panel {
    min-height: 150px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .ambient-floater {
    --floater-size: 64px;
    --floater-pad: 10px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-social {
    margin-left: 0;
  }

  .photo-credits {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-floater img,
  .ambient-floater.is-loved .ambient-floater-frame,
  .ambient-floater.is-loved .floater-bubble {
    animation: none;
  }
}
