/* Lifted from the deployed /travels and /homes pages so the three brands stay
   visually identical, then extended for the pieces those pages lacked:
   a per-section owner badge, a progress line, and the answered-elsewhere strip. */

:root {
  --esp: #16120b;
  --gold: #D69A2E;
  --gold3: #A86A12;
  --cream: #f6f1e7;
  --ink: #2a2318;
  --line: #e2d7bf;
  --card: #fff;
  --muted: #6b6047; /* darkened from #7a6f59: that measured 3.9:1 on --cream,
                       under the 4.5:1 body-text floor. This is 5.3:1. */
  --good: #1f7a4d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
}

.sora { font-family: 'Sora', sans-serif; font-weight: 800; }

header {
  background: var(--esp);
  color: #f2eadb;
  padding: 24px 20px 28px;
  position: relative;
}
header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, #F6CE7A, #D69A2E, #A86A12);
}
.hwrap { max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.mk { width: 42px; height: 42px; flex: 0 0 auto; }
header h1 { font-size: 20px; font-weight: 800; }
header p { font-size: 12.5px; color: #cdc3ae; margin-top: 2px; }

.saved {
  position: fixed; top: 12px; right: 12px;
  background: var(--good); color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 7px 14px; border-radius: 100px;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
  z-index: 50; opacity: 0; transition: opacity .3s;
}
.saved.show { opacity: 1; }

main { max-width: 760px; margin: 0 auto; padding: 20px 16px 40px; }

.intro {
  background: #fff8ea;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  margin-bottom: 18px;
}

.sec {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 16px;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px -18px rgba(0,0,0,.25);
}
.sec.ok { background: #f6faf6; border-color: #d8e7d8; }
.sec h2 {
  font-family: 'Sora'; font-size: 15px; color: var(--esp);
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 4px; flex-wrap: wrap;
}
.num {
  background: var(--gold); color: #fff;
  font-size: 11.5px; font-weight: 700;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
}
.ok .num { background: var(--good); }
.once {
  font-family: 'Plus Jakarta Sans'; font-size: 10.5px; font-weight: 700;
  color: var(--gold3); background: #fdf4e3;
  border-radius: 100px; padding: 3px 9px;
}
.ok .once { color: var(--good); background: #e3f2e3; }

/* Who we are asking. Michael told the group to divide this up, so every section
   says out loud whose answer it is — otherwise six people read it and assume
   one of the other five is handling it. */
.who {
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
  color: #4a5c6b; background: #eaf1f6; border: 1px solid #d5e3ed;
  border-radius: 100px; padding: 3px 9px;
}

.q { font-weight: 700; font-size: 13.5px; margin: 14px 0 6px; }
.why {
  display: block; font-weight: 400; font-size: 12px;
  color: var(--muted); font-style: italic; margin-top: 3px;
}

.opts { display: grid; grid-template-columns: 1fr; gap: 3px; }
.opts.two { grid-template-columns: 1fr 1fr; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 620px) { .opts.two, .grid2 { grid-template-columns: 1fr; } }

label.opt {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13.5px; padding: 6px 0; cursor: pointer;
  min-height: 44px; /* these are answered with a thumb, on a phone, standing up */
  align-items: center;
}
label.opt input {
  margin-top: 3px; width: 17px; height: 17px;
  accent-color: var(--gold); flex: 0 0 auto;
}

input[type=text], textarea {
  width: 100%; font-family: inherit; font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 9px;
  background: #fdfbf6; color: var(--ink);
  margin-top: 4px;
}
textarea { min-height: 76px; resize: vertical; }
textarea.tall { min-height: 130px; }
input:focus, textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.inline { font-size: 13px; margin-top: 8px; }

.prefill {
  background: #f4f7f4; border: 1px solid #dfe7df;
  border-radius: 9px; padding: 10px 12px;
  font-size: 12.5px; color: #33463a;
  margin: 6px 0 2px; line-height: 1.5;
}
.prefill b { color: #22332a; }

.ct {
  background: #fff; border: 1px solid #dfe7df;
  border-radius: 9px; padding: 9px 11px; font-size: 12.5px;
}
.ct b {
  display: block; font-size: 11px; text-transform: uppercase;
  letter-spacing: .05em; color: #5d6c5d; margin-bottom: 2px;
}
.ct span { color: var(--ink); }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.btn {
  font-family: inherit; font-weight: 700; font-size: 14.5px;
  padding: 13px 22px; border-radius: 100px; border: none;
  cursor: pointer; text-decoration: none; display: inline-block;
}
.btn-p { background: var(--esp); color: var(--cream); }
.btn-g { background: var(--gold); color: #3a2a06; }
.btn-o { background: transparent; border: 1.5px solid var(--gold3); color: var(--gold3); }

/* Progress. The old forms gave no sense of how much was left, which makes a
   short form feel open-ended. */
.prog {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--muted); margin: 2px 0 16px;
}
.prog .bar {
  flex: 1; height: 6px; border-radius: 100px;
  background: #e6dcc6; overflow: hidden;
}
.prog .bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s; }

footer {
  max-width: 760px; margin: 0 auto;
  padding: 6px 16px 40px; font-size: 12px;
  color: var(--muted); text-align: center;
}

dialog {
  border: none; border-radius: 16px; padding: 0;
  max-width: 560px; width: 92%;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
dialog .dh {
  background: var(--esp); color: var(--cream);
  padding: 15px 18px; font-family: 'Sora'; font-weight: 800;
}
dialog .db { padding: 16px 18px; }
dialog textarea { height: 220px; font-size: 12px; font-family: ui-monospace, monospace; }

/* Index page cards */
a.c {
  display: block; background: #fff;
  border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; margin-bottom: 12px;
  text-decoration: none; color: inherit;
  box-shadow: 0 8px 24px -18px rgba(0,0,0,.25);
}
a.c b { font-family: 'Sora'; font-size: 16px; display: block; color: #16120b; }
a.c span { font-size: 13px; color: var(--muted); }
a.c em { font-style: normal; display: block; font-size: 11.5px; margin-top: 6px; color: #4a5c6b; font-weight: 700; }

/* Last, so it wins over the base field rule above: iOS Safari zooms the whole
   page when you focus an input under 16px, and this form is filled on phones. */
@media (max-width: 620px) {
  input[type=text], textarea { font-size: 16px; }
}
