@font-face {
 font-family: 'Barlow Condensed'; font-style: normal; font-weight: 900; font-display: swap;
 src: url('../homepage-fonts/barlow-8.ttf') format('truetype');
}
@font-face {
  font-family: Barlow;
  src: url("../quote/fonts/barlow-1.ttf");
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
}
body {
  margin: 0;
  background: #0c110e;
  color: #e1e8df;
  font:
    15px/1.5 Barlow,
    system-ui,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  border: 1px solid #354238;
  border-radius: 7px;
  background: #202c23;
  color: #e0e8de;
  padding: 9px 12px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}
button:hover,
.button:hover {
  background: #314331;
  border-color: #83b856;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid #acd87c;
  outline-offset: 3px;
}
a {
  color: #a3d56c;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #40543e;
  border-radius: 6px;
  background: #101a13;
  color: #eef3e9;
  padding: 10px;
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #98c964;
  flex-shrink: 0;
}
label {
  display: block;
  color: #b7c7ba;
  font-size: 13px;
}
label input,
label select {
  display: block;
  margin-top: 5px;
}
label small {
  display: block;
  color: #829788;
  font-size: 11px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-family: "Barlow Condensed", Barlow, sans-serif;
  text-transform: uppercase;
  font-size: 42px;
  line-height: 1.12;
  margin-bottom: 9px;
  font-weight: 900;
}
h1 em {
  font-style: normal;
  color: #a3d369;
}
h2 {
  font-size: 18px;
  margin-bottom: 0;
}
h3 {
  font-size: 14px;
  margin-bottom: 0;
}
p {
  margin-bottom: 12px;
}
.site-header {
  height: 74px;
  padding: 8px 3%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #2c382b;
  background: #0a0e0b;
}
.site-header img {
  width: 135px;
  max-height: 57px;
  object-fit: contain;
}
.site-header nav {
  display: flex;
  gap: 25px;
  align-items: center;
  font-size: 13px;
}
.site-header a {
  color: #c4d0c4;
  text-decoration: none;
}
.site-header b {
  background: #a2cf70;
  padding: 2px 6px;
  border-radius: 3px;
  color: #15200e;
}
main {
  max-width: 1800px;
  margin: auto;
  padding: 24px 28px;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.intro p:last-child {
  margin: 0;
  color: #99ac9e;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #a5d671;
  font-weight: bold;
  margin-bottom: 10px;
}
.eyebrow span {
  letter-spacing: 1px;
  border: 1px solid #3c4e38;
  padding: 3px 5px;
  margin-left: 8px;
  font-size: 9px;
}
.document-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.document-actions button,
.document-actions .button {
  font-size: 12px;
}
.workspace {
  display: grid;
  grid-template-columns: 280px minmax(400px, 1fr) 290px;
  gap: 16px;
  align-items: start;
}
.panel {
  background: #131c15;
  border: 1px solid #2c3b2c;
  border-radius: 10px;
  padding: 17px;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 19px;
}
.section-heading h2 {
  font-size: 16px;
}
.section-heading select {
  width: 84px;
  margin-left: auto;
  padding: 5px;
  font-size: 11px;
}
.step {
  font:
    12px ui-monospace,
    monospace;
  border: 1px solid #5b783e;
  border-radius: 4px;
  padding: 2px 5px;
  color: #a5cf79;
}
.section-subheading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 17px 0 10px;
}
.section-subheading > span {
  font-size: 11px;
  color: #8ca183;
}
.section-subheading button {
  padding: 4px 8px;
  font-size: 11px;
}
.shape-summary {
  display: flex;
  gap: 9px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 10px;
  background: #20351d;
  border-color: #597d3d;
}
.shape-summary svg {
  width: 45px;
  height: 45px;
}
.shape-summary strong {
  display: block;
  font-size: 14px;
}
.shape-summary small {
  display: block;
  font-size: 10px;
  line-height: 1.35;
  color: #b2c4a6;
  margin-top: 4px;
}
.shape-summary > span:last-child {
  margin-left: auto;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.full {
  margin: 12px 0;
}
.full-width {
  width: 100%;
}
.fields .wide {
  grid-column: 1/-1;
}
.history {
  display: flex;
  gap: 5px;
  margin: 16px 0;
  padding-bottom: 15px;
  border-bottom: 1px solid #2b392b;
}
.history button {
  font-size: 11px;
  padding: 6px 8px;
}
.hint {
  font-size: 12px;
  color: #90a58f;
  line-height: 1.55;
  margin-top: 8px;
}
.design-note {
  margin-top: 24px;
  border-top: 1px solid #30402f;
  padding-top: 14px;
  font-size: 12px;
  color: #95aa92;
}
.design-note strong {
  color: #c1d1b6;
}
.design-note p {
  margin: 4px 0;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
}
.feature-row {
  display: flex;
  gap: 5px;
  align-items: center;
  background: #101812;
  padding: 6px;
  border: 1px solid #2e3b2b;
  border-radius: 6px;
}
.feature-row.active {
  border-color: #96c76a;
}
.feature-row button {
  flex: 1;
  text-align: left;
  background: none;
  border: 0;
  padding: 3px 6px;
  font-size: 12px;
}
.feature-row input {
  margin: 0;
}
.feature-row small {
  display: block;
  color: #8b9e85;
  font-size: 10px;
}
.empty-features {
  padding: 15px 10px;
  border: 1px dashed #3a4d35;
  color: #819579;
  border-radius: 6px;
  font-size: 12px;
}
.model-column {
  min-width: 0;
}
.viewport-card {
  background: #101913;
  border: 1px solid #344433;
  border-radius: 10px;
  overflow: hidden;
}
.viewport-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 16px;
  font:
    10px ui-monospace,
    monospace;
  letter-spacing: 1.3px;
  color: #91aa89;
  border-bottom: 1px solid #2a3c2b;
}
#viewer {
  height: 510px;
  position: relative;
  background: radial-gradient(
    ellipse at 50% 60%,
    #27392e 0%,
    #142018 65%,
    #111a14 100%
  );
  touch-action: none;
}
#viewer canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.loading {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 7px 14px;
  border-radius: 20px;
  background: #192a1ee8;
  color: #b6d29f;
  font-size: 12px;
  white-space: nowrap;
}
.views {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  flex-wrap: wrap;
}
.views button {
  padding: 5px 9px;
  font-size: 11px;
}
.dimension-label {
  text-align: center;
  font:
    600 17px ui-monospace,
    monospace;
  margin: 9px;
  color: #cbdbbd;
}
.viewer-help {
  text-align: center;
  color: #8a9e83;
  font-size: 10px;
  padding: 0 10px;
  margin-bottom: 12px;
}
.status-note {
  font-size: 12px;
  background: #203320;
  padding: 11px 15px;
  color: #b9d09f;
  border-top: 1px solid #3b5733;
}
.status-note.error {
  background: #3b241d;
  color: #f2b09b;
  border-color: #754b3b;
}
.feature-panel {
  margin-top: 15px;
}
.feature-tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 13px 0;
}
.feature-tools button {
  font-size: 12px;
  padding: 9px 4px;
}
.face-info {
  font:
    11px ui-monospace,
    monospace;
  color: #8fc2e4;
}
.feature-panel .fields {
  grid-template-columns: repeat(3, 1fr);
}
.danger {
  color: #e9a994;
  border-color: #694539;
  background: #2b211c;
  font-size: 12px;
}
.check-card {
  background: #0d160f;
  border: 1px solid #3b5134;
  border-radius: 7px;
  padding: 12px;
  margin: 19px 0;
  color: #95af89;
  font-size: 12px;
}
.check-card strong {
  color: #d6e6c8;
}
.check-card p {
  margin: 8px 0;
}
.check-card p:last-child {
  font-size: 11px;
}
.confirm {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0;
  font-size: 12px;
}
.confirm input {
  margin: 2px 0;
}
.price-box {
  margin: 24px 0 18px;
}
.price-box > span {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: #93a982;
}
.price-box strong {
  display: block;
  font-size: 39px;
  line-height: 1.4;
  color: #c5e5a5;
}
.price-box p {
  font-size: 12px;
  color: #9fb28f;
  margin: 3px 0;
}
.primary {
  background: #a2cf6e;
  border-color: #a2cf6e;
  color: #17200f;
  font-weight: 900;
  padding: 13px;
}
.primary:hover {
  background: #b8df88;
}
.review-link {
  font-size: 12px;
  display: block;
  margin: 16px 0;
}
.order-status {
  font-size: 12px;
  margin-top: 12px;
  color: #e5b78b;
}
.limits {
  font-size: 11px;
  color: #91a388;
  border-top: 1px solid #30412d;
  padding-top: 12px;
}
.limits p {
  margin-top: 10px;
}
summary {
  cursor: pointer;
  color: #b2c5a4;
}
details {
  margin: 14px 0;
}
details .fields {
  margin-top: 12px;
}
footer {
  display: flex;
  justify-content: space-between;
  color: #829879;
  font-size: 11px;
  margin: 30px 0;
}
.help-panel {
  padding: 18px 24px;
  border: 1px solid #557749;
  background: #19271a;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 13px;
}
.help-panel ol {
  padding-left: 20px;
}
.help-panel p {
  color: #b2c4a4;
}
.help-panel li {
  margin: 6px 0;
}
.section-card {
  padding: 10px;
  border: 1px solid #35482e;
  border-radius: 6px;
  margin: 10px 0;
}
.section-card .section-subheading {
  margin-top: 0;
}
dialog {
  background: #131c15;
  color: #e4ebdf;
  border: 1px solid #4e6841;
  border-radius: 14px;
  width: min(1100px, 95vw);
  padding: 26px;
  max-height: 92vh;
  overflow: auto;
}
dialog::backdrop {
  background: #030804dc;
  backdrop-filter: blur(4px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}
.dialog-heading h2 {
  font-size: 29px;
  margin-bottom: 8px;
}
.dialog-heading p:not(.eyebrow) {
  color: #a0b295;
  font-size: 13px;
}
.template-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 20px;
}
.template-filters button {
  font-size: 12px;
}
.template-filters .active {
  background: #a2cf6e;
  color: #17200f;
}
.shape-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.shape-card {
  text-align: left;
  padding: 15px 12px;
  background: #18241a;
  display: flex;
  flex-direction: column;
  min-height: 210px;
}
.shape-card svg {
  width: 100%;
  height: 100px;
  margin-bottom: 12px;
}
.shape-card strong {
  font-size: 14px;
}
.shape-card small {
  font-size: 11px;
  color: #99af8c;
  margin-top: 7px;
  line-height: 1.4;
}
.sketch-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}
.sketch-layout svg {
  width: 100%;
  background: #101a13;
  border: 1px solid #3b5232;
  border-radius: 8px;
  touch-action: none;
}
.sketch-tools {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 11px;
}
.sketch-tools button {
  font-size: 11px;
}
.sketch-tools label {
  max-width: 100px;
}
.sketch-tools input {
  padding: 5px;
}
.point-row {
  display: grid;
  grid-template-columns: 24px 1fr 1fr;
  gap: 6px;
  align-items: center;
  padding: 5px;
  margin-bottom: 4px;
  border: 1px solid transparent;
}
.point-row input {
  padding: 6px;
  font-size: 12px;
}
.point-row.active {
  border-color: #91c964;
  background: #223a1c;
  border-radius: 5px;
}
#pointList {
  max-height: 350px;
  overflow: auto;
  margin-bottom: 12px;
}
#sketchError {
  color: #efb090;
  font-size: 12px;
  margin-top: 10px;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1600px) {
  .workspace {
    grid-template-columns: 310px minmax(500px, 1fr) 310px;
  }
  #viewer {
    height: 610px;
  }
}
@media (max-width: 1150px) {
  main {
    padding: 20px 16px;
  }
  .workspace {
    grid-template-columns: 250px minmax(340px, 1fr);
  }
  .order-panel {
    grid-column: 1/-1;
    display: block;
    max-width: none;
  }
  .order-panel .primary {
    max-width: 450px;
  }
  .intro {
    align-items: flex-start;
  }
  h1 {
    font-size: 29px;
  }
  .shape-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 720px) {
  .site-header {
    height: 62px;
    padding: 8px 12px;
  }
  .site-header img {
    width: 95px;
  }
  .site-header nav {
    gap: 13px;
    font-size: 11px;
  }
  main {
    padding: 20px 12px;
  }
  .intro {
    display: block;
    margin-bottom: 17px;
  }
  h1 {
    font-size: 29px;
  }
  .intro p:last-child {
    font-size: 13px;
  }
  .document-actions {
    margin-top: 16px;
  }
  .document-actions button,
  .document-actions .button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .workspace {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .design-panel,
  .model-column,
  .order-panel {
    width: 100%;
  }
  .model-column {
    order: 0;
  }
  .design-panel {
    order: 1;
  }
  .order-panel {
    order: 2;
  }
  #viewer {
    height: 340px;
  }
  .panel {
    padding: 15px;
  }
  .feature-panel .fields {
    grid-template-columns: 1fr 1fr;
  }
  .feature-tools {
    grid-template-columns: repeat(3, 1fr);
  }
  .viewport-title {
    font-size: 9px;
    letter-spacing: 0.6px;
  }
  .viewer-help {
    font-size: 9px;
  }
  .shape-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  dialog {
    padding: 17px;
  }
  .shape-card {
    min-height: 185px;
    padding: 12px;
  }
  .shape-card svg {
    height: 75px;
  }
  .dialog-heading h2 {
    font-size: 23px;
  }
  .sketch-layout {
    grid-template-columns: 1fr;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .eyebrow span {
    font-size: 8px;
  }
  footer {
    display: block;
  }
  footer span {
    display: block;
    margin-top: 6px;
  }
  .shape-summary svg {
    width: 50px;
  }
  .views {
    gap: 4px;
  }
  .views button {
    font-size: 10px;
    padding: 5px 8px;
  }
}

@media (min-width: 1151px) {
  .model-column {
    position: sticky;
    top: 14px;
  }
  #viewer {
    height: clamp(340px, 46vh, 560px);
  }
}
.design-panel #featureEditor .fields {
  grid-template-columns: 1fr 1fr;
}
.design-panel #featureEditor .section-subheading h3 {
  font-size: 15px;
}
.design-panel #featureEditor .section-subheading button {
  font-size: 10px;
}
