:root {
  --ink: #151a1f;
  --muted: #5e6872;
  --paper: #f6f4ef;
  --panel: #ffffff;
  --line: #ded9cf;
  --green: #14694f;
  --blue: #224d8f;
  --gold: #b87928;
  --charcoal: #24292f;
  --shadow: 0 18px 50px rgba(21, 26, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

.hidden-field {
  display: none;
}

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

img {
  display: block;
  max-width: 100%;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(21, 26, 31, 0.08);
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(18px);
}

.brand,
nav,
.hero-actions,
.proof-strip {
  display: flex;
  align-items: center;
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 6px;
  color: white;
  background: var(--green);
  font-size: 0.86rem;
}

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

nav a:hover,
.nav-action:hover,
.product-card a:hover {
  color: var(--green);
}

.nav-action {
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  min-height: calc(100vh - 72px);
  padding: clamp(18px, 4vw, 56px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.landing-hero {
  min-height: calc(92vh - 72px);
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.65fr);
  min-height: calc(100vh - 72px);
  padding: clamp(44px, 7vw, 96px) clamp(18px, 4vw, 56px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  min-height: calc(100vh - 72px);
  padding: clamp(44px, 7vw, 96px) clamp(18px, 4vw, 56px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.contact-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.68;
}

.request-summary {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin-top: 24px;
}

.request-summary > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 14px 16px;
  border: 1px solid rgba(20, 105, 79, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.request-summary span {
  display: grid;
  grid-row: span 2;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--green);
  font-weight: 850;
}

.request-summary strong {
  font-size: 1rem;
}

.request-summary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  font: inherit;
}

.contact-form textarea {
  padding: 12px;
  resize: vertical;
  line-height: 1.55;
}

.contact-form button {
  min-height: 48px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: white;
  background: var(--ink);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.lead-export-hero {
  align-items: start;
}

.lead-export-panel {
  align-self: start;
}

.lead-export-counts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 10px;
}

.lead-export-counts > div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 8px;
  background: #fffdf8;
}

.lead-export-counts > div.priority-hot {
  border-color: rgba(141, 43, 34, 0.22);
  background: #fff1ed;
}

.lead-export-counts > div.priority-warm {
  border-color: rgba(122, 76, 0, 0.22);
  background: #fff6df;
}

.lead-export-counts strong {
  font-size: 1.9rem;
  line-height: 1;
}

.lead-export-counts span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.lead-export-output {
  min-height: 420px;
  background: #fffdf8;
}

.contact-form .button.danger,
.button.danger {
  border-color: #8d2f22;
  color: #8d2f22;
  background: #fff8f6;
}

.thank-you-panel {
  align-content: start;
}

.thank-you-panel strong {
  font-size: 1.2rem;
}

.thank-you-panel ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.55;
}

.order-summary {
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin-top: 24px;
}

.order-summary div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.order-summary span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.order-summary strong {
  overflow-wrap: anywhere;
  font-size: 0.98rem;
}

.step-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.65;
}

.check-list code {
  padding: 2px 5px;
  border-radius: 4px;
  background: #f0ece3;
  color: var(--charcoal);
  font-size: 0.9em;
}

.product-hero-copy p:not(.eyebrow):not(.checkout-status) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.68;
}

.product-preview-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.product-preview-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.product-preview-card > div {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.checkout-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--gold);
  font-weight: 800;
  line-height: 1.5;
}

