:root {
  --brand-yellow: #ffd928;
  --ink: #111318;
  --muted: #5d6470;
  --soft: #f4f5f6;
  --line: #e1e4e8;
  --panel: #ffffff;
  --shadow: 0 18px 54px rgba(15, 17, 21, 0.11);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

main,
section,
article,
aside,
div {
  min-width: 0;
}

img,
video,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto auto minmax(260px, 1fr) auto;
  gap: clamp(18px, 2vw, 28px);
  align-items: center;
  min-height: 82px;
  padding: 10px 46px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  display: block;
  width: 184px;
  height: auto;
}

.primary-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.primary-nav a,
.login-link,
.icon-link {
  text-decoration: none;
}

.primary-nav a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  white-space: nowrap;
}

.search {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 44px;
  align-items: center;
  justify-self: end;
  width: min(100%, 460px);
  height: 54px;
  padding: 0 8px 0 18px;
  border-radius: 999px;
  background: #f2f3f4;
}

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
}

.search-icon,
.camera-icon,
.user-icon,
.heart-icon,
.bag-icon,
.pen-icon,
.upload-icon,
.file-drop__icon {
  position: relative;
  display: inline-block;
  flex: none;
}

.search-icon {
  width: 20px;
  height: 20px;
  border: 4px solid var(--ink);
  border-radius: 50%;
}

.search-icon::after {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 12px;
  height: 4px;
  border-radius: 4px;
  background: var(--ink);
  content: "";
  transform: rotate(45deg);
}

.camera-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.camera-icon {
  width: 24px;
  height: 18px;
  border: 3px solid var(--ink);
  border-radius: 4px;
}

.camera-icon::before {
  position: absolute;
  left: 6px;
  top: -7px;
  width: 9px;
  height: 6px;
  border-radius: 2px 2px 0 0;
  background: var(--ink);
  content: "";
}

.camera-icon::after {
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 6px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.header-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}

.login-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--ink);
  font-weight: 850;
  white-space: nowrap;
}

.icon-link {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
}

.user-icon {
  width: 20px;
  height: 20px;
  border: 3px solid var(--ink);
  border-top: 0;
  border-radius: 10px 10px 6px 6px;
}

