.edv-page {
  --edv-panel: #fffcf6;
  --edv-muted: rgb(11 17 19 / 64%);
  --edv-faint: rgb(11 17 19 / 44%);
  --edv-line: rgb(11 17 19 / 14%);
  --edv-line-strong: rgb(11 17 19 / 30%);
  --edv-accent-soft: rgb(240 77 33 / 9%);
  --edv-edevlet-red: #EB212E;
  --edv-ease: cubic-bezier(0.2, 0, 0, 1);
  --edv-hero-texture: image-set(
    url("./assets/hero-texture-20260902a.avif") type("image/avif"),
    url("./assets/hero-texture-20260902a.webp") type("image/webp")
  );

  color: var(--ink);
  background: var(--bg);
  scrollbar-color: var(--accent) var(--bg);
  caret-color: var(--accent);
}

.edv-page ::selection {
  color: var(--ink);
  background: rgb(240 77 33 / 24%);
}

.edv-page :focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.edv-page main {
  overflow: clip;
}

.edv-page h1,
.edv-page h2,
.edv-page h3,
.edv-page p,
.edv-page figure,
.edv-page ul {
  margin: 0;
}

.edv-page h1,
.edv-page h2,
.edv-page h3 {
  text-wrap: balance;
}

.edv-page p {
  text-wrap: pretty;
}

/* Phosphor sprite: filled paths, unlike the stroked site nav sprite. */
.edv-prep-grid svg,
.edv-path-tabs svg,
.edv-step-rail svg,
.edv-warning svg,
.edv-step-controls svg {
  flex: 0 0 auto;
  fill: currentcolor;
  stroke: none;
}

/* Hero ------------------------------------------------------------------ */

.edv-hero {
  position: relative;
  display: grid;
  isolation: isolate;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1.16fr);
  gap: 0 clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding-block: 0 clamp(2rem, 4vh, 3rem);
}

.edv-hero-copy {
  position: relative;
  min-width: 0;
}

.edv-hero-watermark {
  position: absolute;
  z-index: -1;
  bottom: 0.62em;
  left: 50%;
  width: 2.6em;
  height: 1.99em;
  color: var(--edv-edevlet-red);
  opacity: 0.24;
  transform: translateX(-50%);
  pointer-events: none;
}

.edv-hero-accent {
  position: relative;
  color: var(--edv-edevlet-red);
  white-space: nowrap;
}

.edv-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12% -22% -30%;
  opacity: 0.9;
  background: var(--edv-hero-texture) center / cover no-repeat;
  mask-image: radial-gradient(ellipse 78% 82% at 62% 46%, #000 12%, transparent 74%);
}

.edv-breadcrumbs {
  display: flex;
  min-height: 48px;
  grid-column: 1 / -1;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--edv-line);
  color: var(--edv-muted);
  font-size: 0.76rem;
}

.edv-breadcrumbs a {
  text-underline-offset: 0.2em;
}

.edv-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 22ch;
  font-size: clamp(2rem, 3.05vw, 2.75rem);
  text-wrap: balance;
  font-weight: 740;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.edv-hero .edv-hero-lead {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  margin-top: clamp(1.25rem, 2vw, 1.75rem);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.55;
}

.edv-hero .edv-hero-lead span {
  color: var(--edv-muted);
}

.edv-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Akış alanı ------------------------------------------------------------ */

.edv-flow {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.edv-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: linear-gradient(var(--edv-line) 1px, transparent 1px);
  background-size: 100% 32px;
  pointer-events: none;
}

.edv-flow::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bg), transparent 26%),
    linear-gradient(to left, var(--bg), transparent 26%),
    linear-gradient(to bottom, var(--bg), transparent 8%, transparent 92%, var(--bg));
  pointer-events: none;
}

.edv-flow-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1000 / 800;
  margin-inline: auto;
  container-type: inline-size;
}