.purchase-panel {
  display: grid;
  gap: 8px;
  max-width: 640px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(184, 121, 40, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 10px 28px rgba(21, 26, 31, 0.07);
}

.purchase-panel[data-checkout-ready="true"] {
  border-color: rgba(20, 105, 79, 0.3);
  background: rgba(245, 251, 248, 0.86);
}

.purchase-panel strong {
  color: var(--ink);
  font-size: 1rem;
}

.purchase-panel span {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.purchase-panel span::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
}

.purchase-panel[data-checkout-ready="true"] span::before {
  background: var(--green);
}

.hero-media {
  height: min(68vh, 680px);
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--charcoal);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(3.1rem, 6vw, 6.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero-text {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button,
.signup-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
  border: 1px solid var(--ink);
  cursor: pointer;
}

.primary,
.signup-form button {
  color: white;
  background: var(--ink);
}

.secondary {
  background: transparent;
}

.micro-link {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.micro-link a {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.proof-strip {
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.proof-strip span,
.tag {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.section,
.settings-band,
.media-split,
.feedback-section,
.waitlist,
footer {
  padding: clamp(44px, 7vw, 96px) clamp(18px, 4vw, 56px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  gap: 40px;
  align-items: end;
}

.intro-grid > p,
.settings-copy p,
.media-split p,
.feedback-section p,
.waitlist p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.6fr);
  gap: 24px;
  padding: 0 clamp(18px, 4vw, 56px) clamp(44px, 7vw, 96px);
}

.case-feature,
.product-card,
.roadmap-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.case-feature {
  overflow: hidden;
}

.case-feature img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.case-body {
  padding: 26px;
}

.case-body p:not(.tag) {
  color: var(--muted);
  line-height: 1.65;
}

.case-specs {
  display: grid;
  gap: 12px;
}

.case-specs > div {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border-left: 5px solid var(--green);
  background: #ebe7dc;
}

.spec-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.product-grid,
.tool-grid,
.roadmap-grid,
.proof-grid,
.commercial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.purchase-guide {
  background: #ebe7dc;
}

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

.choice-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 36px rgba(21, 26, 31, 0.08);
}

.choice-grid img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.choice-grid article > div {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.choice-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.choice-label {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f0ece3;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
}

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

.trust-row span {
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(20, 105, 79, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--charcoal);
  font-weight: 780;
  line-height: 1.35;
}

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

.tool-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 460px;
  overflow: hidden;
  padding: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(21, 26, 31, 0.07);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(21, 26, 31, 0.12);
}

.featured-tool {
  grid-column: span 1;
  border-color: rgba(20, 105, 79, 0.36);
  background: linear-gradient(180deg, #ffffff 0%, #f5fbf8 100%);
  box-shadow: 0 18px 48px rgba(20, 105, 79, 0.14);
}

.pet-shape-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tool-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.tool-card .tool-number,
.tool-card h3,
.tool-card p,
.tool-card .button,
.tool-card-actions {
  margin-left: 24px;
  margin-right: 24px;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.tool-number {
  display: inline-grid;
  width: fit-content;
  min-width: 46px;
  min-height: 32px;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--green);
  font-size: 1rem;
  font-weight: 850;
}

.template-stack {
  display: grid;
  gap: 12px;
}

.template-stack a {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.template-stack a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.tool-page {
  min-height: calc(100vh - 72px);
}

.legal-page {
  min-height: calc(100vh - 72px);
}

.legal-hero {
  padding: clamp(54px, 8vw, 110px) clamp(18px, 4vw, 56px) 24px;
}

.legal-hero h1 {
  font-size: clamp(2.8rem, 6vw, 6.5rem);
}

.legal-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.legal-content {
  display: grid;
  gap: 24px;
  max-width: 900px;
  padding: 0 clamp(18px, 4vw, 56px) clamp(54px, 8vw, 110px);
}

.legal-content h2 {
  margin-top: 12px;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.legal-content p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.tool-hero {
  padding: clamp(44px, 7vw, 86px) clamp(18px, 4vw, 56px) 24px;
}

.tool-hero h1 {
  max-width: 980px;
  font-size: clamp(2.6rem, 5vw, 5.6rem);
}

.tool-hero p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.68;
}

.compat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 920px;
  margin-top: 22px;
}

.compat-strip span,
.compat-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.compat-strip a {
  color: var(--green);
  border-color: rgba(20, 105, 79, 0.3);
  background: #e9f3ef;
}

.tool-workspace {
  display: grid;
  grid-template-columns: minmax(290px, 360px) minmax(0, 1fr);
  gap: 20px;
  padding: 0 clamp(18px, 4vw, 56px) clamp(44px, 7vw, 86px);
}

.tool-help-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 clamp(18px, 4vw, 56px) clamp(54px, 8vw, 96px);
}

.tool-help-strip article {
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  box-shadow: 0 12px 30px rgba(21, 26, 31, 0.06);
}

.tool-help-strip span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--green);
  background: #e9f3ef;
  font-size: 0.78rem;
  font-weight: 850;
}

.tool-help-strip strong {
  display: block;
  margin-top: 16px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.tool-help-strip p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.machine-next-step {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(280px, 0.38fr);
  gap: 22px;
  align-items: center;
  margin: 0 clamp(18px, 4vw, 56px) clamp(54px, 8vw, 96px);
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(20, 105, 79, 0.2);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(20, 105, 79, 0.08), transparent 46%),
    rgba(255, 253, 248, 0.92);
  box-shadow: 0 18px 48px rgba(21, 26, 31, 0.08);
}

.machine-next-step h2,
.machine-next-step p {
  margin: 0;
}

.machine-next-step h2 {
  max-width: 760px;
  font-size: clamp(1.65rem, 3vw, 3rem);
  line-height: 1.04;
}

.machine-next-step p:not(.eyebrow) {
  max-width: 780px;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.68;
}

.export-next-step-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  gap: 8px;
  width: min(390px, calc(100vw - 28px));
  padding: 16px;
  border: 1px solid rgba(21, 26, 31, 0.16);
  border-radius: 10px;
  background: rgba(255, 252, 245, 0.96);
  box-shadow: 0 24px 70px rgba(21, 26, 31, 0.22);
}

.export-next-step-toast > span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.export-next-step-toast strong,
.export-next-step-toast p {
  margin: 0;
}

.export-next-step-toast p {
  color: var(--muted);
  line-height: 1.45;
}

.export-next-step-toast .export-next-fit-hint {
  padding: 9px 10px;
  border: 1px solid rgba(20, 105, 79, 0.16);
  border-radius: 8px;
  background: rgba(20, 105, 79, 0.07);
  color: #1c4033;
  font-weight: 720;
}

.export-next-checklist {
  display: grid;
  gap: 5px;
  max-height: 150px;
  margin: 0;
  overflow: auto;
  padding: 10px 10px 10px 28px;
  border: 1px solid rgba(21, 26, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #30363d;
  font-size: 0.88rem;
  line-height: 1.36;
}

.export-next-checklist li {
  padding-left: 2px;
}

.export-next-step-toast .export-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.export-next-step-toast button.button {
  cursor: pointer;
}

.export-next-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(21, 26, 31, 0.14);
  border-radius: 50%;
  color: var(--muted);
  background: white;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.machine-next-actions {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 16px;
  border: 1px solid rgba(21, 26, 31, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
}

.controls-panel,
.canvas-panel,
.svg-preview-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.controls-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px;
}

.controls-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 780;
}

.control-heading {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 780;
}

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

.preset-card {
  display: grid;
  min-height: 86px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f9f8f4;
  cursor: pointer;
}

.preset-card svg {
  width: 100%;
  max-width: 96px;
  height: 70px;
}

.preset-card path,
.preset-card rect,
.preset-card circle,
.preset-card line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  vector-effect: non-scaling-stroke;
}

.preset-card .dash {
  stroke-dasharray: 4 4;
}

.preset-card.active,
.preset-card:hover {
  border-color: var(--green);
  background: #e9f3ef;
  box-shadow: inset 0 0 0 2px var(--green);
}

.preset-card.active path,
.preset-card.active rect,
.preset-card.active circle,
.preset-card.active line,
.preset-card:hover path,
.preset-card:hover rect,
.preset-card:hover circle,
.preset-card:hover line {
  stroke: var(--green);
}

.controls-panel input,
.controls-panel textarea,
.controls-panel select {
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: white;
  font: inherit;
}

.controls-panel textarea {
  min-height: 150px;
  padding: 10px;
  resize: vertical;
  line-height: 1.45;
}

.file-picker {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 780;
}

.file-picker input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.file-picker-button {
  display: inline-flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(21, 26, 31, 0.18);
  border-radius: 8px;
  color: var(--ink);
  background: #fffdf8;
  font: inherit;
  font-weight: 840;
  cursor: pointer;
}

.file-picker-button:hover,
.file-picker input[type="file"]:focus-visible + small,
.file-picker:focus-within .file-picker-button {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(20, 105, 79, 0.12);
}

.file-picker small {
  min-height: 20px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 720;
}

.order-check {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(20, 105, 79, 0.18);
  border-radius: 8px;
  background: rgba(20, 105, 79, 0.06);
}

.order-check-heading,
.order-check-grid {
  display: grid;
  gap: 8px;
}

.order-check-heading span,
.order-check-grid span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.order-check-heading strong {
  color: var(--green);
  font-size: 1rem;
}

.order-check-heading strong.has-warning {
  color: #8d2f22;
}

.order-check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-check-grid div {
  display: grid;
  gap: 2px;
  min-height: 56px;
  padding: 8px 9px;
  border: 1px solid rgba(21, 26, 31, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.74);
}

.order-check-grid strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.98rem;
}

.order-warnings {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.42;
}

.order-warnings li {
  position: relative;
  padding-left: 14px;
}

.order-warnings li::before {
  position: absolute;
  left: 0;
  content: "-";
}

.controls-panel input[type="range"] {
  padding: 0;
}