.user-icon::before {
  position: absolute;
  left: 4px;
  top: -12px;
  width: 12px;
  height: 12px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.heart-icon {
  width: 22px;
  height: 20px;
}

.heart-icon::before,
.heart-icon::after {
  position: absolute;
  top: 1px;
  width: 12px;
  height: 18px;
  border: 3px solid var(--ink);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  content: "";
}

.heart-icon::before {
  left: 2px;
  transform: rotate(-45deg);
}

.heart-icon::after {
  right: 2px;
  transform: rotate(45deg);
}

.bag-icon {
  width: 22px;
  height: 20px;
  border: 3px solid var(--ink);
  border-radius: 3px;
}

.bag-icon::before {
  position: absolute;
  left: 5px;
  top: -10px;
  width: 8px;
  height: 8px;
  border: 3px solid var(--ink);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  content: "";
}

.quote-link .bag-icon::after {
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: -3px;
  height: 5px;
  background: linear-gradient(90deg, #e30613 0 33%, #ffd928 33% 66%, #2267e8 66%);
  content: "";
}

.hero-container,
.start-section,
.projects-section,
.app-section,
.tips-section,
.pilot-cta-section,
.site-footer {
  width: min(100% - 92px, 1828px);
  margin-right: auto;
  margin-left: auto;
}

.hero-container {
  padding: 24px 0 34px;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(420px, 0.46fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.hero-copy {
  min-height: 0;
  align-self: stretch;
  padding: clamp(30px, 3.2vw, 54px);
  background: #f4f4f4;
}

.content-card__container {
  display: grid;
  gap: 24px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: #59616d;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  color: var(--ink);
  font-size: 26px;
}

.pen-icon {
  width: 38px;
  height: 22px;
  border-bottom: 5px solid var(--ink);
  border-left: 5px solid var(--ink);
  transform: rotate(-45deg);
}

.content-card__headers {
  text-decoration: none;
}

.hero h1,
.content-card__title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(46px, 3.25vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-text {
  max-width: 640px;
  margin: 0;
  color: #111318;
  font-size: clamp(18px, 1.25vw, 23px);
  line-height: 1.34;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 0;
}

.trust-row div {
  padding-top: 15px;
  border-top: 2px solid #e1e4e8;
}

.trust-row dt {
  font-weight: 950;
}

.trust-row dd {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.25;
}

.hero-media,
.hero-visual {
  min-width: 0;
}

.hero-visual {
  height: clamp(400px, 31.5vw, 600px);
}

.aspect-box {
  aspect-ratio: 16 / 9;
}

.studio-shell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #1a1d22;
  box-shadow: var(--shadow);
}

.studio-video,
.studio-shell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-caption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: grid;
  gap: 4px;
  max-width: 320px;
  padding: 16px 18px;
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(17, 19, 24, 0.82);
  backdrop-filter: blur(14px);
}

.studio-caption strong {
  font-size: 22px;
  line-height: 1;
}

.studio-caption span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
}

.media-action {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 7px;
  width: 64px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 18px;
  background: rgba(17, 19, 24, 0.72);
}

.media-action span {
  width: 8px;
  height: 30px;
  border-radius: 5px;
  background: #ffffff;
}

.section-heading {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-heading h2,
.app-copy h2,
.pilot-cta-copy h2,
.tips-section h2,
.projects-section h2,
.upload-hero__copy h1,
.estimate-hero__copy h1 {
  margin: 0;
  color: var(--ink);
}

.section-heading h2,
.app-copy h2,
.pilot-cta-copy h2,
.tips-section h2,
.projects-section h2 {
  font-size: clamp(40px, 4vw, 66px);
  line-height: 1.02;
}

.outline-link,
.start-action,
.pilot-primary,
.pilot-secondary,
.summary-action,
.submit-estimate {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 950;
}

.outline-link,
.start-action,
.pilot-secondary {
  padding: 0 28px;
  border: 2px solid var(--ink);
  background: #ffffff;
}

.pilot-primary,
.submit-estimate {
  padding: 0 30px;
  border: 0;
  color: var(--ink);
  background: var(--brand-yellow);
  cursor: pointer;
}

.start-section,
.projects-section,
.app-section,
.tips-section,
.pilot-cta-section {
  padding: 58px 0;
  border-top: 2px solid var(--line);
}

.start-grid,
.project-grid,
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.start-card,
.project-card,
.tip-card,
.upload-form,
.upload-preview,
.match-panel,
.boq-table-panel,
.summary-card,
.coverage-card,
.supplier-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(15, 17, 21, 0.07);
}

.start-card,
.project-card,
.tip-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.start-card__media,
.project-card__media,
.tip-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #eef0f1;
}

.start-card__media img,
.project-card__media img,
.tip-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.start-badge,
.project-badge {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(17, 19, 24, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 900;
}

.start-card__body,
.project-card__body,
.tip-card__body {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.start-card__body {
  grid-template-rows: auto auto 1fr;
  min-height: 330px;
  align-content: start;
}

.start-card__body .start-action {
  align-self: end;
}

.start-card h3,
.tip-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.08;
}

.start-card h3 {
  min-height: 74px;
}

.project-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(21px, 1.45vw, 28px);
  line-height: 1.08;
}

.start-card p,
.project-card p,
.tip-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.38;
}

.start-card p {
  min-height: 92px;
}

.projects-controls,
.room-tabs,
.furnish-toggle {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.projects-controls button,
.room-tabs button,
.furnish-toggle button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  background: #f2f3f4;
  font-weight: 900;
}

.projects-controls .is-active,
.room-tabs .is-active,
.furnish-toggle .is-active {
  border-color: var(--ink);
  background: #ffffff;
}

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

.project-card__body {
  min-height: 248px;
  align-content: start;
  gap: 12px;
  padding: 28px 30px 30px;
}

.project-card__top {
  display: grid;
  gap: 8px;
}

.project-card__top strong {
  color: #1063b6;
  font-size: clamp(18px, 1.15vw, 22px);
  white-space: nowrap;
}

.project-room-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #111318;
  background: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 900;
}

.project-toolbar {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.project-filters,
.project-segment,
.project-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-filter,
.project-segment button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  background: #f2f3f4;
  font-weight: 900;
}

.project-filter.is-active,
.project-segment .is-active {
  border-color: var(--ink);
  background: #ffffff;
}

.project-tags span {
  padding: 8px 13px;
  border-radius: 999px;
  color: #343943;
  background: #f0f2f4;
  font-size: 12px;
  font-weight: 900;
}

.project-tags span:first-child {
  background: #ffe86b;
}

.project-card small {
  color: var(--muted);
  font-size: 15px;
}

.app-section {
  display: grid;
  grid-template-columns: minmax(340px, 0.55fr) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}

.app-copy {
  display: grid;
  gap: 22px;
}

.app-lead {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.38;
}

