/* "İhtiyaçlarınız ve beklentileriniz" page. Builds on /styles.css (header, footer, fields, buttons, errors). */

.needs-hero {
  padding-block:88px 72px;
}

.needs-eyebrow {
  color:var(--blue);
  font-size:14px;
  font-weight:650;
  line-height:1.4;
}

.needs-hero h1 {
  max-width:16ch;
  margin-top:18px;
  font-size:clamp(46px,5.2vw,76px);
  letter-spacing:-.04em;
  line-height:1.06;
  white-space:normal;
  overflow-wrap:break-word;
}

.needs-lead {
  display:grid;
  gap:16px;
  max-width:62ch;
  margin-top:32px;
}

.needs-lead p {
  font-size:19px;
  line-height:1.65;
}

.needs-meta {
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:32px;
  padding-top:16px;
  border-top:1px solid var(--line);
  color:var(--ink);
  font-size:14px;
  font-weight:650;
}

.needs-meta .icon {
  width:18px;
  height:18px;
  color:var(--blue);
}

/* Cool paper keeps white fields distinct, as on the contact page. */
.needs-band {
  background:var(--paper);
  padding-block:80px 112px;
  border-top:1px solid var(--line);
}

.needs-layout {
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:72px;
  align-items:start;
}

.needs-main {
  min-width:0;
  max-width:780px;
}

/* Side navigation */
.needs-nav {
  position:sticky;
  top:122px;
}

.needs-nav ol {
  margin:0;
  padding:0;
  list-style:none;
  border-top:1px solid var(--line);
}

.needs-nav li {
  border-bottom:1px solid var(--line);
}

.needs-nav a {
  display:grid;
  grid-template-columns:28px minmax(0,1fr) 18px;
  align-items:center;
  gap:10px;
  min-height:48px;
  padding-block:8px;
  color:var(--copy);
  font-size:13px;
  font-weight:600;
  line-height:1.35;
  transition:color .22s var(--ease);
}

.needs-nav a:hover {
  color:var(--blue);
}

.needs-nav a[aria-current="true"] {
  color:var(--ink);
  box-shadow:inset 2px 0 0 var(--blue);
  padding-left:10px;
  margin-left:-10px;
}

.needs-nav-number {
  color:var(--blue);
  font-variant-numeric:tabular-nums;
}

.needs-nav-label {
  overflow-wrap:anywhere;
}

.needs-nav-state .icon {
  display:none;
  width:16px;
  height:16px;
  color:var(--blue);
  stroke-width:2;
}

.needs-nav a.is-answered .needs-nav-state .icon {
  display:block;
}

/* Questions */
.needs-edit:focus,.needs-review:focus,.needs-done:focus,.needs-question:focus {
  outline:none;
}

.needs-question {
  padding-block:48px;
  border-top:1px solid var(--line);
}

.needs-question:first-of-type {
  border-top:0;
  padding-top:0;
}

.needs-question-meta {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 14px;
  font-size:12px;
  font-weight:650;
  line-height:1.5;
}

.needs-number {
  color:var(--blue);
  font-size:14px;
  font-weight:650;
  font-variant-numeric:tabular-nums;
  letter-spacing:.02em;
}

.needs-requirement {
  color:var(--copy);
}

.needs-requirement--optional {
  padding:2px 10px;
  border:1px solid var(--field-border);
  border-radius:999px;
  color:var(--ink);
  background:var(--white);
}

.needs-question h2 {
  max-width:30ch;
  margin-top:10px;
  font-size:clamp(24px,2.3vw,30px);
  line-height:1.25;
  letter-spacing:-.025em;
}

.needs-help {
  max-width:62ch;
  margin-top:12px;
  font-size:15px;
  line-height:1.7;
}

.needs-question .form-field,
.needs-topics,
.needs-pair,
.needs-contact .form-grid {
  margin-top:26px;
}

.needs-question .form-field label span,
.needs-contact .form-field label span {
  color:var(--copy);
  font-weight:500;
}

.needs-question textarea:disabled {
  border-color:var(--line);
  background:#eef1f5;
  color:var(--copy);
  cursor:not-allowed;
}

/* Question 1: topics */
.needs-topic-list {
  display:grid;
  gap:18px;
}

.needs-topic-list .form-field {
  margin-top:0;
}

.needs-topic-row {
  display:flex;
  gap:10px;
  align-items:stretch;
}

.needs-topic-row input {
  flex:1;
  min-width:0;
}

