/* Convert Art — SewFlow-inspired: clean SaaS, violet accent */

:root {
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-hero: linear-gradient(180deg, #f5f3ff 0%, #ffffff 55%);
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-soft: #94a3b8;
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --accent-soft: #ede9fe;
  --accent-muted: #a78bfa;
  --border: #e2e8f0;
  --border-focus: #7c3aed;
  --error-bg: #fef2f2;
  --error-border: #fecaca;
  --error-text: #b91c1c;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(124, 58, 237, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --font-ui: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-script: "Dancing Script", "Segoe Script", cursive;
  --content-width: 800px;
  --page-padding-x: 1.5rem;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-container {
  max-width: var(--content-width);
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--page-padding-x);
}

/* Hero */

.hero {
  background: var(--bg-hero);
  padding: 2.5rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero .page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #ddd6fe;
  border-radius: var(--radius-pill);
}

.stats-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.site-footer .stats-counter {
  margin-bottom: 1rem;
}

.stats-counter__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--text-soft);
}

.stats-counter__text strong {
  font-weight: 700;
  color: var(--text);
}

.logo {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.08em;
  width: 100%;
  margin: 0;
  font-size: clamp(2.25rem, 5.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.logo__plain {
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--text);
}

.logo__script {
  font-family: var(--font-script);
  font-size: 1.2em;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0;
  position: relative;
  top: 0.08em;
}

.hero__lead {
  margin: 1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-weight: 400;
}

.hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.hero__trust-icon {
  font-size: 0.9rem;
}

/* Tool cards */

.tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: -1.5rem;
  position: relative;
  z-index: 1;
}

.tool-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.25rem 1.25rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-family: var(--font-ui);
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.tool-card:hover {
  border-color: #c4b5fd;
  box-shadow: var(--shadow);
}

.tool-card.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.tool-card__icon {
  font-size: 1.35rem;
  line-height: 1;
  margin-top: 0.15rem;
}

.tool-card__icon--svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.tool-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.tool-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.tool-card__formats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.format-pill {
  font-size: 0.68rem;
  font-weight: 600;
  font-family: ui-monospace, monospace;
  color: var(--accent);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
}

/* Workspace */

.workspace {
  flex: 1;
  padding-block: 2rem 2.5rem;
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}

.workspace-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.75rem 2rem;
}

