/* ── Catastrophy landing ─────────────────────────────────────────── */
:root {
  --cream:      #FBF1E3;
  --cream-card: #FFFDF9;
  --ink:        #2B2A28;
  --ink-soft:   #46423B;
  --ink-deep:   #242320;
  --gold:       #B8853B;
  --gold-lt:    #C79A54;
  --border:     #EBDCC4;
  --muted:      #5C554B;
  --muted-2:    #8A7B65;
  --muted-3:    #A08A6B;
  --dark-2:     #3A3630;
  --dark-txt:   #C9BFAF;
  --dark-txt-2: #8A8071;
  --strip:      #F4E6D2;
  --swatch: repeating-linear-gradient(45deg, #EFE2CE, #EFE2CE 14px, #F6ECDC 14px, #F6ECDC 28px);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; background: var(--cream); }

body {
  font-family: 'Quicksand', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: var(--gold); text-decoration: none; transition: color .18s ease, background-color .18s ease; }
img { max-width: 100%; display: block; }

@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.wrap  { max-width: 1120px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--gold); margin: 0 0 20px; }

/* ── Nav ───────────────────────────────────────────────────────────── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; padding: 28px 32px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand span { font-size: 22px; font-weight: 700; letter-spacing: .5px; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 600; }
.nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--gold); }
.btn-pill {
  background: var(--ink); color: var(--cream) !important;
  padding: 10px 22px; border-radius: 999px;
}
.btn-pill:hover { background: var(--gold); }

/* ── Store buttons ─────────────────────────────────────────────────── */
.stores { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--ink); color: var(--cream) !important;
  padding: 10px 24px; border-radius: 12px; line-height: 1.25; text-align: left;
}
.store:hover { background: var(--ink-soft); }
.store .small { font-size: 11px; font-weight: 500; opacity: .8; }
.store .big   { font-size: 18px; font-weight: 700; }
.store.light  { background: var(--cream); color: var(--ink) !important; }
.store.light:hover { background: var(--gold-lt); }
.store.light .small { font-weight: 600; opacity: .7; }
/* Not in the stores yet: same badge, but not a control. */
.store.soon, .store.soon:hover { background: var(--ink); cursor: default; }
.store.light.soon, .store.light.soon:hover { background: var(--cream); }
.notify { margin: 22px 0 0; font-size: 16px; font-weight: 700; }
.notify a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.notify a:hover { color: var(--gold); }
.download .notify { margin: 26px 0 0; font-size: 16px; }
.download .notify a { color: var(--cream); text-decoration-color: var(--gold-lt); }
.download .notify a:hover { color: var(--gold-lt); }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero { max-width: 760px; margin: 0 auto; padding: 56px 32px 88px; text-align: center; }
.hero img { width: 190px; height: auto; margin: 0 auto 32px; }
.hero h1 {
  font-size: 58px; font-weight: 700; line-height: 1.08; margin: 0 0 24px;
  letter-spacing: -.5px; text-wrap: balance;
}
.hero .lead {
  font-size: 20px; line-height: 1.6; font-weight: 500; color: var(--muted);
  margin: 0 auto 40px; max-width: 560px; text-wrap: pretty;
}
.hero .fine {
  margin: 20px 0 0; font-size: 13px; font-weight: 600;
  color: var(--muted-3); letter-spacing: 1px;
}

/* ── Dark loop section ─────────────────────────────────────────────── */
.dark { background: var(--ink); color: var(--cream); padding: 96px 32px; }
.dark .inner { max-width: 980px; margin: 0 auto; text-align: center; }
.dark .eyebrow { color: var(--gold-lt); margin-bottom: 28px; }
.dark h2 {
  font-size: 38px; font-weight: 700; line-height: 1.25; margin: 0 auto 28px;
  max-width: 800px; text-wrap: balance;
}
.dark .lead {
  font-size: 18px; line-height: 1.7; font-weight: 500; color: var(--dark-txt);
  max-width: 620px; margin: 0 auto 64px; text-wrap: pretty;
}
.loop { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; font-size: 22px; font-weight: 700; }
.loop .step { background: var(--dark-2); padding: 14px 28px; border-radius: 999px; }
.loop .step.hi { background: var(--gold-lt); color: var(--ink); }
.loop .arrow { color: var(--gold-lt); }
.dark .note { font-size: 16px; font-weight: 600; color: var(--dark-txt-2); margin: 36px 0 0; }
.dark .note em { color: var(--gold-lt); font-style: normal; }

