/* apexforapps.com: the sky of Apex's icon over cream, plum ink. */
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Albert Sans";
  src: url("/fonts/albert-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #2b1633;
  --ink-soft: #5a3e55;
  --ink-faint: #7d6478;
  --coral: #ff8a73;
  --peach: #ffad7e;
  --sand: #ffd896;
  --cream: #fff6ea;
  --shell: #ffe7cf;
  --flag: #d9533c;
  --line: #2b16331f;
  --sky: linear-gradient(180deg, var(--coral) 0%, var(--peach) 42%, var(--sand) 82%, var(--cream) 100%);
  --display: "Fraunces", Georgia, serif;
  --text: "Albert Sans", -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  --width: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 18px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: var(--cream); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, dl, dd, figure { margin: 0; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--width), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* The sky */
.sky { background: var(--sky); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 600 24px/1 var(--display); text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.links { display: flex; align-items: center; gap: 28px; font-weight: 500; }
.links a { text-decoration: none; }
.links a:hover { text-decoration: underline; }
.links .pill { background: var(--ink); color: var(--cream); padding: 11px 18px; border-radius: 999px; }
.links .pill:hover { text-decoration: none; background: #42254b; }

.hero { text-align: center; padding-top: clamp(24px, 6vw, 48px); }
h1 {
  font: 600 clamp(52px, 9vw, 92px)/0.98 var(--display);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.lede { max-width: 34em; margin: 24px auto 0; font-size: clamp(19px, 2.2vw, 21px); color: #4a2d45; text-wrap: pretty; }
.hero .join { margin: 32px auto 0; }
.fine { margin-top: 14px; font-size: 15px; color: #5e3f57; }

/* The forms */
.join { max-width: 520px; }
.join .row { display: flex; gap: 10px; }
.join input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 18px;
  padding: 15px 18px;
  border: 0;
  border-radius: 12px;
  background: #fffaf3;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #2b163329;
}
.join input::placeholder { color: var(--ink-faint); }
.join input:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; }
.join button {
  font: 600 18px var(--text);
  padding: 15px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
  white-space: nowrap;
}
.join button:hover { background: #42254b; }
.join button:active { transform: translateY(1px); }
.join .note { margin-top: 10px; font-size: 15px; color: #5e3f57; }
.cf-turnstile { display: flex; justify-content: center; margin-top: 10px; }
.cf-turnstile:empty { display: none; }

/* Screenshots in a Mac window */
.window {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 28px 64px -18px #6a2a4a59, 0 0 0 1px #2b163314;
}
.window .bar { display: flex; gap: 8px; align-items: center; height: 30px; padding-inline: 14px; background: #f1eef2; }
.window .bar i { width: 11px; height: 11px; border-radius: 50%; background: #d9d3da; }
.hero .window { margin-top: clamp(40px, 6vw, 56px); border-radius: 14px 14px 0 0; }

/* Features */
.features { padding-top: clamp(64px, 9vw, 112px); }
.feature + .feature { margin-top: clamp(72px, 10vw, 120px); }
.feature .head { display: grid; grid-template-columns: 1fr minmax(0, 470px); gap: 24px 56px; align-items: end; }
h2 { font: 600 clamp(34px, 4.6vw, 52px)/1.04 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
.feature .head p { color: var(--ink-soft); text-wrap: pretty; }
.feature .window { margin-top: 32px; }

.rest { margin-top: clamp(80px, 11vw, 128px); padding-top: 48px; border-top: 1px solid var(--line); }
.rest h2 { font-size: clamp(30px, 3.6vw, 42px); }
.list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; margin-top: 24px; }
.list div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.list dt { font-weight: 600; }
.list dd { color: var(--ink-soft); }

/* The beta */
.beta { margin-top: clamp(80px, 11vw, 128px); background: var(--shell); border-radius: 24px; padding: clamp(28px, 5vw, 52px); }
.beta h2 { font-size: clamp(30px, 3.6vw, 42px); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; margin-top: 32px; }
.steps .n { display: block; font: 600 46px/1 var(--display); color: var(--flag); }
.steps h3 { margin-top: 14px; font-size: 20px; }
.steps p { margin-top: 8px; color: var(--ink-soft); }

/* The closing call */
.cta { margin-top: clamp(80px, 11vw, 128px); padding: clamp(64px, 9vw, 96px) 0 64px; text-align: center; background: linear-gradient(0deg, var(--coral) 0%, var(--peach) 55%, var(--cream) 100%); }
.cta h2 { font-size: clamp(42px, 6vw, 64px); }
.cta .join { margin: 30px auto 0; }
.footer { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px; font-size: 15px; color: #4a2034; }
.footer nav { display: flex; gap: 20px; }
.end { background: var(--coral); border-top: 1px solid #2b16331a; }

/* Plain pages: privacy, not found */
.plain { padding-block: 32px 96px; }
.plain article { max-width: 40em; }
.plain h1 { font-size: clamp(44px, 7vw, 64px); text-align: left; }
.plain h2 { font-size: 26px; margin-top: 40px; }
.plain p, .plain ul { margin-top: 14px; color: var(--ink-soft); }
.plain .updated { margin-top: 10px; font-size: 15px; color: var(--ink-faint); }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .links a:not(.pill) { display: none; }
  .links .pill { padding: 10px 14px; font-size: 15px; }
  .brand { font-size: 21px; }
  .brand img { width: 34px; height: 34px; }
  .join .row { flex-direction: column; }
  .join button { width: 100%; }
  .hero .window { border-radius: 10px 10px 0 0; }
  .window { border-radius: 10px; }
  .window .bar { height: 20px; padding-inline: 10px; gap: 6px; }
  .window .bar i { width: 8px; height: 8px; }
  .feature .head { grid-template-columns: 1fr; }
  .feature .window { margin-top: 24px; }
  .list { grid-template-columns: 1fr; }
  .list div { grid-template-columns: 1fr; gap: 4px; }
  .steps { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}