.needs-remove,.needs-add,.needs-secondary {
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:50px;
  border-radius:var(--radius);
  font-size:14px;
  font-weight:650;
  line-height:1.4;
  transition:background .22s var(--ease),border-color .22s var(--ease),color .22s var(--ease);
}

.needs-remove {
  flex:none;
  padding:0 16px;
  border:1px solid var(--field-border);
  background:var(--white);
  color:var(--ink);
}

.needs-remove:hover {
  border-color:var(--error);
  color:var(--error);
}

.needs-remove .icon,.needs-add .icon,.needs-secondary .icon {
  width:18px;
  height:18px;
}

.needs-add {
  margin-top:16px;
  padding:0 4px;
  border:0;
  background:none;
  color:var(--blue);
  min-height:44px;
}

.needs-add:hover {
  text-decoration:underline;
  text-underline-offset:5px;
}

.needs-limit {
  margin-top:14px;
  font-size:13px;
}

/* Question 2: priority */
.needs-priority {
  display:grid;
  gap:10px;
}

.needs-empty {
  padding:16px 18px;
  border:1px dashed var(--field-border);
  border-radius:4px;
  font-size:14px;
}

.needs-choices {
  display:grid;
  gap:10px;
}

.needs-choices:empty {
  display:none;
}

.needs-choice {
  display:flex;
  align-items:flex-start;
  gap:14px;
  min-height:54px;
  padding:14px 16px;
  border:1px solid var(--field-border);
  border-radius:4px;
  background:var(--white);
  color:var(--ink);
  font-size:16px;
  line-height:1.5;
  cursor:pointer;
  transition:border-color .18s var(--ease),background .18s var(--ease);
}

.needs-choice:hover {
  border-color:var(--blue);
}

.needs-choice:has(input:checked) {
  border-color:var(--blue);
  background:#edf5fa;
  box-shadow:inset 0 0 0 1px var(--blue);
}

.needs-choice input {
  flex:none;
  width:20px;
  height:20px;
  margin:2px 0 0;
  accent-color:var(--blue);
}

.needs-choice-text {
  min-width:0;
  overflow-wrap:anywhere;
}

.needs-priority[aria-invalid="true"] .needs-choice,
.needs-priority[aria-invalid="true"] .needs-empty {
  border-color:var(--error);
}

/* Question 3: "no example yet" */
.needs-check {
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-top:14px;
}

.needs-check input {
  flex:none;
  width:20px;
  height:20px;
  margin:3px 0 0;
  accent-color:var(--blue);
}

.needs-question .needs-check label {
  margin:0;
  font-size:15px;
  font-weight:600;
  line-height:1.6;
  cursor:pointer;
}

/* Question 6: date and conditions belong together */
.needs-pair {
  display:grid;
  grid-template-columns:minmax(0,240px) minmax(0,1fr);
  gap:22px 20px;
  align-items:start;
}

.needs-pair .form-field {
  margin-top:0;
}

/* Example answers: always visible, never inside a field and never styled like one. */
.needs-examples {
  margin-top:28px;
  padding:2px 0 2px 18px;
  border-left:2px solid var(--diagram-line);
}

.needs-examples-label {
  color:var(--ink);
  font-size:12px;
  font-weight:650;
  line-height:1.6;
}

.needs-examples ul {
  display:grid;
  gap:6px;
  margin:6px 0 0;
  padding:0;
  list-style:none;
}

.needs-examples li {
  color:var(--copy);
  font-size:14px;
  font-style:italic;
  line-height:1.65;
  overflow-wrap:anywhere;
}

/* Actions and states */
.needs-actions {
  display:grid;
  justify-items:start;
  gap:16px;
  padding-top:40px;
  border-top:1px solid var(--line);
}

.needs-review-note {
  max-width:52ch;
  font-size:14px;
}

.needs-form .button:disabled {
  opacity:.65;
  cursor:not-allowed;
}

.needs-form[aria-busy="true"] .button:disabled {
  cursor:wait;
}

.needs-noscript {
  margin-bottom:32px;
  padding:18px;
  border:1px solid var(--field-border);
  border-radius:4px;
  background:var(--white);
}

.needs-noscript p,.needs-noscript-inline {
  color:var(--ink);
  font-size:14px;
}

.needs-noscript a {
  color:var(--blue);
  text-decoration:underline;
}

.needs-form .form-errors:focus {
  outline:3px solid var(--focus);
  outline-offset:4px;
}