.download-panel,
.app-qr-card {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  max-width: 520px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.qr-code {
  display: grid;
  width: 126px;
  max-width: 100%;
  aspect-ratio: 1;
  place-items: center;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px) 0 0 / 20px 20px,
    linear-gradient(#111 10px, transparent 10px) 0 0 / 20px 20px,
    #fff;
  border: 10px solid #fff;
  box-shadow: inset 0 0 0 2px var(--ink);
}

.qr-code span {
  width: 42px;
  height: 42px;
  background: #fff;
}

.download-panel strong,
.download-panel span {
  display: block;
}

.download-panel strong {
  font-size: 18px;
  line-height: 1.15;
}

.download-panel span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.35;
}

.store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge,
.store-button {
  display: inline-flex;
  gap: 10px;
  min-height: 54px;
  align-items: center;
  padding: 0 18px;
  border-radius: 8px;
  color: #ffffff;
  background: #111318;
  text-decoration: none;
  font-weight: 900;
}

.store-badge small,
.store-button small {
  display: block;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  opacity: 0.78;
}

.store-icon {
  width: 24px;
  height: 24px;
}

.app-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.app-proof-row div {
  padding-top: 12px;
  border-top: 2px solid var(--line);
}

.app-proof-row dt {
  font-weight: 950;
}

.app-proof-row dd {
  margin: 5px 0 0;
  color: var(--muted);
}

.app-visual {
  position: relative;
  min-height: clamp(500px, 42vw, 620px);
  overflow: hidden;
  border-radius: var(--radius);
  background: #111318;
  isolation: isolate;
}

.app-icon-tile,
.phone-mock,
.phone-mockup,
.app-store-overlay {
  position: absolute;
  border-radius: var(--radius);
  background: rgba(17, 19, 24, 0.86);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.app-icon-tile {
  left: 34px;
  top: 34px;
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
}

.app-icon-tile img {
  width: 66px;
  height: auto;
}

.catalog-board {
  position: absolute;
  inset: 0;
}

.app-design-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-visual--single::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(17, 19, 24, 0.08), rgba(17, 19, 24, 0) 46%),
    linear-gradient(0deg, rgba(17, 19, 24, 0.22), rgba(17, 19, 24, 0) 42%);
  content: "";
  pointer-events: none;
}

.catalog-board img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.phone-mock,
.phone-mockup {
  z-index: 2;
  right: 46px;
  bottom: 46px;
  width: min(52%, 460px);
  min-height: 0;
  padding: 14px;
  border-radius: 28px;
  background: #111318;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.phone-notch {
  position: absolute;
  left: 50%;
  top: 8px;
  z-index: 2;
  width: 52px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  border-radius: 18px;
  background: #20242b;
}

.phone-screen > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.phone-ui,
.phone-toolbar {
  position: absolute;
  left: 14px;
  right: 14px;
}

.phone-ui {
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(17, 19, 24, 0.78);
  font-size: 12px;
  font-weight: 900;
}

.phone-toolbar {
  bottom: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.phone-toolbar span {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
}

.app-store-overlay {
  right: 28px;
  bottom: 24px;
  display: flex;
  gap: 10px;
  padding: 10px;
}

.tips-row {
  display: grid;
  grid-auto-columns: minmax(280px, 430px);
  grid-auto-flow: column;
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 18px;
}

.tips-scrollbar {
  height: 4px;
  margin-top: 20px;
  background: #dcdfe4;
}

.tips-scrollbar span {
  display: block;
  width: 22%;
  height: 100%;
  background: var(--ink);
}

.pilot-cta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: 32px;
  align-items: center;
  background: #f5f6f7;
  padding: 54px;
}

.pilot-cta-copy {
  display: grid;
  gap: 20px;
}

.pilot-cta-copy p:not(.section-kicker) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.38;
}

.pilot-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.pilot-cta-panel {
  display: grid;
  gap: 14px;
}

.pilot-upload-card,
.pilot-flow div {
  display: grid;
  gap: 6px;
  padding: 20px;
  border-radius: var(--radius);
  background: #ffffff;
}

.pilot-flow {
  display: grid;
  gap: 12px;
}

.pilot-flow span,
.form-section-title > span,
.estimate-flow span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--brand-yellow);
  font-size: 13px;
  font-weight: 950;
}

.site-footer {
  margin-top: 70px;
  padding: 52px 0 34px;
  border-top: 2px solid var(--line);
}

.footer-ecosystem,
.footer-links,
.footer-bottom {
  display: grid;
  gap: 28px;
}

