:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #111111;
  --muted: #6a6a6a;
  --line: #ececec;
  --accent: #f4ab21;
  --accent-soft: #fff4da;
  --phone-bottom-mask: 42px;
  --shadow: 0 28px 60px rgba(17, 17, 17, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.page-shell {
  width: min(100% - 24px, 1160px);
  margin: 0 auto;
  padding: 20px 0 44px;
}

.topbar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 18px;
}

.topbar-controls {
  display: grid;
  gap: 10px;
  width: 100%;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.language-picker {
  width: fit-content;
  min-width: 140px;
  padding: 10px 38px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #777777 50%),
    linear-gradient(135deg, #777777 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.language-picker:focus {
  outline: none;
  border-color: rgba(244, 171, 33, 0.9);
  box-shadow: 0 0 0 4px rgba(244, 171, 33, 0.12);
}

main {
  display: grid;
  gap: 40px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  min-height: auto;
}

.hero-copy {
  max-width: none;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #b57a08;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.6rem, 14vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.lead {
  margin: 24px 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.waitlist-form {
  margin-top: 30px;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
}

input {
  width: 100%;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  outline: none;
}

input:focus {
  border-color: rgba(244, 171, 33, 0.9);
  box-shadow: 0 0 0 4px rgba(244, 171, 33, 0.12);
}

input::placeholder {
  color: #9a9a9a;
}

button {
  border: 0;
  border-radius: 16px;
  padding: 18px 24px;
  background: var(--accent);
  color: #151515;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease;
  box-shadow: 0 14px 28px rgba(244, 171, 33, 0.22);
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(244, 171, 33, 0.28);
}

button:disabled {
  cursor: wait;
  opacity: 0.8;
}

button {
  width: 100%;
}

.form-note,
.form-status,
.closing-note p,
.visual-note span {
  color: var(--muted);
  line-height: 1.65;
}

.form-note,
.form-status {
  margin: 14px 0 0;
}

.form-note {
  font-size: 0.67rem;
}

.form-status[data-state="error"] {
  color: #c24532;
}

.form-status[data-state="info"] {
  color: #4b6572;
}

.form-status[data-state="success"] {
  color: #21603e;
}

.hero-visual {
  display: grid;
  gap: 24px;
  justify-items: center;
}

.hero-semititle {
  max-width: 28rem;
  margin: 0;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.phone-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  align-items: start;
}

.phone {
  position: relative;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.phone-back {
  opacity: 0.96;
}

.phone-front {
  opacity: 1;
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  border: 5px solid #111111;
  background-color: #ffffff;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: var(--shadow);
}

.phone-screen::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--phone-mask-height, var(--phone-bottom-mask));
  background: #ffffff;
}

.phone-screen {
  width: 100%;
  max-width: min(78vw, 260px);
  aspect-ratio: 922 / 2048;
}

.phone-stack .phone-screen {
  max-width: min(42vw, 190px);
}

.hero-phone-note,
h2 {
  display: block;
  margin: 0;
}

.hero-phone-note {
  max-width: 320px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
}

h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.gallery-item p {
  margin: 12px 0 0;
  font-weight: 700;
  line-height: 1.5;
}

.gallery-section {
  display: grid;
  gap: 24px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.phone-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.gallery-item {
  display: grid;
  gap: 10px;
}

.gallery-phone {
  display: flex;
  justify-content: center;
}

.gallery-item .phone-screen {
  width: 100%;
  max-width: min(78vw, 260px);
}

.gallery-item p {
  max-width: 320px;
  margin: 0 auto;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

.bottom-cta {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 8px 0 0;
}

.waitlist-form-bottom {
  width: min(100%, 34rem);
  margin-top: 0;
}


.page-footer {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.instagram-link {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.instagram-link:hover {
  text-decoration: underline;
}

.feedback-link {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 20;
  padding: 8px 12px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #4f4f4f;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(8px);
  transition: transform 140ms ease, box-shadow 140ms ease, color 140ms ease;
}

.feedback-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.12);
  color: var(--text);
}

.feedback-link:focus-visible {
  outline: 2px solid rgba(244, 171, 33, 0.8);
  outline-offset: 2px;
}

.preview-photo {
  background-image: url("./assets/landing/photograph.jpg");
}

.preview-checklist {
  background-image: url("./assets/landing/storage-unit-preview.jpg");
  --phone-mask-height: 56px;
}

.preview-language {
  background-image: url("./assets/landing/language.jpg");
}

.preview-settings-sku {
  background-image: url("./assets/landing/settings-sku.jpg");
}

.preview-settings-category {
  background-image: url("./assets/landing/settings-category.jpg");
}

.preview-watermarks {
  background-image: url("./assets/landing/create-watermarks.jpg");
  background-size: 112% auto;
  background-position: center 0;
}

.preview-watermarks::after {
  display: none;
}

.preview-tag-zoom {
  background-image: url("./assets/landing/tag-zoom-2.jpg");
}

.preview-logo-upload {
  background-image: url("./assets/landing/logo-upload.jpg");
}

.preview-custom {
  background-image: url("./assets/landing/custom.jpg");
}

.preview-storage-unit {
  background-image: url("./assets/landing/checklist-photosession-storage-placement.jpg");
  --phone-mask-height: 18px;
}

.preview-create-units {
  background-image: url("./assets/landing/create-units.jpg");
}

.preview-relocate {
  background-image: url("./assets/landing/inside-relocate.jpg");
  background-size: 116% auto;
  background-position: center 0;
}

.preview-categories {
  background-image: url("./assets/landing/select-categorys.jpg");
  background-size: 114% auto;
  background-position: center 0;
}

.preview-inventory {
  background-image: url("./assets/landing/inventory-management.jpg");
}

.preview-vault-sku {
  background-image: url("./assets/landing/vault-sku.jpg");
}

.preview-vault-docs {
  background-image: url("./assets/landing/vault-docs.jpg");
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 721px) {
  .page-shell {
    width: min(100% - 40px, 1160px);
    padding-top: 28px;
    padding-bottom: 56px;
  }

  .topbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 26px;
  }

  .topbar-controls {
    justify-items: end;
    width: auto;
  }


  h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 8vw, 5rem);
  }

  .input-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  button {
    width: auto;
  }

  .phone-stack {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
  }

  .phone-screen {
    width: 300px;
    max-width: none;
  }

  .phone-stack .phone-screen {
    max-width: none;
  }

  .phone-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 22px;
  }

  .gallery-item .phone-screen {
    max-width: 260px;
  }

  .gallery-item p {
    max-width: 260px;
  }
}

@media (min-width: 1100px) {
  main {
    gap: 56px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 520px;
    gap: 48px;
    min-height: calc(100vh - 170px);
  }

  h1 {
    font-size: clamp(3.4rem, 7vw, 6.1rem);
  }

  .phone-stack {
    gap: 42px;
  }

  .phone-screen {
    width: 320px;
  }

  .phone-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-item .phone-screen {
    max-width: 240px;
  }

  .gallery-item p {
    max-width: 240px;
  }
}