:root {
  --ink: #15211d;
  --ink-soft: #52615b;
  --paper: #f7f5ef;
  --card: rgba(255, 255, 255, 0.82);
  --line: rgba(21, 33, 29, 0.12);
  --sage: #789a86;
  --sage-dark: #315c49;
  --sage-pale: #e3ebe4;
  --sand: #dfcba9;
  --terracotta: #c77859;
  --shadow: 0 30px 90px rgba(39, 51, 44, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.page-glow {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(8px);
  pointer-events: none;
}

.page-glow-one {
  width: 52vw;
  height: 52vw;
  left: -22vw;
  top: -18vw;
  background: radial-gradient(circle, rgba(189, 210, 191, 0.48), transparent 68%);
}

.page-glow-two {
  width: 46vw;
  height: 46vw;
  right: -20vw;
  top: 25vh;
  background: radial-gradient(circle, rgba(228, 204, 167, 0.42), transparent 68%);
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.brand i {
  color: var(--sage-dark);
  font-style: normal;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--sage-dark);
}

.brand-mark svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink-soft);
  font-size: 13px;
}

.privacy-pill svg {
  width: 16px;
  fill: none;
  stroke: var(--sage-dark);
  stroke-width: 1.6;
}

.hero {
  min-height: 760px;
  padding: 76px 0 78px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  transition: min-height 400ms ease, padding 400ms ease;
}

.hero.compact {
  display: none;
}

.hero.compact h1,
.hero.compact .hero-copy,
.hero.compact .drop-zone,
.hero.compact .demo-button {
  display: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--sage-dark);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 23px;
  height: 1px;
  background: currentColor;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

h1 {
  margin-top: 0;
  font-size: clamp(56px, 7vw, 94px);
  line-height: 0.95;
}

