* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.demo-wrap { width: min(1120px, calc(100% - 44px)); margin-inline: auto; }
.demo-notice { padding: 8px 16px; background: #16232c; color: white; font-size: .76rem; text-align: center; }
.demo-notice a { color: #d7f293; text-decoration: underline; text-underline-offset: 3px; }
.demo-header { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 20px; }
.demo-brand { font-size: 1.05rem; font-weight: 850; letter-spacing: -.04em; }
.demo-brand span { color: var(--accent); }
.demo-nav { display: flex; align-items: center; gap: 24px; font-size: .86rem; font-weight: 650; }
.demo-nav a:hover { color: var(--accent); }
.demo-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 17px; border: 0; border-radius: 5px; background: var(--accent); color: var(--button-ink); font-size: .87rem; font-weight: 750; }
.demo-button:hover { filter: brightness(1.08); }
.demo-hero { display: grid; min-height: 470px; grid-template-columns: 1fr .9fr; align-items: center; gap: 45px; padding: 54px max(calc((100vw - 1120px) / 2), 22px); background: var(--hero); }
.demo-copy { max-width: 520px; }
.demo-kicker { color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.demo-copy h1 { margin: 14px 0; font-size: clamp(2.6rem, 5vw, 4.7rem); font-weight: 720; letter-spacing: -.07em; line-height: .99; }
.demo-copy p { max-width: 450px; margin: 0 0 24px; color: var(--muted); font-size: 1rem; }
.demo-art { display: grid; min-height: 315px; place-items: center; border-radius: 18px; background: var(--art-bg); color: var(--accent); }
.demo-art svg { width: min(250px, 70%); height: auto; }
.demo-section { padding-block: 78px; }
.demo-section h2 { margin: 0 0 25px; font-size: clamp(1.8rem, 3vw, 2.65rem); letter-spacing: -.055em; }
.demo-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.demo-service { min-height: 155px; padding: 22px; border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); border-radius: 10px; background: var(--surface); }
.demo-service h3 { margin: 0 0 8px; font-size: 1rem; }
.demo-service p { margin: 0; color: var(--muted); font-size: .87rem; }
.demo-about { background: var(--surface); }
.demo-about-inner { display: grid; grid-template-columns: .65fr 1fr; gap: 55px; align-items: center; }
.demo-about p { max-width: 650px; margin: 0; color: var(--muted); }
.demo-contact { padding-block: 58px; background: var(--ink); color: white; }
.demo-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.demo-contact h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -.05em; }
.demo-contact p { margin: 8px 0 0; color: rgba(255,255,255,.72); }
.demo-footer { padding-block: 22px; color: var(--muted); font-size: .77rem; }
.demo-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.demo-footer a { text-decoration: underline; text-underline-offset: 3px; }
body[data-theme="food"] { --ink:#30251e; --muted:#786b61; --paper:#fbf7f0; --surface:#fffdf9; --hero:#f4e8d5; --accent:#9a4c30; --button-ink:#fff; --art-bg:#e9ceb0; }
body[data-theme="build"] { --ink:#25342e; --muted:#68746c; --paper:#f4f6f2; --surface:#fff; --hero:#e7ece5; --accent:#b85a35; --button-ink:#fff; --art-bg:#d5ded5; }
body[data-theme="electric"] { --ink:#172a43; --muted:#607084; --paper:#f3f6fa; --surface:#fff; --hero:#e7edf5; --accent:#c58b11; --button-ink:#142238; --art-bg:#d6e0ed; }
body[data-theme="plumbing"] { --ink:#18373d; --muted:#60777a; --paper:#f1f8f8; --surface:#fff; --hero:#e0f0f0; --accent:#087b83; --button-ink:#fff; --art-bg:#c9e6e5; }
@media (max-width: 720px) {
  .demo-wrap { width: min(1120px, calc(100% - 32px)); }
  .demo-header { min-height: 68px; }
  .demo-nav { gap: 12px; font-size: .78rem; }
  .demo-nav a:nth-child(2) { display: none; }
  .demo-hero { min-height: initial; grid-template-columns: 1fr; gap: 30px; padding: 54px 22px; }
  .demo-copy h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .demo-art { min-height: 240px; }
  .demo-section { padding-block: 58px; }
  .demo-services { grid-template-columns: 1fr; }
  .demo-service { min-height: initial; }
  .demo-about-inner { grid-template-columns: 1fr; gap: 12px; }
  .demo-contact-inner { align-items: flex-start; flex-direction: column; }
  .demo-footer-inner { align-items: flex-start; flex-direction: column; gap: 9px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
