:root {
  --topbar-height: 72px;
  color-scheme: dark;
  --ink: #f2f0ea;
  --muted: #aaa39a;
  --line: #332f2a;
  --paper: #11100e;
  --panel: #191715;
  --accent: #d8d8d8;
  --accent-strong: #ffffff;
  --warm: #f59e55;
  --blue: #93b6ff;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main section[id] {
  scroll-margin-top: calc(var(--topbar-height) + 16px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 360px),
    var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

button,
input,
select {
  font: inherit;
}

.language-input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #11100e;
  color: var(--ink);
}

.language-input:focus {
  border-color: #77716a;
  outline: 2px solid rgba(255, 255, 255, 0.12);
  outline-offset: 1px;
}

.language-picker {
  position: relative;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  display: grid;
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #141210;
  box-shadow: var(--shadow);
  scrollbar-color: #514b44 #141210;
}

.language-menu[hidden] {
  display: none;
}

.language-option {
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.language-option:last-of-type {
  border-bottom: 0;
}

.language-option:hover,
.language-option.highlighted {
  background: #1f1b17;
}

.language-menu-note {
  padding: 11px 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(51, 47, 42, 0.9);
  background: rgba(17, 16, 14, 0.88);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.trust-row,
.estimate {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 8px solid var(--accent);
  border-right-color: var(--warm);
  border-radius: 50%;
}

.nav {
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--ink);
}

.ghost-button,
.primary-button,
.credit-card {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
}

.ghost-button {
  min-height: 40px;
  padding: 0 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-balance {
  display: grid;
  justify-items: end;
  min-width: 76px;
  padding: 3px 10px;
  border-right: 1px solid var(--line);
  line-height: 1.1;
}

.header-balance[hidden] {
  display: none;
}

.header-balance span {
  color: var(--muted);
  font-size: 0.68rem;
}

.header-balance strong {
  font-size: 0.9rem;
}

.account,
.locale-switcher {
  position: relative;
}

.account-toggle:has(.profile-icon) {
  display: grid;
  width: 40px;
  padding: 0;
  place-items: center;
}

.profile-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.locale-toggle {
  min-width: 46px;
  padding-inline: 10px;
  font-weight: 760;
}

.account-menu,
.locale-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: grid;
  min-width: 190px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #141210;
  box-shadow: var(--shadow);
}

.account-menu[hidden],
.locale-menu[hidden] {
  display: none;
}

.locale-menu.align-left {
  right: auto;
  left: 0;
}

.locale-menu {
  max-height: min(620px, calc(100vh - var(--topbar-height) - 18px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #514b44 #141210;
}

.account-menu a,
.account-menu button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.account-email {
  max-width: 260px;
  overflow: hidden;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu a {
  display: flex;
  align-items: center;
}

.account-menu button {
  border-bottom: 0;
  color: var(--muted);
}

.locale-menu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.locale-menu a:last-child {
  border-bottom: 0;
}

.account-menu a:hover,
.account-menu button:hover,
.locale-menu a:hover,
.locale-menu a.active {
  background: #1f1b17;
  color: var(--ink);
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 48px 0;
}

.marketing-zone {
  position: relative;
  margin-top: 34px;
  padding: 34px 0 18px;
  border-top: 1px solid rgba(216, 216, 216, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(245, 158, 85, 0.035) 46%, rgba(147, 182, 255, 0.025) 100%),
    #14120f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.marketing-zone::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 85, 0.34), rgba(147, 182, 255, 0.22), transparent);
}

.marketing-zone .section:first-child {
  padding-top: 42px;
}

.marketing-zone #use-cases {
  padding-bottom: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  min-height: auto;
  padding-top: 42px;
  padding-bottom: 56px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: min(100%, 780px);
  margin-bottom: 22px;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  font-size: clamp(2.7rem, 4.2vw, 4.35rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.section-intro {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #c8c2b8;
  font-size: 0.9rem;
}

.demo-section {
  padding-bottom: 40px;
}

.language-seo-section + .workflow-section {
  margin-top: 14px;
}

.workflow-section + .demo-section {
  padding-top: 80px;
}

.demo-carousel {
  display: grid;
  grid-auto-columns: minmax(260px, 330px);
  grid-auto-flow: column;
  gap: 14px;
  margin-top: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 12px;
  scroll-padding-inline: 1px;
  scroll-snap-type: x proximity;
  scrollbar-color: #514b44 transparent;
}

.demo-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  scroll-snap-align: start;
}

.demo-card video {
  display: block;
  width: 100%;
  height: 186px;
  max-height: 52vw;
  background:
    linear-gradient(rgba(8, 8, 7, 0.08), rgba(8, 8, 7, 0.08)),
    var(--demo-poster) center / contain no-repeat,
    #080807;
  object-fit: contain;
}

.demo-card-body {
  padding: 12px;
}

.demo-card h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.demo-card p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.demo-language-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.demo-language-tabs button {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.04);
  color: #c8c2b8;
  font-size: 0.78rem;
  cursor: pointer;
}

.demo-language-tabs button:hover,
.demo-language-tabs button.active {
  border-color: #b9b1a6;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
}

.demo-credit {
  margin-bottom: 0;
  font-size: 0.68rem;
}

.demo-credit a {
  color: #d8d2c8;
  font-weight: 720;
}

.upload-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.dropzone {
  position: relative;
  min-height: 190px;
  border: 1px dashed #b9b1a6;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(245, 158, 85, 0.08)),
    #141311;
}

.dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dropzone label {
  display: grid;
  place-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 190px;
  padding: 24px;
  text-align: center;
}

.dropzone strong {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.file-icon {
  width: 76px;
  height: 52px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 14px, rgba(255, 255, 255, 0.24) 14px 18px, transparent 18px),
    linear-gradient(0deg, transparent 18px, rgba(245, 158, 85, 0.24) 18px 22px, transparent 22px);
}

.dropzone small,
.form-note,
.job-time,
.credit-card small,
.estimate span,
.stats span {
  color: var(--muted);
}

.job-time {
  margin-bottom: 0;
  font-size: 0.82rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  color: #d9d4cb;
  font-size: 0.9rem;
  font-weight: 680;
}

select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #11100e;
  color: var(--ink);
}

input[type="email"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #11100e;
  color: var(--ink);
}

.estimate {
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #141311;
}

.estimate div {
  display: grid;
  gap: 4px;
}

.primary-button {
  width: 100%;
  min-height: 52px;
  border-color: #4a4640;
  background: #26231f;
  color: #f2f0ea;
  font-weight: 760;
}

.primary-button:hover {
  border-color: #6a655d;
  background: #312d28;
}

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

.form-note {
  min-height: 20px;
  margin: 12px 0 0;
  font-size: 0.9rem;
}

.form-note.insufficient {
  color: #e6a49a;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 44px 18px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
}

.site-footer a {
  color: #d9d4cb;
}

.site-footer .footer-secondary {
  gap: 10px 24px;
  font-size: 0.86rem;
}

.site-footer .footer-secondary a {
  color: #8f8980;
}

.site-footer a:hover {
  color: var(--ink);
}

.legal-page {
  max-width: 880px;
  min-height: 100vh;
  padding-top: 96px;
  padding-bottom: 120px;
}

.legal-page h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.95;
}

.legal-page h2 {
  margin: 44px 0 12px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.legal-page p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.legal-page section {
  padding-top: 4px;
}

.legal-page ul {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin: 14px 0 0;
  padding-left: 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.legal-page li::marker {
  color: var(--warm);
}

.legal-page dl {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 10px 18px;
  max-width: 760px;
  margin: 20px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.legal-page dt {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.legal-page dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.legal-page a {
  color: var(--ink);
  font-weight: 800;
}

.seo-page {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0 96px;
}

.seo-page-hero {
  display: grid;
  gap: 22px;
  max-width: 840px;
  padding: 32px 0 48px;
}

.seo-page-hero h1 {
  margin-bottom: 0;
}

.seo-page-hero .lead {
  margin-bottom: 0;
}

.seo-page-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  border: 1px solid #4a4640;
  border-radius: 8px;
  padding: 0 18px;
  background: #26231f;
  color: var(--ink);
  font-weight: 760;
}

.seo-page-cta:hover {
  border-color: #6a655d;
  background: #312d28;
}

.seo-page-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.seo-page-trust span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(25, 23, 21, 0.7);
  color: var(--muted);
  font-size: 0.9rem;
}

.seo-page .faq-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(25, 23, 21, 0.68);
}

.seo-related {
  padding-bottom: 72px;
}

.seo-related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.seo-related-list a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #d9d4cb;
  font-size: 0.9rem;
}

.seo-related-list a:hover {
  color: var(--ink);
  border-color: #6a655d;
}

.legal-updated {
  margin-bottom: 34px;
}

.legal-back {
  margin-top: 56px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.dashboard-section .section-heading,
.demo-section .section-heading,
.pricing-section .section-heading,
.faq-section .section-heading,
.seo-section .section-heading {
  display: block;
  margin-bottom: 20px;
}

.dashboard-section .section-heading .eyebrow,
.demo-section .section-heading .eyebrow,
.pricing-section .section-heading .eyebrow,
.faq-section .section-heading .eyebrow,
.seo-section .section-heading .eyebrow {
  margin-bottom: 8px;
}

.dashboard-section .section-heading h2,
.demo-section .section-heading h2,
.pricing-section .section-heading h2,
.faq-section .section-heading h2,
.seo-section .section-heading h2 {
  font-size: 2.5rem;
  line-height: 1.08;
}

.stats,
.credit-options {
  display: grid;
  gap: 14px;
}

.stats {
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(25, 23, 21, 0.72);
}

.credit-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(25, 23, 21, 0.9);
}

.stats article {
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  border-right: 1px solid var(--line);
}

.stats article:last-child {
  border-right: 0;
}

.stats span {
  font-size: 0.78rem;
}

.stats strong {
  font-size: 1.55rem;
}

.job-list {
  display: block;
}

.job-group + .job-group {
  margin-top: 30px;
}

.job-group-title {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.active-job-list {
  display: grid;
  gap: 10px;
}

.active-job,
.history-job {
  border: 1px solid var(--line);
  background: rgba(25, 23, 21, 0.72);
}

.active-job {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px minmax(260px, 440px);
  align-items: center;
  gap: 16px;
  min-height: 66px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(18, 17, 15, 0.82);
}

.active-job-actionable {
  grid-template-columns: minmax(0, 1fr) 86px minmax(260px, 440px) minmax(92px, auto);
}

.active-job:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.006)),
    rgba(25, 23, 21, 0.48);
}