.hero-kicker {
  margin: 0 0 16px;
  color: var(--sage-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 em {
  color: var(--sage-dark);
  font-weight: 400;
}

.hero-copy {
  width: min(610px, 100%);
  margin: 25px 0 30px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.workflow-steps {
  width: min(720px, 100%);
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.42);
  list-style: none;
}

.workflow-steps li {
  min-width: 0;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid var(--line);
  text-align: left;
}

.workflow-steps li:last-child {
  border-right: 0;
}

.workflow-steps li > span {
  width: 25px;
  height: 25px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--sage-dark);
  background: var(--sage-pale);
  font-size: 10px;
  font-weight: 800;
}

.workflow-steps strong,
.workflow-steps small {
  display: block;
}

.workflow-steps strong {
  font-size: 11px;
}

.workflow-steps small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drop-zone {
  width: min(720px, 100%);
  padding: 30px 28px 23px;
  display: flex;
  align-items: center;
  flex-direction: column;
  border: 1.5px dashed rgba(49, 92, 73, 0.35);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 18px 55px rgba(49, 62, 54, 0.07);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.drop-zone:hover,
.drop-zone.dragging {
  border-color: var(--sage-dark);
  background: rgba(255, 255, 255, 0.94);
  transform: translateY(-2px);
}

.upload-icon {
  width: 53px;
  height: 53px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--sage-dark);
  background: var(--sage-pale);
}

.upload-icon svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.drop-title {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.drop-subtitle {
  margin: 0 0 15px;
  color: var(--ink-soft);
  font-size: 14px;
}

.text-button {
  padding: 10px 17px;
  border: 0;
  border-radius: 9px;
  color: white;
  background: var(--sage-dark);
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.text-button:hover {
  background: #244d3c;
  transform: translateY(-1px);
}

.format-group {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.format-group > strong {
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.format-row {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.format-row span {
  padding: 5px 8px;
  border-radius: 5px;
  color: #66716c;
  background: #edeee9;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.drop-note {
  margin: 9px 0 0;
  color: #8a918d;
  font-size: 10px;
}

.demo-button,
.new-file-button,
.cancel-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.demo-button {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
}

.demo-button:hover {
  color: var(--sage-dark);
}

.demo-button svg,
.new-file-button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio {
  padding: 48px 0 80px;
  animation: studio-in 500ms ease both;
}

@keyframes studio-in {
  from { opacity: 0; transform: translateY(18px); }
}

.studio-heading {
  margin-bottom: 23px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.studio-heading h2 {
  margin-top: 7px;
  font-size: 45px;
}

.new-file-button {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(49, 92, 73, 0.22);
  border-radius: 9px;
  color: var(--sage-dark);
  background: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
}

.new-file-button:hover {
  border-color: var(--sage-dark);
  background: white;
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.75fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.main-panel {
  min-width: 0;
  padding: 31px;
}

.controls-panel {
  padding: 31px;
  border-left: 1px solid var(--line);
  background: rgba(242, 244, 237, 0.62);
}

.file-header {
  display: flex;
  align-items: center;
}

.file-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--sage-dark);
  background: var(--sage-pale);
}

.file-icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.file-copy {
  min-width: 0;
  margin-left: 12px;
}

.file-name {
  max-width: 420px;
  margin: 0 0 5px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.ready-badge {
  margin-left: auto;
  padding: 6px 9px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  color: var(--sage-dark);
  background: var(--sage-pale);
  font-size: 10px;
  font-weight: 750;
}

.ready-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5e9877;
}

.ready-badge.processing span {
  animation: pulse 900ms infinite alternate;
}

@keyframes pulse {
  to { opacity: 0.25; }
}

.wave-card {
  margin-top: 28px;
}

.wave-instruction {
  margin: -2px 0 11px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.45;
}

.wave-label-row,
.transport {
  display: flex;
  align-items: center;
}

.wave-label-row {
  margin-bottom: 9px;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wave-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
  border: 1px solid rgba(49, 92, 73, 0.1);
  border-radius: 13px;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(49, 92, 73, 0.06) 50%, transparent 50.2%),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(49, 92, 73, 0.045) 35px),
    #f6f7f2;
  cursor: pointer;
}

.wave-wrap canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#wave-progress {
  clip-path: inset(0 100% 0 0);
}

.trim-shade {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  background: rgba(21, 33, 29, 0.32);
  backdrop-filter: grayscale(0.7);
  pointer-events: none;
}

.trim-shade-start {
  left: 0;
  width: 0;
}

.trim-shade-end {
  right: 0;
  width: 0;
}

.wave-playhead {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: rgba(49, 92, 73, 0.72);
  pointer-events: none;
  transform: translateX(-0.5px);
}

.wave-playhead span {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 8px;
  height: 8px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--sage-dark);
  box-shadow: 0 1px 5px rgba(21, 33, 29, 0.25);
  transform: translateX(-50%);
}

.trim-handle {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  width: 2px;
  padding: 0;
  border: 0;
  color: white;
  background: var(--terracotta);
  cursor: ew-resize;
  touch-action: none;
}

.trim-handle-start {
  left: 0;
}

.trim-handle-end {
  left: 100%;
}

.trim-handle > span {
  position: absolute;
  top: 9px;
  min-width: 48px;
  padding: 4px 6px;
  border-radius: 5px;
  color: white;
  background: var(--terracotta);
  font-size: 8px;
  font-style: normal;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.trim-handle-start > span {
  left: 5px;
}

.trim-handle-end > span {
  right: 5px;
}

.trim-handle i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 29px;
  border: 2px solid white;
  border-radius: 5px;
  background: var(--terracotta);
  box-shadow: 0 2px 8px rgba(21, 33, 29, 0.2);
  transform: translate(-50%, -50%);
}

.trim-handle i::before,
.trim-handle i::after {
  content: "";
  position: absolute;
  top: 7px;
  bottom: 7px;
  width: 1px;
  background: rgba(255, 255, 255, 0.75);
}

.trim-handle i::before {
  left: 3px;
}

.trim-handle i::after {
  right: 3px;
}

.trim-handle:focus-visible i {
  outline: 3px solid rgba(199, 120, 89, 0.3);
  outline-offset: 3px;
}

.wave-timeline {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 7px;
  left: 10px;
  display: flex;
  justify-content: space-between;
  color: rgba(21, 33, 29, 0.6);
  font-size: 8px;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.wave-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: white;
  background: var(--sage-dark);
  box-shadow: 0 10px 28px rgba(49, 92, 73, 0.28);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.wave-play:hover {
  background: #244d3c;
  transform: translate(-50%, -50%) scale(1.04);
}

.wave-play svg {
  width: 22px;
  fill: currentColor;
}

.wave-play .pause-icon,
.wave-play.playing .play-icon {
  display: none;
}

.wave-play.playing .pause-icon {
  display: block;
}

.volume-control {
  position: absolute;
  z-index: 5;
  right: 12px;
  top: 50%;
  width: 34px;
  height: 116px;
  padding: 9px 7px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 7px;
  border: 1px solid rgba(49, 92, 73, 0.16);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 7px 22px rgba(21, 33, 29, 0.12);
  cursor: pointer;
  transform: translateY(-50%);
}

.volume-control svg {
  width: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--sage-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.volume-control input {
  width: 16px;
  height: 72px;
  margin: 0;
  accent-color: var(--sage-dark);
  cursor: ns-resize;
  direction: rtl;
  writing-mode: vertical-lr;
}

.volume-control:focus-within {
  outline: 3px solid rgba(49, 92, 73, 0.2);
  outline-offset: 2px;
}

.transport {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 10px;
}

.slider-control input {
  height: 3px;
  border-radius: 99px;
  accent-color: var(--sage-dark);
  cursor: pointer;
}

.trim-summary {
  min-width: 0;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 247, 242, 0.72);
}

.trim-summary svg {
  width: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--terracotta);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trim-summary strong {
  overflow: hidden;
  color: var(--sage-dark);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trim-summary button {
  padding: 0;
  border: 0;
  color: var(--ink-soft);
  background: transparent;
  font-size: 9px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.compare-row {
  margin-top: 30px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11px;
}

.segment-control,
.preset-row {
  padding: 3px;
  display: flex;
  border-radius: 8px;
  background: #ebeee8;
}

.segment-control button,
.preset-row button {
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.engine-heading {
  margin: -3px 0 9px;
}

.engine-heading strong,
.engine-heading span {
  display: block;
}

.engine-heading strong {
  font-size: 11px;
}

.engine-heading span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 9px;
}

.engine-selector {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.engine-selector button {
  min-width: 0;
  padding: 10px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.44);
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.engine-selector button:hover,
.engine-selector button.active {
  border-color: rgba(49, 92, 73, 0.55);
  color: var(--sage-dark);
  background: white;
}

.engine-selector button.active {
  box-shadow: inset 0 0 0 1px rgba(49, 92, 73, 0.25);
}

.engine-name {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 750;
}

.engine-name svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.engine-selector small {
  margin-top: 4px;
  display: block;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.segment-control button {
  padding: 7px 13px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
}

.segment-control button.active,
.preset-row button.active {
  color: var(--ink);
  background: white;
  box-shadow: 0 2px 8px rgba(21, 33, 29, 0.09);
}

.saved-note {
  margin-left: auto;
  color: var(--sage-dark);
  font-size: 10px;
  font-weight: 700;
}

.control-heading {
  display: flex;
  align-items: center;
  gap: 11px;
}

.control-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--sage-dark);
  background: rgba(255, 255, 255, 0.7);
}

.control-icon svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.control-heading p {
  margin: 0 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.control-label {
  margin-top: 25px;
}

.control-label strong,
.control-label span {
  display: block;
}

.control-label strong {
  font-size: 11px;
}

.control-label span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 9px;
}

.control-heading span,
.slider-control small,
.toggle-row small {
  display: block;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.preset-row {
  margin: 10px 0 25px;
}

.preset-row button {
  padding: 8px 4px;
  flex: 1;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
}

.slider-control {
  margin-bottom: 24px;
  display: block;
}

.slider-control > span {
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.slider-control output {
  color: var(--sage-dark);
  font-weight: 750;
}

.slider-control input {
  width: 100%;
}

.slider-control small {
  margin-top: 6px;
}

.toggle-row {
  position: relative;
  margin: 4px 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  cursor: pointer;
}

.toggle-row strong {
  font-size: 11px;
}

.toggle-row input {
  position: absolute;
  opacity: 0;
}

.toggle-track {
  width: 38px;
  height: 22px;
  padding: 3px;
  flex: 0 0 auto;
  border-radius: 99px;
  background: #bdc4bf;
  transition: background 150ms ease;
}

.toggle-track span {
  width: 16px;
  height: 16px;
  display: block;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  transition: transform 150ms ease;
}

.toggle-row input:checked + .toggle-track {
  background: var(--sage-dark);
}

.toggle-row input:checked + .toggle-track span {
  transform: translateX(16px);
}

.cancel-button {
  width: 100%;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.process-note {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 9px;
}

.process-note.processing svg {
  animation: pulse 700ms infinite alternate;
}

.process-note svg {
  width: 15px;
  fill: none;
  stroke: var(--sage-dark);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-bar {
  margin-top: 20px;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(49, 92, 73, 0.17);
  border-radius: 14px;
  background: rgba(228, 237, 229, 0.75);
  animation: studio-in 300ms ease both;
}

.success-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--sage-dark);
}

.success-mark svg,
.download-bar > button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-bar p {
  margin: 0 0 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}

.download-bar span {
  color: var(--ink-soft);
  font-size: 10px;
}

.download-copy {
  min-width: 165px;
}

.export-picker {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.export-picker > span {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.export-format {
  padding: 3px;
  display: flex;
  border: 1px solid rgba(49, 92, 73, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.export-format button {
  min-width: 55px;
  padding: 6px 9px;
  border: 0;
  border-radius: 5px;
  color: var(--ink-soft);
  background: transparent;
  font-size: 9px;
  font-weight: 750;
  cursor: pointer;
}

.export-format button.active {
  color: white;
  background: var(--sage-dark);
}

.download-bar > button {
  margin-left: 3px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 8px;
  color: white;
  background: var(--sage-dark);
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}

.mac-app-card {
  margin: 24px 0 65px;
  padding: 34px 38px;
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 25px;
  overflow: hidden;
  border: 1px solid rgba(49, 92, 73, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(223, 203, 169, 0.36), transparent 36%),
    rgba(255, 255, 255, 0.68);
  box-shadow: 0 24px 70px rgba(39, 51, 44, 0.08);
}

.mac-app-icon {
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 17px;
  box-shadow: 0 12px 28px rgba(49, 92, 73, 0.2);
}

.mac-app-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.mac-app-kicker {
  color: var(--terracotta);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mac-app-copy h2 {
  margin-top: 5px;
  font-size: 29px;
}

.mac-app-copy p {
  max-width: 610px;
  margin: 9px 0 13px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.mac-app-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mac-app-features span {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--sage-dark);
  background: var(--sage-pale);
  font-size: 9px;
  font-weight: 700;
}

.mac-app-cta {
  min-width: 172px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(21, 33, 29, 0.14);
  border-radius: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.mac-app-cta:hover {
  border-color: rgba(49, 92, 73, 0.42);
  background: white;
  transform: translateY(-1px);
}

.mac-app-cta > svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.mac-app-cta > span {
  font-size: 11px;
  font-weight: 750;
  line-height: 1.15;
}

.mac-app-cta small {
  display: block;
  font-size: 8px;
  font-weight: 500;
}

.trust-section {
  padding: 55px 0 67px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.trust-item {
  padding: 0 34px;
  display: flex;
  gap: 15px;
  border-right: 1px solid var(--line);
}

.trust-item:first-child {
  padding-left: 0;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-number {
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-style: italic;
}

.trust-item strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 400;
}

.trust-item p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
}

footer {
  padding: 32px 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 10px;
}

.footer-brand {
  font-size: 17px;
}

.footer-brand .brand-mark {
  width: 20px;
  height: 20px;
}

.hidden {
  display: none !important;
}

.toast {
  position: fixed;
  z-index: 10;
  left: 50%;
  bottom: 25px;
  max-width: min(430px, calc(100% - 30px));
  padding: 12px 17px;
  border-radius: 9px;
  color: white;
  background: var(--ink);
  box-shadow: 0 12px 35px rgba(21, 33, 29, 0.25);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

  .controls-panel {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .trust-section {
    gap: 30px;
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:first-child {
    padding: 0;
    border-right: 0;
  }

  .mac-app-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .mac-app-cta {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    height: 75px;
  }

  .privacy-pill {
    width: 34px;
    height: 34px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }

  .hero {
    min-height: 760px;
    padding-top: 58px;
  }

  h1 {
    font-size: 48px;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .workflow-steps li {
    padding: 10px 13px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-steps li:last-child {
    border-bottom: 0;
  }

  .workflow-steps small {
    white-space: normal;
  }

  .drop-zone {
    padding-inline: 17px;
  }

  .format-group {
    align-items: flex-start;
    flex-direction: column;
  }

  .format-row {
    justify-content: flex-start;
  }

  .studio-heading h2 {
    font-size: 36px;
  }

  .main-panel,
  .controls-panel {
    padding: 22px 18px;
  }

  .wave-wrap {
    height: 160px;
  }

  .saved-note {
    display: none;
  }

  .download-bar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .download-bar > button {
    width: 100%;
    margin: 5px 0 0;
    justify-content: center;
  }

  .export-picker {
    width: 100%;
    margin: 5px 0 0;
    justify-content: space-between;
  }

  .export-format {
    flex: 1;
  }

  .export-format button {
    flex: 1;
  }

  footer {
    align-items: flex-start;
    gap: 15px;
    flex-direction: column;
  }

  .mac-app-card {
    padding: 25px 21px;
    grid-template-columns: 1fr;
    text-align: left;
  }

  .mac-app-icon {
    width: 58px;
    height: 58px;
  }

  .mac-app-cta {
    width: 100%;
    grid-column: 1;
  }
}

@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;
  }
}
