:root {
  color-scheme: light;
  --ink: #101114;
  --secondary: #303136;
  --line: rgba(16, 17, 20, .25);
  --field: #e8e7e4;
  --cream: #f2f1ee;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.55; min-width: 320px; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, select, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
button { color: inherit; }
button:hover:not(:disabled) { filter: brightness(1.08); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[hidden] { display: none !important; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; }
h1 { font-size: clamp(44px, 5.8vw, 76px); line-height: 1.02; letter-spacing: -.06em; }
h2 { font-size: clamp(25px, 2.8vw, 34px); line-height: 1.16; letter-spacing: -.04em; }
h3 { font-size: 16px; line-height: 1.3; }
.site-shell { max-width: 1344px; padding: 0 clamp(22px, 5vw, 68px); margin: 0 auto; }
.skip-link { position: absolute; left: 20px; top: -80px; z-index: 4; background: var(--cream); color: #101114; padding: 12px 18px; border-radius: 5px; }
.skip-link:focus { top: 15px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; }
.wordmark { font-size: 20px; letter-spacing: -.04em; }
.main-nav { display: flex; gap: 27px; font-size: 14px; }
.main-nav a { min-height: 44px; display: flex; align-items: center; }
.main-nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: currentColor; }
.script-note { padding: 16px 0; font-size: 14px; color: var(--secondary); }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--secondary); font-size: 12px; margin-top: 25px; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 36px; }
.product-hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 35px; padding: 29px 0 56px; }
.eyebrow { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--secondary); margin-bottom: 15px; }
.hero-description { color: var(--secondary); margin-top: 24px; max-width: 420px; font-size: 16px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 13px 23px; min-height: 47px; border: 0; border-radius: 30px; color: #fafafa; background: #17181d; font-size: 14px; }
.hero-copy>.primary-button { margin-top: 28px; }
.light-study { margin: 0; }
.light-scene { position: relative; height: 325px; display: grid; place-items: center; perspective: 800px; }
.light-glow { position: absolute; inset: 4% 0 0; background: radial-gradient(ellipse at center, rgba(255, 255, 255, .4), transparent 70%); }
.light-panel { position: relative; width: 199px; height: 254px; padding: 10px; border: 1px solid #fafaf8; border-radius: 4px; background: #e5e4e0; transform: rotateY(-16deg) rotateX(4deg) rotate(-3deg); box-shadow: 9px 4px 0 #bdbdb9, 19px 18px 50px rgba(16, 17, 20, .25), 0 0 48px rgba(255, 255, 255, .14); }
.panel-surface { height: 100%; background: repeating-linear-gradient(0deg, rgba(95, 95, 95, .09) 0px, rgba(95, 95, 95, .09) 1px, transparent 1px, transparent 3px), radial-gradient(ellipse at 40% 42%, #fafaf8, #deded9 75%); box-shadow: inset 0 0 18px rgba(90, 90, 90, .1); border-radius: 1px; }
.light-base { position: absolute; width: 242px; height: 10px; background: #17181d; bottom: 17px; border-radius: 50%; filter: blur(7px); opacity: .6; }
.light-study figcaption { text-align: center; color: var(--secondary); font-size: 11px; }
.steps { list-style: none; padding: 24px 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps li { display: flex; gap: 14px; }
.step-number { font-size: 11px; padding-top: 3px; color: var(--secondary); }
.step-title { display: block; font-size: 15px; }
.step-description { display: block; font-size: 12px; color: var(--secondary); margin-top: 3px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 292px; align-items: start; gap: clamp(32px, 5vw, 70px); padding: 54px 0 70px; scroll-margin-top: 20px; }
.customizer { min-width: 0; }
.shape-picker { border:0; padding:0 0 30px; margin:0 0 32px; min-width:0; border-bottom:1px solid var(--line); }
.shape-picker legend { font-size:22px; letter-spacing:-.035em; padding:0; margin-bottom:17px; }
.shape-options { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:15px; }
.shape-option { position:relative; cursor:pointer; min-width:0; }
.shape-option input { position:absolute; top:16px; right:15px; width:17px; height:17px; accent-color:currentColor; z-index:1; }
.shape-card { display:flex; flex-direction:column; align-items:flex-start; height:100%; gap:5px; padding:16px; border:1px solid var(--line); border-radius:8px; background:rgba(16,17,20,.045); }
.shape-card svg { height:86px; width:100%; margin-bottom:8px; }
.shape-card strong { font-size:16px; font-weight:500; }
.shape-card>span { font-size:12px; color:var(--secondary); }
.shape-option input:checked+.shape-card { border-color:currentColor; background:rgba(16,17,20,.08); box-shadow:inset 0 0 0 1px currentColor; }
.shape-option input:focus-visible+.shape-card { outline:2px solid currentColor; outline-offset:4px; }
.photo-checks { padding:18px; margin-top:20px; border:1px solid var(--line); border-radius:7px; background:rgba(16,17,20,.06); }
.quality-heading { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:10px; }
#quality-badge { font-size:11px; padding:3px 8px; border-radius:20px; background:rgba(16,17,20,.08); }
#quality-summary { font-size:13px; margin-top:10px; }
#quality-issues { font-size:12px; padding-left:18px; margin:12px 0; color:var(--secondary); }
#quality-issues:empty { display:none; }
#quality-issues li+li { margin-top:8px; }
.photo-checks[data-state="blocked"] { border-color:#f2b7a0; }
.photo-checks[data-state="blocked"] #quality-badge { color:#ffe0d3; background:#6a3026; }
.photo-checks[data-state="review"] #quality-badge { color:#fce9b1; background:#534321; }
.photo-checks[data-state="preliminary"] #quality-badge { color:#e8f4d7; background:#325335; }
.section-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; margin-bottom: 24px; }
.section-heading .eyebrow { margin-bottom: 9px; }
.text-button { background: none; padding: 8px 0; min-height: 40px; border: 0; font-size: 12px; color: var(--secondary); text-decoration: underline; text-underline-offset: 4px; }
.upload-area { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px 18px; align-items: center; padding: 22px; border: 1px dashed var(--line); border-radius: 8px; background: rgba(16, 17, 20, .045); }
.upload-label { font-size: 14px; }
.file-input { min-width: 0; width: 100%; font-size: 12px; color: var(--secondary); padding: 6px 0; }
.file-input::file-selector-button { border: 1px solid #17181d; border-radius: 22px; background: #17181d; color: #fafafa; font: inherit; margin-right: 10px; padding: 10px 14px; cursor: pointer; }
.upload-area>.small-note { grid-column: 1 / -1; }
.small-note { color: var(--secondary); font-size: 12px; line-height: 1.55; }
.photo-status { font-size: 12px; color: var(--secondary); margin: 12px 0 19px; overflow-wrap: anywhere; }
.photo-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.photo-frame { min-width: 0; }
.image-stage { --ink:#fafafa; --secondary:#d9dadd; color:var(--ink); position: relative; aspect-ratio: 4 / 3; background: #17181d; border-radius: 5px; overflow: hidden; display: grid; place-items: center; }
.image-stage img, .image-stage canvas { display: block; max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; }
.image-stage img:not([hidden])~.empty-photo { display: none; }
.empty-photo { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; color: var(--secondary); }
.photo-frame figcaption { margin-top: 8px; font-size: 12px; color: var(--secondary); }
.photo-download { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 17px; }
.photo-download>.small-note { flex: 1 1 150px; }
.adjustment-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 26px 0 13px; }
.adjustment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.field { display: grid; gap: 7px; font-size: 13px; min-width: 0; }
.field-label { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.field-label output, .field-label>span { color: var(--secondary); font-size: 12px; }
input[type="range"] { accent-color: currentColor; width: 100%; min-width: 0; margin: 0; height: 30px; cursor: pointer; }
select { color: #101114; color-scheme:light; background: var(--field); border: 1px solid rgba(16, 17, 20, .3); border-radius: 5px; padding: 10px 11px; width: 100%; min-height: 44px; min-width: 0; font-size: 14px; }
select { padding-right: 26px; }
.crop-note { display: flex; align-items: center; padding-top: 19px; }
.privacy-note { margin-top: 24px; }
.model-section { padding-top: 31px; margin-top: 34px; border-top: 1px solid var(--line); }
.compact-field { display: flex; flex: 0 0 auto; gap: 10px; align-items: center; font-size: 12px; color: var(--secondary); }
.compact-field select { width: 144px; font-size: 12px; }
.model-viewer { --ink:#fafafa; --secondary:#d9dadd; color:var(--ink); width: 100%; position: relative; height: 410px; min-height: 400px; border-radius: 7px; background: #17181d; overflow: hidden; }
.model-viewer canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.model-viewer canvas:active { cursor: grabbing; }
.model-status { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 30px; color: var(--secondary); text-align: center; font-size: 14px; pointer-events: none; }
.model-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.button-group { display: flex; gap: 8px; flex-wrap: wrap; }
.secondary-button { border: 1px solid var(--line); background: rgba(16, 17, 20, .06); border-radius: 24px; padding: 9px 14px; min-height: 40px; font-size: 12px; }
.secondary-button:disabled { opacity: .5; }
.preview-note { margin-top: 20px; }
.process-panel { --ink:#fafafa; --secondary:#d9dadd; --line:rgba(250,250,250,.3); color:var(--ink); background: #17181d; border-radius: 9px; padding: 28px 24px; }
.process-panel .eyebrow { margin-bottom: 17px; }
.process-panel h2 { font-size: 34px; }
.process-intro { font-size: 14px; color: var(--secondary); margin-top: 16px; }
.process-notes { margin: 24px 0 0; }
.process-notes>div { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
.process-notes dt { font-size: 14px; }
.process-notes dd { margin: 8px 0 0; font-size: 12px; color: var(--secondary); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 30px 0 35px; border-top: 1px solid var(--line); font-size: 12px; color: var(--secondary); }
.footer-name { color: var(--ink); font-size: 16px; letter-spacing: -.025em; }
.site-footer p { margin-top: 5px; }
.site-footer>a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
@media (min-width: 1440px) { .product-layout { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (max-width: 960px) {
  .product-layout { grid-template-columns: minmax(0, 1fr) 254px; gap: 30px; }
  .process-panel { padding: 23px 19px; }
  .process-panel h2 { font-size: 30px; }
  .upload-area { grid-template-columns: 1fr; gap: 4px; }
  .model-section .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .compact-field { align-self: stretch; justify-content: space-between; }
}
@media (max-width: 760px) {
  .main-nav { gap: 18px; font-size: 12px; }
  .product-hero { gap: 15px; padding-bottom: 38px; }
  h1 { font-size: clamp(41px, 6.8vw, 55px); }
  .light-scene { height: 280px; }
  .light-panel { width: 153px; height: 206px; }
  .light-base { bottom: 22px; width: 194px; }
  .steps { gap: 16px; }
  .steps li { gap: 10px; }
  .step-title { font-size: 13px; }
  .step-description { font-size: 11px; }
  .product-layout { grid-template-columns: minmax(0, 1fr); gap: 35px; padding-top: 40px; }
  .process-panel { padding: 27px; }
  .process-panel h2 br { display: none; }
  .model-section .section-heading { flex-direction: row; align-items: flex-end; }
  .compact-field { align-self: auto; }
  .upload-area { grid-template-columns: auto minmax(0, 1fr); gap: 5px 18px; }
}
@media (max-width: 520px) {
  .site-shell { padding: 0 22px; }
  .site-header { flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 0 17px; }
  .main-nav { width: 100%; justify-content: space-between; gap: 7px; font-size: 12px; }
  .breadcrumb { margin-top: 16px; }
  .product-hero { grid-template-columns: 1fr; padding-top: 25px; gap: 23px; }
  h1 { font-size: clamp(42px, 11vw, 58px); }
  .hero-description { font-size: 15px; max-width: 360px; margin-top: 19px; }
  .hero-copy>.primary-button { margin-top: 23px; }
  .light-scene { height: 237px; }
  .light-panel { width: 154px; height: 198px; }
  .light-base { bottom: 7px; }
  .steps { grid-template-columns: 1fr; gap: 19px; padding: 23px 0; }
  .steps li { gap: 17px; }
  .step-title { font-size: 14px; }
  .step-description { font-size: 12px; margin-top: 1px; }
  .section-heading { gap: 13px; }
  .section-heading h2 { font-size: 27px; }
  .section-heading>.text-button { max-width: 84px; text-align: right; }
  .upload-area { grid-template-columns: 1fr; gap: 4px; padding: 18px; }
  .file-input { font-size: 11px; }
  .file-input::file-selector-button { padding: 11px 12px; font-size: 12px; }
  .photo-comparison { gap: 10px; }
  .empty-photo, .photo-frame figcaption { font-size: 11px; }
  .adjustment-heading { gap: 10px; }
  .adjustment-heading h3 { font-size: 14px; }
  .adjustment-heading .text-button { font-size: 11px; }
  .adjustment-grid { gap: 17px 18px; }
  .field { font-size: 12px; }
  select { font-size: 16px; }
  .crop-note { padding-top: 14px; }
  .crop-note .small-note { font-size: 11px; }
  .model-section .section-heading { flex-direction: column; align-items: flex-start; }
  .compact-field { width: 100%; }
  .compact-field select { font-size: 14px; width: 156px; }
  .model-viewer { height: 310px; min-height: 300px; }
  .model-toolbar { gap: 8px; }
  .model-toolbar>.small-note { font-size: 11px; }
  .secondary-button { padding: 9px 12px; font-size: 11px; }
  .process-panel { padding: 24px 21px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (pointer: coarse) {
  .text-button, .secondary-button { min-height: 44px; }
  input[type="range"] { min-height: 44px; }
  select, .file-input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
