/* setup.oaknote.ai: the website's Inter and ink colors, light and dark. */
@font-face {
  font-family: "Oak Note Inter";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Oak Note Inter";
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-600-latin.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --canvas: #ffffff;
  --ink: #0b0b0c;
  --ink-muted: #66666e;
  --hairline: #e5e5e8;
  --button: #0b0b0c;
  --button-hover: #2c2c2e;
  --button-ink: #ffffff;
  --focus: #73aefa;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0b0b0c;
    --ink: #f5f5f7;
    --ink-muted: #a1a1a8;
    --hairline: #2c2c2e;
    --button: #ffffff;
    --button-hover: #e5e5e8;
    --button-ink: #0b0b0c;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
    env(safe-area-inset-bottom) env(safe-area-inset-left);
  background: var(--canvas);
  color: var(--ink);
  font-family:
    "Oak Note Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 40px 24px 10vh;
  text-align: center;
}

.mark img {
  display: block;
  width: 57px;
  height: 60px;
}

h1 {
  margin: 24px 0 36px;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-decoration: none;
  transition: background-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.button:hover {
  background: var(--button-hover);
}

.hint {
  max-width: 300px;
  margin: 14px 0 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.45;
  text-wrap: balance;
}
.hint a {
  white-space: nowrap;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.android {
  width: 100%;
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  color: var(--ink-muted);
  font-size: 15px;
}

footer {
  padding: 0 24px 28px;
  font-size: 13px;
  text-align: center;
}
footer a {
  color: var(--ink-muted);
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
