:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #333333;
  --muted: #5e5e5e;
  --brand: #f7941d;
  --brand-pressed: #d97f12;
  --accent: #00bfb3;
  --accent-soft: #e8fbf9;
  --accent-border: #9be7e2;
  --ok: #00a79d;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.app {
  width: min(100%, 42rem);
  margin: 0 auto;
  padding: 1rem;
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.card {
  width: 100%;
  background: var(--surface);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 4px 20px rgba(51, 51, 51, 0.08);
}

h1 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  line-height: 1.2;
}

.lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
}

.hint {
  margin: 0.25rem 0 1rem;
  color: var(--muted);
  text-align: center;
}

.readyCard h1 {
  text-align: center;
}

.logoWrap {
  display: flex;
  justify-content: center;
  margin: 0.15rem 0 0.6rem;
}

.brandLogo {
  width: min(150px, 60vw);
  height: auto;
  display: block;
}

.logoPlaceholder {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.02em;
}

.dailyReview {
  margin: 0 0 0.9rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
}

.quoteAuthor {
  font-style: normal;
  color: #4b4b4b;
  font-weight: 400;
}

.captureButton {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0.85rem;
  padding: 1rem 1.1rem;
  background: var(--brand);
  color: #fff;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-height: 56px;
}

.captureButton:active {
  background: var(--brand-pressed);
}

#photoInput {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: #0e6f69;
  font-size: 0.9rem;
  font-weight: 600;
}

.status {
  margin: 0.9rem 0 0;
  min-height: 1.25rem;
  color: var(--ok);
  font-weight: 600;
  text-align: center;
}

@media (min-width: 680px) {
  .card {
    padding: 1.6rem;
  }
}
