:root {
  --brand: #034e5f;
  --navy: #06131f;
  --aqua: #40dbe8;
  --violet: #8b6cf6;
  --mint: #82f0c5;
  --ice: #eefcff;
  --ink: #f3fbfd;
  --muted: #a9c9d1;
  --line: rgba(185, 244, 255, 0.18);
  --macos-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

@view-transition { navigation: auto; }

::view-transition-old(root) { animation: 360ms var(--macos-ease) both page-fade-out; }
::view-transition-new(root) { animation: 520ms var(--macos-ease) both page-fade-in; }

@keyframes page-fade-out {
  to { opacity: 0; transform: translate3d(0, -0.35rem, 0); }
}

@keyframes page-fade-in {
  from { opacity: 0; transform: translate3d(0, 0.55rem, 0); }
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 20%, rgba(64, 219, 232, 0.15), transparent 30%),
    radial-gradient(circle at 78% 8%, rgba(139, 108, 246, 0.18), transparent 31%),
    linear-gradient(135deg, #020911 0%, var(--navy) 42%, #021a23 74%, #03070d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 9, 17, 0.86), rgba(3, 78, 95, 0.08), rgba(3, 7, 13, 0.9)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 5px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 100%;
  padding: 1.1rem clamp(1rem, 3vw, 3rem);
  background: linear-gradient(180deg, rgba(2, 9, 17, 0.82), rgba(2, 9, 17, 0.2));
  backdrop-filter: blur(18px);
}

.brand-logo {
  display: block;
  width: clamp(9rem, 16vw, 15rem);
  max-width: min(15rem, 54vw);
  max-height: 3.5rem;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(64, 219, 232, 0.22));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.6rem);
  min-width: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.menu-toggle {
  display: none;
  width: 2.85rem;
  height: 2.85rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(185, 244, 255, 0.18);
  border-radius: 8px;
  color: var(--ice);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 1.18rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle {
  flex-direction: column;
  gap: 0.28rem;
}

.site-header.is-open .menu-toggle span {
  opacity: 0;
}

.site-header.is-open .menu-toggle::before {
  transform: translateY(0.38rem) rotate(45deg);
}

.site-header.is-open .menu-toggle::after {
  transform: translateY(-0.38rem) rotate(-45deg);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(185, 244, 255, 0.16);
  border-radius: 999px;
  padding: 0.2rem;
  background: rgba(255, 255, 255, 0.045);
}

.lang-toggle button {
  border: 0;
  border-radius: 999px;
  padding: 0.32rem 0.58rem;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.lang-toggle button.is-active {
  color: var(--brand);
  background: linear-gradient(135deg, var(--ice), #b9f3e6);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--brand);
  background: linear-gradient(135deg, var(--ice), #b9f3e6);
  box-shadow: 0 10px 30px rgba(64, 219, 232, 0.16);
}

.site-nav a {
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  transition: color 280ms var(--macos-ease), background 280ms var(--macos-ease), box-shadow 280ms var(--macos-ease);
}

.page-main {
  width: min(1120px, calc(100% - 2rem));
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.page-card {
  border: 1px solid rgba(185, 244, 255, 0.16);
  border-radius: 8px;
  max-width: 100%;
  padding: clamp(1.2rem, 3vw, 2.4rem);
  background: rgba(3, 18, 28, 0.52);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0 0 1.3rem;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.92;
  overflow-wrap: anywhere;
}

h2,
h3 {
  margin: 1.5rem 0 0.65rem;
  color: var(--ice);
}

p {
  margin: 0 0 1rem;
  color: #c7e4ea;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.78;
  overflow-wrap: break-word;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.info-block {
  min-width: 0;
  border: 1px solid rgba(185, 244, 255, 0.13);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.045);
}

.info-block h3 {
  margin-top: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(min(100%, 18rem), 1.1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(185, 244, 255, 0.16);
  border-radius: 8px;
  padding: 0.9rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.065);
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #64748b;
  opacity: 0.62;
}

.phone-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  border: 1px solid rgba(185, 244, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  overflow: hidden;
}

.phone-field span {
  padding: 0 0.9rem;
  color: var(--ice);
  font-weight: 800;
  border-right: 1px solid rgba(185, 244, 255, 0.16);
}

.phone-field input {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.form-error {
  min-height: 1.2rem;
  margin: -0.35rem 0 0;
  color: #ffb8c4;
  font-size: 0.92rem;
}

.turnstile-holder {
  min-height: 1px;
}

.contact-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 0;
  border-radius: 8px;
  padding: 0 1.2rem;
  color: var(--brand);
  background: linear-gradient(135deg, var(--ice), #b9f3e6);
  font-weight: 800;
  cursor: pointer;
}

.map-frame {
  width: 100%;
  min-height: 24rem;
  border: 0;
  border-radius: 8px;
  filter: saturate(0.82) contrast(1.05);
}

.map-consent-placeholder {
  width: 100%;
  min-height: 24rem;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(185, 244, 255, 0.16);
  border-radius: 8px;
  background: rgba(3, 78, 95, 0.12);
}

.map-consent-placeholder[hidden] {
  display: none;
}

.map-consent-placeholder p {
  max-width: 30rem;
  margin: 0;
  color: var(--muted);
}

.workflow-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 1rem;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1rem;
}

.workflow-item {
  min-width: 0;
  min-height: 8.5rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(185, 244, 255, 0.16);
  border-radius: 8px;
  color: var(--ice);
  border-color: color-mix(in srgb, var(--accent, #40dbe8) 58%, rgba(185, 244, 255, 0.16));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent, #40dbe8) 26%, transparent), rgba(139, 108, 246, 0.08)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24), inset 0 0 28px color-mix(in srgb, var(--accent, #40dbe8) 14%, transparent);
  padding: 1rem;
  text-align: center;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.02em;
  overflow-wrap: break-word;
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: transform 180ms ease, border-color 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
}

.workflow-item:active {
  cursor: grabbing;
}

.workflow-item.is-dragging {
  opacity: 0.88;
  transform: scale(1.05);
  border: 2px dashed #6d8cff;
  box-shadow: 0 30px 90px rgba(64, 219, 232, 0.28), 0 0 0 4px rgba(109, 140, 255, 0.14);
  z-index: 3;
}

.workflow-item.is-touch-dragging {
  position: relative;
  pointer-events: none;
}

.workflow-item.is-ghost {
  opacity: 0.4;
  border-style: dashed;
}

.workflow-closing {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-top: clamp(1.4rem, 3vw, 2rem);
  border-top: 1px solid rgba(185, 244, 255, 0.14);
}

.workflow-closing h2 {
  max-width: 18ch;
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.workflow-closing p {
  max-width: 68rem;
}

/* İş Akışları landing page */
.workflow-page {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.workflow-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  min-height: min(48rem, calc(100vh - 5rem));
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.workflow-hero h1 {
  max-width: 16ch;
  margin-inline: auto;
  color: var(--ice);
  font-size: clamp(3.2rem, 7.2vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 8px 50px rgba(64, 219, 232, 0.18);
}

.workflow-hero-copy {
  width: 100%;
  min-width: 0;
  text-align: center;
}

.workflow-hero-copy > p:not(.eyebrow) {
  max-width: 50rem;
  margin-inline: auto;
}

.workflow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
  justify-content: center;
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--ice);
  background: rgba(255, 255, 255, 0.055);
}

.workflow-diagram {
  width: min(100%, 68rem);
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: rgba(3, 18, 28, 0.72);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.4), 0 0 60px rgba(64, 219, 232, 0.08);
  backdrop-filter: blur(22px);
}

.workflow-diagram-head,
.workflow-node,
.range-field > div,
.calculator-result > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.workflow-diagram-head {
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 0.8rem;
}

.workflow-diagram-head strong {
  border: 1px solid rgba(130, 240, 197, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  color: var(--mint);
  background: rgba(130, 240, 197, 0.08);
  font-size: 0.65rem;
}

.workflow-node {
  border: 1px solid rgba(185, 244, 255, 0.14);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.045);
  min-height: 7rem;
}

.workflow-node > div {
  flex: 1;
  min-width: 0;
}

.workflow-node b,
.workflow-node small {
  display: block;
}

.workflow-node small {
  margin-top: 0.22rem;
  color: var(--muted);
  line-height: 1.35;
}

.workflow-node em {
  color: var(--aqua);
  font-size: 0.72rem;
  font-style: normal;
  white-space: nowrap;
}

.workflow-dot {
  width: 0.65rem;
  height: 0.65rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 18px var(--aqua);
}

.workflow-node.is-processing .workflow-dot { background: #fbbf24; box-shadow: 0 0 18px #fbbf24; }
.workflow-node.is-processing em { color: #fcd34d; }
.workflow-node.is-success { border-color: rgba(130, 240, 197, 0.25); }
.workflow-node.is-success .workflow-dot { background: var(--mint); box-shadow: 0 0 18px var(--mint); }
.workflow-node.is-success em { color: var(--mint); }

.workflow-arrow {
  display: grid;
  place-items: center;
  width: 1.4rem;
  color: rgba(185, 244, 255, 0.32);
  text-align: center;
  font-size: 1.25rem;
}

.workflow-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid rgba(185, 244, 255, 0.1);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-heading h2,
.workflow-cta h2 {
  margin-top: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.03;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.workflow-feature-grid,
.workflow-steps {
  display: grid;
  gap: 1rem;
}

.workflow-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.workflow-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.workflow-feature-card,
.workflow-steps article {
  min-width: 0;
  border: 1px solid rgba(185, 244, 255, 0.14);
  border-radius: 8px;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: linear-gradient(135deg, rgba(64, 219, 232, 0.08), rgba(139, 108, 246, 0.06)), rgba(255, 255, 255, 0.035);
}

.workflow-feature-card h3,
.workflow-steps h3 { margin-top: 1.2rem; }
.workflow-feature-card p,
.workflow-steps p { margin-bottom: 0; font-size: 0.98rem; }

.workflow-card-icon,
.workflow-steps article > span {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 8px;
  color: var(--navy);
  background: var(--aqua);
  font-weight: 900;
}

.workflow-card-icon.is-violet { background: var(--violet); color: white; }
.workflow-steps article > span { color: var(--brand); background: linear-gradient(135deg, var(--ice), #b9f3e6); }

.calculator-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.82fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.2rem, 4vw, 2.5rem);
  background: rgba(3, 18, 28, 0.62);
}

.calculator-inputs { display: grid; gap: 2rem; align-content: center; }
.range-field label { color: var(--ice); font-weight: 700; }
.range-field output { color: var(--aqua); font-weight: 900; white-space: nowrap; }
.range-field input { width: 100%; margin-top: 1rem; accent-color: var(--aqua); cursor: pointer; }

.calculator-result {
  border: 1px solid rgba(130, 240, 197, 0.2);
  border-radius: 8px;
  padding: clamp(1.2rem, 3vw, 2rem);
  text-align: center;
  background: rgba(2, 9, 17, 0.72);
}

.calculator-result > span { color: var(--muted); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.calculator-result > strong { display: block; margin: 0.8rem 0 1.6rem; color: var(--mint); font-size: clamp(2rem, 5vw, 3.6rem); overflow-wrap: anywhere; }
.calculator-result p { flex: 1; margin: 0 0 1.5rem; }
.calculator-result small,
.calculator-result b { display: block; }
.calculator-result small { color: var(--muted); }
.calculator-result .btn { width: 100%; }
.calculator-note { margin: 0.8rem 0 0; color: var(--muted); font-size: 0.82rem; text-align: center; }

.workflow-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 1rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  background: linear-gradient(135deg, rgba(64, 219, 232, 0.12), rgba(139, 108, 246, 0.12));
}

.workflow-cta h2 { max-width: 14ch; }
.workflow-cta p:not(.eyebrow) { max-width: 45rem; margin-bottom: 0; }
.workflow-cta .btn { flex: 0 0 auto; }

.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(min(100%, 20rem), 0.75fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.project-hero h1 {
  max-width: 14ch;
}

.project-process {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.project-process h2,
.project-outcomes h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.project-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.project-step {
  min-width: 0;
  border: 1px solid rgba(185, 244, 255, 0.14);
  border-radius: 8px;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(64, 219, 232, 0.1), rgba(139, 108, 246, 0.08)),
    rgba(255, 255, 255, 0.04);
}

.project-step span {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(185, 244, 255, 0.2);
  border-radius: 8px;
  color: var(--brand);
  background: linear-gradient(135deg, var(--ice), #b9f3e6);
  font-weight: 900;
}

.project-step h3 {
  margin-top: 1rem;
}

.project-outcomes {
  min-width: 0;
  border: 1px solid rgba(185, 244, 255, 0.14);
  border-radius: 8px;
  padding: clamp(1rem, 2.4vw, 1.4rem);
  background: rgba(255, 255, 255, 0.045);
}

.project-outcomes ul {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.project-outcomes li {
  min-width: 0;
  border-left: 2px solid var(--aqua);
  padding-left: 0.8rem;
  color: #c7e4ea;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  background: rgba(2, 9, 17, 0.5);
  backdrop-filter: blur(8px);
}

.modal-backdrop.is-open {
  display: grid;
}

.modal-card {
  width: min(28rem, 84vw);
  min-height: 16vh;
  display: grid;
  place-items: center;
  border: 1px solid rgba(185, 244, 255, 0.22);
  border-radius: 8px;
  padding: 1.4rem;
  text-align: center;
  color: var(--ice);
  background: rgba(3, 18, 28, 0.92);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.45), 0 0 70px rgba(64, 219, 232, 0.16);
  font-weight: 900;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 0.45rem;
    font-size: 0.82rem;
  }

  .site-nav a {
    padding: 0.34rem 0.52rem;
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: center;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 4.8rem;
    right: 1rem;
    left: 1rem;
    width: auto;
    max-width: calc(100vw - 2rem);
    display: grid;
    gap: 0.35rem;
    padding: 0.8rem;
    border: 1px solid rgba(185, 244, 255, 0.16);
    border-radius: 8px;
    background: rgba(3, 18, 28, 0.94);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(22px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.35rem);
    transition: opacity 320ms var(--macos-ease), transform 360ms var(--macos-ease);
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    display: block;
    padding: 0.82rem 0.85rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a[aria-current="page"] {
    color: var(--brand);
    background: linear-gradient(135deg, var(--ice), #b9f3e6);
    box-shadow: 0 10px 30px rgba(64, 219, 232, 0.16);
  }

  .lang-toggle {
    width: 100%;
    justify-content: space-between;
    margin-top: 0.35rem;
    border-radius: 8px;
  }

  .lang-toggle button {
    flex: 1;
    padding: 0.62rem 0.75rem;
  }

  .feature-grid,
  .contact-layout,
  .feature-grid,
  .contact-layout,
  .project-hero,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4.5rem);
  }
}

@media (max-width: 900px) {
  .calculator-panel { grid-template-columns: 1fr; }
  .workflow-hero { min-height: auto; }
  .workflow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-flow { grid-template-columns: 1fr; }
  .workflow-arrow { width: auto; height: 1.4rem; transform: rotate(90deg); }
}

@media (max-width: 600px) {
  .workflow-page { width: min(calc(100% - 1.25rem), 1180px); }
  .workflow-hero h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 11.5vw, 3.2rem);
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
  }
  .workflow-diagram-head { flex-wrap: wrap; }
  .workflow-feature-grid,
  .workflow-steps { grid-template-columns: 1fr; }
  .workflow-actions,
  .workflow-actions .btn { width: 100%; }
  .workflow-node { align-items: flex-start; gap: 0.65rem; }
  .workflow-node em { display: none; }
  .range-field > div { align-items: flex-start; }
  .workflow-cta { align-items: stretch; flex-direction: column; }
  .workflow-cta .btn { width: 100%; }
}
