* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  padding: 48px 20px;
  background: #eee;
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: #000033;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #000033;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  padding: 8px 16px;
  background: #fff;
}

.skip-link:focus {
  top: 8px;
}

.launcher {
  max-width: 650px;
  margin: 0 auto;
  overflow: hidden;
  background: #F5F5EA;
  border: 1px solid #B6C0B2;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
}

.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 32px 26px;
  border-bottom: 1px solid #B6C0B2;
}

.eyebrow {
  margin: 0 0 8px;
  color: #555;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 38px;
  letter-spacing: -1.5px;
  line-height: 1.2;
}

.brand-dot {
  color: #000033;
}

.header-help {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
}

.header-help a {
  text-underline-offset: 3px;
}

.header-help a:hover {
  text-decoration-thickness: 2px;
}

.tool-section {
  padding: 24px 32px;
}

.section-heading {
  margin-bottom: 14px;
}

h2 {
  margin: 0;
  font-size: 16px;
}

.search-controls {
  margin-bottom: 18px;
}

.search-controls label {
  display: block;
  margin-bottom: 6px;
  color: #555;
  font-size: 13px;
  font-weight: 600;
}

.search-bar {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.search-bar input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #B6C0B2;
  border-radius: 9px;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 14px;
}

.search-bar input::placeholder {
  color: #666;
  opacity: 1;
}

.search-bar button {
  flex-shrink: 0;
  padding: 10px 14px;
  border: 1px solid #B6C0B2;
  border-radius: 9px;
  background: #fff;
  color: #000033;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.search-bar button:hover {
  background: #eed;
  border-color: #666;
}

.search-status {
  margin: 8px 0 0;
  color: #555;
  font-size: 13px;
}

.tool-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  background: #fff;
  border: 1px solid #B6C0B2;
  border-radius: 9px;
  color: #333;
  text-decoration: none;
}

.tool:hover,
.tool:focus-visible {
  background: #eed;
  border-color: #666;
}

.tool-label {
  font-size: 17px;
  font-weight: 600;
}

.tool-arrow {
  flex-shrink: 0;
  color: #000033;
  font-size: 23px;
}

footer {
  padding: 16px 32px;
  background: #F5F5EA;
  border-top: 1px solid #B6C0B2;
  color: #555;
  font-size: 12px;
}

@media (max-width: 480px) {
  body {
    padding: 16px 12px;
  }

  .masthead,
  .tool-section {
    padding: 24px 20px;
  }

  footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .tool {
    padding: 14px;
  }
}
