/* Placeholder styling — the real design is coming; keep selectors semantic so
 * a restyle doesn't touch app.js or the HTML structure. */

:root {
  --ocean: #0b6e99;
  --ocean-deep: #084d6b;
  --foam: #eaf6fb;
  --sand: #fdf8f0;
  --ink: #16303c;
  --muted: #5b7684;
  --good: #1e9e63;
  --warn: #c2571b;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--foam);
  color: var(--ink);
  line-height: 1.5;
}

/* ---- Landing ---- */

.landing { max-width: 720px; margin: 0 auto; padding: 48px 20px; }

.hero { text-align: center; }
.mascot { font-size: 56px; }
.hero h1 { font-size: 48px; margin: 8px 0 4px; color: var(--ocean-deep); }
.tagline { font-size: 22px; margin: 0 0 12px; }
.sub { color: var(--muted); max-width: 520px; margin: 0 auto 28px; }

.waitlist { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.waitlist input {
  padding: 12px 16px; font-size: 16px; border: 2px solid var(--ocean);
  border-radius: var(--radius); min-width: 260px;
}
.waitlist button {
  padding: 12px 20px; font-size: 16px; font-weight: 600; cursor: pointer;
  background: var(--ocean); color: white; border: none; border-radius: var(--radius);
}
.waitlist button:hover { background: var(--ocean-deep); }

.try-link { display: inline-block; margin-top: 16px; color: var(--ocean); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 56px; }
.feature { background: white; border-radius: var(--radius); padding: 20px; }
.feature h3 { margin: 0 0 8px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---- App ---- */

.app { max-width: 480px; margin: 0 auto; padding: 24px 20px 64px; }
.app-header { margin-bottom: 24px; }
.brand { font-size: 20px; font-weight: 700; color: var(--ocean-deep); text-decoration: none; }

.step h2, #dashboard h2 { font-size: 26px; margin: 0 0 8px; }
.hint { color: var(--muted); font-size: 14px; }

label { display: block; margin: 14px 0 6px; font-weight: 600; font-size: 14px; }
input, select {
  width: 100%; padding: 12px 14px; font-size: 16px;
  border: 2px solid #cfe3ec; border-radius: var(--radius); background: white;
}
input:focus, select:focus { outline: none; border-color: var(--ocean); }

.row { display: flex; gap: 12px; }
.row label { flex: 1; }

button {
  margin-top: 18px; width: 100%; padding: 14px; font-size: 16px; font-weight: 600;
  background: var(--ocean); color: white; border: none; border-radius: var(--radius);
  cursor: pointer;
}
button:hover { background: var(--ocean-deep); }
button.subtle { background: transparent; color: var(--muted); font-weight: 400; }

.seg { margin-top: 8px; }
.seg button { background: white; color: var(--ink); border: 2px solid #cfe3ec; }
.seg button.active { border-color: var(--ocean); background: var(--foam); color: var(--ocean-deep); }

.plan-card {
  background: white; border-radius: var(--radius); padding: 20px; margin: 16px 0;
  border: 2px solid var(--ocean); text-align: center;
}
.plan-goal { font-size: 32px; font-weight: 700; margin: 0; color: var(--ocean-deep); }
.plan-calls { font-size: 18px; margin: 4px 0; }
.plan-times { color: var(--muted); margin: 4px 0 0; font-size: 14px; }

.msg { min-height: 20px; font-size: 14px; }
.msg.error { color: var(--warn); }

/* Dashboard */

.progress-wrap { margin: 20px 0; }
.progress-bar { height: 18px; background: white; border-radius: 9px; overflow: hidden; border: 2px solid #cfe3ec; }
#progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--ocean), #35a7d7); transition: width .4s; }
.progress-label { text-align: center; margin: 8px 0 0; }

.log-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.log-buttons button { margin-top: 0; padding: 12px 4px; font-size: 14px; }

.slots { list-style: none; padding: 0; margin: 12px 0; }
.slots li {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  background: white; border-radius: var(--radius); padding: 12px 14px; margin-bottom: 8px;
  font-size: 14px;
}
.slots li.skipped-target-met, .slots li.will-skip { opacity: .65; }
.slots li.called .slot-status { color: var(--good); }
.slot-time { font-weight: 700; min-width: 48px; }
.slot-target { color: var(--muted); }

img.mascot { border-radius: 22px; box-shadow: 0 12px 28px -12px rgba(8, 77, 107, 0.5); }