.edv-flow-wire {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.edv-flow-wire path {
  fill: none;
  stroke: var(--edv-line-strong);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 8 6;
}

.edv-flow-cards {
  margin: 0;
  padding: 0;
  list-style: none;
}

.edv-flow-card {
  position: absolute;
  top: var(--edv-card-top);
  left: var(--edv-card-left, auto);
  right: var(--edv-card-right, auto);
  width: 28%;
  transform: rotate(var(--edv-card-rotate));
  transition: transform 300ms var(--edv-ease);
}

.edv-flow-card-final {
  width: 34%;
  z-index: 2;
}

.edv-flow-card-final .edv-flow-card-shell {
  box-shadow:
    0 10px 26px rgb(11 17 19 / 14%),
    0 0 0 7px rgb(240 77 33 / 7%);
}

.edv-flow-card-final .edv-flow-card-body {
  border-color: rgb(240 77 33 / 38%);
}

.edv-flow-card:hover,
.edv-flow-card:focus-within {
  z-index: 4;
  transform: rotate(var(--edv-card-rotate)) scale(1.05);
}

.edv-flow-card-shell {
  padding: 1.2cqw;
  border: 1px solid var(--edv-line);
  border-radius: 3.4cqw;
  background: #fff;
  box-shadow: 0 6px 16px rgb(11 17 19 / 12%);
}

.edv-flow-pin {
  display: block;
  width: 9cqw;
  height: 5.45cqw;
  margin: 1.6cqw auto 2.4cqw;
}

.edv-flow-pin-outline {
  color: var(--edv-faint);
}

.edv-flow-pin-final {
  width: 12.5cqw;
  height: 7.6cqw;
  margin-block: 2cqw 3cqw;
  color: var(--accent);
}

.edv-flow-card-body {
  padding: 2.2cqw;
  text-align: center;
  border: 1px solid;
  border-radius: 2.2cqw;
}

.edv-flow-card-accent .edv-flow-card-body {
  border-color: rgb(240 77 33 / 22%);
  background: var(--edv-accent-soft);
}

.edv-flow-card-ink .edv-flow-card-body {
  border-color: var(--edv-line);
  background: var(--edv-panel);
}

.edv-flow-card h3 {
  margin-bottom: 1.2cqw;
  font-size: 2.9cqw;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.edv-flow-card-icons {
  display: flex;
  justify-content: center;
  gap: 2.4cqw;
  margin: 2.4cqw 0 0.6cqw;
}

.edv-flow-card-icons svg {
  width: 4.8cqw;
  height: 4.8cqw;
  fill: currentcolor;
  stroke: none;
}

.edv-flow-card-accent .edv-flow-card-icons {
  color: var(--accent);
}

.edv-flow-card-ink .edv-flow-card-icons {
  color: var(--ink);
}

.edv-flow-card p {
  color: var(--edv-muted);
  font-size: 2cqw;
  line-height: 1.42;
  letter-spacing: -0.005em;
}

@media (prefers-reduced-motion: no-preference) {
  .edv-flow-wire path {
    animation: edv-flow-run 3s linear infinite;
  }

  @keyframes edv-flow-run {
    to { stroke-dashoffset: -140; }
  }
}

/* Gerekenler ------------------------------------------------------------ */

.edv-prep,
.edv-guide {
  padding: clamp(1.5rem, 2.6vw, 2.25rem) clamp(1rem, 2.2vw, 2rem);
  border-block: 1px solid var(--edv-line);
  background: var(--edv-panel);
}

.edv-prep {
  border-bottom: 0;
}

.edv-guide {
  scroll-margin-top: 4.5rem;
}

.edv-prep-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
}

.edv-prep-head h2 {
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.edv-prep-head p {
  color: var(--edv-muted);
  font-size: var(--text-sm);
}

.edv-prep-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.25rem;
  padding: 0;
  border-top: 1px solid var(--edv-line);
  list-style: none;
}

.edv-prep-grid li {
  display: grid;
  min-height: 0;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.9rem;
  align-content: center;
  padding: 1rem 1.5rem 0.25rem 0;
}

.edv-prep-grid li + li {
  padding-left: 1.5rem;
  border-left: 1px solid var(--edv-line);
}

.edv-prep-grid svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.edv-prep-grid h3 {
  font-size: 1.02rem;
  font-weight: 660;
  line-height: 1.25;
}

.edv-prep-grid p {
  margin-top: 0.3rem;
  color: var(--edv-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.edv-visually-hidden {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Rehber ---------------------------------------------------------------- */



.edv-path-tabs {
  display: flex;
  width: fit-content;
  gap: 2px;
  margin-inline: auto;
  padding: 3px;
  border-radius: 8px;
  background: rgb(11 17 19 / 5%);
}

.edv-path-tabs button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--edv-muted);
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color 160ms var(--edv-ease), background-color 160ms var(--edv-ease), box-shadow 160ms var(--edv-ease);
}

.edv-path-tabs button svg {
  width: 16px;
  height: 16px;
}

.edv-path-tabs button:hover {
  color: var(--ink);
}

.edv-path-tabs button[aria-selected="true"] {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 1px 2px rgb(11 17 19 / 10%);
}

.edv-path-tabs button[aria-selected="true"] svg {
  color: var(--accent);
}

.edv-path-panel[hidden] {
  display: none;
}

.edv-step-rail {
  position: sticky;
  z-index: 3;
  top: 0;
  display: flex;
  counter-reset: edv-step;
  gap: 6px;
  justify-content: space-between;
  overflow-x: auto;
  margin-top: 1.25rem;
  padding: 0.5rem 0.25rem 0.75rem;
  border-bottom: 1px solid var(--edv-line);
  background: var(--edv-panel);
  scroll-padding-inline: 0.25rem;
  scrollbar-width: none;
}

.edv-step-rail::-webkit-scrollbar {
  display: none;
}

.edv-step-rail svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--edv-faint);
  transition: color 240ms var(--edv-ease), transform 420ms var(--edv-ease);
}

