/* On Pointe waitlist site. The Satin look from the proof of concept:
   blush field, aubergine ink, Fraunces for display, Figtree for text, hairlines and pills. */
:root {
  --blush: #FBDCE3;
  --blush-pale: #FFF2F5;
  --rose: #F2A7B8;
  --rose-deep: #C9506E;
  --ink: #2B2140;
  --ink-hover: #43365F;
  --ink-soft: #62587A;
  --paper: #FFFFFF;
  --rush: #8E2415;
  --rush-pale: #FBE2DD;
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --sans: Figtree, "Segoe UI", system-ui, sans-serif;
  --line: 1px solid var(--ink);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
body.pro { background: var(--blush-pale); }
h1, h2, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
i { font-style: italic; }
a { color: var(--ink); text-underline-offset: 4px; }
a:hover { color: var(--ink-soft); }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 64px); }

/* header */
.top { padding-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.wordmark { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.wordmark svg { flex: none; overflow: visible; }
.wordmark__text { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1; white-space: nowrap; }
.wordmark__tag { margin-left: 2px; padding: 2px 10px; border: var(--line); border-radius: 999px; background: var(--paper); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; }
.flag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.flag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rose-deep); }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 600; }

/* main */
.main { flex: 1; padding-top: clamp(36px, 6vw, 80px); padding-bottom: 56px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px clamp(32px, 6vw, 96px); }
.pitch { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.title { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 7.2vw, 92px); line-height: .98; letter-spacing: -0.025em; text-wrap: balance; }
.pro .title { font-size: clamp(42px, 6.4vw, 80px); line-height: 1; }
.lede { max-width: 21em; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.35; }
.pro .lede { max-width: 24em; }
.note { max-width: 27em; color: var(--ink-soft); }
.how { margin-top: 12px; }
.label { margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.steps, .points { max-width: 30em; border-bottom: var(--line); }
.steps li { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-top: var(--line); font-size: 18px; }
.steps__n { flex: none; width: 24px; font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1; }
.points { margin-top: 12px; }
.points li { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; border-top: var(--line); }
.points b { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.2; }
.points span { font-size: 16px; color: var(--ink-soft); }

/* form card */
.card { flex: 1 1 380px; max-width: 500px; min-width: 0; padding: clamp(24px, 3vw, 40px); background: var(--paper); border: var(--line); border-radius: 32px; }
.form { display: flex; flex-direction: column; gap: 20px; }
.card__title { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.1; letter-spacing: -0.015em; }
.card__sub { margin-top: 6px; font-size: 15.5px; color: var(--ink-soft); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field__label { font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input { width: 100%; height: 52px; padding: 0 16px; border: var(--line); border-radius: 14px; background: var(--paper); }
.field input::placeholder { color: #8A819C; }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.row > .field { flex: 1 1 180px; }
.row > .field--wide { flex: 2 1 200px; }
.row > .field--narrow { flex: 1 1 110px; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chip { width: 100%; min-height: 48px; padding: 8px 12px; border: var(--line); border-radius: 999px; background: var(--paper); font-size: 15.5px; font-weight: 600; cursor: pointer; transition: background-color 120ms var(--ease); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { padding: 10px 14px; border-radius: 14px; background: var(--rush-pale); color: var(--rush); font-size: 15.5px; font-weight: 600; }
.cta { width: 100%; min-height: 58px; padding: 12px 24px; border: var(--line); border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 18px; font-weight: 600; cursor: pointer; transition: background-color 120ms var(--ease); }
.cta:hover { background: var(--ink-hover); }
.cta[disabled] { opacity: .55; cursor: progress; }
.consent { margin-top: 12px; font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); }
.consent a { color: inherit; }
.done { display: flex; flex-direction: column; gap: 16px; padding: 24px 0; }
.done:focus { outline: none; }
.done__tick { display: grid; place-items: center; width: 52px; height: 52px; border: var(--line); border-radius: 50%; background: var(--blush); }
.done__title { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.08; letter-spacing: -0.015em; }
.done__line { font-size: 18px; }
.done__small { font-size: 15.5px; color: var(--ink-soft); }

/* footer */
.foot { padding-bottom: 32px; }
.foot__in { padding-top: 22px; border-top: var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.foot__name { font-size: 14.5px; color: var(--ink-soft); }
.foot__name a { color: inherit; }
.quiet { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border: var(--line); border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink); transition: background-color 120ms var(--ease); }
.quiet:hover { background: var(--paper); color: var(--ink); }

/* privacy page */
.prose { flex: 1; max-width: 760px; padding-top: clamp(36px, 6vw, 72px); padding-bottom: 56px; display: flex; flex-direction: column; gap: 18px; }
.prose h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.02em; }
.prose h2 { margin-top: 14px; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.2; }
.prose ul { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; list-style: disc; }

/* the opening fade, as on the app's welcome screen */
.rise { animation: rise 900ms var(--ease) both; }
.rise--1 { animation-delay: 250ms; }
.rise--2 { animation-delay: 350ms; }
.rise--3 { animation-delay: 450ms; }
.rise--4 { animation-delay: 650ms; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } * { transition: none !important; } }
