/* Landing page styles, pruned from the design prototype's shared.css to the rules
   the landing markup actually uses. The signup flow's screens are not here. */

@font-face {
  font-display: swap;
  font-family: "Estedad";
  font-style: normal;
  font-weight: 100 900;
  src: url("assets/fonts/Estedad[wght].440f276eca2e.woff2") format("woff2-variations");
}

:root {
  color-scheme: light;
  font-family: "Estedad", Tahoma, Arial, sans-serif;
  font-synthesis: none;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--page);
  color: var(--ink);
  direction: rtl;
  font-size: 16px;
  line-height: 1.6;
}

button {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100svh;
  overflow-x: hidden;
  position: relative;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.screen {
  display: none;
  min-height: 100svh;
  padding: max(20px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  position: relative;
}

.screen.is-active {
  animation: screen-in 360ms var(--ease) both;
  display: flex;
  flex-direction: column;
}

.brand-row {
  align-items: center;
  display: flex;
}

.brand-row {
  justify-content: space-between;
}

.brand-wordmark {
  block-size: 34px;
  flex: 0 1 auto;
  inline-size: auto;
  max-inline-size: min(48vw, 230px);
}

.brand {
  color: inherit;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -1.4px;
  text-decoration: none;
}

.hero-copy {
  margin-top: 30px;
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  margin-top: 15px;
}

h1,
h2,
p {
  margin-block-start: 0;
}

h1 {
  font-size: clamp(34px, 10vw, 43px);
  letter-spacing: -2px;
  line-height: 1.34;
  margin-block-end: 12px;
}

h2 {
  font-size: 28px;
  letter-spacing: -1.2px;
  line-height: 1.4;
  margin-block-end: 9px;
}

.lead {
  color: var(--muted);
}

.lead {
  font-size: 15px;
  line-height: 1.85;
  margin-block-end: 0;
}

.primary-button,
.text-button {
  align-items: center;
  border-radius: var(--button-radius);
  display: flex;
  font-weight: 800;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  text-decoration: none;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms ease;
  width: 100%;
}

.primary-button {
  background: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: var(--button-shadow);
  color: var(--on-primary);
}

.text-button {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--muted);
  font-size: 13px;
  min-height: 44px;
}

.primary-button:active {
  transform: translateY(2px) scale(0.99);
}

.bottom-cta {
  margin-top: auto;
  padding-top: 18px;
}

.landing-member-note {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 10px;
  text-align: center;
}

.landing-member-note[hidden],
.landing-app-access[hidden] {
  display: none;
}

.landing-app-access {
  margin-top: 18px;
}

.bottom-cta .secondary-button {
  width: 100%;
}

.search-icon {
  color: var(--muted);
  flex: 0 0 auto;
  height: 20px;
  margin-inline-end: 9px;
  width: 20px;
}

.text-button:active {
  opacity: 0.72;
}

.map-art {
  background: var(--map-bg);
  border: 1px solid var(--map-border);
  border-radius: var(--hero-radius);
  height: 265px;
  margin: 26px 0 24px;
  overflow: hidden;
  position: relative;
}

.map-art::before,
.map-art::after {
  content: "";
  inset: -30%;
  position: absolute;
}

.map-art::before {
  background-image: repeating-linear-gradient(15deg, transparent 0 31px, var(--map-line) 32px 34px), repeating-linear-gradient(96deg, transparent 0 52px, var(--map-line) 53px 55px);
  transform: rotate(-8deg);
}

.map-art::after {
  background: radial-gradient(circle at 22% 24%, var(--park) 0 8%, transparent 9%), radial-gradient(circle at 78% 70%, var(--park) 0 9%, transparent 10%);
}

.landing-features {
  background: var(--surface);
  margin: 68px -20px -24px;
}

.feature-choice-section {
  border-top: 1px solid var(--border);
  padding: 64px 20px 72px;
}

.feature-choice-section > h2 {
  font-size: 29px;
  line-height: 1.48;
  margin: 14px 0 10px;
}

.feature-choice-section > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
  margin: 0;
}