/* ── How it works ──────────────────────────────────────────────────── */
.how { max-width: 1120px; margin: 0 auto; padding: 110px 32px 40px; }
.how .eyebrow { text-align: center; }
.how > h2 { font-size: 40px; font-weight: 700; text-align: center; margin: 0 0 90px; }

.step-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  align-items: center; margin-bottom: 110px;
}
.step-row:last-child { margin-bottom: 40px; }
.step-row.reverse .txt { order: 2; }
.step-row.reverse .visual { order: 1; }
.step-kicker { font-size: 15px; font-weight: 700; color: var(--gold); margin: 0 0 14px; }
.step-row h3 { font-size: 30px; font-weight: 700; margin: 0 0 18px; line-height: 1.2; }
.step-row p { font-size: 17px; line-height: 1.7; font-weight: 500; color: var(--muted); margin: 0 0 14px; text-wrap: pretty; }
.step-row p:last-child { margin-bottom: 0; }
.step-row .sub { font-size: 15px; font-weight: 600; color: var(--muted-3); }

/* Step 1 — camera mock */
.phone {
  background: var(--ink); border-radius: 28px; padding: 18px;
  box-shadow: 0 24px 48px rgba(43,42,40,.18);
}
.viewfinder {
  border-radius: 18px; aspect-ratio: 4 / 3; position: relative; overflow: hidden;
  background: var(--swatch); display: flex; align-items: center; justify-content: center;
}
.viewfinder .placeholder { font-family: monospace; font-size: 13px; color: var(--muted-3); }
.viewfinder img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cap-pill {
  position: absolute; top: 18px; left: 18px; right: 18px;
  display: flex; justify-content: center;
}
.cap-pill span {
  background: rgba(43,42,40,.85); color: var(--cream); font-size: 14px; font-weight: 600;
  padding: 8px 18px; border-radius: 999px; display: flex; align-items: center; gap: 8px;
}
.cap-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-lt); animation: pulse-dot 1.6s infinite; }
/* Frames the cat's face in viewfinder.jpg (ears to chin). The frame keeps the photo's 4:3
   shape, so these percentages stay on the face at every width. Re-measure if the photo changes. */
.focus-box { position: absolute; inset: 28% 2% 2% 47%; border: 2px solid rgba(199,154,84,.95); border-radius: 16px; }