.edv-step-rail a {
  position: relative;
  display: flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  overflow: hidden;
  padding: 0.5rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--edv-muted);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: max-width 420ms var(--edv-ease), padding 420ms var(--edv-ease), color 240ms var(--edv-ease), background-color 240ms var(--edv-ease), border-color 240ms var(--edv-ease), box-shadow 420ms var(--edv-ease), transform 160ms var(--edv-ease);
}

.edv-guide.is-enhanced .edv-step-rail a {
  max-width: 64px;
  counter-increment: edv-step;
}

.edv-guide.is-enhanced .edv-step-rail a::before {
  content: counter(edv-step) ".";
  display: block;
  overflow: hidden;
  max-width: 1.75rem;
  flex: 0 0 auto;
  opacity: 1;
  font-variant-numeric: tabular-nums;
  transition: max-width 320ms var(--edv-ease), margin 320ms var(--edv-ease), opacity 180ms var(--edv-ease), transform 320ms var(--edv-ease);
}

.edv-step-label {
  display: block;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: max-width 420ms var(--edv-ease), opacity 240ms var(--edv-ease) 60ms, transform 420ms var(--edv-ease);
}

.edv-step-rail a:hover,
.edv-step-rail a:focus-visible {
  color: var(--ink);
  border-color: var(--edv-line);
  background: rgb(240 77 33 / 8%);
  transform: translateY(-2px);
}

.edv-step-rail a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.edv-step-rail a:active {
  transform: scale(0.96);
}

.edv-guide.is-enhanced .edv-step-rail a[aria-current="step"] {
  max-width: 190px;
  padding-inline: 0.9rem;
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 8px 18px rgb(132 30 19 / 18%);
}

.edv-guide.is-enhanced .edv-step-rail a[aria-current="step"]::before {
  max-width: 0;
  margin-right: -0.35rem;
  opacity: 0;
  transform: scale(0.5) translateX(-8px);
}

.edv-step-rail a[aria-current="step"] svg {
  color: var(--ink);
  transform: scale(1.08);
}

.edv-guide.is-enhanced .edv-step-rail a[aria-current="step"] .edv-step-label {
  max-width: 10rem;
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: no-preference) {
  .edv-guide.is-enhanced .edv-step-rail a[aria-current="step"] {
    animation: edv-step-expand 520ms var(--edv-ease);
  }

  .edv-guide.is-enhanced .edv-step-rail a[aria-current="step"] svg {
    animation: edv-step-icon-pop 520ms var(--edv-ease);
  }
}