.job-summary {
  min-width: 0;
}

.job-summary h3 {
  margin-bottom: 5px;
  overflow-wrap: anywhere;
}

.source-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-left: 8px;
  padding: 0 8px;
  border: 1px solid #3a352f;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 760;
  vertical-align: middle;
}

.active-job .job-summary h3,
.history-job .job-summary h3 {
  display: -webkit-box;
  margin-bottom: 7px;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.active-job .job-summary h3 {
  -webkit-line-clamp: 3;
  font-size: 0.98rem;
  line-height: 1.22;
}

.history-job .job-summary h3 {
  -webkit-line-clamp: 2;
  font-size: 0.98rem;
  line-height: 1.22;
}

.job-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.job-minutes {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 720;
}

.job-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.job-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 8px;
  border: 1px solid #34302a;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.73rem;
  font-weight: 660;
  line-height: 1;
}

.job-meta span {
  padding: 0 4px;
  color: #6f6961;
}

.active-job-progress {
  min-width: 0;
}

.history-job-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 17, 15, 0.82);
}

.history-job {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(136px, 164px) 86px minmax(92px, auto);
  align-items: center;
  column-gap: 16px;
  min-height: 66px;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
}

.history-job:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.006)),
    rgba(25, 23, 21, 0.48);
}

.history-job:last-child {
  border-bottom: 0;
}