.footer-ecosystem {
  grid-template-columns: minmax(360px, 0.8fr) minmax(0, 1fr);
  align-items: end;
}

.footer-logo img {
  width: 184px;
}

.footer-brand-block > p {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.38;
}

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

.footer-audience-grid article {
  display: grid;
  gap: 9px;
  padding: 18px;
  border-radius: var(--radius);
  background: #f5f6f7;
}

.footer-audience-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.footer-audience-grid strong {
  line-height: 1.25;
}

.footer-audience-grid a {
  font-weight: 900;
}

.footer-chain {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-chain span {
  padding: 12px 14px;
  border-radius: 999px;
  background: #f2f3f4;
  font-weight: 900;
}

.footer-links {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 42px;
}

.footer-links nav {
  display: grid;
  gap: 14px;
  align-content: start;
}

.footer-links h2 {
  margin: 0 0 6px;
  font-size: 21px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-bottom {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  margin-top: 48px;
}

.footer-social,
.footer-locale {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-social a,
.footer-locale button {
  display: inline-flex;
  min-width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  text-decoration: none;
  font-weight: 900;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.upload-page,
.estimate-page {
  width: min(100% - 92px, 1828px);
  margin: 42px auto 96px;
}

.upload-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 34px;
  align-items: start;
}

.upload-hero,
.estimate-hero {
  grid-column: 1 / -1;
  display: grid;
  gap: 34px;
  align-items: end;
  padding-bottom: 38px;
  border-bottom: 2px solid var(--line);
}

.upload-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.65fr);
}

.upload-hero__copy h1,
.estimate-hero__copy h1 {
  max-width: 900px;
  font-size: clamp(42px, 4.2vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.upload-hero__copy p:not(.section-kicker),
.estimate-hero__copy > p:not(.section-kicker) {
  max-width: 760px;
  margin: 24px 0 0;
  color: #343943;
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.36;
}

.upload-summary {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius);
  background: #f4f5f6;
}

.upload-summary span {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  background: #ffffff;
  font-weight: 850;
}

.upload-summary span:first-child {
  background: var(--brand-yellow);
}

.upload-workspace,
.upload-form,
.upload-preview__body,
.estimate-main,
.estimate-sidebar {
  display: grid;
  gap: 22px;
}

.upload-form {
  padding: clamp(22px, 2.4vw, 34px);
}

.form-section-title {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
}

.form-section-title h2 {
  margin: 0;
  font-size: clamp(25px, 1.8vw, 34px);
  line-height: 1.05;
}

.form-section-title p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.36;
}

.file-drop {
  position: relative;
  display: grid;
  min-height: 230px;
  place-items: center;
  padding: 28px;
  border: 2px dashed #cfd3d8;
  border-radius: var(--radius);
  background: #f8f9fa;
  text-align: center;
  cursor: pointer;
}

.file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.file-drop__icon {
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: var(--ink);
}

.file-drop__icon::before {
  position: absolute;
  left: 17px;
  top: 20px;
  width: 24px;
  height: 24px;
  border: 3px solid #ffffff;
  border-top: 0;
  border-radius: 0 0 5px 5px;
  content: "";
}

.file-drop__icon::after {
  position: absolute;
  left: 21px;
  top: 15px;
  width: 16px;
  height: 16px;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  content: "";
  transform: rotate(45deg);
}

.file-drop strong {
  font-size: 22px;
  line-height: 1.14;
}

.file-drop small {
  color: var(--muted);
}

.file-drop.has-file {
  border-color: #111318;
  background: #fff9d7;
}

.plan-marker {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #d9dce1;
  border-radius: 8px;
  background: #ffffff;
}

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

.plan-marker__header span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.plan-marker__header h3 {
  margin: 3px 0 0;
  color: #111318;
  font-size: clamp(22px, 1.5vw, 30px);
  line-height: 1.05;
}

.plan-marker__header button,
.plan-marker__tools label,
.plan-marker__measure input,
.plan-marker__zone-select select {
  min-height: 42px;
  border: 1px solid #cfd3d8;
  border-radius: 999px;
  color: #111318;
  background: #f8f9fa;
  font-weight: 850;
}

.plan-marker__header button {
  padding: 0 18px;
  cursor: pointer;
}

.plan-marker__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.plan-marker__tools label {
  display: inline-flex;
  width: auto;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}

.plan-marker__tools input {
  width: 16px;
  height: 16px;
  min-height: 0;
  accent-color: #111318;
}

.plan-marker__zone-select {
  gap: 10px;
  padding-right: 0;
  overflow: hidden;
}

.plan-marker__measure {
  gap: 10px;
  padding-right: 0;
  overflow: hidden;
}

.plan-marker__measure > span,
.plan-marker__zone-select > span {
  color: #343943;
  font-size: 13px;
}

.plan-marker__measure input {
  width: 112px;
  min-height: 42px;
  border: 0;
  border-left: 1px solid #d9dce1;
  border-radius: 0;
  padding: 0 14px;
  background: #ffffff;
}

.plan-marker__zone-select select {
  width: auto;
  min-width: 136px;
  min-height: 42px;
  border: 0;
  border-left: 1px solid #d9dce1;
  border-radius: 0;
  padding: 0 14px;
  background: #ffffff;
}

.plan-canvas {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border: 1px solid #cfd3d8;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(17, 19, 24, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(17, 19, 24, 0.04) 1px, transparent 1px),
    #eef1f3;
  background-size: 28px 28px;
  cursor: crosshair;
}

.plan-canvas img,
.plan-canvas svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.plan-canvas img {
  display: none;
  object-fit: contain;
  background: #f8f9fa;
}

.plan-canvas.has-image img {
  display: block;
}

.plan-canvas svg {
  z-index: 2;
  pointer-events: none;
}

.plan-canvas__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 7px;
  padding: 24px;
  color: #111318;
  text-align: center;
}

