:root {
  color: #1a2332;
  background: #fbf7ef;
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
}

body {
  margin: 0;
}

a {
  color: #16324f;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #8a6d1a;
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px;
}

.skip:focus {
  top: 12px;
}

header,
footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 8vw;
}

header {
  background: #16324f;
  color: #fff;
}

header a {
  color: #fff;
}

main {
  padding: 32px 8vw 64px;
}

.narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  margin-bottom: 12px;
}

.lede {
  font-size: 1.15rem;
  max-width: 42rem;
}

.star {
  color: #8a6d1a;
}

.real-opens {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 28px;
  align-items: start;
  background: #fff;
  border: 1px solid #e4dccb;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0 8px;
}

.real-opens h2 {
  margin: 0 0 8px;
}

.real-opens p {
  margin: 0 0 10px;
  max-width: 46rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.card,
.notice {
  background: #fff;
  border: 1px solid #e4dccb;
  border-radius: 12px;
  padding: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin: 16px 0 32px;
}

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #eadfcd;
  vertical-align: top;
}

.button {
  display: inline-block;
  background: #16324f;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  padding: 10px 14px;
  margin-right: 8px;
}

button {
  font: inherit;
  border: 0;
  border-radius: 8px;
  background: #16324f;
  color: #fff;
  padding: 10px 14px;
  cursor: pointer;
  margin-right: 8px;
}

button.secondary {
  background: #fff;
  color: #16324f;
  border: 1px solid #16324f;
}

button.danger {
  background: #8d2f2f;
}

label {
  display: block;
  font-weight: 650;
  margin-bottom: 4px;
}

input[type="email"] {
  width: min(100%, 360px);
  padding: 8px;
  border: 1px solid #c9bfae;
  border-radius: 8px;
  margin-bottom: 12px;
}

.notice {
  background: #fff6e5;
  border-color: #e2c98a;
}

footer {
  color: #3e4c59;
  font-size: 14px;
}

@media (max-width: 640px) {
  header,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .real-opens {
    grid-template-columns: 1fr;
  }
}
