:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #f4f0e8;
  color: #17221c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    radial-gradient(circle at top right, rgb(195 213 194 / 70%), transparent 35rem),
    #f4f0e8;
}

main {
  width: min(48rem, 100%);
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid #c7c8b9;
  border-radius: 1.5rem;
  background: rgb(255 255 252 / 92%);
  box-shadow: 0 1.5rem 4rem rgb(32 48 38 / 12%);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: #566a5c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.summary {
  max-width: 38rem;
  margin: 1.5rem 0 2.5rem;
  color: #46534b;
  font-size: 1.08rem;
  line-height: 1.65;
}

section,
aside {
  padding: 1.5rem;
  border-radius: 1rem;
}

section {
  background: #e7eee6;
}

h2 {
  margin-top: 0;
}

#status {
  min-height: 1.5rem;
}

#status[data-kind="error"] {
  color: #8d2d22;
}

#status[data-kind="success"] {
  color: #1c633d;
}

#google-signin {
  min-height: 2.75rem;
  margin-bottom: 0.9rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

button {
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
  background: #173d2a;
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

button.secondary {
  border: 1px solid #8f9c92;
  background: transparent;
  color: #173d2a;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

aside {
  margin-top: 1rem;
  border: 1px solid #d7d6cb;
  color: #4d574f;
}

ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
  line-height: 1.7;
}
