/* Adapted from the local SpeedTranscript SiteFrame and tool template. */
.diztoa-site {
  color-scheme: light;
  --paper: var(--brand-paper);
  --ink: var(--brand-ink);
  --muted: var(--brand-muted);
  --forest: var(--brand-action);
  --forest-hover: var(--brand-hover);
  --line: var(--brand-line);
  --white: var(--brand-surface);
  --focus: var(--brand-focus);
  --accent: var(--brand-silver);
  --soft: var(--brand-soft);
  --shadow: 0 16px 48px rgba(9, 32, 60, 0.09);

  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.65 var(--font-manrope),
    Arial,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}



* {
  box-sizing: border-box;
}

h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: 0;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 720;
}
h3 {
  font-size: 1.08rem;
}
p {
  color: var(--muted);
}
a {
  color: var(--forest);
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
select,
summary {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
.file-picker:focus-within {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.skip {
  position: absolute;
  top: -100px;
  z-index: 1;
  padding: 8px;
  background: white;
}
.skip:focus {
  top: 5px;
}
.site-header,
.site-footer {
  border-bottom: 1px solid var(--line);
}
.site-header {
  position: relative;
  z-index: 20;
  background: rgba(247, 250, 253, 0.92);
  backdrop-filter: blur(16px);
}
.header-inner {
  max-width: none;
  margin: auto;
  min-height: 72px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
}
.site-brand img {
  border-radius: 8px;
}
.site-header nav,
.site-footer nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  min-width: 0;
}

.tool-hero {
  padding: clamp(36px, 4vw, 56px) 22px clamp(34px, 4vw, 52px);
  background: #ebf0f3;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  width: min(100%, 1120px);
  margin-inline: auto;
  text-align: center;
}

.hero-inner > h1 {
  font-size: clamp(2.15rem, 5.1vw, 3.75rem);
  font-weight: 780;
  line-height: 1.08;
  margin: 14px auto 12px;
  text-wrap: balance;
}
.intro {
  max-width: 610px;
  margin: auto;
  font-size: clamp(1rem, 2.25vw, 1.15rem);
  text-wrap: balance;
}
.tool {
  width: min(100%, 700px);
  margin: clamp(22px, 3vw, 30px) auto 0;
  padding: 12px;
  text-align: left;
  background: var(--white);
  border: 1px solid #ccd6dc;
  border-radius: 8px;
  box-shadow: var(--shadow);
  scroll-margin-top: 12px;
}
.drop-zone {
  text-align: center;
  padding: clamp(24px, 3vw, 34px) 16px;
  border: 1px dashed #9cacb6;
  background: #f9fbfd;
  border-radius: 6px;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.drop-zone.dragging {
  background: #e3eff7;
  border-color: var(--forest);
}
.drop-zone p {
  text-wrap: balance;
}
.drop-zone h2 {
  font-size: 1.24rem;
  margin: 10px 0 4px;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 680;
  text-decoration: none;
  min-height: 44px;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.primary {
  color: white;
  background: var(--forest);
}
.primary:hover {
  background: var(--forest-hover);
}
.primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.primary:disabled:hover {
  background: var(--forest);
}
.secondary {
  background: white;
  color: var(--forest);
  border-color: var(--line);
}
.secondary:hover {
  background: #ecf3f7;
}

.reading {
  max-width: 1060px;
  margin: auto;
  padding: 0 25px 80px;
}
.reading > section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 15px;
}
.section-heading {
  max-width: 660px;
  margin: 0 0 clamp(26px, 4vw, 38px);
  text-align: left;
  text-wrap: balance;
}
