* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #0A6E6E;
}

body {
  margin: 0;
  min-width: 280px;
  background: #0A6E6E;
  color: #111111;
  font-family: Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: #000080;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #0A6E6E;
  outline-offset: 2px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Arial, sans-serif;
  line-height: 1.16;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 6vw, 4rem);
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.desktop-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 32px auto;
}

.app-window,
.dialog-panel,
.quote-panel,
.form-panel,
.compact-hero,
.contact-panel {
  background: #EFE9DC;
  border: 3px solid #111111;
  box-shadow: 7px 7px 0 #111111;
}

.app-window + main,
main > section + section {
  margin-top: 24px;
}

.window-titlebar {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 5px 6px 5px 9px;
  background: #0A6E6E;
  border-bottom: 3px solid #111111;
  color: #EFE9DC;
  font-family: Arial, sans-serif;
  letter-spacing: 0.02em;
}

.window-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: #EFE9DC;
  border: 2px solid #111111;
  box-shadow: inset 3px 3px 0 #A8A8A8;
}

.window-controls {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.window-controls span {
  display: grid;
  width: 28px;
  height: 26px;
  place-items: center;
  background: #A8A8A8;
  border-color: #EFE9DC #111111 #111111 #EFE9DC;
  border-style: solid;
  border-width: 2px;
  color: #111111;
  font-family: Arial, sans-serif;
  font-weight: 700;
  line-height: 1;
}

.menu-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  background: #A8A8A8;
  border-bottom: 3px solid #111111;
}

.menu-strip a {
  padding: 7px 14px;
  border: 2px solid transparent;
  color: #111111;
  font-weight: 700;
  text-decoration: none;
}

.menu-strip a:hover,
.menu-strip a:focus-visible {
  background: #EFE9DC;
  border-color: #EFE9DC #111111 #111111 #EFE9DC;
  outline: 0;
}

.dialog-title,
.panel-heading {
  padding: 9px 12px;
  background: #A8A8A8;
  border-bottom: 3px solid #111111;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.inset-panel {
  background: #EFE9DC;
  border-color: #111111 #A8A8A8 #A8A8A8 #111111;
  border-style: solid;
  border-width: 3px;
  box-shadow: inset 3px 3px 0 #A8A8A8;
}

.hero-dialog {
  margin: 18px;
  padding: clamp(24px, 6vw, 64px);
}

.hero-dialog > p:not(.system-label) {
  max-width: 700px;
  font-size: 1.08rem;
}

.system-label {
  margin-bottom: 12px;
  color: #0A6E6E;
  font-family: Tahoma, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.system-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-color: #EFE9DC #111111 #111111 #EFE9DC;
  border-style: solid;
  border-width: 3px;
  box-shadow: 2px 2px 0 #111111;
  font-family: Tahoma, sans-serif;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.system-button:active {
  border-color: #111111 #EFE9DC #EFE9DC #111111;
  box-shadow: none;
  transform: translate(2px, 2px);
}

.primary-button {
  background: #000080;
  color: #EFE9DC;
}

.secondary-button {
  background: #A8A8A8;
  color: #111111;
}

.quote-content {
  margin: 16px;
  padding: clamp(20px, 4vw, 38px);
}

blockquote {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: clamp(1.15rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.35;
}

.quote-role {
  margin: 18px 0 0;
  font-family: Tahoma, sans-serif;
  font-size: 0.92rem;
}

.status-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  min-height: 34px;
  padding: 5px 9px;
  background: #A8A8A8;
  border-top: 3px solid #111111;
  font-family: Tahoma, sans-serif;
  font-size: 0.78rem;
}

.status-bar a {
  color: #111111;
}

.service-window {
  overflow: hidden;
}

.section-body {
  padding: clamp(18px, 4vw, 40px);
}

.services-panel h1 {
  font-size: clamp(2rem, 5vw, 3.35rem);
}

.fieldset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 22px;
  background: #EFE9DC;
  border: 3px solid #111111;
  box-shadow: inset 4px 4px 0 #A8A8A8;
}

legend {
  padding: 5px 10px;
  background: #A8A8A8;
  border: 2px solid #111111;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

fieldset p {
  margin-bottom: 0;
}

.form-inset {
  padding: clamp(20px, 4vw, 36px);
}

.form-inset > p {
  max-width: 650px;
}

#repair-form {
  max-width: 720px;
}

.form-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 16px;
}

.form-row label {
  padding-top: 8px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  background: #EFE9DC;
  border-color: #111111 #A8A8A8 #A8A8A8 #111111;
  border-style: solid;
  border-width: 3px;
  border-radius: 0;
  color: #111111;
  box-shadow: inset 2px 2px 0 #A8A8A8;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-button {
  margin-top: 20px;
}

.form-status {
  min-height: 1.55em;
  margin: 15px 0 0;
  font-family: Tahoma, sans-serif;
  font-weight: 700;
}

.compact-hero-content {
  padding: clamp(22px, 5vw, 48px);
}

.compact-hero-content h2,
.compact-hero-content p {
  max-width: 760px;
}

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

.contact-box {
  padding: 22px;
}

.contact-box p,
.contact-box address {
  margin-bottom: 0;
}

address {
  font-style: normal;
}

.privacy-panel {
  margin-top: 20px;
  border: 3px solid #111111;
  background: #A8A8A8;
}

.privacy-panel summary {
  padding: 11px 14px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.privacy-content {
  padding: 18px;
  border-top: 3px solid #111111;
  background: #EFE9DC;
}

.privacy-content p:last-child {
  margin-bottom: 0;
}

.contact-panel .status-bar {
  margin: 28px calc(clamp(18px, 4vw, 40px) * -1) calc(clamp(18px, 4vw, 40px) * -1);
}

@media (max-width: 720px) {
  .desktop-shell {
    width: min(100% - 16px, 1120px);
    margin: 8px auto 18px;
  }

  .app-window,
  .dialog-panel,
  .quote-panel,
  .form-panel,
  .compact-hero,
  .contact-panel {
    box-shadow: 4px 4px 0 #111111;
  }

  .window-titlebar {
    font-size: 0.84rem;
  }

  .window-controls span {
    width: 24px;
  }

  .menu-strip a {
    flex: 1 1 auto;
    padding-inline: 8px;
    text-align: center;
  }

  .hero-dialog {
    margin: 10px;
    padding: 22px 17px;
  }

  .fieldset-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .form-row label {
    padding-top: 0;
  }

  .dialog-actions,
  .system-button {
    width: 100%;
  }

  .status-divider {
    display: none;
  }

  .status-bar span,
  .status-bar a {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
} 