@keyframes edv-step-expand {
  0% { transform: scale(0.9); }
  58% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

@keyframes edv-step-icon-pop {
  0% { opacity: 0; transform: scale(0.55) rotate(-18deg); }
  62% { opacity: 1; transform: scale(1.2) rotate(4deg); }
  100% { opacity: 1; transform: scale(1.08) rotate(0); }
}

.edv-step-stage {
  min-width: 0;
  overflow: hidden;
  margin-top: 0.35rem;
  border: 1px solid var(--edv-line);
  background: #fff;
  touch-action: pan-y;
}

.edv-step-track {
  display: flex;
  align-items: flex-start;
}

.edv-guide.is-enhanced .edv-step-track {
  transform: translateX(calc(var(--edv-slide, 0) * -100%));
  transition: transform 420ms var(--edv-ease);
}

.edv-step {
  display: grid;
  min-width: 100%;
  min-height: 560px;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(1rem, 2vw, 1.75rem);
}

.edv-step:has(.edv-step-wide) {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
}

.edv-guide:not(.is-enhanced) .edv-step {
  min-width: 0;
}

.edv-guide:not(.is-enhanced) .edv-step-track {
  display: grid;
  gap: 2rem;
}

.edv-step figure {
  justify-self: center;
  width: min(100%, 360px);
}

.edv-step figure.edv-step-wide {
  width: 100%;
}

.edv-step img {
  display: block;
  width: 100%;
  height: auto;
}

.edv-image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  transition: transform 160ms var(--edv-ease);
}

.edv-image-button:hover {
  transform: translateY(-3px);
}

.edv-image-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.edv-image-dialog {
  width: min(92vw, 1180px);
  max-width: none;
  max-height: 92dvh;
  padding: 3.5rem 1rem 1rem;
  border: 1px solid var(--edv-line-strong);
  border-radius: 8px;
  background: var(--edv-panel);
  box-shadow: 0 24px 64px rgb(11 17 19 / 24%);
}

.edv-image-dialog::backdrop {
  background: rgb(11 17 19 / 72%);
}

.edv-image-dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(92dvh - 5rem);
  margin-inline: auto;
}

.edv-image-dialog button {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--edv-line-strong);
  border-radius: 2px;
  color: var(--ink);
  background: var(--bg);
  font-weight: 650;
  cursor: pointer;
}

.edv-step-copy h3 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.edv-step-copy > p {
  max-width: 46ch;
  margin-top: 1.25rem;
  color: var(--edv-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.edv-applicant-types {
  display: grid;
  margin-top: 1.5rem;
  border-block: 1px solid var(--edv-line-strong);
}

.edv-applicant-types section {
  padding-block: 1rem;
}

.edv-applicant-types section + section {
  border-top: 1px solid var(--edv-line);
}

.edv-applicant-types h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.edv-applicant-types p {
  max-width: 52ch;
  margin: 0.4rem 0 0;
  color: var(--edv-muted);
  line-height: 1.6;
}

.edv-step-copy details,
.edv-warning {
  margin-top: 1.5rem;
  border-top: 1px solid var(--edv-line-strong);
}

.edv-step-copy summary {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 650;
  cursor: pointer;
}

.edv-step-copy summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
}

.edv-step-copy details[open] summary::after {
  content: "−";
}

.edv-step-copy details p {
  max-width: 52ch;
  padding-bottom: 1rem;
  color: var(--edv-muted);
  line-height: 1.6;
}

.edv-warning {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0.35rem 0.7rem;
  padding-top: 1rem;
  line-height: 1.5;
}

.edv-warning svg {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  color: #841e13;
}

.edv-warning strong {
  color: #841e13;
}

.edv-warning span {
  grid-column: 2;
  color: var(--edv-muted);
}

.edv-step-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  margin-top: 0.75rem;
}