.plan-canvas.has-image .plan-canvas__empty,
.plan-canvas.has-marks .plan-canvas__empty {
  display: none;
}

.plan-canvas__empty strong {
  font-size: 22px;
}

.plan-canvas__empty span {
  color: var(--muted);
}

.plan-wall {
  stroke: #ffd733;
  stroke-width: 1.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.plan-scale {
  stroke: #111318;
  stroke-width: 1.5;
  stroke-dasharray: 4 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.plan-wall-point {
  fill: #111318;
  stroke: #ffffff;
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
}

.plan-marker-point {
  stroke: #ffffff;
  stroke-width: 0.9;
  vector-effect: non-scaling-stroke;
}

.plan-marker-point--window {
  fill: #2479ff;
}

.plan-marker-point--door {
  fill: #ff5a1f;
}

.plan-marker-point--zone {
  fill: #18a957;
}

.plan-marker-label {
  fill: #111318;
  paint-order: stroke;
  stroke: #ffffff;
  stroke-width: 2.2;
  font-size: 4px;
  font-weight: 900;
}

.plan-marker__status {
  min-height: 42px;
  padding: 12px 14px;
  border-radius: 8px;
  color: #111318;
  background: #fff9d7;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.uploaded-file-preview {
  display: grid;
  height: 100%;
  min-height: 260px;
  place-items: center;
  padding: 24px;
  color: #111318;
  background: #fff9d7;
  text-align: center;
}

.uploaded-file-preview strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 22px;
}

.uploaded-file-preview span {
  color: var(--muted);
}

.upload-form label {
  display: grid;
  gap: 8px;
}

.upload-form label > span {
  color: #343943;
  font-size: 14px;
  font-weight: 850;
}

.upload-form input,
.upload-form select,
.upload-form textarea {
  width: 100%;
  border: 1px solid #cfd3d8;
  border-radius: 7px;
  color: var(--ink);
  background: #ffffff;
  font-size: 16px;
}

.upload-form input,
.upload-form select {
  min-height: 52px;
  padding: 0 14px;
}

.upload-form textarea {
  resize: vertical;
  padding: 14px;
}

.field-grid,
.choice-grid,
.checkbox-grid,
.zone-grid {
  display: grid;
  gap: 16px;
}

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

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

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

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

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

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

.choice-grid label,
.checkbox-grid label,
.zone-grid label {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #d9dce1;
  border-radius: var(--radius);
  background: #f8f9fa;
  font-weight: 820;
}

.choice-grid input,
.checkbox-grid input,
.zone-grid input {
  width: 18px;
  height: 18px;
  min-height: 0;
  accent-color: var(--ink);
}

.plan-reader {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid #d9dce1;
  border-radius: var(--radius);
  background: #f8f9fa;
}

.form-section-title--compact {
  grid-template-columns: 44px minmax(0, 1fr);
}

.form-section-title--compact > span {
  width: 44px;
  height: 44px;
}

.form-section-title--compact h3 {
  margin: 0;
  color: #111318;
  font-size: clamp(22px, 1.5vw, 28px);
  line-height: 1.06;
}

.plan-reader-summary {
  min-height: 46px;
  padding: 13px 15px;
  border-radius: 7px;
  color: #111318;
  background: #fff9d7;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.upload-preview {
  position: sticky;
  top: 96px;
  overflow: hidden;
}

.upload-preview__media {
  aspect-ratio: 16 / 11;
  background: #edf0ef;
}

.upload-preview__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-preview__body {
  padding: 26px;
}

.upload-preview__body h2 {
  margin: 0;
  font-size: clamp(28px, 2.1vw, 40px);
  line-height: 1.05;
}

.upload-preview dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.upload-preview dl div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.upload-preview dt {
  font-weight: 900;
}

.upload-preview dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.32;
}

