:root {
  --ink: #14292b;
  --muted: #56686a;
  --teal: #113f41;
  --teal-2: #0f6b5f;
  --mint: #dceee7;
  --mint-2: #f3faf7;
  --coral: #ef6f5c;
  --gold: #d8a344;
  --paper: #ffffff;
  --warm: #fff7ec;
  --line: #d8e4df;
  --shadow: 0 20px 50px rgba(17, 63, 65, 0.13);
  --soft-shadow: 0 10px 28px rgba(17, 63, 65, 0.09);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdfb 42%, #ffffff 100%);
}

body,
button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

main,
section,
header,
footer,
div,
article,
figure {
  min-width: 0;
}

h1,
h2,
h3,
p,
li,
a,
span,
strong,
small {
  overflow-wrap: break-word;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: #ffffff;
  background: var(--teal);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(216, 228, 223, 0.86);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: max-content;
  text-decoration: none;
}

.brand img {
  width: 2.35rem;
  height: 2.35rem;
}

.brand span {
  display: grid;
}

.brand strong {
  color: var(--teal);
  font-weight: 800;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.6rem);
  color: var(--muted);
  font-size: 0.94rem;
}

.primary-nav a,
.site-footer a {
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus,
.site-footer a:hover,
.site-footer a:focus {
  color: var(--teal-2);
}

.header-cta,
.button,
.download-grid a,
.download-grid button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

.header-cta,
.button.primary,
.download-grid .ready a {
  color: #ffffff;
  background: var(--teal);
  box-shadow: var(--soft-shadow);
}

.button.secondary {
  color: var(--teal);
  border-color: var(--line);
  background: #ffffff;
}

.button.subtle {
  color: var(--teal);
  background: var(--mint-2);
  border-color: var(--mint);
}

.header-cta:hover,
.button:hover,
.download-grid a:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.header-cta:focus-visible,
.button:focus-visible,
.primary-nav a:focus-visible,
.site-footer a:focus-visible,
.download-grid a:focus-visible,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.prompt-panel textarea:focus-visible {
  outline: 3px solid rgba(239, 111, 92, 0.32);
  outline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.35fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: clamp(640px, calc(100vh - 76px), 760px);
  padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(2rem, 5vw, 4rem);
}

.hero-copy {
  width: 100%;
  max-width: 600px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--teal-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--teal);
  font-size: clamp(3.4rem, 5.8vw, 5.25rem);
  font-weight: 700;
  line-height: 0.96;
}

.hero h1 span {
  display: block;
}

.hero-subheadline {
  margin: 1.25rem 0 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.device-row {
  display: inline-flex;
  align-items: end;
  gap: 0.8rem;
  margin-top: 1.4rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.device {
  position: relative;
  display: block;
  border: 3px solid var(--teal);
  border-radius: 4px;
}

.device::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 46%;
  height: 3px;
  border-radius: 999px;
  background: var(--teal);
  transform: translateX(-50%);
}

.device.desktop {
  width: 31px;
  height: 24px;
}

.device.laptop {
  width: 34px;
  height: 22px;
}

.device.tablet {
  width: 24px;
  height: 33px;
}

.device.phone {
  width: 18px;
  height: 34px;
}

.hero-visual {
  margin: 0;
  min-width: 0;
  padding: clamp(0.55rem, 1.5vw, 0.9rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  border-radius: 6px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.proof-strip article {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-left: 6px solid var(--teal-2);
  border-radius: 8px;
  background: #ffffff;
}

.proof-strip article:nth-child(2) {
  border-left-color: var(--coral);
}

.proof-strip article:nth-child(3) {
  border-left-color: var(--gold);
}

.proof-strip span {
  display: block;
  color: var(--teal);
  font-size: 1.45rem;
  font-weight: 800;
}

.proof-strip p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-heading {
  max-width: 760px;
  min-width: 0;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0;
  color: var(--teal);
  font-size: clamp(2.15rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.1;
}

.section-heading p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.feature-grid article,
.pricing-grid article,
.download-grid article,
.legal-grid article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(17, 63, 65, 0.04);
}

.feature-grid article {
  min-height: 230px;
  padding: 1.15rem;
}

.feature-grid span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--teal-2);
  font-size: 0.8rem;
  font-weight: 900;
}

.feature-grid h3,
.production-list h3,
.export-notes h3,
.shopping-preview h3,
.notice-box h3,
.legal-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
}