.edv-step-controls button {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 0.4rem;
  padding-inline: 0.85rem;
  border: 1px solid var(--edv-line);
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 680;
  cursor: pointer;
  transition: color 160ms var(--edv-ease), background-color 160ms var(--edv-ease);
}

.edv-step-controls button svg {
  width: 20px;
  height: 20px;
}

.edv-step-controls button:hover:not(:disabled) {
  color: var(--accent);
  background: var(--edv-panel);
}

.edv-step-controls button:active:not(:disabled) {
  transform: translateY(1px);
}

.edv-step-controls button:disabled {
  color: var(--edv-faint);
  cursor: not-allowed;
}

.edv-step-controls p {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  text-align: center;
}

.edv-step-controls [data-position] {
  color: var(--edv-faint);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.edv-step-controls [data-current-title] {
  font-size: 0.92rem;
  font-weight: 660;
}

/* Destek ---------------------------------------------------------------- */

.edv-support {
  display: flex;
  min-height: 280px;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding-block: 4rem;
  border-top: 1px solid var(--ink);
}

.edv-support h2 {
  max-width: 24ch;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 730;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.edv-support > div > p {
  max-width: 62ch;
  margin-top: 1.2rem;
  color: var(--edv-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.edv-support-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 1.25rem;
}

.edv-footer {
  margin-top: 0;
}

/* Responsive ------------------------------------------------------------ */

@media (max-width: 980px) {
  .edv-prep-grid {
    grid-template-columns: 1fr;
  }

  .edv-prep-grid li + li {
    padding-left: 0;
    border-left: 0;
  }

  .edv-step {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .edv-step figure {
    width: min(86%, 340px);
  }

  .edv-step figure.edv-step-wide {
    width: 100%;
  }

  /* The wide-screenshot two-column rule outranks the single-column rule above,
     so it has to be reset at the same specificity or the copy column squeezes
     the screenshot out of the layout entirely. */
  .edv-step:has(.edv-step-wide) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1023px) {
  .edv-hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .edv-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.1rem, 6vw, 2.6rem);
  }

  .edv-flow-stage {
    display: grid;
    height: auto;
    aspect-ratio: auto;
    gap: 1.5rem;
    max-width: 420px;
    container-type: normal;
  }

  .edv-flow-card-shell {
    padding: 0.5rem;
    border-radius: 22px;
  }

  .edv-flow-pin {
    width: 76px;
    height: 46px;
    margin: 0.5rem auto 1rem;
  }

  .edv-flow-pin-final {
    width: 104px;
    height: 63px;
    margin: 0.5rem auto 1rem;
  }

  .edv-flow-card-body {
    padding: 14px;
    border-radius: 14px;
  }

  .edv-flow-card h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
  }

  .edv-flow-card-icons {
  display: flex;
  gap: 2.4cqw;
  margin: 2.4cqw 0 0.6cqw;
}

.edv-flow-card-icons svg {
  width: 4.8cqw;
  height: 4.8cqw;
  fill: currentcolor;
  stroke: none;
}

.edv-flow-card-accent .edv-flow-card-icons {
  color: var(--accent);
}

.edv-flow-card-ink .edv-flow-card-icons {
  color: var(--ink);
}

.edv-flow-card p {
    font-size: 0.9rem;
  }

  .edv-flow-wire {
    display: none;
  }

  .edv-flow-card {
    position: static;
    width: 100%;
    transform: none;
  }

  .edv-flow-card:hover,
  .edv-flow-card:focus-within {
    transform: none;
  }
}

@media (max-width: 720px) {
  .edv-hero {
    padding-block: 2.5rem 3.5rem;
  }


  .edv-hero h1 {
    max-width: 14ch;
    font-size: clamp(2.1rem, 9.5vw, 2.8rem);
  }


  .edv-path-tabs button {
    flex: 1;
    justify-content: center;
    padding-inline: 0.9rem;
    font-size: 0.98rem;
  }

  .edv-step {
    min-height: 0;
    padding: 1.25rem;
  }

  .edv-step-controls {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .edv-step-controls p {
    grid-column: 1 / -1;
    grid-row: 1;
    padding-bottom: 0.25rem;
  }

  .edv-step-controls button {
    grid-row: 2;
    justify-content: center;
  }



  .edv-support {
    display: grid;
  }

  .edv-support-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  /* Hero flow: the three stages stay side by side on a phone instead of
     stacking into three full-width cards. */
  .edv-flow::after {
    background: linear-gradient(to bottom, var(--bg), transparent 8%, transparent 92%, var(--bg));
  }

  .edv-flow-stage {
    max-width: none;
    gap: 0;
  }

  .edv-flow-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    align-items: start;
  }

  /* position: relative re-arms the absolute offsets the inline card styles
     still carry, so they have to be neutralised alongside it. */
  .edv-flow-card {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
  }

  .edv-flow-card + .edv-flow-card::before {
    content: "";
    position: absolute;
    top: 32%;
    left: -0.5rem;
    width: 0.5rem;
    border-top: 1px dashed var(--edv-line-strong);
  }

  .edv-flow-card-shell {
    padding: 6px;
    border-radius: 14px;
  }

  .edv-flow-pin {
    width: 44px;
    height: 27px;
    margin: 6px auto 8px;
  }

  .edv-flow-pin-final {
    width: 58px;
    height: 35px;
    margin: 6px auto 8px;
  }

  .edv-flow-card-body {
    padding: 8px 4px;
    border-radius: 10px;
  }

  .edv-flow-card h3 {
    margin-bottom: 4px;
    font-size: 0.84rem;
  }

  .edv-flow-card-icons {
    justify-content: center;
    gap: 5px;
    margin: 4px 0 0;
  }

  .edv-flow-card-icons svg {
    width: 13px;
    height: 13px;
  }

  /* Onay için gerekenler: three columns on a phone as well, icon above text. */
  .edv-prep-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .edv-prep-grid li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.45rem;
    justify-items: center;
    padding: 1rem 0.5rem 0.5rem;
    text-align: center;
  }

  .edv-prep-grid li + li {
    padding-left: 0.5rem;
    border-left: 1px solid var(--edv-line);
  }

  .edv-prep-grid svg {
    width: 22px;
    height: 22px;
  }

  .edv-prep-grid h3 {
    font-size: 0.84rem;
  }

  .edv-prep-grid p {
    margin-top: 0.2rem;
    font-size: 0.76rem;
  }

  /* Step rail: exactly three slots. The active step keeps icon and label in
     the middle column; the previous and next steps sit beside it as icons.
     Without the enhancement script no step carries aria-current, so the rail
     stays the scrollable flex list it is everywhere else. */
  .edv-guide.is-enhanced .edv-step-rail {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr) 3.25rem;
    gap: 0.4rem;
    align-items: center;
    overflow: hidden;
    padding-inline: 0;
  }

  .edv-guide.is-enhanced .edv-step-rail a {
    display: none;
    width: 100%;
    max-width: none;
    grid-row: 1;
  }

  .edv-guide.is-enhanced .edv-step-rail a:has(+ a[aria-current="step"]) {
    display: flex;
    grid-column: 1;
  }

  .edv-guide.is-enhanced .edv-step-rail a[aria-current="step"] {
    display: flex;
    grid-column: 2;
    max-width: none;
  }

  .edv-guide.is-enhanced .edv-step-rail a[aria-current="step"] + a {
    display: flex;
    grid-column: 3;
  }

  .edv-guide.is-enhanced .edv-step-rail a:not([aria-current="step"]) {
    justify-content: center;
    padding-inline: 0;
    border-color: var(--edv-line);
    background: #fff;
  }

  .edv-guide.is-enhanced .edv-step-rail a:not([aria-current="step"])::before {
    display: none;
  }

  .edv-guide.is-enhanced .edv-step-rail a:not([aria-current="step"]) svg {
    width: 20px;
    height: 20px;
  }

  .edv-guide.is-enhanced .edv-step-rail a[aria-current="step"] .edv-step-label {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edv-page *,
  .edv-page *::before,
  .edv-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
