:root {
  --ink: #f7fbff;
  --ink-soft: #dce9ea;
  --muted: #9fb0ad;
  --panel-ink: #17211c;
  --panel-muted: #60716b;
  --glass: rgba(255, 255, 255, 0.1);
  --glass-strong: rgba(255, 255, 255, 0.16);
  --glass-soft: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.2);
  --line-strong: rgba(255, 255, 255, 0.34);
  --dark: #07110f;
  --dark-soft: #101c1a;
  --teal: #15d1bd;
  --teal-dark: #0f9f8f;
  --amber: #f4b63f;
  --coral: #ff7468;
  --green: #5ee083;
  --indigo: #8b8cff;
  --rose: #ef7ab8;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.2);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(140deg, #07110f 0%, #0b1720 42%, #151223 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  background:
    conic-gradient(from 210deg at 74% -8%, rgba(21, 209, 189, 0.36), rgba(244, 182, 63, 0.16), rgba(239, 122, 184, 0.18), rgba(139, 140, 255, 0.18), rgba(21, 209, 189, 0.36)),
    linear-gradient(120deg, rgba(94, 224, 131, 0.18), transparent 38%),
    linear-gradient(310deg, transparent 42%, rgba(255, 116, 104, 0.16));
  filter: blur(10px);
  opacity: 0.82;
}

body::after {
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 72%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

img {
  display: block;
  max-width: 100%;
}

main {
  overflow: hidden;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(760px, calc(100% - 32px));
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--panel-ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 17, 15, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.35), transparent 38%),
    linear-gradient(135deg, var(--teal), var(--indigo));
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 14px 30px rgba(21, 209, 189, 0.34);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 12px;
  color: rgba(247, 251, 255, 0.78);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 720;
  letter-spacing: 0;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.nav-links .nav-cta {
  color: #06110f;
  background: linear-gradient(135deg, var(--teal), var(--green));
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 28px rgba(21, 209, 189, 0.26);
  padding-inline: 18px;
}

.nav-links .nav-cta:hover {
  color: #06110f;
  background: linear-gradient(135deg, var(--green), var(--amber));
}

.nav-toggle {
  position: relative;
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(14px);
}

.nav-toggle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  box-shadow: 0 -8px 0 var(--ink), 0 8px 0 var(--ink);
  transform: translate(-50%, -50%);
}

.nav-toggle span {
  display: none;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  padding: 96px 0 68px;
}

.hero::before,
.page-hero::before,
.dark-section::before,
.support-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(21, 209, 189, 0.16), transparent 36%),
    linear-gradient(290deg, rgba(255, 116, 104, 0.12), transparent 48%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06), transparent 45%);
  opacity: 0.88;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 48px;
  align-items: center;
}

.hero-copy h1,
.page-hero h1 {
  max-width: 780px;
  margin: 12px 0 18px;
  font-size: 4.8rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p,
.page-hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(247, 251, 255, 0.76);
  font-size: 1.18rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions,
.support-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 820;
  letter-spacing: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #06110f;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.38), transparent 44%),
    linear-gradient(135deg, var(--teal), var(--green));
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 16px 34px rgba(21, 209, 189, 0.3);
}

.btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 20px 44px rgba(94, 224, 131, 0.32);
}

.btn-secondary,
.btn-outline {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 28px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(14px);
}

.btn-secondary:hover,
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
}

.full-width {
  width: 100%;
}

.hero-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: center;
  perspective: 1100px;
}

.floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-icon {
  position: absolute;
  z-index: 2;
  min-width: 66px;
  padding: 14px 12px;
  color: #06110f;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.16) 44%),
    linear-gradient(135deg, var(--teal), var(--amber));
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 18px 34px rgba(0, 0, 0, 0.28);
  transform: translateZ(58px) rotate(-7deg);
  animation: float-card 6s ease-in-out infinite;
}

.float-icon::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.6);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.float-icon-a {
  top: 22px;
  left: 16px;
}

.float-icon-b {
  top: 42px;
  right: 4px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.14) 44%),
    linear-gradient(135deg, var(--rose), var(--indigo));
  animation-delay: -1.4s;
}

.float-icon-c {
  bottom: 34px;
  right: 38px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.14) 44%),
    linear-gradient(135deg, var(--coral), var(--amber));
  animation-delay: -2.8s;
}

.float-icon-d {
  bottom: 72px;
  left: -8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.14) 44%),
    linear-gradient(135deg, var(--green), var(--teal));
  animation-delay: -4.2s;
}

@keyframes float-card {
  0%,
  100% {
    transform: translate3d(0, 0, 58px) rotate(-7deg);
  }
  50% {
    transform: translate3d(0, -18px, 58px) rotate(5deg);
  }
}

.hero-panel {
  position: relative;
  z-index: 1;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  transform: rotateX(7deg) rotateY(-8deg);
  transform-style: preserve-3d;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(21, 209, 189, 0.24), rgba(139, 140, 255, 0.18));
  filter: blur(26px);
  transform: translateY(22px);
}

