/* Golden Hour Chaser, the website (W1). One stylesheet for every page.
   The landing page follows shared/design/Website.dc.html value for value;
   its layout is fluid (flex-wrap and clamp), so it folds to one column on a
   phone without media queries, as the design does. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #22313F;
  --ink-soft: #34475A;
  --muted: #4F5E6E;
  --hover: #3A4B5C;
  --page: #EEF8FA;
  --card: #FFFFFF;
  --sun: #FFC845;
  --sun-text: #FFD966;
  --coral: #FF9D7A;
  --teal: #93DAD3;
  --error: #B42318;
  --sans: "Plus Jakarta Sans", -apple-system, system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

a { color: var(--ink); }
a:hover { color: var(--hover); }
button, input { font-family: inherit; }

/* Keyboard focus: a ring on everything that takes it. */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.cta a:focus-visible { outline-color: var(--sun-text); }

[id] { scroll-margin-top: 16px; }

/* The italic serif word in a heading */
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.2em;
  letter-spacing: 0;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
}

/* Header: sky, nav, hero, hills */

.sky {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #8ED3E6 0%, #C2E9F1 55%, #FFE7BE 100%);
  padding-bottom: 96px;
}

.hills {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 140px;
}

.nav {
  position: relative;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
}

.brand svg { display: block; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.nav-links .pill,
.nav-links .pill:hover {
  padding: 0 18px;
  border-radius: 22px;
  background: var(--ink);
  color: #FFFFFF;
}

.hero {
  position: relative;
  padding: 32px 24px 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 56px;
}

.hero-text {
  flex: 1 1 440px;
  min-width: 0;
}

.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

h1 {
  margin: 12px 0 0 0;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lead {
  margin: 18px 0 0 0;
  max-width: 520px;
  font-size: 18px;
  line-height: 28px;
  color: var(--ink-soft);
}

/* The email box. Its states: the form; "You're on the list." (#on-the-list,
   where a form post without JavaScript is sent back to, or .is-sent from
   app.js); and three errors, each shown the same two ways. */

.notify {
  margin-top: 26px;
  max-width: 520px;
  padding: 16px;
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 12px 30px rgba(34, 49, 63, 0.10);
}

.notify-form { margin: 0; }

.notify label {
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.notify-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.notify input[type="email"] {
  flex: 1 1 200px;
  min-width: 0;
  height: 50px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 16px;
  border-radius: 16px;
  border: 1.5px solid var(--ink);
  background: #FFFFFF;
  color: var(--ink);
  font-size: 16px;
}

.notify input::placeholder {
  color: #66727F;
  opacity: 1;
}

.notify button {
  flex: 0 0 auto;
  height: 50px;
  margin: 0;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.notify button:hover { background: var(--hover); }
.notify button[disabled] { cursor: progress; }

.notify-note {
  margin: 8px 0 0 0;
  font-size: 13px;
  color: var(--muted);
}

.notify-error {
  display: none;
  margin: 8px 0 0 0;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  color: var(--error);
}

.notify-error:target,
.notify[data-error="list-invalid"] #list-invalid,
.notify[data-error="list-wait"] #list-wait,
.notify[data-error="list-failed"] #list-failed {
  display: block;
}

/* Robots fill every field; people never see this one. */
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notify-sent { display: none; }
.notify-sent:focus { outline: none; }
.notify-sent:target,
.notify.is-sent .notify-sent { display: block; }
.notify-sent:target ~ .notify-form,
.notify.is-sent .notify-form { display: none; }

.notify-sent-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.notify-sent-text {
  margin: 4px 0 0 0;
  font-size: 15px;
  line-height: 22px;
  color: var(--muted);
}

/* Phone pictures. <picture> steps aside so the <img> is the flex item. */

.phone-slot {
  flex: 0 1 300px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.phone-slot picture { display: contents; }

.phone {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 780 / 1688;
  border-radius: 42px;
  border: 3px solid var(--ink);
  box-shadow: 0 20px 44px rgba(34, 49, 63, 0.18);
}

.phone-hero {
  width: 280px;
  border-radius: 44px;
  box-shadow: 0 24px 50px rgba(34, 49, 63, 0.22);
}

/* Sections */

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px 0 24px;
}

.section-how { padding-top: 56px; }

h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.h2-small {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.card {
  flex: 1 1 280px;
  min-width: 0;
  padding: 22px;
  border-radius: 26px;
  background: var(--card);
}

.step {
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  border-radius: 20px;
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
}

.step-1 { background: #DCEBFB; }
.step-2 { background: #FFF1C7; }
.step-3 { background: #FFE3D6; }

.card h3 {
  margin: 14px 0 0 0;
  font-size: 20px;
  font-weight: 800;
}

.card p {
  margin: 6px 0 0 0;
  font-size: 16px;
  line-height: 25px;
  color: var(--muted);
}

.feature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 64px;
}

.feature-reverse { flex-wrap: wrap-reverse; }

.feature-text {
  flex: 1 1 380px;
  min-width: 0;
}

.dots {
  margin: 18px 0 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 17px;
  line-height: 26px;
}

.dots li {
  display: flex;
  gap: 12px;
}

.dot {
  width: 12px;
  height: 12px;
  flex: none;
  margin-top: 7px;
  box-sizing: border-box;
  border-radius: 6px;
  border: 2px solid var(--ink);
}

.dot-sun { background: var(--sun); }
.dot-coral { background: var(--coral); }
.dot-teal { background: var(--teal); }

.dots strong,
.after-launch strong { font-weight: 800; }

.body {
  margin: 14px 0 0 0;
  max-width: 520px;
  font-size: 17px;
  line-height: 27px;
  color: var(--muted);
}

.body + .body { margin-top: 12px; }

.why {
  margin-top: 72px;
  background: #FFF1C7;
}

.why-inner {
  padding: 56px 24px;
}

.why-intro {
  margin: 14px 0 0 0;
  max-width: 680px;
  font-size: 18px;
  line-height: 28px;
}

.fact { flex-basis: 300px; }

.card .fact-big {
  margin: 0;
  font-size: 34px;
  line-height: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.card .fact-text { margin-top: 8px; }

.tint h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
}

.card.tint p { color: var(--ink); }
.tint-teal { background: #D8F1EF; }
.tint-blue { background: #DCEBFB; }
.tint-peach { background: #FFE3D6; }

.after-launch {
  margin: 24px 0 0 0;
  font-size: 15px;
  line-height: 24px;
  color: var(--muted);
}

.after-launch strong { color: var(--ink); }

/* The dark call to action */

.cta {
  max-width: 1120px;
  margin: 64px auto 0 auto;
  padding: 0 24px;
}

.cta-inner {
  padding: 40px 28px;
  border-radius: 32px;
  background: var(--ink);
  color: #FFFFFF;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
}

.cta-text {
  flex: 1 1 360px;
  min-width: 0;
}

.cta .serif { color: var(--sun-text); }

.cta p {
  margin: 8px 0 0 0;
  font-size: 17px;
  line-height: 26px;
  color: #C3CCD5;
}

.cta-button,
.cta-button:hover {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 18px;
  background: var(--sun);
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

/* Footer */

.footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 24px 44px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  font-size: 14px;
  line-height: 22px;
  color: var(--muted);
}

.footer p { margin: 0; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

/* The other pages: /privacy, /support and the 404. Not in the design: the
   landing page's header without the hero, and the text on a card. */

.sky-short { padding-bottom: 56px; }

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.doc-card {
  margin-top: -32px;
  position: relative;
  padding: 32px 28px;
  border-radius: 32px;
  background: var(--card);
}

.doc h1 { margin: 0; font-size: clamp(32px, 4.4vw, 48px); }

.doc .updated {
  margin: 10px 0 0 0;
  font-size: 14px;
  color: var(--muted);
}

.doc h2 {
  margin: 36px 0 0 0;
  font-size: 24px;
  line-height: 1.25;
}

.doc h3 {
  margin: 24px 0 0 0;
  font-size: 18px;
  font-weight: 800;
}

.doc p,
.doc li {
  font-size: 16px;
  line-height: 26px;
  color: var(--ink-soft);
}

.doc p { margin: 10px 0 0 0; }

.doc ul {
  margin: 10px 0 0 0;
  padding-left: 22px;
}

.doc li + li { margin-top: 6px; }

.doc strong { color: var(--ink); font-weight: 800; }