.feature-choice-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.feature-choice-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--ink) 9%, transparent);
  display: flex;
  flex-direction: column;
  min-height: 326px;
  padding: 11px;
}

.feature-card-visual {
  background: var(--map-bg);
  border: 1px solid var(--map-border);
  border-radius: 15px;
  height: 116px;
  overflow: hidden;
  position: relative;
}

.feature-card-visual::before {
  background-image: repeating-linear-gradient(15deg, transparent 0 23px, var(--map-line) 24px 26px), repeating-linear-gradient(96deg, transparent 0 38px, var(--map-line) 39px 41px);
  content: "";
  inset: -30%;
  position: absolute;
  transform: rotate(-8deg);
}

.social-card-visual .follower-avatar {
  height: 31px;
  position: absolute;
  width: 31px;
  z-index: 2;
}

.social-card-visual .avatar-sara {
  right: 9px;
  top: 12px;
}

.social-card-visual .avatar-navid {
  bottom: 11px;
  left: 10px;
}

.mini-place-marker {
  align-items: center;
  background: var(--primary);
  border: 3px solid var(--surface);
  border-radius: 12px 12px 12px 4px;
  color: var(--on-primary);
  display: flex;
  height: 42px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  z-index: 2;
}

.mini-place-marker svg,
.mini-comment svg {
  height: 18px;
  width: 18px;
}

.mini-comment {
  align-items: center;
  background: var(--surface);
  border-radius: 50%;
  bottom: 12px;
  color: var(--primary);
  display: flex;
  height: 24px;
  justify-content: center;
  position: absolute;
  right: 14px;
  width: 24px;
  z-index: 2;
}

.occasion-card-visual {
  align-content: center;
  display: grid;
  gap: 6px;
  padding: 12px;
}

.occasion-card-visual > span {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--primary);
  display: flex;
  gap: 6px;
  min-height: 25px;
  padding: 3px 7px;
  position: relative;
  z-index: 2;
}

.occasion-card-visual svg,
.occasion-card-visual .search-icon {
  height: 14px;
  margin: 0;
  width: 14px;
}

.occasion-card-visual small {
  color: var(--ink);
  font-size: 8px;
  font-weight: 800;
}

.feature-choice-card h3 {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  margin: 15px 2px 6px;
}

.feature-choice-cta {
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 13px;
  color: var(--on-primary);
  font-size: 10px;
  font-weight: 900;
  margin-top: auto;
  min-height: 48px;
  padding: 0 7px;
  transition: opacity 140ms ease, transform 140ms var(--ease);
  width: 100%;
}

.feature-choice-cta:active {
  opacity: 0.86;
  transform: translateY(1px);
}

.final-join {
  background: var(--feature-tint);
  border-top: 1px solid var(--border);
  padding: 72px 20px 64px;
  text-align: center;
}

.final-join h2 {
  font-size: 31px;
  margin: 16px 0 8px;
}

.final-join > p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 auto 26px;
  max-width: 310px;
}

.landing-footer {
  align-items: center;
  background: var(--footer);
  color: var(--footer-ink);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  padding: 28px 20px max(28px, env(safe-area-inset-bottom));
}

.landing-footer span:first-child {
  font-size: 19px;
  font-weight: 900;
}