.history-job time {
  justify-self: start;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 620;
}

.job-load-more {
  display: block;
  min-height: 38px;
  margin: 12px auto 0;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 680;
  cursor: pointer;
}

.job-load-more:hover {
  color: var(--ink);
}

.dashboard-empty {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 150px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(25, 23, 21, 0.72);
}

.dashboard-empty h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.empty-jobs-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-empty p {
  margin-bottom: 0;
  color: var(--muted);
}

.job-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 620;
}

.job-stage strong {
  color: var(--ink);
  font-size: 0.78rem;
}

.status {
  width: fit-content;
  justify-self: start;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1;
}

.in-progress {
  background: rgba(49, 95, 159, 0.12);
  color: var(--blue);
}

.queued {
  background: rgba(197, 106, 52, 0.14);
  color: #ffbd82;
}

.done {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-strong);
}

.progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #2a2722;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--warm));
}

.active-job button,
.history-job button {
  justify-self: end;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #151311;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 680;
  cursor: pointer;
}

.active-job button:hover,
.history-job button:hover {
  border-color: #6a655d;
  background: #211e1a;
}

.credit-options {
  grid-template-columns: repeat(3, 1fr);
}

.credit-card {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 22px;
  text-align: left;
}

.credit-card strong {
  font-size: 1.55rem;
}