.checkbox-label {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.checkbox-label input {
  width: 18px;
  min-height: 18px;
}

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

.tool-actions button {
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: white;
  background: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.secondary-action {
  min-height: 42px;
  border: 1px solid rgba(21, 26, 31, 0.18);
  border-radius: 8px;
  background: #fffdf8;
  color: #151a1f;
  font: inherit;
  font-weight: 840;
  cursor: pointer;
}

.advanced-panel {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.advanced-panel summary {
  color: var(--muted);
  font-weight: 850;
  cursor: pointer;
}

.advanced-panel[open] {
  gap: 14px;
}

.advanced-panel[open] summary {
  margin-bottom: 4px;
}

.tool-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.canvas-panel,
.svg-preview-panel {
  position: relative;
  display: grid;
  min-height: 540px;
  place-items: center;
  overflow: auto;
  padding: 18px;
}

.canvas-panel canvas {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: white;
}

#emptyState {
  position: absolute;
  color: var(--muted);
  font-weight: 760;
}

.svg-preview {
  display: grid;
  width: min(100%, 760px);
  min-height: 360px;
  place-items: center;
  padding: 28px;
  background: #f9f8f4;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.wide-preview {
  width: min(100%, 980px);
}

.svg-preview svg {
  width: 100%;
  height: auto;
}

.product-card {
  min-height: 280px;
  padding: 24px;
}

.storefront-grid {
  align-items: stretch;
}

.storefront-card {
  display: grid;
  overflow: hidden;
  padding: 0;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(21, 26, 31, 0.07);
}

.storefront-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-bottom: 1px solid var(--line);
  background: #fffdf8;
}

.storefront-card-body {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.product-card.accent {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.price {
  display: block;
  margin-bottom: 42px;
  color: var(--gold);
  font-size: 2.4rem;
  font-weight: 850;
}

.accent .price,
.accent p,
.accent a {
  color: white;
}

.product-card.accent p {
  color: #edf4ff;
}

.accent .mini-list li {
  border-color: rgba(255, 255, 255, 0.28);
  color: #edf4ff;
  background: rgba(255, 255, 255, 0.08);
}

.accent .secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: white;
}

.product-card p,
.roadmap-grid p {
  color: var(--muted);
  line-height: 1.62;
}

.product-card a {
  display: inline-block;
  margin-top: 12px;
  font-weight: 850;
}

.storefront-card .button {
  margin-top: 0;
}

.storefront-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

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

.mini-list li {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: #f8f6f0;
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.35;
}

.request-card {
  background: #fbfaf7;
}

.request-visual {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-height: 188px;
  align-content: center;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(34, 77, 143, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(34, 77, 143, 0.1) 1px, transparent 1px),
    #edf2f7;
  background-size: 28px 28px;
}

.request-visual span {
  display: grid;
  min-height: 74px;
  place-items: center;
  border: 1px solid rgba(34, 77, 143, 0.22);
  border-radius: 8px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 900;
}

.settings-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.8fr);
  gap: 34px;
  align-items: center;
  color: white;
  background: var(--charcoal);
}

.settings-band .eyebrow {
  color: #86d0b5;
}

.settings-copy p {
  margin-top: 18px;
  color: #c9d0d4;
}

.settings-table {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.settings-table > div {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1fr;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.settings-table > div:last-child {
  border-bottom: 0;
}

.table-head {
  color: #86d0b5;
  font-weight: 850;
}

.media-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.85fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  gap: 24px;
}

.product-detail-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.product-detail-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.delivery-note {
  padding: 14px;
  border-left: 4px solid var(--gold);
  background: #f3eadb;
  font-weight: 700;
}

.fit-section {
  background: #f7f3ea;
}

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

.fit-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(21, 26, 31, 0.06);
}

.fit-grid strong {
  color: var(--green);
  font-size: 1.08rem;
}

.compact-list {
  margin-top: 18px;
}

.compact-list li {
  font-weight: 720;
}

.media-split img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-split p {
  margin-top: 18px;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  padding: 12px 14px;
  border-left: 4px solid var(--gold);
  background: #ebe7dc;
  font-weight: 760;
}

.roadmap-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-section {
  background:
    linear-gradient(90deg, rgba(20, 105, 79, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(20, 105, 79, 0.08) 1px, transparent 1px),
    #f2efe7;
  background-size: 38px 38px;
}

.proof-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(21, 26, 31, 0.07);
}

.proof-grid strong {
  color: var(--green);
  font-size: 1.1rem;
}

.proof-grid p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.blog-preview {
  background: #fbfaf7;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-grid article {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(21, 26, 31, 0.06);
}

.blog-grid span {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--green);
  background: #e9f3ef;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.blog-grid .button {
  width: fit-content;
  margin-top: auto;
}

.blog-footer-link {
  margin-top: 18px;
}

.blog-footer-link a {
  color: var(--green);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-article {
  display: grid;
  gap: 22px;
  max-width: 920px;
  padding: 0 clamp(18px, 4vw, 56px) clamp(54px, 8vw, 110px);
}

.blog-article > img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 14px 34px rgba(21, 26, 31, 0.08);
}

.blog-article h2 {
  margin-top: 16px;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
}

.blog-article p,
.blog-article li {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.blog-article p {
  margin: 0;
}

.blog-article ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 24px;
}

.article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 18px;
  border: 1px solid rgba(20, 105, 79, 0.22);
  border-radius: 8px;
  background: #e9f3ef;
}

.article-cta strong {
  font-size: 1.12rem;
}

.article-cta p {
  grid-column: 1;
  font-size: 0.98rem;
}

.file-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.file-preview-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(21, 26, 31, 0.05);
}

.file-preview-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: white;
}

.file-preview-grid strong {
  display: block;
  padding: 12px 14px;
  font-size: 0.98rem;
}

.commercial-section {
  background: #fbfaf7;
}

.commercial-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.commercial-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(21, 26, 31, 0.06);
}

.commercial-grid span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  color: white;
  background: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
}

.commercial-grid p {
  margin: 28px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.faq-section {
  background: #f6f4ef;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 26px rgba(21, 26, 31, 0.05);
}

.faq-list summary {
  min-height: 56px;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.ecosystem-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.86fr);
  gap: 28px;
  align-items: stretch;
  background: #f7f4eb;
}

.ecosystem-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 105, 79, 0.08), transparent 42%),
    var(--panel);
}

.ecosystem-copy p:last-child {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.ecosystem-links {
  display: grid;
  gap: 12px;
}

.ecosystem-links a {
  display: grid;
  gap: 8px;
  min-height: 112px;
  align-content: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(21, 26, 31, 0.06);
}

.ecosystem-links a:hover,
.ecosystem-links a:focus-visible {
  border-color: rgba(20, 105, 79, 0.42);
  transform: translateY(-1px);
}

.ecosystem-links span {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.ecosystem-links strong {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.18;
}

.machine-fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  grid-column: 1 / -1;
  margin-top: 18px;
}

.machine-fit-grid article {
  padding: 16px;
  border: 1px solid rgba(21, 26, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.machine-fit-grid strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 1.02rem;
}

.machine-fit-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.machine-fit-grid a {
  display: inline-block;
  margin-top: 12px;
  color: #14694f;
  font-weight: 900;
  text-decoration: none;
}

.machine-fit-grid a:hover,
.machine-fit-grid a:focus-visible {
  text-decoration: underline;
}

.signal-dashboard {
  display: grid;
  gap: 24px;
}

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

.signal-summary article,
.signal-grid article,
.signal-table-card {
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(21, 26, 31, 0.07);
}

.signal-summary article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.signal-summary span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.signal-summary strong {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

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

.signal-grid article {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 18px;
}

.signal-grid h2,
.signal-table-heading h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.signal-bars {
  display: grid;
  gap: 12px;
}

.signal-bar {
  display: grid;
  gap: 7px;
}

.signal-bar-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #3f474e;
  font-weight: 820;
}

.signal-bar-track {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: #ece7dc;
}

.signal-bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #14694f;
}

.empty-signal {
  margin: 0;
  color: var(--muted);
}

.signal-table-card {
  overflow: hidden;
}

.signal-table-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid rgba(21, 26, 31, 0.1);
}

.signal-table-heading button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(21, 26, 31, 0.18);
  border-radius: 7px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 820;
  cursor: pointer;
}