/* Landing palette and elevation tokens. */
.theme-refined {
  --page: #fbfcff;
  --surface: #ffffff;
  --ink: #101b36;
  --muted: #66728d;
  --placeholder: #9ca6b9;
  --primary: #1264f9;
  --on-primary: #ffffff;
  --focus: #ff6b35;
  --focus-soft: rgba(18, 100, 249, 0.12);
  --border: #e5eaf3;
  --soft: #eef4ff;
  --soft-border: #cfe0ff;
  --eyebrow: #165bd5;
  --track: #e8edf6;
  --success: #159b62;
  --danger: #d74d4d;
  --preview: #d8e5ff;
  --place: #155edc;
  --place-soft: #e9f1ff;
  --button-radius: 15px;
  --field-radius: 16px;
  --card-radius: 17px;
  --hero-radius: 24px;
  --button-shadow: 0 13px 28px rgba(18, 100, 249, 0.22);
  --card-shadow: 0 16px 40px rgba(30, 51, 89, 0.1);
  --map-bg: #f3f0ea;
  --map-border: #e6e2da;
  --map-line: rgba(255, 255, 255, 0.86);
  --park: #dfead6;
  --pin: #1767f7;
  --pin-alt: #ff6a2e;
  --pin-ring: #ffffff;
  --note-bg: #fff7f1;
  --note-border: #ffd2bd;
  --note-ink: #e5551e;
  --feature-tint: #f7faff;
  --warm: #ff6a2e;
  --warm-soft: #fff4ee;
  --warm-border: #ffd0bb;
  --warm-ink: #e5551e;
  --footer: #101b36;
  --footer-ink: #ffffff;
  --hero-glow: #edf3ff;
  --hero-card-transform: rotate(-1deg);
  --orbit: #bed3ff;
  --success-card: #ffffff;
  --success-border: #e3e9f4;
  --success-card-ink: #101b36;
  --success-radius: 22px;
  --success-shadow: 0 24px 45px rgba(18, 47, 92, 0.15);
  --success-rotate: -2deg;
}

.theme-refined .landing-screen {
  background: radial-gradient(circle at 80% 11%, var(--hero-glow) 0 25%, transparent 48%), var(--page);
}

/* Place-first map illustrations shared by the hero and the feature cards. */
.overview-map {
  height: 280px;
  isolation: isolate;
}

.overview-map > * {
  position: absolute;
  z-index: 2;
}

.overview-question {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  left: 50%;
  padding: 13px 16px;
  text-align: right;
  top: 23px;
  transform: translateX(-50%);
  width: calc(100% - 42px);
}

.overview-question span,
.overview-question small {
  display: block;
}

.overview-question span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.overview-question small {
  color: var(--muted);
  font-size: 9px;
}

.overview-marker {
  align-items: center;
  background: var(--primary);
  border: 4px solid var(--surface);
  border-radius: 16px 16px 16px 5px;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--primary) 25%, transparent);
  color: var(--on-primary);
  display: flex;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.overview-marker svg {
  height: 22px;
  width: 22px;
}

.marker-cafe {
  right: 39px;
  top: 119px;
}

.marker-gallery {
  background: var(--warm);
  left: 43px;
  top: 105px;
}

.marker-park {
  background: var(--ink);
  left: 50%;
  top: 148px;
  transform: translateX(-50%);
}

.discovery-modes {
  bottom: 17px;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  left: 15px;
  right: 15px;
}

.discovery-modes span {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  color: var(--ink);
  display: flex;
  font-size: 9px;
  font-weight: 800;
  gap: 6px;
  justify-content: center;
  min-height: 42px;
  padding: 0 7px;
}

.discovery-modes svg,
.discovery-modes .search-icon {
  color: var(--primary);
  height: 16px;
  margin: 0;
  width: 16px;
}

.follower-avatar {
  background-image: url("assets/follower-portraits.e2f2dd4eacab.webp");
  background-position-y: center;
  background-repeat: no-repeat;
  background-size: 300% 100%;
  border: 3px solid var(--surface);
  border-radius: 50%;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--ink) 16%, transparent);
  display: block;
  flex: 0 0 auto;
  height: 40px;
  width: 40px;
}

.avatar-sara {
  background-position-x: left;
}

.avatar-navid {
  background-position-x: center;
}

.fake-door-backdrop[hidden] {
  display: none;
}

.fake-door-backdrop {
  align-items: flex-end;
  background: color-mix(in srgb, var(--ink) 55%, transparent);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 16px max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  position: fixed;
  z-index: 100;
}

.fake-door-dialog {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: 0 24px 70px color-mix(in srgb, var(--ink) 30%, transparent);
  max-width: 358px;
  padding: 22px 18px 13px;
  position: relative;
  text-align: right;
  width: 100%;
}