.panel-topline {
  display: flex;
  gap: 7px;
  margin-bottom: 16px;
}

.panel-topline span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0.7;
}

.converter-preview {
  padding: 24px;
  color: var(--ink);
  background: rgba(4, 11, 10, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.preview-file,
.preview-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.preview-file span,
.preview-result span {
  color: var(--muted);
}

.preview-flow {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 24px 0;
}

.preview-flow span:not(.flow-line) {
  padding: 8px 12px;
  color: #06110f;
  background: linear-gradient(135deg, var(--teal), var(--green));
  border-radius: var(--radius);
  font-weight: 850;
}

.flow-line {
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--amber), var(--coral));
  box-shadow: 0 0 18px rgba(21, 209, 189, 0.48);
}

.preview-progress,
.progress-track {
  overflow: hidden;
  height: 10px;
  margin: 18px 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.preview-progress span,
.progress-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--green), var(--amber));
  border-radius: inherit;
  box-shadow: 0 0 22px rgba(21, 209, 189, 0.52);
}

.section {
  position: relative;
  padding: 82px 0;
}

.soft-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
  max-width: 710px;
  margin-bottom: 32px;
}

.section-heading h2,
.support-content h2,
.tool-panel h2,
.mini-card h2,
.rich-text h2 {
  margin: 8px 0 10px;
  font-size: 2.42rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.tool-card p,
.feature-card p,
.article-card p,
.support-content p,
.mini-card p,
.tool-panel .muted,
.rich-text p {
  color: var(--muted);
  margin: 0;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  perspective: 1100px;
}

.tool-card,
.feature-card,
.article-card,
.mini-card,
.tool-panel,
.rich-text {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.055));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.tool-card::after,
.feature-card::after,
.article-card::after,
.mini-card::after,
.tool-panel::after,
.support-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%);
  opacity: 0.7;
}

.tool-card > *,
.feature-card > *,
.article-card > *,
.mini-card > *,
.tool-panel > *,
.support-card > * {
  position: relative;
  z-index: 1;
}

.tool-card {
  --card-accent: var(--teal);
  min-height: 228px;
  padding: 22px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
  transform-style: preserve-3d;
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 5px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
  box-shadow: 0 0 28px var(--card-accent);
}

.tool-card:hover {
  transform: translateY(-10px) rotateX(4deg) rotateY(-3deg);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.tool-icon {
  display: inline-grid;
  width: 52px;
  height: 48px;
  place-items: center;
  margin-bottom: 24px;
  color: #06110f;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.16) 45%),
    linear-gradient(135deg, var(--card-accent), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 16px 28px rgba(0, 0, 0, 0.22);
  font-size: 0.78rem;
  font-weight: 920;
}

.tool-card h3,
.feature-card h3,
.article-card h3,
.mini-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.22;
  letter-spacing: 0;
}

.card-kicker {
  display: block;
  margin-bottom: 8px;
  color: rgba(247, 251, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 760;
}

.accent-amber {
  --card-accent: var(--amber);
}

.accent-coral {
  --card-accent: var(--coral);
}

.accent-green {
  --card-accent: var(--green);
}

.accent-indigo {
  --card-accent: var(--indigo);
}

.dark-section {
  position: relative;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.22);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading.light p,
.section-heading.light h2 {
  color: #ffffff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 22px;
}

.feature-card h3::before {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  box-shadow: 0 0 18px rgba(21, 209, 189, 0.42);
}

.support-band {
  position: relative;
  padding: 72px 0;
}

.support-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.support-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
    linear-gradient(135deg, rgba(21, 209, 189, 0.16), rgba(244, 182, 63, 0.1), rgba(239, 122, 184, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  padding: 22px;
}

.page-hero {
  position: relative;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(7, 17, 15, 0.82), rgba(17, 24, 39, 0.74)),
    linear-gradient(90deg, rgba(21, 209, 189, 0.16), transparent 44%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.compact-hero {
  padding: 76px 0 62px;
}

.compact-hero h1 {
  font-size: 3.8rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.62fr);
  gap: 24px;
  align-items: start;
}

.tool-panel {
  padding: 26px;
}

.tool-panel h2 {
  font-size: 1.9rem;
}

.tool-panel label {
  display: block;
  margin: 18px 0 8px;
  color: rgba(247, 251, 255, 0.9);
  font-weight: 800;
}

.tool-panel select,
.tool-panel input[type="text"],
.tool-panel input[type="number"],
.tool-panel textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(3, 10, 9, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tool-panel select {
  color-scheme: dark;
}

.tool-panel textarea {
  resize: vertical;
}

.tool-panel input::placeholder,
.tool-panel textarea::placeholder {
  color: rgba(247, 251, 255, 0.42);
}

.tool-panel select:focus,
.tool-panel input:focus,
.tool-panel textarea:focus {
  background: rgba(3, 10, 9, 0.7);
  border-color: rgba(21, 209, 189, 0.78);
  box-shadow: 0 0 0 4px rgba(21, 209, 189, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.file-drop {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 168px;
  place-items: center;
  padding: 28px;
  border: 1.5px dashed rgba(21, 209, 189, 0.52);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(21, 209, 189, 0.14), rgba(139, 140, 255, 0.08)),
    rgba(255, 255, 255, 0.055);
  cursor: pointer;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 36px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.file-drop::before {
  content: "";
  width: 48px;
  height: 38px;
  display: block;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12) 42%),
    linear-gradient(135deg, var(--teal), var(--indigo));
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 16px 30px rgba(21, 209, 189, 0.24);
}

.file-drop:hover,
.file-drop.is-dragover {
  transform: translateY(-3px);
  border-color: rgba(94, 224, 131, 0.8);
  background:
    linear-gradient(145deg, rgba(21, 209, 189, 0.22), rgba(244, 182, 63, 0.1)),
    rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 20px 46px rgba(21, 209, 189, 0.16);
}

.file-drop input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}

.file-drop span {
  color: var(--ink);
  font-weight: 850;
}

.file-drop strong {
  max-width: 100%;
  color: rgba(247, 251, 255, 0.62);
  word-break: break-word;
}

.upload-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin: 12px 0 18px;
  color: rgba(247, 251, 255, 0.58);
  font-size: 0.92rem;
}

.progress-track {
  display: none;
}

.ajax-upload-form.is-loading .progress-track {
  display: block;
}

.ajax-upload-form.is-loading .progress-track span {
  width: 42%;
  animation: loading-bar 1.1s ease-in-out infinite;
}

@keyframes loading-bar {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(250%);
  }
}

.form-status {
  min-height: 26px;
  margin: 12px 0 0;
  color: rgba(247, 251, 255, 0.66);
  font-weight: 740;
}

.form-status.error {
  color: #ffaba3;
}

.form-status.success {
  color: #74f1c2;
}

.result-box {
  margin-top: 14px;
}

.result-box .download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  color: var(--ink);
  background: rgba(94, 224, 131, 0.1);
  border: 1px solid rgba(94, 224, 131, 0.28);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.download-card strong {
  word-break: break-word;
}

.info-stack {
  display: grid;
  gap: 16px;
}

.mini-card {
  padding: 22px;
}

.muted-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
}

