:root {
  --bg: #ffffff;
  --text: #111111;

  --content-width: 430px;
  --body-size: 16px;
  --small-size: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: var(--body-size);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.page {
  min-height: 100vh;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.content {
  width: min(calc(100% - 24px), var(--content-width));
  padding: 60px 28px 60px;
  background: #f2f2f2;
  border-radius: 8px;
  text-align: center;
}

.logo {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 24px;
}

.intro {
  margin: 0 0 2px;
  font-size: var(--body-size);
}

.baseline {
  margin: 0 0 24px;
  font-size: var(--body-size);
}

.form {
  display: flex;
  width: 100%;
  height: 46px;
  margin-bottom: 38px;
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
}

.form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 12px;
  background: transparent;
  color: var(--text);
  font-size: var(--body-size);
}

.form input::placeholder {
  color: rgba(17, 17, 17, 0.55);
}

.form button {
  border: 0;
  outline: 0;
  padding: 0 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: var(--body-size);
}

.form button:hover,
.substack-card-link:hover {
  opacity: 0.55;
}

.form-note {
  margin: -28px 0 30px;
  font-size: var(--small-size);
  line-height: 1.35;
  color: rgba(17, 17, 17, 0.45);
}

.substack-card-link {
  display: inline-block;
  font-size: var(--body-size);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.language-switch {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10;
  font-size: var(--small-size);
}

.language-switch a {
  text-decoration: none;
}

.language-switch a:hover,
.language-switch a[aria-current="page"] {
  text-decoration: underline;
}

.language-switch span {
  opacity: 0.45;
  margin: 0 4px;
}

@media (max-width: 480px) {

  .hero {
  padding: 16px;
}

  .content {
    width: calc(100% - 24px);
    padding: 60px 20px 60px;
  }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #fffff inset !important;
  -webkit-text-fill-color: #111 !important;
  transition: background-color 9999s ease-in-out 0s;
}