.fake-door-close {
  align-items: center;
  background: var(--soft);
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  display: flex;
  height: 44px;
  justify-content: center;
  left: 16px;
  position: absolute;
  top: 16px;
  width: 44px;
}

.fake-door-close svg {
  height: 18px;
  width: 18px;
}

.fake-door-icon {
  align-items: center;
  background: var(--primary);
  border-radius: 16px;
  color: var(--on-primary);
  display: flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 16px;
  width: 48px;
}

.fake-door-icon svg {
  height: 24px;
  width: 24px;
}

.fake-door-dialog h2 {
  font-size: 24px;
  margin: 14px 0 8px;
}

.fake-door-dialog > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
  margin: 0 0 20px;
}

.fake-door-dialog .text-button {
  margin-top: 4px;
}

.fake-door-signup {
  margin-top: 4px;
}

.fake-door-signup[hidden] {
  display: none;
}

body.modal-open {
  overflow: hidden;
}

/* Authenticated waitlist flow: ported from design/waitlist-mobile's selected
   refined direction, using the landing's existing color tokens and type scale. */
.top-row,
.progress-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.back-button {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--ink);
  display: inline-flex;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.back-button svg {
  height: 20px;
  width: 20px;
}

.progress-row {
  color: var(--muted);
  font-size: 12px;
  margin-top: 22px;
}

.progress-track {
  background: var(--track);
  border-radius: 999px;
  height: 5px;
  overflow: hidden;
  width: 72%;
}

.progress-fill {
  background: var(--primary);
  border-radius: inherit;
  display: block;
  height: 100%;
  width: var(--progress);
}

.form-heading {
  margin-top: 26px;
}

.auth-heading {
  margin-top: 38px;
}

.auth-heading h2 {
  margin-top: 14px;
}

.auth-form {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-top: 34px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.input-shell {
  align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--field-radius);
  display: flex;
  min-height: 58px;
  padding: 0 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.input-shell:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--focus-soft);
}

.input-shell input {
  background: transparent;
  border: 0;
  color: var(--ink);
  direction: ltr;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  min-width: 0;
  outline: 0;
  padding: 0;
  width: 100%;
}

.input-shell input::placeholder,
.otp-input::placeholder {
  color: var(--placeholder);
  font-weight: 500;
}

.phone-input-shell {
  direction: ltr;
}

.phone-input-shell input {
  letter-spacing: 1px;
  text-align: left;
}

.country-code {
  border-right: 1px solid var(--border);
  color: var(--muted);
  direction: ltr;
  font-weight: 800;
  margin-right: 12px;
  padding-right: 12px;
}

.otp-input {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--field-radius);
  color: var(--ink);
  direction: ltr;
  font-family: inherit;
  font-size: 28px;
  font-weight: 900;
  height: 72px;
  letter-spacing: 13px;
  padding: 0 20px;
  text-align: center;
  width: 100%;
}

.otp-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--focus-soft);
  outline: 0;
}

.otp-meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 11px;
  justify-content: space-between;
  margin-top: 12px;
}

.text-link {
  background: transparent;
  border: 0;
  color: var(--primary);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  min-height: 44px;
  padding: 0 6px;
}

.text-link:disabled,
.primary-button:disabled {
  cursor: default;
  opacity: 0.65;
}

.at-sign {
  color: var(--primary);
  direction: ltr;
  font-size: 24px;
  font-weight: 900;
  margin-inline-end: 8px;
}

.handle-preview {
  color: var(--preview);
  direction: ltr;
  font-size: clamp(50px, 15vw, 68px);
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1;
  margin: 21px 0 18px;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.availability {
  align-items: center;
  color: var(--success);
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 6px;
  margin-top: 10px;
}

.availability::before {
  background: currentColor;
  border-radius: 50%;
  content: "";
  height: 7px;
  width: 7px;
}

.availability-neutral {
  color: var(--muted);
}

.availability-error,
.form-error {
  color: var(--danger);
}

.form-error {
  font-size: 12px;
  font-weight: 700;
  margin: 10px 0 0;
}

.name-fields {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  margin-top: 22px;
}

.name-field .input-shell input {
  direction: rtl;
  text-align: right;
}

.landing-account {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--soft-border);
  border-radius: 999px;
  color: var(--eyebrow);
  display: flex;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 12px;
}