.status-pill {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  color: #06110f;
  background: linear-gradient(135deg, var(--amber), #ffe2a0);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 850;
}

.alert-box {
  margin-bottom: 22px;
  padding: 16px 18px;
  color: #ffe3d8;
  background: rgba(255, 116, 104, 0.12);
  border: 1px solid rgba(255, 116, 104, 0.32);
  border-radius: var(--radius);
  font-weight: 750;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.two-tools {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.developer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 20px;
}

.check-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px;
  color: rgba(247, 251, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  font-weight: 750;
}

.rich-text {
  padding: 26px;
}

.rich-text h2 {
  margin-top: 0;
  font-size: 1.45rem;
}

.rich-text h2:not(:first-child) {
  margin-top: 32px;
}

.site-footer {
  position: relative;
  color: rgba(247, 251, 255, 0.68);
  background:
    linear-gradient(180deg, rgba(7, 17, 15, 0.78), rgba(3, 8, 7, 0.94));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 54px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.footer-brand {
  color: #ffffff;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 0;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 7px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
  .hero-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 390px;
  }

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

  .feature-grid,
  .article-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 66px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
  }

  .nav-links {
    position: absolute;
    inset: 66px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(7, 17, 15, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero,
  .compact-hero {
    padding: 58px 0 42px;
  }

  .section {
    padding: 58px 0;
  }

  .hero-copy h1,
  .page-hero h1,
  .compact-hero h1 {
    font-size: 3rem;
  }

  .hero-copy p,
  .page-hero p {
    font-size: 1.04rem;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-panel {
    transform: none;
  }

  .float-icon-a {
    top: 0;
    left: 8px;
  }

  .float-icon-b {
    top: 8px;
    right: 8px;
  }

  .float-icon-c {
    bottom: 0;
    right: 18px;
  }

  .float-icon-d {
    bottom: 34px;
    left: 4px;
  }

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

  .tool-grid,
  .two-tools,
  .feature-grid,
  .article-grid,
  .developer-grid,
  .footer-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: auto;
  }

  .result-box .download-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .container,
  .narrow {
    width: min(100% - 24px, 1120px);
  }

  .converter-preview,
  .tool-panel,
  .mini-card,
  .article-card,
  .feature-card,
  .tool-card,
  .support-card,
  .rich-text {
    padding: 18px;
  }

  .hero-copy h1,
  .page-hero h1,
  .compact-hero h1 {
    font-size: 2.42rem;
  }

  .section-heading h2,
  .support-content h2 {
    font-size: 2rem;
  }

  .hero-actions,
  .support-actions,
  .button-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .float-icon {
    min-width: 56px;
    padding: 11px 10px;
    font-size: 0.78rem;
  }
}

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

.btn.is-disabled {
  pointer-events: none;
  opacity: 0.55;
}

.rich-text pre {
  overflow-x: auto;
  padding: 18px;
  margin: 18px 0 0;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.rich-text code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92rem;
}