.feature-grid p,
.pricing-grid p,
.download-grid span,
.legal-grid p,
.docs-table span {
  color: var(--muted);
}

.feature-grid p {
  margin: 0.65rem 0 0;
  font-size: 0.96rem;
}

.demo-section {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100% - 1180px) / 2));
  background: var(--mint-2);
}

.demo-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(340px, 1.1fr);
  gap: 1rem;
}

.prompt-panel,
.demo-output,
.cut-preview,
.shopping-preview,
.notice-box,
.contact-form,
.docs-table,
.legal-notices {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.prompt-panel,
.demo-output,
.cut-preview,
.shopping-preview {
  padding: 1.25rem;
}

.prompt-panel {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

label {
  color: var(--teal);
  font-weight: 800;
}

textarea,
input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
}

textarea {
  resize: vertical;
  padding: 0.9rem;
}

input {
  min-height: 2.85rem;
  padding: 0.65rem 0.85rem;
}

.microcopy,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.output-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  color: var(--teal);
  background: var(--mint);
  font-size: 0.78rem;
  font-weight: 900;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.metric-grid article {
  min-height: 96px;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
}

.metric-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.metric-grid strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--teal);
  font-size: 1.3rem;
}

.production-list {
  margin-top: 1.2rem;
}

.production-list ol,
.export-notes ul,
.pricing-grid ul,
.check-list,
.shopping-preview ul {
  padding-left: 1.2rem;
}

.production-list li,
.export-notes li,
.pricing-grid li,
.check-list li,
.shopping-preview li {
  margin-top: 0.55rem;
}

.cut-preview {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) 1fr;
  gap: 1rem;
}

.mat-grid {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid #bcd7cf;
  border-radius: 8px;
  background:
    linear-gradient(#dceee7 1px, transparent 1px),
    linear-gradient(90deg, #dceee7 1px, transparent 1px),
    #f8fcfa;
  background-size: 24px 24px;
}

.mat-title {
  position: absolute;
  left: 0.9rem;
  top: 0.8rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.layer {
  position: absolute;
  border: 2px solid;
}

.layer-white {
  left: 18%;
  top: 42%;
  width: 64%;
  height: 22%;
  display: grid;
  place-items: center;
  border-color: var(--teal);
  border-radius: 999px;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.74);
  font-family: Georgia, serif;
  font-size: 1.8rem;
}

.layer-green {
  left: 18%;
  top: 18%;
  width: 26%;
  height: 42%;
  border-color: var(--teal-2);
  border-radius: 999px 999px 999px 12px;
  transform: rotate(-18deg);
  background: rgba(15, 107, 95, 0.16);
}

.layer-coral {
  right: 18%;
  bottom: 19%;
  width: 28%;
  height: 28%;
  border-color: var(--coral);
  border-radius: 999px 999px 999px 12px;
  transform: rotate(22deg);
  background: rgba(239, 111, 92, 0.15);
}

.export-notes,
.shopping-preview {
  color: var(--muted);
}

.shopping-preview ul {
  padding-left: 0;
  list-style: none;
}

.shopping-preview li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}

.shopping-preview strong {
  color: var(--teal-2);
}

.warning {
  margin: 0.8rem 0 0;
  padding-left: 0.8rem;
  border-left: 5px solid var(--coral);
  color: var(--teal);
}

.downloads,
.pricing,
.support {
  border-bottom: 1px solid var(--line);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.download-grid article {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 1rem;
}

.download-grid strong {
  color: var(--teal);
}

.download-grid small {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.download-grid button {
  color: #829092;
  border-color: var(--line);
  background: #f4f6f5;
  cursor: not-allowed;
}

.download-grid .ready {
  border-color: rgba(15, 107, 95, 0.45);
  background: var(--mint-2);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.pricing-grid article {
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
}

.featured-plan {
  border-color: rgba(239, 111, 92, 0.65);
  box-shadow: var(--shadow);
}

.plan-label {
  color: var(--teal-2);
  font-weight: 900;
}

.plan-price {
  margin-top: 0.8rem;
  color: var(--teal);
  font-size: 2.2rem;
  line-height: 1;
}

.pricing-grid ul {
  flex: 1;
  color: var(--muted);
}

.pricing-grid .button {
  width: 100%;
  margin-top: 1rem;
}

.purchase-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  color: var(--muted);
  background: #ffffff;
}

.purchase-note strong {
  color: var(--teal);
}

.materials {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100% - 1180px) / 2));
  background: #fffaf3;
}