.landing-account-handle,
.reserved-handle-inline {
  display: inline-block;
  font-weight: 850;
}

button.brand {
  background: transparent;
  border: 0;
  font-family: inherit;
  padding: 0;
}

.phone-preview {
  direction: ltr;
  unicode-bidi: isolate;
}

.status-screen {
  gap: 0;
}

.status-welcome {
  border-bottom: 1px solid var(--border);
  padding: 40px 0 26px;
  text-align: center;
}

.checkmark {
  align-items: center;
  background: var(--primary);
  border-radius: 50%;
  color: var(--on-primary);
  display: flex;
  font-size: 22px;
  height: 43px;
  justify-content: center;
  margin: 0 auto 12px;
  width: 43px;
}

.status-welcome h2,
.status-welcome .lead {
  margin: 0 0 6px;
}

.status-line {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  gap: 8px;
  padding: 14px 0 2px;
}

.status-line[hidden] {
  display: none;
}

.status-line .reserved-handle-inline {
  color: var(--ink);
  font-size: 19px;
}

.status-line span:last-child::before {
  content: "·";
  margin-inline-end: 8px;
}

.app-access {
  margin-top: 24px;
}

.app-access-note {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
  margin: 9px 0 0;
  text-align: center;
}

.network-invite {
  background: var(--soft);
  border: 1px solid var(--soft-border);
  border-radius: var(--card-radius);
  margin-top: 24px;
  padding: 15px;
}

.network-invite-copy {
  text-align: center;
}

.network-invite h2 {
  font-size: 17px;
  margin: 1px 0 3px;
}

.network-invite p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
  margin: 0;
}

.network-invite .invite-count {
  color: var(--eyebrow);
  font-weight: 700;
  margin-top: 10px;
  text-align: center;
}

.share-invite-button {
  margin-top: 14px;
}

.share-feedback {
  color: var(--eyebrow);
  font-size: 12px;
  font-weight: 700;
  margin: 9px 0 0;
  text-align: center;
}

.share-feedback[hidden] {
  display: none;
}

.places-section {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-top: 24px;
}

.selected-heading {
  align-items: center;
  display: flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: space-between;
  margin: 0 0 9px;
}

#places-title {
  font-size: 21px;
  line-height: 1.2;
  margin: 0;
}

.count-pill {
  background: var(--soft);
  border-radius: 999px;
  color: var(--eyebrow);
  font-size: 11px;
  padding: 3px 9px;
}

