:root {
  --paper: #f8f6ef;
  --ink: #202723;
  --dim: #505954;
  --accent: #f2673d;
  --line: #cbcfc4;
  --mono: ui-monospace, "SFMono-Regular", Menlo, monospace;
  color: var(--ink);
  background: var(--paper);
  font: 17px/1.54 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .24em; }
button:focus-visible, a:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid #17719a; outline-offset: 3px; }
.wrap { width: min(1300px, 91%); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -6rem; z-index: 2; background: var(--paper); padding: 10px; }
.skip:focus { top: 0; }
.mast, footer { display: flex; align-items: center; gap: 2rem; }
.mast { min-height: 86px; border-bottom: 1px solid var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 20px; font-weight: 750; line-height: .91; letter-spacing: -.065em; }
.brand-period { color: #b64822; }
.brand-icon { width: 41px; height: 41px; background: var(--accent) url('./favicon.svg') center/100% no-repeat; border-radius: 9px; flex-shrink: 0; }
nav { display: flex; gap: 26px; margin-left: auto; }
nav a, .demo-label { font-size: 14px; }
nav a { padding: 10px 0; text-decoration: none; }
nav a:hover, footer a:hover { text-decoration: underline; }
.demo-label { border: 1px solid #bec3b7; border-radius: 30px; padding: 5px 10px; color: var(--dim); }
.hero { border-bottom: 1px solid var(--line); }
.hero-layout { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: clamp(42px, 5vw, 72px); }
.kicker, .receipt-title { font: 650 .68rem/1.4 var(--mono); letter-spacing: .105em; text-transform: uppercase; }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; }
.rule { width: 24px; height: 3px; background: #c44f29; display: inline-block; }
h1, h2, h3 { margin: 0; letter-spacing: -.067em; line-height: 1.01; }
h1 { font-size: clamp(52px, 5.75vw, 88px); font-weight: 650; }
h1 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.078em; }
h2 { font-size: clamp(39px, 4.2vw, 68px); font-weight: 580; }
h3 { font-size: clamp(26px, 2.1vw, 34px); font-weight: 600; }
.intro { margin: 25px 0 0; max-width: 46ch; color: var(--dim); font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 30px; }
.primary, .text-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; font-size: .89rem; font-weight: 650; }
.primary { background: var(--accent); color: #17231c; border: 1px solid transparent; border-radius: 5px; padding: 11px 18px; text-decoration: none; }
.primary:hover { background: #ff875f; }
.text-link { padding: 4px 0; background: transparent; border: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover, .related-link:hover { text-decoration-thickness: 2px; }
.visual {
  position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1.27; border-radius: 8px;
  background-color: #c9d9c8;
  background-image: radial-gradient(ellipse at 30% 20%, #e9ecdb77, transparent 70%), linear-gradient(#55796222 1px, transparent 1px), linear-gradient(90deg, #55796222 1px, transparent 1px);
  background-size: auto, 23px 23px, 23px 23px;
  border: 1px solid #a9baaa;
}
.visual::before, .visual::after { content: ''; position: absolute; width: 14px; height: 14px; margin: 14px; border-color: #627869; }
.visual::before { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; }
.visual::after { right: 0; bottom: 0; border-right: 1px solid; border-bottom: 1px solid; }
.artboard { position: absolute; inset: 0; container-type: inline-size; }
.artboard > * { position: absolute; }
.artboard::before { content: ''; position: absolute; width: 66%; height: 17%; left: 19%; bottom: 15%; border-radius: 50%; transform: rotate(-5deg); background: #63756670; filter: blur(3cqw); }
.monitor {
  left: 18%; top: 16%; width: 47%; height: 45%; border-radius: 8% 7% 7% 6%;
  transform: skewY(-5deg); border: .35cqw solid #716e5c;
  background: linear-gradient(115deg, #f7f1d9 0%, #dfd9c4 70%, #c6c4ae 100%);
  box-shadow: inset .6cqw .55cqw .25cqw #fffae9, inset -.4cqw -.6cqw .3cqw #b6b49f, .6cqw .7cqw .3cqw #53584c72;
}
.monitor::before { content: ''; position: absolute; left: 98%; width: 17%; top: 1%; height: 95%; transform: skewY(-23deg); transform-origin: left bottom; border-radius: 0 20% 18% 0; background: repeating-linear-gradient(90deg, #a09f8a 0 4%, #b5b39c 6% 15%); border: .3cqw solid #797b68; z-index: -1; }
.screen-rim { position: absolute; inset: 7% 8% 17%; padding: 1.35cqw; border-radius: 14% / 13%; background: linear-gradient(145deg, #6f7061, #949583 45%, #f1edd6); box-shadow: 0 .3cqw .15cqw #f8f2d9; }
.glass { height: 100%; position: relative; border-radius: 11%; overflow: hidden; border: .7cqw solid #353a31; background: repeating-linear-gradient(to bottom, transparent 0 .44cqw, #b0e1a309 .45cqw .6cqw),radial-gradient(ellipse at 65% 5%, #455e4c, #233a31 70%, #152620); box-shadow: inset .6cqw .8cqw 2cqw #12241b; }
.terminal-heading { position: absolute; left: 8%; top: 19%; color: #c6e4b8; font: 550 1.68cqw/1.2 var(--mono); letter-spacing: .05em; }
.prompt::before { content: '>'; position: absolute; left: 8%; top: 39%; color: #c4e3b7; font: 500 3.5cqw/1 var(--mono); }
.cursor { position: absolute; left: 18%; top: 45%; width: 8%; height: 3%; background: #cfebb7; }
.vent { position: absolute; left: 12%; bottom: 7%; width: 22%; height: 4%; background: repeating-linear-gradient(90deg, #767b69 0 5%, transparent 5% 11%); }
.led, .power { position: absolute; width: 5%; aspect-ratio: 1; border-radius: 50%; background: #ed7749; box-shadow: 0 0 0 .23cqw #796c56; }
.led { right: 12%; bottom: 6%; width: 2.7%; }
.neck { top: 57%; left: 31%; width: 21%; height: 8%; transform: skewY(-5deg); background: linear-gradient(#8f907c, #c3c1ac); }
.tower { width: 51%; height: 10%; left: 16%; top: 62%; border: .35cqw solid #777a68; border-radius: 1.5cqw; transform: skewY(-5deg); background: linear-gradient(155deg, #e6e2cd, #c8c7b1); box-shadow: 1.4cqw .9cqw 0 #878b78; }
.power { left: 8%; top: 39%; width: 3%; }
.drive { right: 8%; top: 30%; width: 29%; height: 20%; border: .5cqw solid #9b9c89; background: #4b5146; }
.tower-slots { position: absolute; left: 19%; top: 37%; width: 19%; height: 24%; background: repeating-linear-gradient(90deg, #858b77 0 5%, transparent 5% 12%); }
.keyboard { left: 18%; top: 77%; width: 48%; height: 13%; padding: 1.5% 2%; transform: skew(-21deg,-5deg); border: .3cqw solid #838571; border-radius: 1.1cqw; background: #dcdcc7; box-shadow: .3cqw .9cqw 0 #969b86, .8cqw 1.5cqw .5cqw #576c5866; }
.keybed { height: 70%; border: .45cqw solid #9b9d86; background: repeating-linear-gradient(0deg, #888c77 0 .4cqw, transparent .4cqw 1.7cqw), repeating-linear-gradient(90deg, #909580 0 .35cqw, #eee9d4 .35cqw 2.85cqw); }
.spacebar { margin: .3cqw auto 0; width: 40%; height: 19%; background: #eee9d4; border: .25cqw solid #929581; }
.mouse { left: 73%; top: 73%; width: 8%; height: 11%; border-radius: 45% 45% 42% 40%; border: .3cqw solid #8b907c; transform: rotate(16deg); background: linear-gradient(100deg, #f3eed9,#bdbeaa); box-shadow: .5cqw .6cqw 0 #949982; }
.mouse i { position: absolute; left: 48%; width: .35cqw; height: 45%; top: 0; background: #919681; }
.wire { left: 64%; top: 62%; width: 15%; height: 13%; border: .45cqw solid #687366; border-left: 0; border-bottom: 0; border-radius: 0 75% 10% 0; }
.services, .policy-layout, .visits, .existing-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(24px, 7vw, 110px); padding-block: clamp(54px, 6vw, 92px); }
.services-list article { display: grid; grid-template-columns: 42px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid #aeb8aa; }
.services-list article:first-child { padding-top: 0; border-top: none; }
.services-list p, .policy-layout p:not(.kicker,.receipt-title), .visits p:not(.kicker), .existing-layout p:not(.kicker) { max-width: 54ch; }
.services-list p { color: var(--dim); margin: 10px 0; }
.glyph { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #b6c4b5; background: #e2e8da; border-radius: 8px; }
.glyph::after { content: ''; display: block; width: 23px; height: 16px; border: 2px solid #47554a; border-radius: 3px; }
.icon-repair::after { box-shadow: 0 4px 0 -1px #e2e8da, 0 5px 0 #47554a; }
.icon-support::after { height: 20px; border-radius: 13px 13px 5px 5px; border-bottom-style: dashed; }
.icon-build::after { width: 14px; height: 22px; background: linear-gradient(#47554a,#47554a) center 30% / 60% 2px no-repeat; }
.repair-picker { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.field { flex: 1 1 9rem; min-width: 0; }
label { display: block; font-size: .82rem; font-weight: 650; margin-bottom: 4px; }
select { width: 100%; min-height: 44px; padding: 7px 26px 7px 10px; border: 1px solid #a8b3a6; border-radius: 4px; background-color: #fffdf7; }
.repair-limit, .related-link { font-size: .83rem; }
.related-link { display: block; width: fit-content; margin-top: 4px; padding-block: 7px; }
.policy { background: #20372c; color: #f7f6e9; }
.policy .rule { background: #ff9972; }
.receipt { background: #f0eddb; color: var(--ink); border: 1px solid #c6cbbb; padding: clamp(22px, 3.2vw, 46px); align-self: center; box-shadow: 5px 5px 0 #12271e; }
.receipt-title { margin: 0 0 16px; }
.fee { display: flex; justify-content: space-between; gap: 8px; padding: 14px 0; border-bottom: 1px dashed #9ba391; }
.fee strong { font-family: var(--mono); }
.visits .lucy { font-size: .89rem; color: var(--dim); }
.existing { border-block: 1px solid #b4c0af; background: #e1e9db; }
.existing-layout { align-items: center; }
.existing-links a { display: flex; justify-content: space-between; gap: 16px; padding: 17px 0; border-top: 1px solid #9aa895; font-weight: 600; text-decoration: none; }
.existing-links a:last-child { border-bottom: 1px solid #9aa895; }
.existing-links a:hover { text-decoration: underline; }
footer { padding-block: 28px; }
footer p { font-size: .8rem; margin-left: auto; }
.footer-brand { font-size: 19px; }
.footer-brand .brand-icon { width: 29px; height: 29px; border-radius: 6px; }
body:has(dialog[open]) { overflow: hidden; }
dialog { max-width: min(500px, calc(100% - 24px)); max-height: calc(100dvh - 28px); padding: 0; color: var(--ink); background: var(--paper); border: 1px solid #9ca997; border-radius: 10px; box-shadow: 0 22px 70px #08160d40; }
dialog::backdrop { background: #112319ad; }
.dialog-shell { position: relative; padding: clamp(22px, 5vw, 36px); }
.dialog-shell h2 { font-size: clamp(32px, 5vw, 44px); }
.dialog-shell .kicker { padding-right: 44px; }
.close { position: absolute; right: 10px; top: 8px; width: 44px; height: 44px; font-size: 28px; background: transparent; border: 0; }
.dialog-shell label { margin-top: 12px; }
.policy-note, .selection { background: #e1e9db; padding: 12px; border-left: 3px solid #618064; font-size: .88rem; }
#preview { margin-top: 14px; }
#result .edit { display: flex; margin-top: 8px; }
@media (max-width: 930px) {
  .hero-layout { gap: 24px; }
  h1 { font-size: clamp(42px, 5.7vw, 58px); }
  .services, .policy-layout, .visits, .existing-layout { gap: 32px; }
  .services-list article { gap: 12px; }
}
@media (max-width: 720px) {
  .mast { min-height: auto; padding-top: 14px; gap: 10px; flex-wrap: wrap; }
  .mast .brand-icon { width: 34px; height: 34px; }
  .mast .brand { font-size: 17px; }
  .demo-label { margin-left: auto; font-size: 12px; }
  nav { order: 3; width: 100%; gap: clamp(12px, 4vw, 24px); margin: 0; }
  nav a { font-size: 13px; padding: 9px 0 10px; }
  .hero-layout, .services, .policy-layout, .visits, .existing-layout { grid-template-columns: 1fr; }
  .hero-layout { padding-block: 34px; gap: 28px; }
  .kicker { margin-bottom: 14px; }
  h1 { font-size: clamp(40px, 10.4vw, 66px); }
  .intro { margin-top: 16px; }
  .actions { margin-top: 18px; gap: 14px; }
  .visual { aspect-ratio: 1.5; }
  .artboard { width: 90%; margin-inline: auto; }
  .services-list article { grid-template-columns: 34px 1fr; }
  .glyph { width: 34px; height: 34px; }
  .repair-picker { gap: 8px; }
  footer { flex-wrap: wrap; align-items: center; gap: 8px 18px; }
  footer p { margin: 4px 0; }
}
@media (max-width: 380px) {
  .primary, .text-link { font-size: .83rem; }
  .actions { gap: 10px; }
  .actions .primary { padding-inline: 12px; }
}