.credit-card.featured {
  border-color: var(--accent);
  background: #20201e;
}

.feature-grid,
.use-case-grid {
  display: grid;
  gap: 14px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.use-case-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-grid article,
.use-case-grid article,
.language-seo-section,
.workflow-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(25, 23, 21, 0.68);
}

.feature-grid article,
.use-case-grid article {
  padding: 22px;
}

.marketing-zone .feature-grid article,
.marketing-zone .use-case-grid article,
.marketing-zone .demo-card,
.marketing-zone .language-seo-section,
.marketing-zone .workflow-section,
.marketing-zone .faq-list {
  border-color: #433d35;
  background: #11100e;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
}

.marketing-zone .use-case-grid article {
  background: linear-gradient(180deg, #15130f, #100f0d);
}

.feature-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 18px;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 780;
}

.feature-grid p,
.use-case-grid p,
.language-seo-section p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.language-seo-section {
  display: block;
}

.language-seo-section,
.workflow-section {
  position: relative;
  overflow: hidden;
  padding: 32px;
}

.language-seo-section::before,
.workflow-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 68%, rgba(245, 158, 85, 0.18), transparent 34%),
    radial-gradient(circle at 66% 38%, rgba(147, 182, 255, 0.15), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.01));
  opacity: 0.86;
}

.language-seo-header,
.language-seo-body,
.workflow-section .section-heading,
.workflow-section .feature-grid {
  position: relative;
  z-index: 1;
}

.language-seo-header h2 {
  font-size: 2.5rem;
  line-height: 1.08;
}

.language-seo-header .eyebrow {
  margin-bottom: 8px;
  color: var(--accent-strong);
}

.language-seo-body .seo-related-list {
  margin-top: 22px;
}

.language-seo-body {
  margin-top: 18px;
}

.language-seo-body p {
  max-width: 900px;
}

.faq-section {
  padding-bottom: 72px;
}

.faq-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(25, 23, 21, 0.58);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  position: relative;
  padding: 19px 52px 19px 20px;
  color: var(--ink);
  font-weight: 720;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--muted);
  font-size: 1.35rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 850px;
  margin: -4px 52px 20px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: min(380px, calc(100% - 36px));
  transform: translateY(24px);
  opacity: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: #f2f0ea;
  color: #11100e;
  box-shadow: var(--shadow);
  transition: 180ms ease;
  pointer-events: none;
}

.toast.visible {
  transform: translateY(0);
  opacity: 1;
}

.auth-dialog,
.detail-dialog,
.developer-dialog,
.billing-dialog {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.68);
}

.auth-dialog[hidden],
.detail-dialog[hidden],
.developer-dialog[hidden],
.billing-dialog[hidden] {
  display: none;
}

.auth-panel,
.detail-panel,
.developer-panel,
.billing-panel {
  width: min(440px, calc(100% - 32px));
  max-width: calc(100vw - 32px);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.auth-panel,
.detail-panel,
.developer-panel,
.billing-panel {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
}

.auth-panel h2,
.detail-panel h2,
.developer-panel h2,
.billing-panel h2 {
  font-size: 1.8rem;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.auth-panel p,
.detail-panel p,
.developer-panel p,
.billing-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.auth-panel label,
.developer-panel label {
  display: grid;
  gap: 8px;
}

.detail-panel {
  width: min(620px, calc(100% - 32px));
}

.developer-panel {
  width: min(720px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
}

.billing-panel {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
}

.developer-actions {
  display: flex;
  justify-content: flex-start;
}

.ghost-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.api-key-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.api-token-box {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #11100e;
}

.api-token-box[hidden] {
  display: none;
}

.api-token-box code {
  display: block;
  min-width: 0;
  overflow: auto;
  border-radius: 8px;
  padding: 10px;
  background: #050505;
  color: var(--ink);
  white-space: nowrap;
}

.api-key-list {
  display: grid;
  gap: 10px;
}

.api-key-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 14px;
}

.api-key-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #11100e;
}

.api-key-row div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.api-key-row span {
  color: var(--muted);
  font-size: 0.82rem;
}

.billing-list {
  display: grid;
  gap: 10px;
}

.billing-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 14px;
}