.signal-table-wrap {
  overflow-x: auto;
}

.signal-table-card table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.signal-table-card th,
.signal-table-card td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(21, 26, 31, 0.08);
  text-align: left;
  vertical-align: top;
}

.signal-table-card th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.signal-table-card .checkout-status {
  margin: 0;
  padding: 14px 18px;
}

.machine-fit-hero .hero-actions {
  margin-top: 22px;
}

.machine-fit-guide {
  padding-top: clamp(28px, 5vw, 72px);
}

.fit-recommender {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(20, 105, 79, 0.08), transparent 45%),
    rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 46px rgba(21, 26, 31, 0.08);
}

.fit-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.fit-controls label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.fit-controls select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(21, 26, 31, 0.16);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
}

.fit-result {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.fit-result article {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 148px;
  padding: 16px;
  border: 1px solid rgba(21, 26, 31, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
}

.fit-result-main {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(236, 244, 239, 0.88));
}

.fit-result span,
.fit-result strong {
  color: #14694f;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fit-result h3 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.06;
}

.fit-result p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.material-results-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(238, 243, 236, 0.82)),
    url("./assets/preview/proof-material-grid.jpg") center / cover;
}

.material-results-app {
  padding-top: clamp(28px, 5vw, 72px);
}

.material-results-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.result-prefill-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(20, 105, 79, 0.18);
  border-radius: 10px;
  background: rgba(234, 248, 241, 0.78);
}

.result-prefill-note[hidden] {
  display: none;
}

.result-prefill-note strong {
  color: var(--green);
}

.result-prefill-note span {
  color: var(--muted);
}

.material-result-form,
.material-results-board {
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(21, 26, 31, 0.08);
}

.material-result-form {
  display: grid;
  gap: 13px;
  align-content: start;
  padding: 18px;
}

.material-result-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.material-result-form input,
.material-result-form select,
.material-result-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid rgba(21, 26, 31, 0.16);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  font-weight: 780;
}

.material-result-form textarea {
  resize: vertical;
  line-height: 1.45;
}

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

.material-results-board {
  overflow: hidden;
}

.result-board-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid rgba(21, 26, 31, 0.1);
}

.result-board-heading h3 {
  margin: 4px 0 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.result-board-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.result-machine-advice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 14px;
  padding: 14px;
  border: 1px solid rgba(20, 105, 79, 0.18);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(234, 248, 241, 0.78), rgba(255, 255, 255, 0.82)),
    #f7fbf8;
}

.result-machine-advice[hidden] {
  display: none;
}

.result-machine-advice h4,
.result-machine-advice p {
  margin: 0;
}

.result-machine-advice h4 {
  font-size: 1.12rem;
}

.result-machine-advice p:not(.eyebrow) {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.48;
}

.result-advice-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.result-table-wrap {
  overflow-x: auto;
}

.material-result-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.material-result-table th,
.material-result-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(21, 26, 31, 0.08);
  text-align: left;
  vertical-align: top;
}

.material-result-table th {
  color: #3f474e;
  background: rgba(242, 236, 224, 0.58);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.material-result-table td {
  color: #30383f;
  line-height: 1.45;
}

.result-rating {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e9f3ef;
  color: #14694f;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.result-rating.adjust {
  background: #fff2d7;
  color: #7a4c00;
}

.result-rating.reject {
  background: #fde9e5;
  color: #8d2b22;
}

.result-storage-note {
  margin: 0;
  padding: 14px 18px 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.result-pathway {
  padding-top: clamp(28px, 5vw, 72px);
}

.case-library-hero {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 48%, rgba(255, 255, 255, 0.28) 100%),
    url("./assets/preview/workflow-hero.jpg") center / cover;
}

.case-library {
  padding-top: clamp(28px, 5vw, 72px);
}

.case-library-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.case-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(21, 26, 31, 0.08);
}

.case-card > img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: 10px;
  object-fit: cover;
  background: #fffdf8;
}

.case-card > div {
  display: grid;
  gap: 13px;
  align-content: center;
}

.case-card span {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  color: #14694f;
  background: #e9f3ef;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.case-card h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  line-height: 1.04;
}

.case-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.case-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.case-card dl div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid rgba(21, 26, 31, 0.08);
}

.case-card dt {
  color: #3f474e;
  font-weight: 900;
}

.case-card dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.case-actions,
.case-bridge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-machine-bridge {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(260px, 0.42fr);
  gap: 24px;
  align-items: center;
  padding-top: clamp(28px, 5vw, 72px);
}

.case-machine-bridge > div:first-child {
  display: grid;
  gap: 12px;
}

.case-machine-bridge h2,
.case-machine-bridge p {
  margin: 0;
}

.case-machine-bridge p {
  color: var(--muted);
  line-height: 1.68;
}

.case-bridge-actions {
  padding: 20px;
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(20, 105, 79, 0.08), transparent 45%),
    rgba(255, 255, 255, 0.82);
}

.project-brief-hero {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.84) 48%, rgba(255, 255, 255, 0.35)),
    url("./assets/preview/workflow-hero.jpg") center / cover;
}

.project-brief-app {
  padding-top: clamp(28px, 5vw, 72px);
}

.brief-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
}

.brief-form,
.brief-output-card {
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 44px rgba(21, 26, 31, 0.08);
}

.brief-form {
  display: grid;
  gap: 13px;
  align-content: start;
  padding: 18px;
}

.brief-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.brief-form input,
.brief-form select {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid rgba(21, 26, 31, 0.16);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  font-weight: 780;
}

.brief-output-card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 18px;
}

.brief-output-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.brief-output-heading h2 {
  margin: 4px 0 0;
}

.brief-output-heading span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: #14694f;
  background: #e9f3ef;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.brief-output {
  overflow: auto;
  min-height: 420px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(21, 26, 31, 0.1);
  border-radius: 10px;
  background: #fffdf8;
  color: #252b30;
  font: 0.94rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

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

.brief-sales-bridge {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(260px, 0.42fr);
  gap: 24px;
  align-items: center;
  padding-top: clamp(28px, 5vw, 72px);
}

.brief-sales-bridge h2,
.brief-sales-bridge p {
  margin: 0;
}

.brief-sales-bridge > div:first-child {
  display: grid;
  gap: 12px;
}

.brief-sales-bridge p {
  color: var(--muted);
  line-height: 1.68;
}

.business-calculator-hero {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82) 50%, rgba(255, 255, 255, 0.32)),
    url("./assets/preview/spidermake-pet-tags.jpg") center / cover;
}

.business-calculator-app {
  padding-top: clamp(28px, 5vw, 72px);
}

.calculator-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
}

.calculator-form,
.calculator-output,
.calculator-recommendation {
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 44px rgba(21, 26, 31, 0.08);
}

.calculator-form {
  display: grid;
  gap: 13px;
  align-content: start;
  padding: 18px;
}

.calculator-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.calculator-form input,
.calculator-form select {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid rgba(21, 26, 31, 0.16);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  font-weight: 780;
}

.calculator-output {
  display: grid;
  gap: 16px;
  padding: 18px;
}

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

.calculator-summary article {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 132px;
  padding: 16px;
  border: 1px solid rgba(21, 26, 31, 0.1);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(236, 244, 239, 0.88));
}