/* Step 2 — profile cards */
.stack { display: flex; flex-direction: column; gap: 16px; }
.id-card {
  background: var(--cream-card); border: 1px solid var(--border); border-radius: 20px;
  padding: 24px; box-shadow: 0 16px 36px rgba(43,42,40,.10);
  display: flex; gap: 18px; align-items: center;
}
.id-card .avatar { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.id-card .avatar.new {
  background: repeating-linear-gradient(45deg, #EFE2CE, #EFE2CE 8px, #F6EADA 8px, #F6EADA 16px);
  display: flex; align-items: center; justify-content: center;
  font-family: monospace; font-size: 10px; color: var(--muted-3);
}
.id-card .title { margin: 0 0 4px; font-size: 20px; font-weight: 700; }
.id-card .meta  { margin: 0; font-size: 14px; font-weight: 500; color: var(--muted-2); }

/* Step 3 — notifications */
.notes { display: flex; flex-direction: column; gap: 14px; }
.note-card {
  background: rgba(255,253,249,.9); border: 1px solid var(--border); border-radius: 18px;
  padding: 16px 20px; box-shadow: 0 16px 36px rgba(43,42,40,.10);
  display: flex; gap: 14px; align-items: flex-start;
}
.note-card.indent { margin-left: 28px; }
.note-card .app-icon { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; }
.note-card .body { flex: 1; }
.note-card .head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.note-card .app  { font-size: 13px; font-weight: 700; }
.note-card .when { font-size: 12px; font-weight: 500; color: var(--muted-3); }
.note-card .msg  { margin: 4px 0 0; font-size: 15px; font-weight: 600; line-height: 1.45; }

/* ── Postcards ─────────────────────────────────────────────────────── */
.postcards { max-width: 1120px; margin: 0 auto; padding: 90px 32px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.postcard-hold { display: flex; justify-content: center; }
.postcard {
  background: var(--cream-card); border-radius: 8px; padding: 20px 20px 26px;
  box-shadow: 0 30px 60px rgba(43,42,40,.18); transform: rotate(-2.5deg); width: 340px; max-width: 100%;
}
.postcard .photo {
  height: 300px; border-radius: 4px; background: var(--swatch);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.postcard .photo span { font-family: monospace; font-size: 12px; color: var(--muted-3); }
.postcard .photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; display: block; }
.postcard .cat-name { margin: 0 0 6px; font-size: 24px; font-weight: 700; }
.postcard .loc { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: .5px; }
.postcard .desc { margin: 0; font-size: 14px; font-weight: 500; color: var(--muted); font-style: italic; }
.postcard .foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
}
.postcard .foot span { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--muted-3); }
.postcard .foot img { width: 22px; height: 22px; border-radius: 50%; }
.postcards h2 { font-size: 38px; font-weight: 700; margin: 0 0 20px; line-height: 1.15; }
.postcards .col-txt p { font-size: 17px; line-height: 1.7; font-weight: 500; color: var(--muted); margin: 0 0 14px; text-wrap: pretty; }
.postcards .col-txt p:last-child { margin-bottom: 0; }

/* ── Voice strip ───────────────────────────────────────────────────── */
.strip { background: var(--strip); padding: 80px 32px; }
.strip .inner { max-width: 1120px; margin: 0 auto; text-align: center; }
.strip .eyebrow { margin-bottom: 40px; }
.quotes { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.quote {
  background: var(--cream-card); border-radius: 16px; padding: 24px 30px;
  font-size: 18px; font-weight: 600; box-shadow: 0 10px 24px rgba(43,42,40,.07);
}

/* ── For places ────────────────────────────────────────────────────── */
.places { max-width: 1120px; margin: 0 auto; padding: 110px 32px; }
.places .grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
.places h2 { font-size: 38px; font-weight: 700; margin: 0 0 20px; line-height: 1.15; }
.places .col-txt p { font-size: 17px; line-height: 1.7; font-weight: 500; color: var(--muted); margin: 0 0 28px; text-wrap: pretty; }
.cta-solid {
  display: inline-block; background: var(--gold); color: var(--cream-card) !important;
  font-size: 16px; font-weight: 700; padding: 14px 30px; border-radius: 999px;
}
.cta-solid:hover { background: var(--ink); }
.place-card {
  background: var(--cream-card); border: 1px solid var(--border); border-radius: 24px;
  padding: 36px; box-shadow: 0 20px 44px rgba(43,42,40,.10);
}
.place-card .to { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--muted-3); }
.place-card .name { margin: 0 0 22px; font-size: 26px; font-weight: 700; }
.roster { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.roster .row {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--cream); border-radius: 12px; padding: 12px 18px;
}
.roster .row .cn { font-size: 17px; font-weight: 700; }
.roster .row .obs { font-size: 14px; font-weight: 600; color: var(--muted-2); }
.place-card .go { margin: 0; font-size: 15px; font-weight: 700; color: var(--gold); text-align: center; }

/* ── Download ──────────────────────────────────────────────────────── */
.download { background: var(--ink); color: var(--cream); padding: 100px 32px 90px; text-align: center; }
.download .inner { max-width: 640px; margin: 0 auto; }
.download img { width: 300px; height: auto; border-radius: 16px; margin: 0 auto 36px; }
.download h2 { font-size: 40px; font-weight: 700; margin: 0 0 18px; line-height: 1.15; text-wrap: balance; }
.download p { font-size: 18px; line-height: 1.65; font-weight: 500; color: var(--dark-txt); margin: 0 0 40px; }

/* ── Footer ────────────────────────────────────────────────────────── */
.footer {
  background: var(--ink-deep); color: var(--dark-txt); padding: 32px;
  text-align: center; font-size: 14px; font-weight: 500;
}
.footer .row { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer .row img { width: 26px; height: 26px; border-radius: 50%; }
.footer .row span { font-weight: 700; color: var(--dark-txt); }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 12px; }
.footer-links a { color: var(--dark-txt); text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover { color: var(--cream); }
.footer p { margin: 0; }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav { flex-wrap: wrap; gap: 16px; justify-content: center; padding: 24px 24px; }
  .nav-links { gap: 20px; flex-wrap: wrap; justify-content: center; }

  .hero { padding: 40px 24px 64px; }
  .hero h1 { font-size: 40px; }
  .hero .lead { font-size: 18px; }

  .dark { padding: 72px 24px; }
  .dark h2 { font-size: 30px; }
  .loop { font-size: 18px; gap: 12px; }
  .loop .step { padding: 12px 22px; }

  .how { padding: 72px 24px 24px; }
  .how > h2 { font-size: 30px; margin-bottom: 56px; }
  .step-row, .two-col, .places .grid {
    grid-template-columns: 1fr; gap: 36px; margin-bottom: 64px;
  }
  /* text always comes first on mobile, regardless of desktop reordering */
  .step-row .txt { order: 0 !important; }
  .step-row .visual { order: 1 !important; }
  .step-row h3 { font-size: 26px; }

  .postcards, .places { padding: 64px 24px; }
  .postcards h2, .places h2, .download h2 { font-size: 30px; }

  .strip { padding: 64px 24px; }
  .download { padding: 72px 24px 64px; }
  .download img { width: 220px; }
}

@media (max-width: 460px) {
  .wrap, .nav, .hero, .how, .postcards, .places { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: 33px; }
  .quote { font-size: 16px; padding: 20px 24px; }
  .note-card.indent { margin-left: 14px; }
}

/* ── Text pages (privacy, support, 404) ────────────────────────────── */
a.brand { color: var(--ink); }
.doc { max-width: 720px; margin: 0 auto; padding: 32px 32px 110px; }
.doc h1 { font-size: 46px; font-weight: 700; line-height: 1.1; margin: 0 0 14px; letter-spacing: -.5px; text-wrap: balance; }
.doc .updated { font-size: 14px; font-weight: 600; color: var(--muted); margin: 0 0 40px; }
.doc h2 { font-size: 26px; font-weight: 700; line-height: 1.25; margin: 52px 0 14px; text-wrap: balance; }
.doc h3 { font-size: 19px; font-weight: 700; margin: 30px 0 8px; }
.doc p, .doc li { font-size: 17px; line-height: 1.7; font-weight: 500; color: var(--ink-soft); text-wrap: pretty; }
.doc p { margin: 0 0 16px; }
.doc ul { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin: 0 0 8px; }
.doc strong { color: var(--ink); font-weight: 700; }
.doc a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.doc a:hover { color: var(--gold); }
.doc .summary {
  background: var(--cream-card); border: 1px solid var(--border); border-radius: 20px;
  padding: 24px 28px 10px; margin: 0 0 8px;
}
.doc .summary h2 { margin-top: 0; font-size: 20px; }
.doc.center { text-align: center; padding-top: 72px; }
.doc.center img { width: 220px; height: auto; border-radius: 16px; margin: 0 auto 32px; }

@media (max-width: 860px) {
  .doc { padding: 16px 24px 80px; }
  .doc h1 { font-size: 36px; }
  .doc h2 { font-size: 23px; }
}
@media (max-width: 460px) {
  .doc { padding-left: 20px; padding-right: 20px; }
}

/* ── Launch list dialog ────────────────────────────────────────────── */
.waitlist {
  width: min(440px, calc(100vw - 32px)); padding: 36px 32px 28px; border: 1px solid var(--border);
  border-radius: 24px; background: var(--cream-card); color: var(--ink);
  box-shadow: 0 30px 80px rgba(43,42,40,.28);
}
.waitlist::backdrop { background: rgba(36,35,32,.55); }
.waitlist h2 { font-size: 28px; font-weight: 700; line-height: 1.15; margin: 0 0 10px; text-wrap: balance; outline: none; }
.waitlist p { font-size: 16px; line-height: 1.6; font-weight: 500; color: var(--ink-soft); margin: 0 0 22px; }
.waitlist-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); font: inherit; font-size: 26px; line-height: 1; cursor: pointer;
}
.waitlist-close:hover { background: var(--strip); color: var(--ink); }
.waitlist label { display: block; font-size: 14px; font-weight: 700; margin: 0 0 6px; }
.waitlist input {
  display: block; width: 100%; margin: 0 0 18px; padding: 12px 14px;
  font: inherit; font-size: 16px; font-weight: 600; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--border); border-radius: 12px;
}
.waitlist input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,133,59,.25); }
.wl-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.waitlist-submit {
  display: block; width: 100%; padding: 14px 24px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--cream); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
  transition: background-color .18s ease;
}
.waitlist-submit:hover { background: var(--gold); }
.waitlist-submit:disabled { opacity: .7; cursor: progress; }
.waitlist .waitlist-error { color: #9A2E1C; font-weight: 700; font-size: 15px; margin: -6px 0 16px; }
.waitlist .waitlist-fine { font-size: 14px; color: var(--muted); text-align: center; margin: 14px 0 0; }
.waitlist .waitlist-fine a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.waitlist-done strong { color: var(--ink); word-break: break-all; }
@media (prefers-reduced-motion: no-preference) {
  .waitlist[open] { animation: wl-in .22s cubic-bezier(.2,.8,.2,1); }
  @keyframes wl-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
}