.billing-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(110px, 0.75fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #11100e;
}

.billing-row div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.billing-row strong {
  color: var(--ink);
}

.billing-row span {
  color: var(--muted);
  font-size: 0.82rem;
}

.billing-status {
  width: max-content;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink) !important;
  font-weight: 800;
}

.detail-body {
  display: grid;
  gap: 16px;
}

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

.detail-item {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #11100e;
}

.detail-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.detail-item strong {
  overflow-wrap: anywhere;
}

.detail-error {
  min-width: 0;
  border: 1px solid #6d4037;
  border-radius: 8px;
  padding: 14px;
  background: #1f1310;
}

.detail-error p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.detail-error strong {
  display: block;
  margin-bottom: 8px;
}

.google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #8e918f;
  border-radius: 8px;
  background: #131314;
  color: #e3e3e3;
  font-family: Roboto, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.43;
}

.google-button:hover {
  background: #1f1f1f;
}

.google-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.auth-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.auth-separator::before,
.auth-separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #11100e;
  color: var(--ink);
}

.dialog-close svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

@media (max-width: 860px) {
  .topbar {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .credit-options,
  .feature-grid,
  .use-case-grid,
  .language-seo-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .active-job {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .api-key-form,
  .api-key-row,
  .billing-row {
    grid-template-columns: 1fr;
  }

  .active-job .status {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    align-self: center;
  }

  .active-job-progress {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .active-job > button {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }

  .history-job {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .history-job time {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
  }

  .history-job .status {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    align-self: center;
  }

  .history-job > button {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }
}

@media (max-width: 560px) {
  .section {
    width: min(100% - 28px, 1160px);
    padding: 36px 0;
  }

  .topbar {
    flex-wrap: nowrap;
    padding-inline: 14px;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    background: rgba(17, 16, 14, 0.96);
    font-size: 0.88rem;
  }

  main {
    padding-top: 42px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-copy,
  .lead,
  .upload-panel,
  .demo-section {
    width: 100%;
    max-width: calc(100vw - 28px);
    min-width: 0;
  }

  .demo-carousel {
    grid-auto-columns: minmax(250px, 82vw);
    padding-right: 14px;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-balance {
    min-width: 66px;
    padding-inline: 7px;
  }

  h1 {
    max-width: 100%;
    overflow-wrap: break-word;
    text-wrap: balance;
    font-size: 1.88rem;
  }

  .trust-row span {
    flex: 0 1 100%;
    width: fit-content;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-section .section-heading h2,
  .demo-section .section-heading h2,
  .pricing-section .section-heading h2,
  .faq-section .section-heading h2,
  .seo-section .section-heading h2 {
    font-size: 2rem;
  }

  .language-seo-section,
  .workflow-section {
    padding: 28px 24px;
  }

  .language-seo-section {
    overflow: hidden;
  }

  .stats article {
    padding: 12px 10px;
  }

  .stats span {
    font-size: 0.7rem;
  }

  .stats strong {
    font-size: 1.35rem;
  }

  .active-job,
  .history-job {
    gap: 14px;
  }

  .active-job {
    padding: 14px;
  }

  .active-job .job-summary {
    grid-column: 1 / -1;
  }

  .active-job .status {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .active-job-progress {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .active-job > button {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
  }

  .history-job {
    padding: 14px;
  }

  .history-job .job-summary {
    grid-column: 1 / -1;
  }

  .history-job time {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .history-job .status {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
  }

  .history-job > button {
    grid-column: 2;
    grid-row: 3;
    align-self: center;
  }

  .estimate {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-empty {
    align-items: flex-start;
    min-height: 0;
    padding: 22px;
  }

  .empty-jobs-icon {
    width: 40px;
    height: 40px;
  }
}
