:root {
  --bg: #f3eee4;
  --bg-2: #e8e0d2;
  --ink: #1c1916;
  --muted: #6b6258;
  --card: #fffaf3;
  --line: #d9cfc0;
  --teal: #0f6e6a;
  --teal-dark: #0b5552;
  --ember: #c2410c;
  --ember-dark: #9a3412;
  --dark: #161310;
  --ok: #166534;
  --bad: #9f1239;
  --radius: 22px;
  --shadow: 0 24px 50px rgba(28, 25, 22, 0.08);
  --font: "Outfit", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #f7d9c4 0%, transparent 55%),
    radial-gradient(900px 400px at 100% 0%, #cfe8e4 0%, transparent 50%),
    var(--bg);
  line-height: 1.55;
}
a { color: var(--teal-dark); }
img { max-width: 100%; }
code {
  font-size: 0.92em;
  background: var(--bg-2);
  padding: 0.1em 0.35em;
  border-radius: 6px;
}
.wrap {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-inline: 20px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 94%, white);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
}
.nav-desktop {
  display: flex;
  gap: 18px;
  margin-left: auto;
  align-items: center;
}
.nav-desktop a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-desktop a[aria-current="page"],
.nav-desktop a:hover { color: var(--ink); }
.nav-drawer { display: none; }
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 11px 12px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 60;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  overflow: hidden;
}
.brand-mark img { width: 40px; height: 40px; display: block; }
.brand:hover .brand-mark { transform: none; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong { font-weight: 700; letter-spacing: -0.02em; }
.header-cta {
  text-decoration: none;
  background: var(--dark);
  color: #fffaf3;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}
.hero { padding: 36px 0 20px; }
.hero-copy {
  animation: rise 0.7s ease both;
  text-align: center;
  padding-inline: 8px;
}
.hero-copy h1 {
  margin: 0 0 16px;
  overflow-wrap: anywhere;
}
.hero-grid {
  display: flex;
  flex-direction: column;
  max-width: 720px;
  width: 100%;
  margin-inline: auto;
}
h1, h2, h3 { font-family: var(--serif); letter-spacing: -0.03em; line-height: 1.12; margin: 0 0 12px; }
h1 { font-size: clamp(1.85rem, 8vw, 3.4rem); font-weight: 650; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.lede {
  font-size: 1.12rem;
  color: #3f3a34;
  max-width: 36rem;
  margin: 0 auto 16px;
  overflow-wrap: break-word;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}
.trust-row li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-dark);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ember);
  margin: 0 0 10px;
}
.hero-points { padding-left: 18px; color: var(--muted); }
.tool-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  animation: rise 0.75s 0.08s ease both;
}
.tool-card.is-busy .tabs,
.tool-card.is-busy .field,
.tool-card.is-busy .methods,
.tool-card.is-busy .note,
.tool-card.is-busy .btn-primary {
  filter: blur(1px);
  pointer-events: none;
}
.tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tab, .btn-primary, .btn-ghost, .chip {
  font: inherit;
  cursor: pointer;
}
.tab {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
}
.tab.is-active { background: var(--dark); color: #fffaf3; border-color: var(--dark); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; font-size: 0.86rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit;
  font-weight: 500;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 12px 12px;
  color: var(--ink);
  width: 100%;
  max-width: 100%;
}
.field input[type="file"] { min-width: 0; }
.tool-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.methods { border: 0; padding: 0; margin: 0 0 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.methods legend { font-size: 0.86rem; font-weight: 600; margin-bottom: 8px; }
.chip {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
}
.chip:has(input:checked) { border-color: var(--teal); background: #e7f3f2; }
.btn-primary {
  width: 100%;
  border: 0;
  background: linear-gradient(135deg, #c2410c 0%, #9a3412 100%);
  color: white;
  font-weight: 700;
  padding: 14px 16px;
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(194, 65, 12, 0.28); }
.btn-primary:disabled { opacity: 1; cursor: wait; transform: none; box-shadow: none; }
.btn-wait { display: inline-flex; align-items: center; gap: 8px; }
.btn-wait[hidden], .btn-label[hidden] { display: none !important; }
.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn-ghost {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 600;
}
.note, .muted { color: var(--muted); font-size: 0.92rem; }
.form-status { margin: 10px 0 0; font-weight: 600; }
.form-status.is-bad { color: var(--bad); }
.form-status.is-ok { color: var(--ok); }
.is-hidden { display: none !important; }
.result {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin: 10px auto 40px;
  box-shadow: var(--shadow);
  animation: rise 0.45s ease both;
}
.result-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; flex-wrap: wrap; }
.result-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.view-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0 12px;
  position: relative;
  z-index: 1;
}
.view-toggle .tab {
  width: 100%;
  text-align: center;
  white-space: nowrap;
  margin: 0;
}
.btn-copy-block {
  margin-top: 12px;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--dark);
  color: #fffaf3;
  border-radius: 12px;
  padding: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.btn-copy-block[hidden] { display: none !important; }
.btn-copy-block.is-copied,
.btn-ghost.is-copied {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.transcript-body {
  margin: 0;
  padding: 16px 0 4px;
  border-top: 1px solid var(--line);
  font-size: 1.12rem;
  line-height: 1.75;
  color: #2b2621;
  white-space: pre-wrap;
  max-height: 560px;
  overflow: auto;
}
.cues { list-style: none; padding: 0; margin: 8px 0 0; max-height: 520px; overflow: auto; border-top: 1px solid var(--line); }
.cues li { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cues time { color: var(--teal-dark); font-variant-numeric: tabular-nums; font-size: 0.85rem; }
.band { background: var(--dark); color: #f6efe4; padding: 56px 0; }
.band h2, .band h3 { color: #fffaf3; }
.band .muted, .band p { color: #d7cbb8; }
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; }
.byline {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-left: 0; list-style: none; }
.steps-row li { margin: 0; }
.step-num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #c2410c;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.steps-row p { margin: 6px 0 0; color: #d7cbb8; font-size: 0.95rem; }
.callout {
  background: #221c18;
  border: 1px solid #3a322b;
  border-radius: 18px;
  padding: 20px;
}
.stat-line { color: #f3d2bf !important; }
.cards-section, .guides-preview, .faq-section, .page { padding: 56px 0; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cards article, .card-link {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
}
.card-link h2, .card-link h3 { font-size: 1.35rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 16px; }
.faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
.faq-list summary { cursor: pointer; font-weight: 650; font-family: var(--serif); }
.prose { max-width: 760px; }
.prose p, .prose li { color: #3b352f; }
.contact-form { max-width: 560px; }
.site-footer {
  margin-top: 40px;
  padding: 0 0 22px;
  background: linear-gradient(180deg, #1c1814 0%, #161310 28%);
  color: #f6efe4;
}
.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #0f766e, #c2410c);
}
.footer-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px 0 8px;
}
.footer-cta-kicker {
  margin: 0 0 4px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e7b089;
}
.footer-cta-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 650;
  color: #fffaf3;
}
.footer-cta-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f766e, #c2410c);
  color: #fff !important;
  font-weight: 700;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 1fr 0.9fr;
  gap: 32px;
  padding-top: 28px;
}
.footer-logo {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: #fffaf3 !important;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 650;
  margin: 0 0 12px !important;
}
.footer-logo img { border-radius: 10px; }
.footer-brand-block .muted { color: #cbbba8; max-width: 36ch; margin: 0; }
.footer-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b7a898;
  margin: 0 0 12px;
  font-weight: 700;
}
.site-footer a { display: block; text-decoration: none; color: #f6efe4; margin: 8px 0; }
.site-footer a:hover { color: #fff; }
.footer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.footer-pills li {
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}
.pill-secure { background: #163c2a; color: #86efac; }
.pill-free { background: #163a3a; color: #67e8f9; }
.pill-privacy { background: #3b2048; color: #e9d5ff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #3a322b;
  color: #b7a898;
  font-size: 0.88rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { margin: 0; color: #b7a898; }

.fetch-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 24px;
  background: color-mix(in srgb, var(--card) 78%, white);
  backdrop-filter: blur(10px);
  text-align: center;
}
.fetch-overlay[hidden] { display: none !important; }
.fetch-orb {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  animation: pulse-float 1.6s ease-in-out infinite;
  box-shadow: 0 12px 28px rgba(12, 85, 82, 0.22);
}
.fetch-orb img { width: 64px; height: 64px; display: block; border-radius: 18px; }
.fetch-title { margin: 6px 0 0; font-weight: 700; font-size: 1.05rem; }
.fetch-sub { margin: 0; color: var(--muted); font-size: 0.92rem; min-height: 1.4em; }
.fetch-bar {
  width: min(220px, 70%);
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  margin-top: 6px;
}
.fetch-bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f766e, #c2410c);
  animation: bar-slide 1.15s ease-in-out infinite;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.04); }
}
@keyframes bar-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 860px) {
  body.nav-open { overflow: hidden; }
  .hero-grid, .split, .cards, .steps-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-cta { padding-top: 24px; }
  .footer-cta-title { font-size: 1.15rem; }
  .header-cta,
  .nav-desktop,
  .brand-text { display: none; }
  .menu-toggle { display: flex; }
  .nav-drawer {
    display: block;
    position: fixed;
    inset: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: rgba(22, 19, 16, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    z-index: 80;
  }
  .nav-drawer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(320px, 100%);
    height: 100%;
    background: #fffaf3;
    padding: 22px 20px 28px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: -18px 0 40px rgba(22, 19, 16, 0.22);
    transform: translateX(100%);
    transition: transform 0.28s ease;
  }
  .nav-drawer.is-open .nav-panel { transform: none; }
  .nav-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 10px;
  }
  .nav-panel-label {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .nav-close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
  }
  .nav-close::before,
  .nav-close::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
  }
  .nav-close::before { transform: rotate(45deg); }
  .nav-close::after { transform: rotate(-45deg); }
  .nav-drawer a {
    text-decoration: none;
    padding: 14px 12px;
    border-radius: 14px;
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 600;
  }
  .nav-drawer a:hover,
  .nav-drawer a[aria-current="page"] { background: var(--bg-2); }
  .nav-drawer a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--teal); }
  .nav-start {
    display: block;
    text-align: center;
    background: linear-gradient(90deg, #0f766e, #c2410c);
    color: #fff !important;
    font-weight: 700;
    margin-top: auto;
    padding: 14px 12px;
  }
  .nav-panel-note {
    display: block;
    margin: 10px 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.82rem;
  }
  .hero { padding: 20px 0 16px; }
  .hero-copy { padding-inline: 12px; }
  .hero-copy h1 { font-size: 1.7rem; line-height: 1.2; }
  .lede { font-size: 1rem; padding-inline: 4px; }
  .wrap { padding-inline: 18px; }
  .tool-card { padding: 16px; }
  .result-actions { width: 100%; }
  .result-actions .btn-ghost {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }
}