.calculator-summary span {
  color: #14694f;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calculator-summary strong {
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1;
}

.calculator-recommendation {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.calculator-recommendation h2,
.calculator-recommendation p {
  margin: 0;
}

.calculator-recommendation p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.62;
}

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

.calculator-disclaimer {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(260px, 0.42fr);
  gap: 24px;
  align-items: center;
  padding-top: clamp(28px, 5vw, 72px);
}

.calculator-disclaimer h2,
.calculator-disclaimer p {
  margin: 0;
}

.calculator-disclaimer > div:first-child {
  display: grid;
  gap: 12px;
}

.calculator-disclaimer p {
  color: var(--muted);
  line-height: 1.68;
}

.listing-generator-hero {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82) 50%, rgba(255, 255, 255, 0.32)),
    url("./assets/preview/spidermake-pet-tags.jpg") center / cover;
}

.listing-generator-app {
  padding-top: clamp(28px, 5vw, 72px);
}

.listing-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
}

.listing-form,
.listing-output-card {
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 44px rgba(21, 26, 31, 0.08);
}

.listing-form {
  display: grid;
  gap: 13px;
  align-content: start;
  padding: 18px;
}

.listing-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.listing-form input,
.listing-form select,
.listing-output {
  width: 100%;
  border: 1px solid rgba(21, 26, 31, 0.16);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  font-weight: 780;
}

.listing-form input,
.listing-form select {
  min-height: 42px;
  padding: 10px 11px;
}

.listing-output-card {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.listing-output-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.listing-output-heading h2 {
  margin: 4px 0 0;
}

.listing-output-heading span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: #14694f;
  background: #e9f3ef;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.listing-output {
  min-height: 520px;
  padding: 18px;
  font: 0.94rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  resize: vertical;
}

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

.listing-next-steps {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(260px, 0.42fr);
  gap: 24px;
  align-items: center;
  padding-top: clamp(28px, 5vw, 72px);
}

.listing-next-steps h2,
.listing-next-steps p {
  margin: 0;
}

.listing-next-steps > div:first-child {
  display: grid;
  gap: 12px;
}

.listing-next-steps p {
  color: var(--muted);
  line-height: 1.68;
}

.social-ad-hero {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82) 52%, rgba(255, 255, 255, 0.34)),
    url("./assets/preview/workflow-hero.jpg") center / cover;
}

.social-ad-app {
  padding-top: clamp(28px, 5vw, 72px);
}

.social-ad-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
}

.social-ad-form,
.social-ad-output-card {
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 44px rgba(21, 26, 31, 0.08);
}

.social-ad-form {
  display: grid;
  gap: 13px;
  align-content: start;
  padding: 18px;
}

.social-ad-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.social-ad-form input,
.social-ad-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(21, 26, 31, 0.16);
  border-radius: 8px;
  padding: 10px 11px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  font-weight: 780;
}

.social-ad-output-card {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.social-ad-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.social-ad-heading h2 {
  margin: 4px 0 0;
}

.social-ad-heading span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: #14694f;
  background: #e9f3ef;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.social-ad-next {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(260px, 0.42fr);
  gap: 24px;
  align-items: center;
  padding-top: clamp(28px, 5vw, 72px);
}

.social-ad-next h2,
.social-ad-next p {
  margin: 0;
}

.social-ad-next > div:first-child {
  display: grid;
  gap: 12px;
}

.social-ad-next p {
  color: var(--muted);
  line-height: 1.68;
}

.launch-checklist-hero {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82) 50%, rgba(255, 255, 255, 0.34)),
    url("./assets/preview/proof-csv-to-svg.jpg") center / cover;
}

.launch-checklist-app {
  padding-top: clamp(28px, 5vw, 72px);
}

.launch-checklist-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.3fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.launch-checklist-summary,
.launch-checklist-panel,
.launch-output-card {
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(21, 26, 31, 0.08);
}

.launch-checklist-summary {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.launch-checklist-summary h2,
.launch-checklist-summary p {
  margin: 0;
}

.launch-checklist-summary p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.launch-progress-track {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: rgba(21, 26, 31, 0.1);
}

.launch-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #157a5d, #d22d24);
  transition: width 180ms ease;
}

.launch-product-picker label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.launch-product-picker select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(21, 26, 31, 0.16);
  border-radius: 8px;
  padding: 10px 11px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  font-weight: 780;
}

.launch-checklist-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.launch-step {
  display: grid;
  gap: 9px;
  padding: 18px;
  border-bottom: 1px solid rgba(21, 26, 31, 0.1);
}

.launch-step:last-child {
  border-bottom: 0;
}

.launch-step label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.launch-step input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #157a5d;
}

.launch-step p {
  margin: 0 0 0 32px;
  color: var(--muted);
  line-height: 1.55;
}

.launch-step a {
  width: fit-content;
  margin-left: 32px;
  color: #14694f;
  font-weight: 900;
}

.launch-output {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(280px, 0.58fr);
  gap: 24px;
  align-items: start;
  padding-top: clamp(28px, 5vw, 72px);
}

.launch-output h2,
.launch-output p {
  margin: 0;
}

.launch-output > div:first-child {
  display: grid;
  gap: 12px;
}

.launch-output p {
  color: var(--muted);
  line-height: 1.68;
}

.launch-output-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.machine-fit-cards {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.machine-fit-cards article {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 40px rgba(21, 26, 31, 0.08);
}

.machine-fit-cards img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: 9px;
  object-fit: cover;
  background: #fffdf8;
}

.machine-fit-cards article > div {
  display: grid;
  gap: 12px;
  align-content: center;
}

.machine-fit-cards span {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  color: #14694f;
  background: #e9f3ef;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.machine-fit-cards h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.machine-fit-cards p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.machine-fit-cards ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
  color: #3f474e;
  line-height: 1.5;
}

.machine-fit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.machine-fit-brief {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.machine-fit-brief h3,
.machine-fit-brief p {
  margin: 0;
}

.machine-fit-brief > div:first-child {
  display: grid;
  gap: 8px;
}

.machine-fit-brief p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.machine-lead-form {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(18, 126, 91, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(234, 248, 241, 0.86), rgba(255, 255, 255, 0.82)),
    #f7fbf8;
}

.machine-lead-form h3,
.machine-lead-form p {
  margin: 0;
}

.machine-lead-form > div:first-child {
  display: grid;
  gap: 8px;
}

.machine-lead-form p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.machine-lead-fields {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(260px, 1fr);
  gap: 12px;
}

.machine-lead-fields label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
}

.machine-lead-fields input,
.machine-lead-fields textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  font: inherit;
}

.machine-lead-fields textarea {
  padding: 12px;
  resize: vertical;
  line-height: 1.5;
}

.machine-decision {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-top: clamp(28px, 5vw, 72px);
}

.machine-decision > div:first-child p {
  color: var(--muted);
  line-height: 1.65;
}

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

.machine-decision-grid article {
  padding: 18px;
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
}

.machine-decision-grid strong {
  display: block;
  margin-bottom: 7px;
  color: var(--green);
  font-size: 1.08rem;
}

.machine-decision-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.roadmap-grid article {
  min-height: 190px;
  padding: 22px;
}

.roadmap-grid strong {
  color: var(--green);
}

