:root {
  --ink: #0d0d0d;
  --muted: #5a5a5a;
  --faint: #9a9690;
  --line: #e4e0d8;
  --bg: #f7f5f1;
  --card: #fff;
  --accent: #5c6b52;
  --gold: #c9a227;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent); }
.az-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--line); gap: 12px; flex-wrap: wrap;
}
.az-brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit;
  font-family: 'Cormorant Garamond', serif; font-size: 1.25rem;
}
.az-brand img { border-radius: 50%; object-fit: cover; }
.az-top nav a {
  margin-left: 12px; font-size: 0.72rem; color: var(--muted); text-decoration: none; letter-spacing: 0.04em;
}
.az-main { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 28px 18px 48px; }
.az-main h1 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 1.85rem; margin-bottom: 10px;
}
.az-guide {
  font-size: 0.84rem; color: var(--muted); line-height: 1.65; margin-bottom: 22px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.az-progress { margin-bottom: 22px; }
.az-bar { height: 4px; background: var(--line); overflow: hidden; }
.az-fill {
  height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.az-meta {
  display: flex; justify-content: space-between; margin-top: 8px;
  font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.az-crumbs {
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 10px;
  font-size: 0.62rem; color: var(--faint); letter-spacing: 0.04em; text-transform: uppercase;
}
.az-crumbs li.done a, .az-crumbs li.now a { color: var(--ink); text-decoration: none; }
.az-crumbs li.now { font-weight: 600; color: var(--accent); }
.az-crumbs li.now::after { content: ''; }

.az-field { margin-bottom: 16px; }
.az-field label {
  display: block; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.az-hint { font-size: 0.78rem; color: var(--muted); line-height: 1.5; margin-bottom: 8px; }
.az-input {
  display: flex; align-items: center; border-bottom: 1.5px solid var(--line); padding: 6px 0;
}
.az-input:focus-within { border-color: var(--ink); }
.az-input input, .az-input select {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-family: inherit; font-size: max(16px, 1.15rem); color: var(--ink); width: 100%;
}
.az-input span { font-size: 0.72rem; color: var(--muted); padding-left: 8px; }
.az-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .az-row { grid-template-columns: 1fr; } }

.az-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.az-opt {
  flex: 1 1 30%; min-width: 100px; padding: 12px 10px; border: 1.5px solid var(--line);
  background: var(--card); font-size: 0.78rem; color: var(--muted); cursor: pointer; text-align: center;
}
.az-opt.active, .az-opt:hover { border-color: var(--accent); color: var(--ink); }
.az-opt.active { background: var(--accent); color: #fff; }

.az-seg { display: flex; gap: 6px; margin-bottom: 18px; }
.az-seg a, .az-seg button {
  flex: 1; padding: 12px; border: 1.5px solid var(--line); background: transparent;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  text-decoration: none; text-align: center; cursor: pointer; font-family: inherit;
}
.az-seg a.active, .az-seg button.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.az-nav { display: flex; gap: 8px; margin-top: 28px; }
.az-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 12px; background: var(--accent); color: #fff; border: 0;
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; font-family: inherit; font-weight: 500;
}
.az-btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.az-btn.disabled { opacity: 0.35; pointer-events: none; }

/* Sonuç sayfası — düzenli aksiyonlar + görsel */
.az-result-page { max-width: 480px; }
.az-kicker {
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.az-hero-fig {
  display: flex; justify-content: center; margin: 8px 0 6px;
  background: linear-gradient(180deg, #f3efe8 0%, transparent 100%);
  border: 1px solid var(--line); padding: 12px 8px 4px;
}
.az-hero-fig svg { width: min(160px, 42vw); height: auto; }
.az-card .lbl.sub { margin-top: 6px; text-transform: none; letter-spacing: 0; font-size: 0.62rem; }
.az-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 14px 0 8px;
}
@media (max-width: 420px) { .az-detail-grid { grid-template-columns: 1fr; } }
.az-detail {
  border: 1px solid var(--line); background: var(--card); padding: 12px 10px; text-align: center;
}
.az-detail .lbl { font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.az-detail .val-sm {
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--accent); line-height: 1.2;
}
.az-guide-tight { margin-top: 18px; margin-bottom: 14px; padding-bottom: 14px; }
.az-actions {
  display: flex; flex-direction: column; gap: 10px; margin-top: 8px; width: 100%;
}
.az-actions .az-btn { width: 100%; flex: none; }
.az-actions-row { display: flex; gap: 8px; width: 100%; }
.az-actions-row .az-btn { flex: 1; }

.az-err { display: none; color: #9b3a2a; font-size: 0.78rem; margin-top: 10px; }
.az-err.show { display: block; }

.az-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.az-card {
  background: var(--card); border: 1px solid var(--line); padding: 14px; text-align: center;
}
.az-card .lbl { font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.az-card .val { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--accent); }
.az-type { font-family: 'Cormorant Garamond', serif; font-size: 2.1rem; margin: 4px 0 8px; }
.az-type-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.55; margin-bottom: 8px; }
.az-note {
  font-size: 0.78rem; color: var(--muted); line-height: 1.55; padding: 12px;
  border: 1px solid var(--line); background: #f5f2ee; margin: 12px 0;
}

.az-foot {
  border-top: 1px solid var(--line); padding: 20px; text-align: center;
  font-size: 0.7rem; color: var(--muted);
}
.az-foot a { color: var(--muted); margin: 0 4px; }

.az-choice {
  display: block; padding: 18px 16px; border: 1.5px solid var(--line); margin-bottom: 10px;
  text-decoration: none; color: inherit; background: var(--card);
}
.az-choice:hover { border-color: var(--accent); }
.az-choice strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.az-choice span { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
