/* recurino.com's text pages (the privacy policy, Help, account deletion): the home page's type and colours
   (infra/site-src/home.css) for long reading, with the wordmark linking home. */
@font-face {
  font-family: 'Recurino Sans';
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/RecurinoSans-Regular.woff2) format('woff2');
}
@font-face {
  font-family: 'Recurino Sans';
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/RecurinoSans-Bold.woff2) format('woff2');
}
@font-face {
  font-family: 'Recurino Sans Condensed';
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/RecurinoSansCondensed-Regular.woff2) format('woff2');
}
@font-face {
  font-family: 'Recurino Sans Condensed';
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/RecurinoSansCondensed-SemiBold.woff2) format('woff2');
}

:root {
  --bg: #f2f2f3;
  --text: #1d1f20;
  --muted: #68686b;
  --accent: #5980a6;
  --accent-700: #416180;
  --danger: #a3261f;
  --divider: color-mix(in srgb, #1d1f20 16%, transparent);
  --heading: 'Recurino Sans Condensed', system-ui, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* Whatever the element's own display, `hidden` hides it. */
[hidden] {
  display: none !important;
}
body {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 20px 64px;
  background: var(--bg);
  color: var(--text);
  font:
    17px/1.6 'Recurino Sans',
    system-ui,
    sans-serif;
  text-wrap: pretty;
}
.site-header {
  display: flex;
  align-items: center;
  min-height: 76px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--divider);
}
.wordmark {
  position: relative;
  padding-top: 12px;
  font: 400 30px/1 var(--heading);
  letter-spacing: -0.01em;
  color: var(--muted);
  text-decoration: none;
}
.wordmark b {
  font-weight: 600;
  color: var(--text);
}
.wordmark .i {
  position: relative;
  display: inline-block;
}
.wordmark svg {
  position: absolute;
  left: 50%;
  top: -0.4em;
  width: 0.64em;
  height: 0.68em;
  transform: translateX(-50%);
}
h1,
h2,
h3 {
  font-family: var(--heading);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 6vw, 56px);
}
h2 {
  margin: 44px 0 8px;
  font-size: 28px;
}
h3 {
  margin: 28px 0 6px;
  font-size: 21px;
}
a {
  color: var(--accent-700);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--text);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
ul,
ol {
  padding-left: 1.3em;
}
li + li {
  margin-top: 6px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
th,
td {
  padding: 10px 8px 10px 0;
  border-bottom: 1px solid var(--divider);
  text-align: left;
  vertical-align: top;
}
th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-700);
}
::selection {
  background: color-mix(in srgb, var(--accent) 30%, transparent);
}

/* The deletion form (/delete-account, D223): 48 px targets, square corners, and the error text at 7.3:1 on
   its white box. */
.steps {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}
label {
  font-weight: 700;
}
input {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--muted);
  border-radius: 0;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 18px;
}
#code {
  max-width: 10em;
  letter-spacing: 0.2em;
}
button {
  min-height: 48px;
  padding: 10px 20px;
  border: 0;
  border-radius: 0;
  background: var(--accent-700);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  justify-self: start;
}
button.danger {
  background: var(--danger);
}
button.link {
  padding: 10px 0;
  background: none;
  color: var(--accent-700);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
}
button:disabled {
  opacity: 0.6;
  cursor: progress;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
/* A link that acts as a button (the invite page's store and app links). */
a.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 20px;
  background: var(--accent-700);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
a.button.secondary {
  background: none;
  color: var(--accent-700);
  box-shadow: inset 0 0 0 1px var(--accent-700);
}
ol > li .actions {
  margin: 10px 0 4px;
}
.status:not(:empty) {
  padding: 12px 14px;
  border-left: 4px solid var(--danger);
  background: #fff;
  color: var(--danger);
}