.feedback-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.72fr);
  gap: 34px;
  align-items: start;
  background:
    linear-gradient(90deg, rgba(20, 105, 79, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(20, 105, 79, 0.07) 1px, transparent 1px),
    #f2efe7;
  background-size: 34px 34px;
}

.feedback-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.feedback-prompts span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(20, 105, 79, 0.22);
  border-radius: 999px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.75);
  font-weight: 820;
}

.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  gap: 34px;
  align-items: start;
  background: #ebe7dc;
}

.landing-cta-card {
  display: grid;
  gap: 12px;
  max-width: 420px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(21, 26, 31, 0.06);
}

.signup-form,
.feedback-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.signup-form label,
.feedback-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
}

.signup-form input,
.signup-form select,
.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  font: inherit;
}

.feedback-form textarea {
  min-height: 130px;
  padding: 12px;
  resize: vertical;
  line-height: 1.55;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #cfd5d8;
  background: var(--ink);
}

footer a {
  color: white;
  font-weight: 750;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .hero,
  .product-hero,
  .contact-hero,
  .product-detail-grid,
  .intro-grid,
  .case-layout,
  .settings-band,
  .media-split,
  .feedback-section,
  .ecosystem-section,
  .waitlist {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 320px;
    height: 52vh;
  }

  .product-grid,
  .tool-grid,
  .roadmap-grid,
  .proof-grid,
  .choice-grid,
  .file-preview-grid,
  .commercial-grid,
  .fit-grid,
  .tool-help-strip,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-workspace {
    grid-template-columns: 1fr;
  }

  .article-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: center;
    flex-direction: row;
  }

  .nav-action {
    width: auto;
    padding: 9px 12px;
    font-size: 0.88rem;
    text-align: center;
  }

  h1 {
    font-size: 2.78rem;
  }

  .product-grid,
  .tool-grid,
  .roadmap-grid,
  .proof-grid,
  .choice-grid,
  .file-preview-grid,
  .commercial-grid,
  .fit-grid,
  .tool-help-strip,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

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

  footer {
    flex-direction: column;
  }
}

.tool-home {
  background:
    radial-gradient(circle at 8% 10%, rgba(239, 196, 112, 0.22), transparent 26%),
    radial-gradient(circle at 92% 18%, rgba(20, 105, 79, 0.12), transparent 30%),
    #f7f3ea;
}

.soft-topbar {
  background: rgba(247, 243, 234, 0.9);
}

.studio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: clamp(10px, 1.5vw, 16px) clamp(14px, 3vw, 30px);
  margin: 6px clamp(12px, 3vw, 36px) 0;
  border: 1px solid rgba(21, 26, 31, 0.1);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 252, 245, 0.98), rgba(239, 234, 218, 0.74)),
    #fffaf0;
  box-shadow: 0 14px 44px rgba(21, 26, 31, 0.08);
}

.studio-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1;
  letter-spacing: 0;
}

.studio-copy p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(0.94rem, 1vw, 1rem);
  line-height: 1.34;
  margin: 6px 0 0;
}

.studio-copy .hero-actions {
  margin-top: 10px;
}

.simple-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.simple-flow span,
.example-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #263029;
  font-weight: 760;
  white-space: nowrap;
}

.hero-example-card {
  overflow: hidden;
  border: 1px solid rgba(21, 26, 31, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(21, 26, 31, 0.13);
}

.hero-example-card img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.hero-example-card div {
  display: grid;
  gap: 4px;
  padding: 16px 18px 18px;
}

.hero-example-card strong {
  font-size: 1.08rem;
}

.hero-example-card span {
  color: var(--muted);
  line-height: 1.45;
}

.hero-production-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 252, 245, 0.96), rgba(232, 226, 210, 0.88)),
    #f7f3ea;
  box-shadow: 0 28px 80px rgba(21, 26, 31, 0.22);
}

.hero-production-card img {
  width: 100%;
  min-height: 260px;
  max-height: 360px;
  object-fit: contain;
  padding: 12px;
}

.hero-production-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 18, 0) 42%, rgba(10, 14, 18, 0.72) 100%);
  pointer-events: none;
}

.hero-production-overlay {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 1;
  display: grid;
  gap: 7px;
  max-width: 460px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: white;
  background: rgba(17, 22, 26, 0.76);
  backdrop-filter: blur(16px);
}

.hero-production-overlay span {
  color: #bde5d3;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-production-overlay strong {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.hero-production-overlay small {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.value-pathway {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: clamp(18px, 3vw, 38px);
  padding-bottom: clamp(18px, 3vw, 38px);
}

.value-pathway article {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 34px rgba(21, 26, 31, 0.07);
}

.value-pathway span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #ffffff;
  background: #14694f;
  font-weight: 900;
}

.value-pathway h2 {
  margin: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.15;
}

.value-pathway p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.starter-chooser {
  padding-top: clamp(18px, 3vw, 42px);
  padding-bottom: clamp(28px, 5vw, 64px);
}

.starter-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.starter-options {
  display: grid;
  gap: 10px;
}

.starter-option {
  display: grid;
  gap: 7px;
  min-height: 86px;
  align-content: center;
  padding: 16px;
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(21, 26, 31, 0.06);
}

.starter-option span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.starter-option strong {
  font-size: 1rem;
  line-height: 1.25;
}

.starter-option.active,
.starter-option:hover,
.starter-option:focus-visible {
  border-color: rgba(20, 105, 79, 0.42);
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(21, 26, 31, 0.1);
  transform: translateY(-1px);
}

.starter-result {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 244, 239, 0.82)),
    #fffdf8;
  box-shadow: 0 20px 48px rgba(21, 26, 31, 0.09);
}

.starter-pill {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: #14694f;
  background: #e9f3ef;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.starter-result h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.starter-result > p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.starter-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.starter-result-grid div {
  padding: 14px;
  border: 1px solid rgba(21, 26, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.starter-result-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.starter-result-grid p {
  margin: 0;
  color: #3f474e;
  line-height: 1.5;
}

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

.hero-canvas-top,
.hero-proof-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.76);
}

.hero-canvas-top {
  border-bottom: 1px solid rgba(21, 26, 31, 0.1);
}

.hero-canvas-top span,
.hero-proof-row span {
  font-weight: 850;
}

.hero-canvas-top small {
  color: var(--muted);
  font-weight: 760;
}

.hero-material-board {
  padding: clamp(18px, 3vw, 34px);
}

.hero-material-board svg {
  display: block;
  width: 100%;
  border-radius: 8px;
  filter: drop-shadow(0 18px 28px rgba(21, 26, 31, 0.12));
}

.hero-proof-row {
  flex-wrap: wrap;
  border-top: 1px solid rgba(21, 26, 31, 0.1);
}

.hero-proof-row span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(21, 26, 31, 0.1);
  border-radius: 999px;
  background: #fffdf8;
  color: #31383f;
  font-size: 0.82rem;
}

.compact-heading {
  align-items: start;
  text-align: left;
}

.compact-heading p:not(.eyebrow) {
  max-width: 740px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.tool-studio {
  padding-top: clamp(20px, 3vw, 44px);
}

.tool-browser {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  min-width: 0;
}

.quick-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 32px rgba(21, 26, 31, 0.06);
}

