/* qayd-probe v0 — minimal RTL mobile-first styles */

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

html, body {
  font-family: -apple-system, "Geeza Pro", "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  background: #f8f7f3;
  color: #25231f;
}

body {
  min-height: 100vh;
  padding: 2.75rem 1.35rem 3rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

main {
  width: 100%;
  max-width: 430px;
  padding-top: 1.25rem;
}

section[data-screen] {
  display: none;
}

section[data-screen][data-active="true"] {
  display: block;
}

.lead {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 1.75rem;
  max-width: 24rem;
}

.note {
  font-size: 0.82rem;
  color: #7d766b;
  margin-top: 1.1rem;
}

.question {
  font-size: 1.03rem;
  font-weight: 500;
  line-height: 1.85;
  margin-bottom: 0.6rem;
}

.hint {
  font-size: 0.83rem;
  color: #7f786d;
  margin-bottom: 1.35rem;
}

textarea, input[type="text"] {
  width: 100%;
  padding: 0.85rem 0.9rem;
  font-size: 0.98rem;
  line-height: 1.7;
  font-family: inherit;
  border: 1px solid #d9d4ca;
  border-radius: 7px;
  background: #fffdf9;
  color: inherit;
  outline: none;
}

textarea {
  min-height: 128px;
  margin-bottom: 1.15rem;
  resize: vertical;
}

textarea:focus, input[type="text"]:focus {
  border-color: #9d9588;
  background: #fff;
}

.actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

button {
  flex: 1;
  min-height: 44px;
  padding: 0.15rem 0.95rem 0;
  font-size: 0.94rem;
  font-family: inherit;
  border-radius: 7px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button.full {
  width: 100%;
}

/* R1: Skip and Continue feel visually equal.
 * Same background, same text color, same border — only labels differ.
 * No primary/secondary hierarchy. Both equally legitimate choices. */
button.primary,
button.secondary {
  background: #fffdf9;
  color: #3b372f;
  border: 1px solid #d3cdc2;
}

button:active {
  background: #efebe3;
  border-color: #bdb5a8;
}

button:disabled {
  opacity: 0.6;
  cursor: default;
}

.thanks {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 1.55rem;
}

.contact-label {
  display: block;
  font-size: 0.88rem;
  color: #5f584e;
  margin-bottom: 0.55rem;
}

.contact-label span {
  display: block;
  margin-bottom: 0.5rem;
}

.footer-note {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #666;
  text-align: center;
  line-height: 1.7;
}

@media (max-width: 420px) {
  body {
    padding: 2.25rem 1.15rem 2.5rem;
  }

  main {
    padding-top: 0.75rem;
  }
}

.positioning {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.insight-label {
  display: block;
  margin-bottom: 1.5rem;
}

.insight-label span {
  display: block;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.exit-separator {
  border: none;
  border-top: 1px solid #ddd;
  margin: 1.75rem 0 1.25rem;
}

.continuity-intro {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.75rem;
}

.continuity-field {
  display: block;
  margin-bottom: 0.75rem;
}

.continuity-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 1.25rem;
  cursor: pointer;
}

.continuity-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
}