.estimate-page {
  display: grid;
  gap: 38px;
}

.estimate-hero {
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
}

.estimate-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.estimate-metrics div {
  padding-top: 14px;
  border-top: 2px solid var(--line);
}

.estimate-metrics dt,
.estimate-flow strong,
.product-match-card h3,
.coverage-item strong,
.supplier-card strong {
  font-weight: 950;
}

.estimate-metrics dd {
  margin: 6px 0 0;
  color: var(--muted);
}

.estimate-visual-card {
  position: relative;
  min-width: 0;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #eff1f2;
  box-shadow: var(--shadow);
}

.estimate-visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.estimate-visual-card__overlay {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 5px;
  max-width: 320px;
  padding: 18px 20px;
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(17, 19, 24, 0.82);
  backdrop-filter: blur(14px);
}

.uploaded-plan-card {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: min(420px, calc(100% - 44px));
  padding: 12px;
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(17, 19, 24, 0.82);
  backdrop-filter: blur(14px);
}

.uploaded-plan-card img {
  width: 92px;
  height: 68px;
  border-radius: 6px;
  object-fit: cover;
}

.uploaded-plan-card span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
}

.uploaded-plan-card strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  font-size: 15px;
}

.uploaded-plan-card--file {
  grid-template-columns: 1fr;
}

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

.estimate-flow div {
  display: grid;
  gap: 7px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.estimate-flow small,
.product-match-card p,
.coverage-item span,
.supplier-card span {
  color: var(--muted);
  line-height: 1.3;
}

.estimate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: 28px;
  align-items: start;
}

.match-panel,
.boq-table-panel,
.materials-table-panel {
  padding: clamp(22px, 2.4vw, 34px);
}

.panel-heading {
  display: flex;
  gap: 18px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.panel-heading h2,
.coverage-card h2,
.supplier-card h2 {
  margin: 0;
  font-size: clamp(28px, 2.1vw, 40px);
  line-height: 1.04;
}

.status-pill {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #f0f2f4;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
}

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

.product-match-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #e3e6ea;
  border-radius: var(--radius);
  background: #f8f9fa;
}

.product-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin: 0;
  border: 1px solid #dfe3e7;
  border-radius: 7px;
  background: #ffffff;
}

.product-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card-media figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  padding: 5px 8px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(17, 19, 24, 0.78);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.1;
}

.product-card-media--empty {
  display: grid;
  place-items: center;
  padding: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.product-code {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-match-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.08;
}

.product-match-card p {
  margin: 0;
  font-size: 14px;
}

.product-match-card dl {
  display: grid;
  grid-template-columns: minmax(34px, 0.5fr) minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: 6px;
  margin: 4px 0 0;
}

.product-match-card dl div {
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid #dfe3e7;
}

.product-match-card dt {
  color: #69717d;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.product-match-card dd {
  margin: 4px 0 0;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.08;
  font-size: 13px;
  font-weight: 900;
}

.boq-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.materials-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.boq-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr) minmax(92px, 0.8fr) 68px 110px;
  min-width: 720px;
  border-top: 1px solid var(--line);
}

.materials-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(100px, 0.55fr) minmax(220px, 1.2fr) minmax(130px, 0.7fr);
  min-width: 720px;
  border-top: 1px solid var(--line);
}

.boq-row:first-child {
  border-top: 0;
}

.materials-row:first-child {
  border-top: 0;
}