.materials-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.75fr);
  gap: 1.25rem;
  align-items: start;
}

.check-list {
  margin: 0;
  color: var(--muted);
}

.check-list li::marker,
.production-list li::marker,
.pricing-grid li::marker,
.export-notes li::marker {
  color: var(--teal-2);
  font-weight: 900;
}

.notice-box {
  padding: 1.25rem;
  border-left: 6px solid var(--coral);
  background: #fff8ef;
}

.notice-box p {
  color: var(--teal);
}

.docs-table {
  display: grid;
  overflow: hidden;
}

.docs-table [role="row"] {
  display: grid;
  grid-template-columns: 260px 1fr;
  border-bottom: 1px solid var(--line);
}

.docs-table [role="row"]:last-child {
  border-bottom: 0;
}

.docs-table strong,
.docs-table span {
  padding: 1rem;
}

.docs-table strong {
  color: var(--teal);
  background: #fbfdfb;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.25rem;
}

.full-field,
.contact-form button,
.form-status {
  grid-column: 1 / -1;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.legal-grid article {
  padding: 1rem;
}

.legal-notices {
  display: grid;
  gap: 0;
  margin-top: 1rem;
  overflow: hidden;
}

.legal-notices p {
  margin: 0;
  padding: 1rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.legal-notices p:last-child {
  border-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
  color: var(--muted);
}

.site-footer span {
  color: var(--teal);
  font-weight: 900;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 760px;
    text-align: center;
    margin: 0 auto;
  }

  .hero-actions,
  .device-row {
    justify-content: center;
  }

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

  .pricing-grid,
  .legal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .primary-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .header-cta {
    width: 100%;
  }

  .proof-strip,
  .demo-shell,
  .cut-preview,
  .materials-layout,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .docs-table [role="row"] {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  :root {
    --mobile-content: min(360px, calc(100vw - 1rem));
  }

  .hero {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    padding-top: 2.4rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10.5vw, 2.75rem);
    line-height: 1.02;
  }

  .hero-copy {
    width: var(--mobile-content);
    max-width: var(--mobile-content);
  }

  .hero-subheadline {
    max-width: 21rem;
    margin-inline: auto;
    font-size: 1.05rem;
  }

  .section-heading h2 {
    font-size: clamp(1.85rem, 8vw, 2.15rem);
    line-height: 1.14;
  }

  .section-heading p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-visual {
    width: 100%;
    max-width: var(--mobile-content);
    justify-self: start;
    overflow: hidden;
  }

  .hero-visual img {
    width: 100%;
    max-width: 100%;
    object-fit: contain;
  }

  .section-heading,
  .feature-grid,
  .download-grid,
  .pricing-grid,
  .legal-grid,
  .proof-strip,
  .demo-shell,
  .materials-layout,
  .docs-table,
  .contact-form,
  .legal-notices,
  .site-footer {
    max-width: var(--mobile-content);
  }

  .feature-grid article,
  .download-grid article,
  .pricing-grid article,
  .legal-grid article,
  .proof-strip article,
  .prompt-panel,
  .demo-output,
  .cut-preview,
  .shopping-preview,
  .notice-box {
    max-width: var(--mobile-content);
  }

  .hero-visual,
  .section-heading,
  .feature-grid article,
  .download-grid article,
  .pricing-grid article,
  .legal-grid article,
  .proof-strip article {
    margin-right: 0.5rem;
    margin-left: 0.5rem;
  }

  .hero-copy,
  .feature-grid,
  .download-grid,
  .pricing-grid,
  .legal-grid,
  .proof-strip,
  .demo-shell,
  .materials-layout,
  .docs-table,
  .contact-form,
  .legal-notices {
    margin-right: 0.5rem;
    margin-left: 0.5rem;
  }

  .feature-grid h3,
  .section-heading h2 {
    max-width: 100%;
  }

  .hero-actions .button,
  .header-cta,
  .download-grid,
  .feature-grid,
  .pricing-grid,
  .legal-grid,
  .metric-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .header-cta {
    max-width: var(--mobile-content);
  }

  .hero-actions {
    flex-direction: column;
  }

  .section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .demo-section,
  .materials {
    padding-inline: 0.5rem;
  }

  .proof-strip,
  .site-footer {
    width: 100%;
    max-width: var(--mobile-content);
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
}