.places-note,
.sheet-message {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.places-note {
  margin: 6px 0 12px;
}

.selected-list {
  display: grid;
  gap: 8px;
}

.selected-place,
.result-main,
.selected-main {
  align-items: center;
  display: flex;
}

.selected-place {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  justify-content: space-between;
  min-height: 64px;
  padding: 8px 10px;
}

.selected-main,
.result-main {
  gap: 10px;
  min-width: 0;
}

.place-avatar,
.place-dot {
  align-items: center;
  background: var(--place-soft);
  border-radius: 12px;
  color: var(--place);
  display: flex;
  flex: 0 0 40px;
  font-size: 17px;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.selected-copy,
.result-copy {
  display: grid;
  min-width: 0;
}

.selected-copy strong,
.result-copy strong {
  overflow-wrap: anywhere;
}

.selected-copy span,
.result-copy span {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.remove-button,
.sheet-close {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--danger);
  display: inline-flex;
  flex: 0 0 44px;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.remove-button {
  border-radius: 9px;
}

.empty-places {
  border: 1px dashed var(--border);
  border-radius: var(--card-radius);
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  padding: 22px 14px;
  text-align: center;
}

.empty-places[hidden] {
  display: none;
}

.secondary-button {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--button-radius);
  color: var(--ink);
  display: flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  transition: transform 180ms var(--ease), opacity 180ms ease;
}

.secondary-button:active,
.remove-button:active,
.sheet-close:active {
  opacity: 0.72;
  transform: scale(0.99);
}

.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.add-place-button {
  gap: 7px;
  margin-top: 12px;
  width: 100%;
}

.add-place-button svg,
.sheet-close svg {
  height: 18px;
  width: 18px;
}

.place-sheet-backdrop[hidden] {
  display: none;
}

.place-sheet-backdrop {
  align-items: flex-end;
  background: rgba(10, 20, 42, 0.45);
  display: flex;
  inset: 0;
  position: fixed;
  z-index: 40;
}

.place-sheet-dialog {
  animation: sheet-up 260ms var(--ease) both;
  background: var(--surface);
  border-radius: 24px 24px 0 0;
  display: flex;
  flex-direction: column;
  max-height: 82svh;
  padding: 10px 18px max(18px, env(safe-area-inset-bottom));
  width: 100%;
}

.sheet-handle {
  background: var(--border);
  border-radius: 999px;
  height: 4px;
  margin: 0 auto 12px;
  width: 42px;
}

.place-sheet-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.place-sheet-heading h2 {
  font-size: 18px;
  margin: 0;
}

.sheet-close {
  background: var(--soft);
  border: 0;
  border-radius: 50%;
  color: var(--ink);
}

.search-shell {
  align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--field-radius);
  display: flex;
  min-height: 58px;
  padding: 0 15px;
}

.search-shell:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--focus-soft);
}

.search-shell input {
  background: transparent;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  min-width: 0;
  outline: 0;
  padding: 0;
  width: 100%;
}

.search-shell input::placeholder {
  color: var(--placeholder);
}

.sheet-message {
  margin: 10px 0 0;
  min-height: 1.7em;
}

.search-results {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  margin-top: 8px;
  overflow-y: auto;
}

.search-results:empty {
  display: none;
}

.result-item {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  min-height: 62px;
  padding: 9px 12px;
  text-align: right;
  width: 100%;
}

.result-item:last-child {
  border-bottom: 0;
}

.result-item:active {
  background: var(--soft);
}

.plus {
  color: var(--primary);
  font-size: 23px;
  font-weight: 500;
}

@keyframes sheet-up {
  from {
    transform: translateY(14px);
  }
}

.status-footer {
  border-top: 1px solid var(--border);
  margin-top: auto;
  padding-top: 14px;
}

@keyframes screen-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      scroll-behavior: auto !important;
      transition-duration: 0.01ms !important;
    }
}

@media (min-width: 520px) {
  body:not(.comparison-page) {
      align-items: center;
      display: flex;
      justify-content: center;
      padding: 24px;
    }

  body:not(.comparison-page) .app-shell {
      border: 1px solid var(--border);
      border-radius: 34px;
      box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18);
      height: 844px;
      min-height: 0;
      overflow-y: auto;
      width: 390px;
    }

  body:not(.comparison-page) .screen {
      height: 844px;
      min-height: 0;
    }

  body:not(.comparison-page) .screen.long-landing {
      height: auto;
      min-height: 844px;
    }
}

/* Feature choice cards, decision proof, and the final join block. */
.theme-refined .feature-choice-section {
  padding: 72px 20px 80px;
}

.theme-refined .feature-choice-section > h2,
.theme-refined .decision-proof > h2 {
  font-size: 30px;
  line-height: 1.45;
  margin: 0 0 10px;
}

.theme-refined .feature-choice-section > p,
.theme-refined .decision-proof > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

.theme-refined .feature-choice-grid {
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 32px;
}

.theme-refined .feature-choice-card {
  border-radius: 24px;
  min-height: 460px;
  padding: 14px;
}

.theme-refined .feature-card-visual {
  border-radius: 18px;
  height: 220px;
}

.theme-refined .social-card-visual .follower-avatar {
  height: 44px;
  width: 44px;
}

.theme-refined .social-card-visual .avatar-sara {
  right: 24px;
  top: 26px;
}

.theme-refined .social-card-visual .avatar-navid {
  bottom: 28px;
  left: 25px;
}