.needs-form .field-error {
  overflow-wrap:anywhere;
}

.needs-form .privacy-field-error {
  margin-top:8px;
}

/* Review */
.needs-review h2,.needs-done h2 {
  font-size:clamp(34px,3.6vw,48px);
  line-height:1.12;
}

.needs-review-intro {
  max-width:62ch;
  margin-top:16px;
  font-size:16px;
}

.needs-review .form-errors {
  margin:28px 0 0;
}

.needs-summary {
  margin:36px 0 0;
  border-top:1px solid var(--line);
}

.needs-summary-item {
  padding-block:24px;
  border-bottom:1px solid var(--line);
}

.needs-summary dt {
  color:var(--ink);
  font-size:15px;
  font-weight:650;
  line-height:1.5;
}

.needs-summary dt .needs-number {
  margin-right:6px;
}

.needs-summary dd {
  margin:10px 0 0;
}

.needs-summary dd p,.needs-summary dd li {
  color:var(--ink);
  font-size:16px;
  line-height:1.65;
  white-space:pre-line;
  overflow-wrap:anywhere;
}

.needs-summary dd p+p {
  margin-top:8px;
}

.needs-summary dd ol {
  display:grid;
  gap:4px;
  margin:0;
  padding-left:22px;
}

.needs-summary-label {
  display:block;
  color:var(--copy);
  font-size:12px;
  font-weight:650;
}

.needs-summary .needs-unspecified {
  color:var(--copy);
  font-style:italic;
}

.needs-send {
  display:grid;
  gap:22px;
  margin-top:36px;
}

.needs-send .privacy-acknowledgment {
  margin:0;
}

.needs-send-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px 18px;
}

.needs-secondary {
  padding:0 20px;
  min-height:54px;
  border:1px solid var(--field-border);
  background:var(--white);
  color:var(--ink);
}

.needs-secondary:hover {
  border-color:var(--blue);
  color:var(--blue);
}

.needs-secondary:disabled {
  opacity:.65;
  cursor:wait;
}

/* Done */
.needs-done {
  padding-block:24px 8px;
}

.needs-done-mark {
  width:48px;
  height:48px;
  padding:10px;
  border:1px solid var(--blue);
  border-radius:50%;
  fill:none;
  stroke:var(--blue);
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.needs-done h2 {
  max-width:18ch;
  margin-top:24px;
}

.needs-done p {
  max-width:56ch;
  margin-block:20px 32px;
  font-size:17px;
}

@media(max-width:1100px) {
  .needs-layout {
    grid-template-columns:200px minmax(0,1fr);
    gap:48px;
  }
}

@media(max-width:1150px) {
  .needs-nav {
    top:108px;
  }
}

/* One column: the form keeps the full width and the section list steps aside. */
@media(max-width:900px) {
  .needs-layout {
    grid-template-columns:minmax(0,1fr);
  }

  .needs-nav {
    display:none;
  }

  .needs-main {
    max-width:none;
  }
}

@media(max-width:800px) {
  .needs-hero {
    padding-block:56px 48px;
  }

  .needs-hero h1 {
    font-size:clamp(40px,8vw,60px);
  }

  .needs-lead p {
    font-size:17px;
  }

  .needs-band {
    padding-block:56px 76px;
  }
}

@media(max-width:600px) {
  .needs-hero {
    padding-block:40px 40px;
  }

  .needs-hero h1 {
    font-size:clamp(30px,9.6vw,48px);
  }

  .needs-lead p {
    font-size:16px;
  }

  .needs-question {
    padding-block:40px;
  }

  .needs-question h2 {
    font-size:23px;
  }

  .needs-pair,.needs-contact .form-grid {
    grid-template-columns:minmax(0,1fr);
  }

  .needs-remove {
    padding:0 12px;
  }

  .needs-actions .button,.needs-send-actions .button,.needs-send-actions .needs-secondary,.needs-done .button {
    width:100%;
  }

  .needs-send-actions {
    flex-direction:column;
    align-items:stretch;
  }
}

@media(prefers-reduced-motion:reduce) {
  .needs-nav a,.needs-remove,.needs-add,.needs-secondary,.needs-choice {
    transition:none;
  }
}

@media print {
  .site-header,.site-footer,.needs-nav,.needs-actions,.needs-send,.cookie-banner {
    display:none!important;
  }

  .needs-band {
    background:none;
    padding:0;
  }
}