.workspace-card__head {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.workspace-card__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.workspace-card__intro {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Form */

.form {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.field {
  margin-top: 1rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.file-drop {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.file-drop:focus-within {
  border-color: var(--accent-muted);
  background: var(--accent-soft);
}

.file-drop__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.file-drop__btn {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0.45rem 0.9rem;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.file-drop__btn:hover {
  background: var(--accent-hover);
}

.file-drop__name {
  flex: 1;
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

input[type="number"],
select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input[type="number"]:focus,
select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.field-hint {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.checkbox-row {
  margin-top: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.hint {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.45;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.btn:active:not(:disabled) {
  transform: scale(0.98);
}

.btn-primary {
  margin-top: 1.25rem;
  padding: 0.75rem 1.6rem;
  background: var(--accent);
  color: #fff;
  border: none;
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: wait;
}

.btn-secondary {
  padding: 0.6rem 1.15rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent-muted);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Error */

.error {
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  color: var(--error-text);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

/* Results */

.results:not([hidden]) {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.results {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

/* Conversion loader */

.conversion-loader[hidden],
.results-body[hidden] {
  display: none !important;
}

.conversion-loader:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0 1rem;
}

.conversion-loader__frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  min-height: 200px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  overflow: hidden;
}

.conversion-loader__frame--stitch,
.conversion-loader__frame--svg {
  display: flex;
  align-items: center;
  justify-content: center;
}

.conversion-loader__svg {
  display: block;
  width: 78%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

.conversion-loader__stitch {
  fill: none;
  stroke: var(--accent-muted);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 10 8;
  vector-effect: non-scaling-stroke;
  animation: stitchRun 2.4s linear infinite;
}

.conversion-loader__stitch--1 { animation-delay: 0s; }
.conversion-loader__stitch--2 { animation-delay: 0.35s; opacity: 0.85; }
.conversion-loader__stitch--3 { animation-delay: 0.7s; opacity: 0.7; }

@keyframes stitchRun {
  0% {
    stroke-dashoffset: 0;
    stroke: var(--accent-soft);
  }
  50% {
    stroke-dashoffset: -36;
    stroke: var(--accent);
  }
  100% {
    stroke-dashoffset: -72;
    stroke: var(--accent-soft);
  }
}

.conversion-loader__needle-track {
  position: absolute;
  left: 23%;
  right: 23%;
  top: 0;
  bottom: 0;
  pointer-events: none;
}

.conversion-loader__needle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 2px;
  height: 28px;
  margin-top: -14px;
  border-radius: 1px;
  background: linear-gradient(180deg, #cbd5e1 0%, #64748b 55%, #94a3b8 100%);
  transform-origin: center bottom;
  animation: needleSew 2.4s ease-in-out infinite;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.conversion-loader__needle::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: #64748b;
}

@keyframes needleSew {
  0%, 100% {
    left: 0;
    transform: rotate(-8deg);
  }
  50% {
    left: calc(100% - 2px);
    transform: rotate(8deg);
  }
}

.conversion-loader__trace {
  fill: none;
  stroke: var(--accent-muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: traceDraw 2.2s ease-in-out infinite;
}

.conversion-loader__trace--2 {
  stroke: var(--accent);
  opacity: 0.55;
  animation-delay: 0.4s;
}

@keyframes traceDraw {
  0% {
    stroke-dashoffset: 320;
    opacity: 0.35;
  }
  45%, 55% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -320;
    opacity: 0.35;
  }
}

.conversion-loader__frame--mosaic {
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, transparent 0%, rgba(124, 58, 237, 0.06) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: mosaicShimmer 2s ease-in-out infinite;
}

.conversion-loader__mosaic-grid {
  width: min(220px, 65%);
  aspect-ratio: 1;
  border-radius: 4px;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 26px,
      rgba(124, 58, 237, 0.2) 26px,
      rgba(124, 58, 237, 0.2) 28px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 26px,
      rgba(124, 58, 237, 0.2) 26px,
      rgba(124, 58, 237, 0.2) 28px
    );
  animation: mosaicPulse 1.8s ease-in-out infinite;
}

@keyframes mosaicShimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

@keyframes mosaicPulse {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.55;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

.conversion-loader__text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  min-height: 1.4em;
}

.conversion-loader__text::after {
  display: inline-block;
  width: 3ch;
  text-align: left;
  content: "";
  animation: loaderDots 1.4s steps(4, end) infinite;
}

@keyframes loaderDots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75% { content: "..."; }
}

.btn-primary.btn--loading {
  position: relative;
  overflow: hidden;
}

.btn-primary.btn--loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: btnShimmer 1.6s ease-in-out infinite;
}

@keyframes btnShimmer {
  100% { transform: translateX(100%); }
}

.preview-caption {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.4;
}

.preview-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.preview-row .preview-caption {
  min-height: calc(0.78rem * 1.4 * 2);
}

.preview-card {
  margin: 0;
}

.preview-card figcaption {
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-soft);
}

.preview-card img,
.svg-preview {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
}

.mosaic-preview {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.preview-card--single {
  max-width: 100%;
}

.embroidery-preview {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}

.embroidery-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
}

.embroidery-color {
  display: inline-block;
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}

.meta {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Colors table */

table.colors {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.85rem;
}

table.colors th,
table.colors td {
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 0.4rem;
  text-align: left;
}

table.colors th {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}

table.colors tbody tr:last-child td {
  border-bottom: none;
}

.swatch {
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  vertical-align: middle;
  margin-right: 0.4rem;
}

/* Why Convert Art */

.features {
  width: 100%;
  padding: 3rem 0 3.5rem;
  background: var(--bg);
}

.features__title {
  margin: 0 0 2rem;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.features__title .logo__plain,
.features__title .logo__script {
  font-size: inherit;
  letter-spacing: inherit;
}

.features__title .logo__script {
  font-size: 1.15em;
  letter-spacing: 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.feature-card__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 10px;
}

.feature-card__icon svg {
  display: block;
}

.feature-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.feature-card__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* FAQ */

.faq {
  width: 100%;
  padding: 0 0 3.5rem;
  background: var(--bg);
}

.faq__title {
  margin: 0 0 1.75rem;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.faq__list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  list-style: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  user-select: none;
  transition: background 0.15s ease;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::marker {
  content: '';
}

.faq__question:hover {
  background: var(--bg-subtle);
}

.faq__question-text {
  flex: 1;
  min-width: 0;
}

.faq__chevron {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--text-soft);
  transition: transform 0.2s ease;
}

.faq__item[open] .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  margin: 0;
  padding: 0 1.25rem 1.1rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  padding-block: 1.75rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.site-footer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.site-footer p + p {
  margin-top: 0.35rem;
}

.site-footer__contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.65rem;
}

.site-footer__contacts-label {
  width: 100%;
  margin-bottom: 0.15rem;
}

.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  color: var(--text-muted);
  text-decoration: none;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.footer-contact-btn__icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-contact-btn:hover,
.site-footer a.footer-contact-btn:hover {
  color: var(--accent);
  border-color: var(--accent-muted);
  background: var(--accent-soft);
}

.footer-contact-btn--telegram:hover,
.site-footer a.footer-contact-btn--telegram:hover {
  color: #0088cc;
  border-color: rgba(0, 136, 204, 0.35);
  background: rgba(0, 136, 204, 0.08);
}

/* Responsive */

@media (max-width: 900px) {
  .tools {
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
    margin-inline: auto;
  }

  .tool-card.active {
    transform: none;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .field-row {
    grid-template-columns: 1fr;
  }

  .preview-row {
    grid-template-columns: 1fr;
  }

  .workspace-card {
    padding: 1.25rem 1.15rem 1.5rem;
  }

  .hero {
    padding-block: 2rem 1.5rem;
  }

  :root {
    --page-padding-x: 1.15rem;
  }
}