.boq-row--head,
.materials-row--head {
  color: #ffffff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.boq-row span,
.boq-row strong,
.materials-row span,
.materials-row strong {
  display: flex;
  min-height: 54px;
  align-items: center;
  padding: 0 14px;
  border-left: 1px solid var(--line);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.boq-row--head span,
.materials-row--head span {
  border-left-color: rgba(255, 255, 255, 0.15);
}

.boq-row span:first-child,
.boq-row strong:first-child,
.materials-row span:first-child,
.materials-row strong:first-child {
  border-left: 0;
}

.estimate-sidebar {
  position: sticky;
  top: 96px;
}

.summary-card,
.coverage-card,
.supplier-card,
.plan-analysis-card {
  padding: 24px;
}

.summary-card {
  color: #ffffff;
  background: var(--ink);
}

.summary-card .section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.summary-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(44px, 4.6vw, 68px);
  line-height: 0.95;
}

.summary-card dl {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.summary-card dl div,
.coverage-item,
.supplier-card div,
.plan-analysis-card dl div {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.summary-card dl div {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.summary-card dt {
  color: rgba(255, 255, 255, 0.7);
}

.summary-card dd {
  margin: 0;
  color: #ffffff;
  font-weight: 900;
  text-align: right;
}

.summary-action {
  width: 100%;
  margin-top: 24px;
  color: var(--ink);
  background: var(--brand-yellow);
}

.coverage-card,
.supplier-card,
.plan-analysis-card {
  display: grid;
  gap: 14px;
}

.coverage-item.is-next strong {
  color: #8b5e00;
}

.supplier-card div {
  display: grid;
  justify-content: stretch;
}

.plan-analysis-card h2 {
  margin: 0;
  font-size: clamp(28px, 2.1vw, 40px);
  line-height: 1.04;
}

.plan-analysis-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.plan-analysis-card dt {
  color: var(--muted);
  font-size: 14px;
}

.plan-analysis-card dd {
  margin: 0;
  color: #111318;
  font-weight: 900;
  text-align: right;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .primary-nav {
    display: none;
  }

  .hero-card,
  .app-section,
  .pilot-cta-section,
  .upload-page,
  .upload-hero,
  .estimate-hero,
  .estimate-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: auto;
  }

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

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

  .estimate-visual-card {
    min-height: 420px;
  }
}

@media (max-width: 900px) {
  .site-header {
    gap: 14px;
    padding: 0 22px;
  }

  .search {
    display: none;
  }

  .hero-container,
  .start-section,
  .projects-section,
  .app-section,
  .tips-section,
  .pilot-cta-section,
  .site-footer,
  .upload-page,
  .estimate-page {
    width: calc(100% - 44px);
  }

  .hero-card {
    gap: 0;
  }

  .hero-visual {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
  }

  .hero-visual .studio-shell {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .start-grid,
  .project-grid,
  .projects-grid,
  .product-match-list,
  .estimate-flow,
  .estimate-sidebar,
  .footer-ecosystem,
  .footer-links,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .summary-card {
    grid-column: 1 / -1;
  }

  .boq-table,
  .materials-table {
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .brand-logo {
    width: 142px;
  }

  .site-header {
    min-height: 66px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 0 16px;
  }

  .header-actions {
    gap: 10px;
  }

  .login-link span:last-child,
  .icon-link.quote-link {
    display: none;
  }

  .hero-container,
  .start-section,
  .projects-section,
  .app-section,
  .tips-section,
  .pilot-cta-section,
  .site-footer,
  .upload-page,
  .estimate-page {
    width: calc(100% - 32px);
  }

  .hero h1,
  .upload-hero__copy h1,
  .estimate-hero__copy h1 {
    max-width: calc(100vw - 32px);
    font-size: 30px;
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .hero-container {
    padding: 0 0 34px;
  }

  .hero-copy {
    padding: 24px 22px;
  }

  .hero-visual {
    margin-top: 16px;
  }

  .hero-text,
  .upload-hero__copy p:not(.section-kicker),
  .estimate-hero__copy > p:not(.section-kicker),
  .pilot-cta-copy p:not(.section-kicker),
  .app-lead {
    width: 100%;
    max-width: calc(100vw - 32px);
    overflow-wrap: anywhere;
  }

  .eyebrow {
    font-size: 20px;
  }

  .hero-copy,
  .pilot-cta-section,
  .match-panel,
  .boq-table-panel,
  .materials-table-panel,
  .summary-card,
  .coverage-card,
  .supplier-card,
  .plan-analysis-card,
  .upload-form {
    padding: 22px;
  }

  .hero-copy {
    padding: 24px 22px;
  }

  .studio-caption {
    gap: 3px;
    padding: 12px 14px;
  }

  .studio-caption strong {
    font-size: 17px;
  }

  .studio-caption span {
    font-size: 13px;
    line-height: 1.2;
  }

  .media-action {
    right: 12px;
    bottom: 12px;
    width: 46px;
    height: 42px;
    border-radius: 14px;
  }

  .media-action span {
    width: 6px;
    height: 22px;
  }

  .trust-row,
  .estimate-metrics,
  .field-grid--three,
  .field-grid--two,
  .field-grid--four,
  .choice-grid,
  .checkbox-grid,
  .zone-grid,
  .app-proof-row,
  .footer-audience-grid,
  .product-match-card dl {
    grid-template-columns: 1fr;
  }

  .start-grid,
  .project-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card__body {
    min-height: auto;
    padding: 24px;
  }

  .project-card h3 {
    font-size: 28px;
  }

  .project-card__top strong {
    font-size: 20px;
  }

  .tips-row {
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 84vw);
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
  }

  .tips-row .tip-card {
    scroll-snap-align: start;
  }

  .tip-card {
    width: 100%;
  }

  .download-panel,
  .app-qr-card {
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 14px;
  }

  .qr-code {
    width: 92px;
    border-width: 8px;
    background:
      linear-gradient(90deg, #111 8px, transparent 8px) 0 0 / 16px 16px,
      linear-gradient(#111 8px, transparent 8px) 0 0 / 16px 16px,
      #fff;
  }

  .store-badge,
  .store-button {
    min-height: 50px;
    padding: 0 14px;
  }

  .app-section {
    gap: 26px;
  }

  .app-visual {
    min-height: 360px;
  }

  .phone-mock,
  .phone-mockup {
    right: 18px;
    bottom: 24px;
    width: min(62%, 230px);
    min-height: 170px;
    padding: 10px;
  }

  .phone-screen,
  .phone-screen > img {
    min-height: 150px;
  }

  .phone-screen {
    border-radius: 12px;
  }

  .phone-ui {
    left: 8px;
    right: 8px;
    top: 8px;
    padding: 7px 8px;
    font-size: 10px;
  }

  .phone-toolbar {
    left: 8px;
    right: 8px;
    bottom: 8px;
    gap: 5px;
  }

  .phone-toolbar span {
    height: 6px;
  }

  .app-store-overlay {
    right: 14px;
    bottom: 12px;
    gap: 6px;
    padding: 7px;
  }

  .app-store-overlay .store-badge {
    min-height: 40px;
    padding: 0 10px;
    font-size: 12px;
  }

  .app-store-overlay .store-icon {
    width: 18px;
    height: 18px;
  }

  .site-footer {
    margin-top: 38px;
    padding: 34px 0 28px;
  }

  .pilot-cta-section {
    gap: 22px;
    padding: 28px 20px;
  }

  .pilot-cta-copy {
    gap: 14px;
  }

  .pilot-cta-copy p:not(.section-kicker) {
    font-size: 17px;
    line-height: 1.32;
  }

  .pilot-actions {
    gap: 10px;
  }

  .pilot-primary,
  .pilot-secondary {
    width: 100%;
    min-height: 50px;
  }

  .pilot-cta-panel,
  .pilot-flow {
    gap: 10px;
  }

  .pilot-upload-card,
  .pilot-flow div {
    padding: 15px;
  }

  .footer-ecosystem,
  .footer-links,
  .footer-bottom {
    gap: 22px;
  }

  .footer-chain {
    justify-content: flex-start;
  }

  .footer-chain span {
    padding: 10px 12px;
    font-size: 13px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 26px;
  }

  .footer-links nav {
    gap: 10px;
  }

  .footer-links h2 {
    font-size: 18px;
  }

  .footer-links a {
    font-size: 14px;
    line-height: 1.25;
  }

  .footer-bottom {
    align-items: start;
    margin-top: 30px;
  }

  .footer-bottom p {
    text-align: left;
  }

  .plan-marker {
    padding: 14px;
  }

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

  .plan-marker__tools,
  .plan-marker__tools label,
  .plan-marker__measure,
  .plan-marker__measure input,
  .plan-marker__zone-select,
  .plan-marker__zone-select select {
    width: 100%;
  }

  .plan-canvas {
    min-height: 220px;
  }

  .section-heading,
  .panel-heading {
    display: grid;
  }

  .section-heading h2,
  .app-copy h2,
  .pilot-cta-copy h2,
  .tips-section h2,
  .projects-section h2 {
    font-size: 32px;
  }

  .estimate-visual-card {
    width: 100%;
    max-width: 100%;
    min-height: 300px;
  }

  .estimate-visual-card img,
  .studio-video {
    max-width: 100%;
  }

  .estimate-visual-card__overlay,
  .studio-caption {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }

  .uploaded-plan-card {
    left: 14px;
    right: 14px;
    bottom: 106px;
    width: auto;
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .uploaded-plan-card img {
    width: 74px;
    height: 56px;
  }
}