.quick-proof article {
  display: grid;
  align-content: center;
  min-height: 72px;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid rgba(21, 26, 31, 0.1);
  border-radius: 8px;
  background: #fffdf8;
}

.quick-proof strong {
  font-size: 0.96rem;
  line-height: 1.25;
}

.quick-proof span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 720;
  line-height: 1.35;
}

.advanced-workspace {
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 10px;
  background: rgba(255, 252, 245, 0.78);
  box-shadow: 0 10px 28px rgba(21, 26, 31, 0.05);
}

.advanced-workspace summary {
  min-height: 48px;
  padding: 14px 16px;
  color: var(--charcoal);
  font-weight: 880;
  cursor: pointer;
}

.workspace-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  padding: 12px;
  border-top: 1px solid rgba(21, 26, 31, 0.1);
  background: rgba(255, 255, 255, 0.48);
}

.workspace-controls label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 840;
}

.workspace-controls select {
  min-height: 40px;
  min-width: 160px;
  border: 1px solid rgba(21, 26, 31, 0.16);
  border-radius: 8px;
  background: #fffdf8;
  color: #151a1f;
  font: inherit;
  font-weight: 800;
}

.zoom-control {
  display: inline-grid;
  grid-template-columns: 40px 64px 40px;
  align-items: center;
  min-height: 40px;
  overflow: hidden;
  border: 1px solid rgba(21, 26, 31, 0.16);
  border-radius: 8px;
  background: #fffdf8;
}

.zoom-control button {
  height: 100%;
  border: 0;
  background: transparent;
  color: #151a1f;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
}

.zoom-control span {
  display: grid;
  height: 100%;
  place-items: center;
  border-right: 1px solid rgba(21, 26, 31, 0.12);
  border-left: 1px solid rgba(21, 26, 31, 0.12);
  color: var(--muted);
  font-weight: 860;
}

.tool-tabs {
  position: sticky;
  top: 76px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 10px;
  background: rgba(255, 252, 245, 0.92);
  box-shadow: 0 14px 40px rgba(21, 26, 31, 0.08);
  backdrop-filter: blur(16px);
}

.tool-tab {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 72px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #151a1f;
  font: inherit;
  font-weight: 840;
  text-align: left;
  cursor: pointer;
}

.tool-tab img {
  width: 48px;
  height: 48px;
  border-radius: 7px;
  object-fit: contain;
  background: #f7f3ea;
  box-shadow: inset 0 0 0 1px rgba(21, 26, 31, 0.08);
}

.tool-tab span {
  overflow-wrap: anywhere;
  line-height: 1.15;
}

.tool-tab.active,
.tool-tab:hover {
  border-color: rgba(21, 26, 31, 0.14);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(21, 26, 31, 0.1);
}

.tool-panel {
  display: grid;
  grid-template-columns: minmax(190px, 0.2fr) minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  min-height: 78vh;
  padding: 14px;
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 46px rgba(21, 26, 31, 0.08);
}

.canvas-workbench {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  border: 1px solid rgba(21, 26, 31, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(rgba(21, 26, 31, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 26, 31, 0.035) 1px, transparent 1px),
    #f4f1e9;
  background-size: 28px 28px;
}

.canvas-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(21, 26, 31, 0.12);
  background: rgba(255, 255, 255, 0.82);
}

.canvas-toolbar span {
  font-weight: 860;
}

.canvas-toolbar small {
  color: var(--muted);
  font-weight: 760;
}

.tool-panel[hidden] {
  display: none;
}

.panel-side {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(21, 26, 31, 0.1);
  border-radius: 8px;
  background: rgba(246, 244, 239, 0.75);
}

.panel-side img {
  width: 100%;
  aspect-ratio: 1.25;
  border-radius: 8px;
  object-fit: contain;
  background: #fffdf8;
  box-shadow: 0 10px 28px rgba(21, 26, 31, 0.12);
}

.tool-status {
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid rgba(20, 105, 79, 0.22);
  border-radius: 999px;
  color: var(--green);
  background: #e9f3ef;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.secondary-status {
  border-color: rgba(34, 77, 143, 0.2);
  color: var(--blue);
  background: #edf2f7;
}

.panel-side h3,
.panel-side p {
  margin: 0;
}

.panel-side h3 {
  font-size: clamp(1.16rem, 1.8vw, 1.55rem);
  line-height: 1.08;
}

.panel-side p {
  color: var(--muted);
  line-height: 1.45;
}

