:root {
  --bg: #f4f5f0;
  --ink: #151515;
  --muted: #666a60;
  --line: #d8d9cf;
  --panel: #ffffff;
  --accent: #20352f;
  --accent-dark: #111b18;
  --teal: #177a73;
  --sun: #e7dcc0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(23, 122, 115, 0.08), transparent 30%),
    linear-gradient(315deg, rgba(231, 220, 192, 0.2), transparent 34%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button {
  color: inherit;
}

code {
  padding: 2px 5px;
  border-radius: 5px;
  background: #ededdf;
}

.shell {
  width: min(1520px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.workbench {
  display: grid;
  gap: 24px;
}

.intro,
.status-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

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

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trial-studio-note {
  border: 1px solid rgba(23, 122, 115, 0.22);
  border-radius: 8px;
  padding: 12px 14px;
  color: #31534f;
  background: rgba(235, 247, 244, 0.84);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.trial-studio input[readonly] {
  color: var(--muted);
  background: #f0f1ea;
}

.eyebrow {
  margin: 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

.upload-panel,
.progress-wrap,
.result-pane,
.alert,
.library-status {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 50px rgba(31, 31, 25, 0.08);
}

.upload-panel {
  display: grid;
  gap: 20px;
  padding: 24px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field > span,
.label-row,
.limit {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.label-row {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.label-row span {
  min-width: 0;
}

.label-row strong {
  color: var(--ink);
  font-weight: 800;
}

.help-icon {
  position: relative;
  display: inline-grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  border: 1px solid #c9cbbd;
  border-radius: 50%;
  padding: 0;
  color: var(--teal);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: help;
}

.help-icon::after {
  position: absolute;
  z-index: 10;
  bottom: calc(100% + 9px);
  left: 50%;
  width: min(260px, 76vw);
  padding: 9px 10px;
  border-radius: 7px;
  color: #fff;
  background: #20231f;
  box-shadow: 0 12px 28px rgba(20, 20, 18, 0.18);
  content: attr(data-tooltip);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.help-icon:hover::after,
.help-icon:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

.field input[type="range"] {
  min-height: 28px;
  padding: 0;
  accent-color: var(--teal);
}

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

.field input:focus,
.field select:focus {
  outline: 3px solid rgba(29, 143, 136, 0.18);
  border-color: var(--teal);
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary-button:hover {
  background: var(--accent-dark);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.secondary-button {
  flex: 0 0 auto;
  color: var(--ink);
  background: var(--sun);
  border-color: #d8ccb3;
}

.secondary-button:hover {
  background: #ded2b9;
}

.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.quiet-button {
  color: var(--ink);
  background: #eef0e6;
  border-color: var(--line);
}

.library-status {
  width: fit-content;
  padding: 10px 13px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.library-status strong {
  color: var(--ink);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.section-title {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.layout-panel,
.tile-source-panel {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.layout-panel {
  border-top: 0;
  padding-top: 0;
}

.layout-options,
.tile-source-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.layout-option,
.tile-source-option {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  cursor: pointer;
}

.layout-option input,
.tile-source-option input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--teal);
}

.layout-option span,
.tile-source-option span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.layout-option strong,
.tile-source-option strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
}

.layout-option small,
.tile-source-option small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.layout-option input:checked + span strong,
.tile-source-option input:checked + span strong {
  color: var(--teal);
}

.library-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.library-choice label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f7f7f2;
  cursor: pointer;
}

.library-choice input {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
}

.library-choice strong,
.library-choice small {
  display: block;
}

.library-choice strong {
  font-size: 13px;
  font-weight: 850;
}

.library-choice small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.layout-option.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.grid-layout-options,
.custom-tile-panel {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.toggle-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.toggle-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.row-mode .chaotic-only {
  display: none;
}

.fixed-grid-only {
  display: none;
}

.grid-fixed .fixed-grid-only {
  display: grid;
}

.grid-fixed .variable-size-only,
.grid-fixed .mask-dependent {
  display: none;
}

.beautiful-mode .manual-only,
.beautiful-mode.grid-fixed .manual-only {
  display: none;
}

.mask-editor,
.advanced-panel {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.mask-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-height: 62vh;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e8e9df;
}

.mask-stage img {
  display: block;
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
}

.mask-stage canvas {
  position: absolute;
  left: 0;
  top: 0;
  cursor: crosshair;
  touch-action: none;
}

.mask-opacity-control {
  max-width: 420px;
  margin-top: -4px;
}

.mask-tools {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
  gap: 18px;
  align-items: start;
}

.gradient-workspace {
  grid-template-columns: minmax(360px, 1fr) minmax(220px, 0.52fr);
}

.mask-control-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.control-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.control-card-head p {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.compact-head {
  padding-bottom: 10px;
}

.external-mask-panel {
  display: grid;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.control-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.tool-button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #f7f8f1;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.tool-button.active {
  border-color: var(--teal);
  color: #fff;
  background: var(--teal);
}

.gradient-tool-buttons {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.compact-field {
  gap: 4px;
}

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

.mask-fill-actions {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.gradient-list {
  display: grid;
  gap: 8px;
}

.gradient-item {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #f7f8f1;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.gradient-item.active {
  border-color: var(--teal);
  background: rgba(29, 143, 136, 0.11);
}

.advanced-panel summary {
  width: fit-content;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

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

.advanced-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.engineering-note {
  margin: 0;
  border: 1px solid rgba(230, 79, 61, 0.25);
  border-radius: 8px;
  padding: 12px 14px;
  color: #7e2218;
  background: #fff7ef;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.weight-total {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.limit {
  margin: -8px 0 0;
}

.reuse-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.alert {
  padding: 16px 18px;
  border-color: rgba(230, 79, 61, 0.35);
  color: #7e2218;
  background: #fff3ef;
}

.progress-wrap {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.progress-bar {
  height: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7e8df;
}

.progress-bar div {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--accent));
  transition: width 220ms ease;
}

.status-row,
.result-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.status-row span {
  color: var(--muted);
}

.result-pane {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.result-pane img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 8px;
  background: #ecece4;
}

.hidden {
  display: none;
}

.landing-body {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), transparent 280px),
    linear-gradient(112deg, rgba(23, 122, 115, 0.08), transparent 42%),
    #f6f6f1;
}

.site-nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(18px, 4%, 56px);
  background: rgba(246, 246, 241, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(216, 217, 207, 0.72);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(128px, 12vw, 172px);
  height: auto;
}

.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

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

.nav-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 118px clamp(18px, 3.6vw, 58px) 64px;
  color: var(--ink);
  background: #f6f6f1;
  border-bottom: 1px solid rgba(216, 217, 207, 0.78);
}

.landing-hero::after {
  position: absolute;
  right: clamp(20px, 4vw, 72px);
  bottom: 36px;
  left: clamp(20px, 4vw, 72px);
  height: 1px;
  background: rgba(21, 21, 21, 0.08);
  content: "";
}

.hero-animation-video {
  position: absolute;
  z-index: 1;
  top: 49%;
  left: 65.6%;
  width: auto;
  height: min(84vh, 800px);
  max-width: 64vw;
  max-height: calc(100% - 92px);
  transform: translate(-50%, -50%);
  background: transparent;
  object-fit: contain;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: calc(100vh - 182px);
  grid-template-columns: minmax(440px, 0.74fr) minmax(300px, 0.34fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
}

.hero-copy {
  position: relative;
  max-width: 780px;
  align-self: center;
}

.hero-copy h1 {
  max-width: 760px;
  margin-top: 16px;
  color: var(--ink);
  font-size: clamp(76px, 8.6vw, 146px);
  line-height: 0.86;
}

.hero-copy .eyebrow {
  color: var(--teal);
}

.hero-lede {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 650;
  line-height: 1.38;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 620px;
  margin-top: 30px;
}

.hero-proof span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 850;
}

.hero-mosaic {
  display: none;
}

@media (max-width: 1040px) {
  .hero-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-animation-video {
    top: 33%;
    left: 65%;
    height: min(54vh, 560px);
    max-width: 76vw;
    opacity: 0.82;
  }

  .hero-copy h1 {
    font-size: 72px;
  }

  .hero-trial-form {
    max-width: 720px;
  }

  .compact-trial-form {
    justify-self: start;
    margin-right: 0;
  }

  .process-grid,
  .style-grid,
  .example-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .print-section,
  .print-stats {
    grid-template-columns: 1fr;
  }

  .print-stats article {
    min-height: 170px;
  }
}

.landing-section {
  width: min(1680px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0 12px;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1.08;
}

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

.split-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
}

.hero-trial-form {
  display: grid;
  gap: 14px;
  align-self: end;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(31, 31, 25, 0.12);
  backdrop-filter: blur(16px);
}

.compact-trial-form {
  width: min(390px, 100%);
  max-width: 390px;
  justify-self: end;
  margin-right: clamp(0px, 2vw, 34px);
}

.form-message,
.notice-card {
  margin: 0;
  border: 1px solid rgba(23, 122, 115, 0.24);
  border-radius: 8px;
  padding: 10px 12px;
  color: #284c47;
  background: rgba(235, 247, 244, 0.86);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
}

.notice-section {
  padding-top: 26px;
}

.notice-card {
  box-shadow: 0 16px 36px rgba(31, 31, 25, 0.07);
}

.trial-form-head {
  display: grid;
  gap: 4px;
}

.trial-form-head span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.trial-form-head strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.trial-form-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}

.google-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  font-weight: 850;
  text-decoration: none;
}

.google-button:hover {
  background: #fff;
}

.hero-submit {
  width: 100%;
}

.process-grid,
.style-grid,
.example-grid,
.pricing-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-item,
.style-card,
.example-card,
.price-card,
.print-stats article,
.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px rgba(31, 31, 25, 0.08);
}

.process-item {
  display: grid;
  gap: 12px;
  min-height: 230px;
  align-content: space-between;
  padding: 22px;
}

.process-item span {
  color: var(--teal);
  font-size: 14px;
  font-weight: 950;
}

.process-item h3,
.style-card h3,
.faq-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.08;
}

.process-item p,
.style-card p,
.faq-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.style-card {
  display: grid;
  min-height: 430px;
  align-content: space-between;
  gap: 22px;
  overflow: hidden;
  padding: 20px;
}

.style-visual-image {
  display: block;
  width: 100%;
  height: 280px;
  border-radius: 8px;
  object-fit: cover;
  background: #172132;
}


.example-card {
  overflow: hidden;
  min-height: 340px;
  background: #1a2130;
}

.example-card img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
}


.print-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(420px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.print-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  min-height: 320px;
  border-radius: 8px;
  padding: 28px;
  color: #fff;
  background: #151515;
}

.print-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
}

.print-copy p:last-child {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 650;
  line-height: 1.48;
}

.print-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  gap: 14px;
}

.print-stats article {
  display: grid;
  align-content: end;
  min-height: 320px;
  gap: 12px;
  padding: 20px;
}

.print-stats strong {
  color: var(--ink);
  font-size: clamp(38px, 3.2vw, 62px);
  line-height: 0.96;
  white-space: nowrap;
}

.print-stats span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.price-card {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.plan-action {
  width: 100%;
  margin-top: 10px;
}

.featured-plan {
  border-color: rgba(29, 143, 136, 0.45);
  background: rgba(236, 250, 247, 0.92);
}

.plan-name {
  margin: 0;
  color: var(--teal);
  font-weight: 900;
}

.plan-price {
  font-size: 42px;
  line-height: 1;
}

.price-card > p:not(.plan-name) {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.plan-list {
  display: grid;
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.plan-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.plan-list li::before {
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.faq-grid article {
  display: grid;
  gap: 10px;
  padding: 20px;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 24px, 1080px);
    padding: 28px 0;
  }

  .intro,
  .status-head,
  .status-row,
  .result-actions {
    align-items: stretch;
    flex-direction: column;
  }

  h1 {
    font-size: 40px;
    line-height: 1;
  }

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

  .layout-options,
  .tile-source-options,
  .library-choice,
  .mask-tools,
  .advanced-grid,
  .gradient-controls,
  .mask-fill-actions {
    grid-template-columns: 1fr;
  }

  .upload-panel,
  .progress-wrap,
  .result-pane {
    padding: 16px;
  }

  .site-nav {
    position: sticky;
    align-items: center;
    flex-direction: row;
    padding: 12px 20px;
  }

  .nav-actions,
  .hero-actions {
    align-items: center;
    flex-direction: row;
    gap: 8px;
  }

  .nav-actions .primary-button,
  .nav-actions .secondary-button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }

  .landing-hero {
    min-height: auto;
    padding: 28px 20px 46px;
  }

  .hero-animation-video {
    position: relative;
    z-index: 1;
    top: auto;
    left: 50%;
    display: block;
    height: auto;
    width: min(98vw, 430px);
    max-width: none;
    max-height: none;
    margin: -8px 0 12px;
    opacity: 0.94;
    transform: translateX(-50%);
  }

  .hero-layout {
    display: flex;
    flex-direction: column;
    min-height: auto;
    gap: 0;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 15vw, 64px);
    line-height: 0.9;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-proof {
    margin-top: 20px;
  }

  .hero-trial-form {
    margin-top: 20px;
    padding: 16px;
  }

  .split-heading,
  .process-grid,
  .style-grid,
  .example-grid,
  .pricing-grid,
  .faq-grid,
  .print-section,
  .print-stats {
    grid-template-columns: 1fr;
  }

  .landing-section {
    width: min(100% - 32px, 1680px);
    padding: 52px 0 0;
  }

  .section-heading h2,
  .print-copy h2 {
    font-size: 34px;
  }

  .style-card {
    min-height: 340px;
  }

  .style-visual-image {
    height: 220px;
  }

  .example-card {
    min-height: 260px;
  }

  .example-card img {
    height: 330px;
  }

  .print-copy,
  .print-stats article {
    min-height: 220px;
  }

  .nav-link {
    display: none;
  }
}
