* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 280px;
  background: #5F8A86;
  color: #000000;
  font-family: Verdana;
  font-size: 15px;
  line-height: 1.55;
}

button,
input,
textarea {
  color: #000000;
  font: inherit;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #5F8A86;
  outline-offset: 2px;
}

h1,
h2,
h3 {
  font-family: "Trebuchet MS";
  line-height: 1.15;
}

h1 {
  max-width: 780px;
  margin: 12px 0 16px;
  font-size: clamp(2rem, 5vw, 4.35rem);
  letter-spacing: -0.04em;
}

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

.desktop-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto;
  border: 3px solid #000000;
  background: #C8C8C8;
  box-shadow: 7px 7px 0 #000000;
}

.window-titlebar {
  min-height: 48px;
  padding: 6px 8px 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #F3EFE3;
  background: #5F8A86;
  border-bottom: 3px solid #000000;
  font-family: "Trebuchet MS";
  font-weight: 700;
}

.titlebar-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.title-icon {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
}

.window-controls {
  display: flex;
  gap: 5px;
}

.window-controls span {
  width: 29px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #000000;
  background: #C8C8C8;
  border: 2px outset #F3EFE3;
  font-family: Verdana;
  line-height: 1;
}

.menu-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 3px 6px;
  background: #C8C8C8;
  border-bottom: 3px solid #000000;
}

.menu-strip a {
  padding: 8px 14px;
  text-decoration: none;
  border: 2px solid transparent;
}

.menu-strip a:hover,
.menu-strip a[aria-current="page"] {
  background: #F3EFE3;
  border: 2px outset #F3EFE3;
}

.main-inset {
  margin: 10px;
  padding: 10px;
  background: #F3EFE3;
  border: 3px inset #C8C8C8;
}

.dialog-intro {
  padding: clamp(20px, 4vw, 48px);
  border: 2px solid #000000;
  background: #F3EFE3;
}

.dialog-caption,
.section-titlebar {
  font-family: "Trebuchet MS";
  font-weight: 700;
}

.dialog-caption {
  display: inline-block;
  padding: 5px 9px;
  color: #F3EFE3;
  background: #5F8A86;
  border: 2px solid #000000;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
}

.system-line {
  font-family: Verdana;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.7fr);
  gap: clamp(25px, 5vw, 60px);
  align-items: center;
}

.lead {
  max-width: 760px;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.system-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 3px outset #C8C8C8;
  border-radius: 0;
  font-family: Verdana;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.system-button.primary {
  color: #F3EFE3;
  background: #0B6B0B;
}

.system-button.secondary {
  color: #000000;
  background: #C8C8C8;
}

.system-button:hover {
  text-decoration: underline;
}

.system-button:active {
  border-style: inset;
}

.rudder-console {
  padding: 12px;
  background: #C8C8C8;
  border: 3px inset #F3EFE3;
}

.rudder-console svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 10px 0;
}

.console-label {
  padding: 4px 7px;
  color: #F3EFE3;
  background: #5F8A86;
  border: 2px solid #000000;
  font-size: 0.72rem;
  font-weight: 700;
}

.indicator-row {
  margin-top: 7px;
  font-size: 0.68rem;
  font-weight: 700;
}

.indicator {
  width: 11px;
  height: 11px;
  display: inline-block;
  margin-right: 5px;
  background: #0B6B0B;
  border: 2px solid #000000;
}

.content-inset {
  margin-top: 10px;
  padding: 10px;
  background: #C8C8C8;
  border: 3px inset #F3EFE3;
}

.panel-section,
.social-panel {
  margin-bottom: 10px;
  padding: clamp(16px, 3vw, 30px);
  background: #F3EFE3;
  border: 2px solid #000000;
}

.panel-section:last-child,
.social-panel:last-child {
  margin-bottom: 0;
}

.section-titlebar {
  margin: calc(clamp(16px, 3vw, 30px) * -1) calc(clamp(16px, 3vw, 30px) * -1) 24px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #F3EFE3;
  background: #5F8A86;
  border-bottom: 2px solid #000000;
}

.section-titlebar h2 {
  margin: 0;
  font-size: 1.22rem;
}

.section-titlebar span {
  font-family: Verdana;
  font-size: 0.66rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 2px solid #000000;
}

.service-item {
  min-height: 160px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  padding: 20px;
  border: 1px solid #000000;
}

.service-item h3 {
  margin-bottom: 7px;
}

.service-item p {
  margin-bottom: 0;
}

.service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #F3EFE3;
  background: #5F8A86;
  border: 2px solid #000000;
  font-family: "Trebuchet MS";
  font-size: 1.25rem;
  font-weight: 700;
}

.notice {
  margin: 18px 0 0;
  padding: 12px;
  background: #C8C8C8;
  border: 2px inset #F3EFE3;
}

.split-panel,
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
}

.split-panel .section-titlebar,
.contact-grid .section-titlebar {
  grid-column: 1 / -1;
}

.checklist,
.contact-details {
  padding: 18px;
  background: #C8C8C8;
  border: 3px inset #F3EFE3;
}

.checklist h3 {
  padding-bottom: 8px;
  border-bottom: 2px solid #000000;
  font-size: 0.9rem;
}

.checklist ol {
  margin-bottom: 0;
  padding-left: 24px;
}

.checklist li {
  padding: 5px 0;
}

.contact-form {
  padding: 18px;
  border: 2px solid #000000;
}

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px;
  background: #F3EFE3;
  border: 3px inset #C8C8C8;
  border-radius: 0;
}

.form-field textarea {
  resize: vertical;
}

.consent-row {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 0.83rem;
}

.consent-row input {
  width: 18px;
  height: 18px;
  accent-color: #0B6B0B;
  flex: 0 0 auto;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  font-size: 0.82rem;
  font-weight: 700;
}

.social-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.social-panel h2 {
  margin: 0;
  font-size: 1.15rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-links a {
  padding: 7px 10px;
  background: #C8C8C8;
  border: 2px outset #F3EFE3;
  font-weight: 700;
  text-decoration: none;
}

.social-links a:hover {
  text-decoration: underline;
}

.status-bar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 6px;
  padding: 6px;
  background: #C8C8C8;
  border-top: 3px solid #000000;
  font-size: 0.72rem;
}

.status-bar span {
  padding: 4px 7px;
  border: 2px inset #F3EFE3;
}

.privacy-main h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

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

@media (max-width: 820px) {
  .desktop-shell {
    width: calc(100% - 16px);
    margin: 8px auto;
    box-shadow: 4px 4px 0 #000000;
  }

  .intro-grid,
  .split-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .rudder-console {
    max-width: 430px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .status-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 14px;
  }

  .window-titlebar {
    align-items: flex-start;
  }

  .titlebar-brand span {
    max-width: 190px;
  }

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

  .window-controls span:first-child {
    display: none;
  }

  .menu-strip a {
    flex: 1 0 50%;
    padding: 9px;
  }

  .main-inset,
  .content-inset {
    margin: 6px;
    padding: 6px;
  }

  .dialog-intro {
    padding: 18px;
  }

  .button-row,
  .social-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .system-button {
    width: 100%;
  }

  .service-item {
    grid-template-columns: 38px 1fr;
    padding: 14px;
  }

  .service-icon {
    width: 36px;
    height: 36px;
  }
}

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