.seller-fit {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(20, 105, 79, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.seller-fit strong {
  color: #14694f;
  font-size: 0.78rem;
  font-weight: 920;
  line-height: 1.2;
  text-transform: uppercase;
}

.seller-fit p {
  margin: 0;
  color: #3f474e;
  font-size: 0.88rem;
  line-height: 1.45;
}

.accordion-tools {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.tool-fold {
  overflow: clip;
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 40px rgba(21, 26, 31, 0.07);
}

.tool-fold summary {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) 38px;
  gap: 18px;
  align-items: center;
  min-height: 128px;
  padding: 14px 18px 14px 14px;
  cursor: pointer;
  list-style: none;
}

.tool-fold summary::-webkit-details-marker {
  display: none;
}

.tool-fold summary::after {
  content: "+";
  justify-self: end;
  grid-column: 3;
  grid-row: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(21, 26, 31, 0.18);
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 800;
}

.tool-fold[open] summary::after {
  content: "-";
}

.tool-fold summary img {
  grid-column: 1;
  grid-row: 1;
  width: 128px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
}

.tool-fold summary span {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  gap: 8px;
  padding-right: 0;
}

.tool-fold summary strong {
  font-size: clamp(1.28rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.tool-fold summary small {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.35;
}

.fold-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: 16px;
  padding: 0 16px 16px;
}

.fold-intro {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(21, 26, 31, 0.1);
  border-radius: 8px;
  background: rgba(246, 244, 239, 0.75);
}

.fold-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.example-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.example-chips span {
  min-height: 32px;
  font-size: 0.88rem;
}

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

.tool-frame {
  width: 100%;
  max-width: 100%;
  height: calc((82vh - 44px) * var(--workspace-zoom, 1));
  min-height: 676px;
  border: 0;
  background: white;
}

.tool-browser[data-canvas-size="wide"] .tool-panel {
  grid-template-columns: minmax(170px, 0.16fr) minmax(0, 1fr);
}

.tool-browser[data-canvas-size="wide"] .tool-frame {
  height: calc((92vh - 44px) * var(--workspace-zoom, 1));
  min-height: 820px;
}

.tool-browser[data-canvas-size="compact"] .tool-panel {
  min-height: 62vh;
}

.tool-browser[data-canvas-size="compact"] .tool-frame {
  height: calc((66vh - 44px) * var(--workspace-zoom, 1));
  min-height: 440px;
}

.embed-mode {
  background: #ffffff;
}

.embed-mode .topbar,
.embed-mode .tool-hero,
.embed-mode .tool-help-strip,
.embed-mode .machine-next-step {
  display: none;
}

.embed-mode .tool-page {
  width: 100%;
  max-width: none;
  padding: 10px;
}

.embed-mode .tool-workspace {
  grid-template-columns: minmax(230px, 0.36fr) minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.embed-mode .controls-panel,
.embed-mode .svg-preview-panel {
  min-width: 0;
  min-height: 0;
  padding: 12px;
}

.embed-mode .controls-panel {
  gap: 10px;
}

.embed-mode .preset-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.embed-mode .preset-card {
  min-height: 68px;
}

.embed-mode .preset-card svg {
  height: 52px;
}

.embed-mode .controls-panel textarea {
  min-height: 112px;
  resize: none;
}

.embed-mode .tool-note,
.embed-mode .advanced-panel:not([open]) {
  display: none;
}

.embed-mode .svg-preview-panel {
  overflow: hidden;
  place-items: center;
}

.embed-mode .svg-preview {
  display: grid;
  width: 100%;
  min-height: 430px;
  place-items: center;
  padding: 12px;
  overflow: hidden;
}

.embed-mode .wide-preview {
  width: 100%;
}

.embed-mode .svg-preview svg {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 430px;
}

.embed-mode .svg-preview svg[height$="2000mm"],
.embed-mode .svg-preview svg[height$="3000mm"] {
  max-height: 520px;
}

.laser-canvas-panel {
  gap: 12px;
  padding: 14px;
  background:
    linear-gradient(rgba(21, 26, 31, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 26, 31, 0.04) 1px, transparent 1px),
    #ebe5d8;
  background-size: 32px 32px;
}

.laser-bed-ruler {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #5d6670;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.material-sheet {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  border: 1px solid rgba(21, 26, 31, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.8), transparent 20%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(224, 214, 195, 0.22)),
    #f7f1e5;
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.34);
}

.material-sheet::before {
  content: "engrave preview";
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 8px;
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 820;
  text-transform: uppercase;
}

.laser-canvas-panel canvas {
  max-width: min(92%, 980px);
  max-height: 640px;
  border: 1px dashed rgba(210, 45, 36, 0.34);
  border-radius: 4px;
  background: white;
  box-shadow: 0 18px 38px rgba(21, 26, 31, 0.12);
}

.laser-canvas-panel #emptyState {
  padding: 18px 22px;
  border: 1px dashed rgba(21, 26, 31, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #2b3238;
  font-weight: 820;
}

.production-proof {
  padding-top: clamp(28px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(242, 236, 224, 0.72)),
    #f8f4ec;
}

.production-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.proof-card {
  overflow: hidden;
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 42px rgba(21, 26, 31, 0.08);
}

.proof-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.33;
  object-fit: cover;
  background: #fffdf8;
}

.proof-card div {
  display: grid;
  gap: 9px;
  padding: 18px;
}

.proof-card span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  color: #14694f;
  background: #e9f3ef;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.proof-card.priority-high span {
  color: #7b241f;
  background: #fde9e5;
}

.proof-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.proof-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.scene-gallery {
  padding-top: clamp(20px, 4vw, 56px);
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.scene-grid article {
  overflow: hidden;
  border: 1px solid rgba(21, 26, 31, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
}

.scene-grid img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: contain;
  background: #fffdf8;
}

.scene-grid h3,
.scene-grid p {
  margin-right: 18px;
  margin-left: 18px;
}

.scene-grid h3 {
  margin-top: 18px;
  margin-bottom: 6px;
}

.scene-grid p {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .studio-hero,
  .tool-panel,
  .fold-body,
  .production-proof-grid,
  .scene-grid,
  .value-pathway,
  .machine-fit-grid,
  .starter-grid,
  .starter-result-grid,
  .signal-summary,
	  .signal-grid,
	  .fit-controls,
	  .fit-result,
	  .material-results-grid,
	  .case-card,
	  .case-machine-bridge,
	  .brief-grid,
	  .brief-sales-bridge,
	  .calculator-grid,
	  .calculator-summary,
	  .calculator-disclaimer,
	  .listing-grid,
	  .listing-next-steps,
	  .social-ad-grid,
	  .social-ad-next,
	  .launch-checklist-grid,
	  .launch-output,
		  .machine-fit-cards article,
		  .machine-decision,
		  .machine-decision-grid,
		  .machine-next-step,
		  .result-machine-advice,
		  .quick-proof {
    grid-template-columns: 1fr;
  }

  .result-advice-actions {
    justify-content: flex-start;
  }

  .tool-tabs {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .panel-side {
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
  }

  .panel-side img {
    grid-row: span 3;
  }

  .seller-fit,
  .fold-actions {
    grid-column: 1 / -1;
  }

  .tool-frame {
    height: 760px;
  }
}

@media (max-width: 680px) {
  h1,
  .studio-copy h1 {
    font-size: clamp(2.15rem, 12vw, 3.4rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.7rem);
  }

  .topbar {
    gap: 8px;
    padding: 10px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
  }

  .nav-action {
    flex: 0 1 auto;
    min-width: 0;
    padding: 9px 10px;
    white-space: nowrap;
  }

  .studio-hero {
    margin: 10px;
    padding: 22px 14px;
    border-radius: 10px;
  }

	  .hero-actions,
	  .fold-actions,
	  .storefront-actions,
	  .starter-actions,
	  .result-board-heading,
	  .case-actions,
	  .case-bridge-actions,
	  .brief-output-heading,
	  .brief-actions,
	  .calculator-actions,
	  .listing-output-heading,
	  .listing-actions,
	  .social-ad-heading,
	  .fit-actions {
	    display: grid;
	    grid-template-columns: 1fr;
	  }

  .machine-next-actions {
    padding: 12px;
  }

  .launch-checklist-summary {
    position: static;
  }

	  .result-board-actions {
	    display: grid;
	    grid-template-columns: 1fr;
	  }

  .machine-fit-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .machine-lead-fields {
    grid-template-columns: 1fr;
  }

  .signal-table-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .signup-form button,
  .feedback-form button {
    width: 100%;
  }

  .hero-production-card img {
    min-height: 300px;
    max-height: 380px;
  }

  .simple-flow span,
  .example-chips span {
    white-space: normal;
  }

  .advanced-workspace summary {
    padding: 13px 12px;
  }

  .workspace-controls,
  .quick-proof {
    padding: 10px;
  }

  .workspace-controls label,
  .workspace-controls select,
  .workspace-controls input,
  .zoom-control {
    width: 100%;
    min-width: 0;
  }

  .zoom-control {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }

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

  .tool-tab {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 60px;
    padding: 7px;
  }

  .tool-tab img {
    width: 38px;
    height: 38px;
  }

  .tool-panel {
    padding: 10px;
    min-height: auto;
  }

  .case-card {
    padding: 12px;
  }

  .case-card > img {
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }

  .case-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .panel-side {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .panel-side img {
    grid-row: auto;
    aspect-ratio: 16 / 8.5;
  }

  .tool-fold summary {
    grid-template-columns: 92px minmax(0, 1fr) 32px;
    min-height: 104px;
    gap: 12px;
    padding: 12px;
  }

  .tool-fold summary img {
    width: 92px;
    height: 76px;
  }

  .tool-fold summary span {
    padding-right: 0;
  }

  .tool-fold summary::after {
    width: 30px;
    height: 30px;
  }

  .fold-body {
    padding: 0 10px 10px;
  }

  .tool-frame {
    height: 700px;
    min-height: 560px;
  }
}