.theme-refined .mini-place-marker {
  border-radius: 16px 16px 16px 5px;
  height: 58px;
  width: 58px;
}

.theme-refined .mini-place-marker svg {
  height: 25px;
  width: 25px;
}

.theme-refined .mini-comment {
  bottom: 25px;
  height: 34px;
  right: 31px;
  width: 34px;
}

.theme-refined .mini-social-note,
.theme-refined .mini-trend {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
  padding: 7px 10px;
  position: absolute;
  z-index: 3;
}

.theme-refined .mini-social-note {
  left: 61px;
  top: 31px;
}

.theme-refined .mini-trend {
  bottom: 24px;
  right: 70px;
}

.theme-refined .occasion-card-visual {
  align-content: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 20px;
}

.theme-refined .occasion-card-visual > span {
  border-radius: 12px;
  gap: 8px;
  min-height: 48px;
  padding: 7px 10px;
}

.theme-refined .occasion-card-visual > span:first-child {
  grid-column: 1 / -1;
}

.theme-refined .occasion-card-visual svg,
.theme-refined .occasion-card-visual .search-icon {
  height: 19px;
  width: 19px;
}

.theme-refined .occasion-card-visual small {
  font-size: 12px;
}

.theme-refined .occasion-price {
  direction: ltr;
  font-size: 11px;
  font-weight: 900;
}

.theme-refined .occasion-open b {
  background: var(--success);
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

.theme-refined .feature-card-copy {
  flex: 1;
  padding: 2px 4px 0;
}

.theme-refined .feature-choice-card h3 {
  font-size: 22px;
  margin: 18px 0 7px;
}

.theme-refined .feature-choice-card p {
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 18px;
}

.theme-refined .feature-choice-cta {
  border-radius: 15px;
  font-size: 15px;
  min-height: 52px;
  padding: 0 16px;
}

.decision-proof {
  background: var(--feature-tint);
  border-top: 1px solid var(--border);
  padding: 76px 20px 82px;
}

.decision-proof-map {
  background: var(--map-bg);
  border: 1px solid var(--map-border);
  border-radius: 24px;
  height: 390px;
  margin-top: 30px;
  overflow: hidden;
  position: relative;
}

.decision-proof-map::before {
  background-image: repeating-linear-gradient(15deg, transparent 0 31px, var(--map-line) 32px 34px), repeating-linear-gradient(96deg, transparent 0 52px, var(--map-line) 53px 55px);
  content: "";
  inset: -28%;
  position: absolute;
  transform: rotate(-8deg);
}

.proof-place-icon {
  align-items: center;
  background: var(--primary);
  border: 4px solid var(--surface);
  border-radius: 16px 16px 16px 5px;
  color: var(--on-primary);
  display: flex;
  height: 58px;
  justify-content: center;
  left: 28px;
  position: absolute;
  top: 30px;
  width: 58px;
  z-index: 2;
}

.proof-place-icon svg {
  height: 25px;
  width: 25px;
}

.proof-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  bottom: 22px;
  box-shadow: var(--card-shadow);
  left: 18px;
  padding: 18px;
  position: absolute;
  right: 18px;
  z-index: 3;
}

.proof-recommender {
  color: var(--muted);
  font-size: 13px;
}

.proof-card > strong {
  display: block;
  font-size: 22px;
  margin: 3px 0 9px;
}

.proof-card q {
  color: var(--ink);
  display: block;
  font-size: 14px;
  font-weight: 700;
  quotes: none;
}

.proof-tags {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 15px;
}

.proof-tags span {
  background: var(--soft);
  border-radius: 9px;
  color: var(--eyebrow);
  font-size: 11px;
  font-weight: 750;
  padding: 7px 8px;
  text-align: center;
}

.proof-tags .proof-open {
  background: #e9f8ef;
  color: var(--success);
}

.proof-card > small {
  align-items: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  font-size: 11px;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
}

.proof-card > small svg {
  color: var(--primary);
  height: 16px;
  width: 16px;
}

.theme-refined .final-join h2 {
  margin-top: 0;
}
