/* join.dayglide.ai: the dayglide.ai landing's look (web/apps/web/src/features/marketing),
   cut down to one focused page with the app-news list. Kept in step by hand. */
@font-face {
  font-family: 'Dayglide Display';
  src: url('/assets/fonts/dayglide-display-latin.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Dayglide Display';
  src: url('/assets/fonts/dayglide-display-italic-latin.woff2') format('woff2');
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Variable';
  src: url('/assets/fonts/geist-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* Dayglide's public brand is fixed light, as on dayglide.ai. */
.dayglide {
  --dg-paper: #f2f1ed;
  --dg-paper-bright: #faf9f7;
  --dg-white: #fdfdfc;
  --dg-ink: #17161f;
  --dg-ink-soft: #454451;
  --dg-muted: #676673;
  --dg-line: #e0dee6;
  --dg-violet: #635bff;
  --dg-violet-deep: #4a42e6;
  --dg-violet-text: #4c44e4;
  --dg-bright: #a29aff;
  --dg-lilac: #b9b2ff;
  --dg-pale: #eceaff;
  --dg-citrus: #ffb76a;
  --dg-error: #b52d46;
  --dg-night: #15123a;
  --dg-night-deep: #0f0d2b;
  --dg-night-text: #efedff;
  --dg-night-muted: #b8b4dc;
  --dg-display:
    'Dayglide Display', 'Geist Variable', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --dg-text: 'Geist Variable', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --dg-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dg-gutter: clamp(20px, 5vw, 72px);
  --dg-header: 72px;
  color-scheme: light;
  margin: 0;
  overflow-x: clip;
  background: var(--dg-paper);
  color: var(--dg-ink);
  font-family: var(--dg-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--dg-header, 72px);
}
.dayglide *,
.dayglide *::before,
.dayglide *::after {
  box-sizing: border-box;
}
.dayglide :is(h1, h2, h3, p, figure, ol, ul) {
  margin: 0;
}
.dayglide :is(h1, h2, h3) {
  font-family: var(--dg-display);
  text-wrap: balance;
}
.dayglide p {
  text-wrap: pretty;
}
.dayglide a {
  color: inherit;
  text-decoration: none;
}
.dayglide :is(button, input, select) {
  font: inherit;
  color: inherit;
}
.dayglide :is(button, summary) {
  cursor: pointer;
}
.dayglide :is(button, a, summary, input, select) {
  -webkit-tap-highlight-color: transparent;
}
.dayglide :is(button, a, summary, input, select):focus-visible {
  outline: 3px solid var(--dg-violet);
  outline-offset: 4px;
  border-radius: 8px;
}
.dayglide :is(main, #join):focus {
  outline: none;
}
.dayglide [hidden] {
  display: none !important;
}
.dayglide .dg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.dayglide .dg-width {
  width: calc(100% - var(--dg-gutter) * 2);
  max-width: 1240px;
  margin-inline: auto;
}
.dayglide .dg-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 40;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--dg-white);
  box-shadow: 0 6px 20px rgb(38 30 110 / 16%);
  transform: translateY(-180%);
}
.dayglide .dg-skip:focus {
  transform: none;
}

/* Header */
.dayglide .dg-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--dg-header);
}
.dayglide .dg-header::before {
  content: '';
  position: absolute;
  inset: 0 calc((100% - 100vw) / 2);
  z-index: -1;
  background: color-mix(in srgb, var(--dg-paper) 97%, transparent);
  box-shadow: 0 1px 0 rgb(40 34 90 / 7%);
}
.dayglide .dg-home {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
}
.dayglide .dg-wordmark {
  display: block;
  width: 146px;
  height: auto;
}
.dayglide .dg-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: 14px;
  font-weight: 520;
}
.dayglide .dg-nav > a:not(.dg-button) {
  padding-block: 10px;
  color: var(--dg-ink-soft);
  transition: color 160ms ease;
}
.dayglide .dg-nav > a:not(.dg-button):hover {
  color: var(--dg-violet-text);
}
.dayglide .dg-nav > .dg-nav-login {
  color: var(--dg-ink);
  font-weight: 600;
  white-space: nowrap;
}

/* Buttons: one pill shape everywhere */
.dayglide .dg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 20px 11px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--dg-violet);
  color: #fdfdff;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 22%),
    0 8px 22px -10px rgb(74 66 230 / 70%);
  transition:
    transform 200ms var(--dg-ease-out),
    background 200ms ease,
    box-shadow 200ms ease;
}
.dayglide .dg-button svg {
  transition: transform 200ms var(--dg-ease-out);
}
.dayglide .dg-button:hover {
  background: var(--dg-violet-deep);
  transform: translateY(-1px);
}
.dayglide .dg-button:hover svg {
  transform: translateX(2px);
}
.dayglide .dg-button:active {
  transform: translateY(0) scale(0.98);
}
.dayglide .dg-button-light {
  background: var(--dg-paper-bright);
  color: var(--dg-violet-deep);
  box-shadow: 0 10px 26px -12px rgb(20 12 90 / 55%);
}
.dayglide .dg-button-light:hover {
  background: var(--dg-white);
}
.dayglide .dg-eyebrow {
  color: var(--dg-violet-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Start planning and the app badges (web/apps/web/src/features/devices/devices.css) */
.platform-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.platform-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}
.platform-action:active {
  transform: translateY(0) scale(0.98);
}
.platform-action-web {
  gap: 14px;
  min-height: 54px;
  padding: 6px 7px 6px 24px;
  border-radius: 999px;
  background: var(--dg-violet);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 22%),
    0 12px 28px -12px rgb(74 66 230 / 75%);
}
.platform-action-web:hover {
  background: var(--dg-violet-deep);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 22%),
    0 16px 32px -12px rgb(74 66 230 / 80%);
}
.platform-action-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgb(255 255 255 / 16%);
}
.platform-native-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
}
.platform-action-apple {
  justify-content: flex-start;
  gap: 9px;
  min-height: 50px;
  padding: 7px 14px 7px 11px;
  border: 1px solid rgb(23 22 31 / 14%);
  border-radius: 999px;
  background: rgb(253 253 252 / 55%);
  color: var(--dg-ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}
.platform-action-apple:hover {
  background: var(--dg-white);
  transform: translateY(-1px);
}
.platform-apple-mark {
  width: 20px;
  height: 24px;
  flex-shrink: 0;
}
.platform-badge-label {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
  white-space: nowrap;
}
.platform-badge-label small {
  color: var(--dg-muted);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.platform-badge-label strong {
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}

/* Scroll reveal: added only by script, so content is never hidden without it */
.dayglide .dg-will-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 700ms var(--dg-ease-out),
    transform 900ms var(--dg-ease-out);
}
.dayglide .dg-will-reveal.dg-in-view {
  opacity: 1;
  transform: none;
}

/* Type */
.dg-landing h1 {
  font-size: clamp(46px, 7vw, 100px);
  font-weight: 790;
  line-height: 0.98;
  letter-spacing: -0.042em;
}
.dg-landing h2 {
  font-size: clamp(34px, 4.3vw, 60px);
  font-weight: 770;
  line-height: 1.02;
  letter-spacing: -0.036em;
}
.dg-landing :is(h1, h2) em {
  display: block;
  padding-bottom: 0.04em;
  font-style: italic;
  font-weight: 760;
}
.dg-landing h3 {
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 740;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Hero: a sunrise over the Dayglide horizon */
.dg-landing .dg-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(640px, calc(100svh - var(--dg-header)), 900px);
  padding-top: clamp(36px, 9vh, 104px);
  overflow: hidden;
}
.dg-landing .dg-hero-copy {
  position: relative;
  z-index: 3;
}
.dg-landing .dg-hero h1 > span {
  display: block;
}
.dg-landing .dg-hero h1 em {
  color: var(--dg-violet);
}
.dg-landing .dg-hero-description {
  max-width: 27em;
  margin-top: clamp(20px, 2.4vw, 30px);
  color: var(--dg-ink-soft);
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.dg-landing .dg-hero .platform-actions {
  margin-top: clamp(28px, 3vw, 40px);
}
.dg-landing .dg-hero-glider {
  position: absolute;
  z-index: 2;
  top: clamp(56px, 11vh, 120px);
  right: clamp(24px, 21vw, 360px);
  width: clamp(112px, 13vw, 196px);
  pointer-events: none;
}
/* Campaign headlines run longer than dayglide.ai's, so Glider glides in over the sun instead. */
@media (min-width: 861px) {
  .dg-join .dg-hero-glider {
    top: auto;
    right: clamp(20px, 7vw, 120px);
    bottom: calc(clamp(250px, 36%, 380px) - 8px);
  }
}
.dg-landing .dg-hero-glider img {
  display: block;
  width: 100%;
  height: auto;
}

/* The horizon: sun behind three layers of waves */
.dg-horizon {
  --dg-sun: clamp(140px, 22vw, 330px);
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: clamp(250px, 36%, 380px);
  pointer-events: none;
}
.dg-sun-track {
  position: absolute;
  top: calc(30% - var(--dg-sun) / 2);
  right: 15%;
  width: var(--dg-sun);
  height: var(--dg-sun);
}
.dg-sun {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--dg-citrus);
}
.dg-wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 100%;
  overflow: visible;
}
.dg-horizon[data-variant='sunrise'] .dg-wave-1 {
  fill: var(--dg-lilac);
  fill-opacity: 0.6;
}
.dg-horizon[data-variant='sunrise'] .dg-wave-2 {
  fill: var(--dg-bright);
  fill-opacity: 0.55;
}
.dg-horizon[data-variant='sunrise'] .dg-wave-3 {
  fill: var(--dg-violet);
}

/* Design your week: the front wave becomes this section */
.dg-landing .dg-band {
  position: relative;
  padding-block: clamp(32px, 4.5vw, 64px) clamp(72px, 8vw, 120px);
  background: var(--dg-violet);
  color: #fdfcff;
}
.dg-landing .dg-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-areas:
    'title copy'
    'shot shot'
    'steps steps';
  align-items: end;
  gap: clamp(28px, 3.5vw, 48px) clamp(40px, 6vw, 96px);
}
.dg-landing .dg-band-title {
  grid-area: title;
  font-size: clamp(36px, 4.7vw, 66px);
}
.dg-landing .dg-band-title em {
  color: #dcd8ff;
}
.dg-landing .dg-band-copy {
  grid-area: copy;
  display: grid;
  justify-items: start;
  gap: 26px;
  padding-bottom: 6px;
}
.dg-landing .dg-band-copy > p {
  max-width: 44ch;
  color: #f6f5ff;
  font-size: 18px;
  line-height: 1.6;
}
.dg-landing .dg-week-shot {
  grid-area: shot;
  min-width: 0;
}
.dg-landing .dg-week-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  background: #16171b;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 10%),
    0 40px 80px -30px rgb(15 13 43 / 70%);
}
.dg-landing .dg-steps {
  grid-area: steps;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  padding: 0;
  list-style: none;
}
.dg-landing .dg-steps li {
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 24%);
}
.dg-landing .dg-step-time {
  display: block;
  margin-bottom: 10px;
  color: #dcd8ff;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.dg-landing .dg-steps p {
  margin-top: 8px;
  color: #ebe9ff;
  font-size: 16px;
}

/* The apps are coming: the iPhone and Mac list */
.dg-landing .dg-apps {
  padding-block: clamp(80px, 9vw, 136px);
}
.dg-landing .dg-apps-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.dg-landing .dg-apps-copy h2 {
  margin-top: 14px;
}
.dg-landing .dg-apps-copy h2 em {
  color: var(--dg-violet);
}
.dg-landing .dg-apps-copy > p:not(.dg-eyebrow) {
  max-width: 44ch;
  margin-top: 22px;
  color: var(--dg-ink-soft);
  font-size: 18px;
}
.dg-landing .signup-panel {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--dg-line);
  border-radius: 24px;
  background: var(--dg-paper-bright);
  box-shadow: 0 30px 60px -36px rgb(40 34 90 / 30%);
}
.dg-landing .signup-label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}
.dg-landing .signup-row {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid #d6d4de;
  border-radius: 999px;
  background: var(--dg-white);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}
.dg-landing .signup-row:focus-within {
  border-color: var(--dg-violet);
  box-shadow: 0 0 0 4px rgb(99 91 255 / 16%);
}
.dg-landing .signup-row input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  background: none;
  font-size: 16px;
}
.dg-landing .signup-row input:focus-visible {
  outline: none;
}
.dg-landing #signup-button,
.dg-landing #survey-form > .primary {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--dg-violet);
  color: #fdfdff;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 160ms ease;
}
.dg-landing #signup-button:hover,
.dg-landing #survey-form > .primary:hover {
  background: var(--dg-violet-deep);
}
.dg-landing #signup-button:disabled {
  opacity: 0.7;
  cursor: wait;
}
.dg-landing .check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  color: var(--dg-ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
  cursor: pointer;
}
.dg-landing .check input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 1px 0 0;
  accent-color: var(--dg-violet);
}
.dg-landing .honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.dg-landing .form-status:not(:empty) {
  margin-top: 12px;
  color: var(--dg-error);
  font-size: 14px;
}
.dg-landing .fine {
  margin-top: 16px;
  color: var(--dg-muted);
  font-size: 13px;
}
.dg-landing .fine a {
  color: var(--dg-violet-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dg-landing #success:focus {
  outline: none;
}
.dg-landing .success-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dg-violet);
  color: #fff;
  font-size: 20px;
}
.dg-landing #success h2 {
  margin-top: 16px;
  font-size: clamp(28px, 2.6vw, 34px);
}
.dg-landing #success > p {
  margin: 12px 0 22px;
  color: var(--dg-ink-soft);
}
.dg-landing #survey-details {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--dg-line);
}
.dg-landing #survey-details summary {
  font-weight: 600;
}
.dg-landing #survey-details summary span,
.dg-landing legend span {
  color: var(--dg-muted);
  font-weight: 400;
}
.dg-landing #survey-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.dg-landing fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.dg-landing legend {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}
.dg-landing .choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.dg-landing .choices label {
  position: relative;
}
.dg-landing .choices input {
  position: absolute;
  opacity: 0;
}
.dg-landing .choices span {
  display: block;
  height: 100%;
  padding: 10px 12px;
  border: 1px solid var(--dg-line);
  border-radius: 14px;
  background: var(--dg-white);
  font-size: 14px;
  cursor: pointer;
}
.dg-landing .choices input:checked + span {
  border-color: var(--dg-violet);
  background: var(--dg-pale);
}
.dg-landing .choices input:focus-visible + span {
  outline: 3px solid var(--dg-violet);
  outline-offset: 2px;
}
.dg-landing #platform {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--dg-line);
  border-radius: 12px;
  background: var(--dg-white);
}
.dg-landing #survey-form .check {
  margin-top: 0;
}
.dg-landing #survey-form > .primary {
  justify-self: start;
}
.dg-landing .skip-survey {
  justify-self: start;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--dg-muted);
  font-size: 13px;
  text-decoration: underline;
}
.dg-landing #survey-thanks {
  margin-top: 20px;
  color: var(--dg-ink-soft);
}
.dg-landing .offer-details {
  grid-column: 2;
  margin-top: -8px;
  color: var(--dg-ink-soft);
  font-size: 14px;
}
.dg-landing .offer-details summary {
  color: var(--dg-violet-text);
  font-weight: 600;
}
.dg-landing .offer-details p {
  margin-top: 12px;
  color: var(--dg-muted);
}

/* Outro: the sun sets, the night comes in */
.dg-landing .dg-outro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(104px, 13vw, 190px);
  background: linear-gradient(
    180deg,
    var(--dg-night-deep) 0%,
    var(--dg-night) 42%,
    #241e74 78%,
    #3b31b0 100%
  );
  color: var(--dg-night-text);
  text-align: center;
}
.dg-landing .dg-sky {
  position: absolute;
  inset: 0 0 30%;
  z-index: -1;
  pointer-events: none;
}
.dg-landing .dg-sky i {
  position: absolute;
  border-radius: 50%;
  background: #f4f2ff;
  opacity: 0.75;
}
.dg-landing .dg-moon {
  position: absolute;
  top: 17%;
  right: 13%;
  width: clamp(40px, 4.4vw, 64px);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: inset clamp(10px, 1.1vw, 16px) clamp(-5px, -0.4vw, -3px) 0 0 #f4efe2;
  transform: rotate(-24deg);
}
.dg-landing .dg-outro-content {
  position: relative;
  z-index: 2;
}
.dg-landing .dg-outro h2 {
  font-size: clamp(40px, 5.6vw, 80px);
}
.dg-landing .dg-outro h2 em {
  color: var(--dg-lilac);
}
.dg-landing .dg-outro-content > p {
  max-width: 44ch;
  margin: 24px auto 0;
  text-wrap: balance;
  color: var(--dg-night-muted);
  font-size: 18px;
}
/* The closing start spans exactly the app badges under it, as on dayglide.ai. */
.dg-landing .dg-outro .platform-actions {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  margin: 38px auto 0;
}
.dg-landing .dg-outro .platform-action-web {
  justify-content: space-between;
}
.dg-landing .dg-outro .platform-native-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dg-landing .dg-outro .platform-action-apple {
  min-width: 0;
  border-color: rgb(239 237 255 / 22%);
  background: rgb(239 237 255 / 6%);
  color: #fff;
}
.dg-landing .dg-outro .platform-action-apple:hover {
  background: rgb(239 237 255 / 12%);
}
.dg-landing .dg-outro .platform-badge-label small {
  color: var(--dg-night-muted);
}
.dg-landing .dg-outro .dg-horizon {
  position: relative;
  z-index: 1;
  height: clamp(190px, 24vw, 330px);
  margin-top: clamp(40px, 6vw, 72px);
}
.dg-horizon[data-variant='dusk'] {
  --dg-sun: clamp(120px, 17vw, 250px);
}
.dg-horizon[data-variant='dusk'] .dg-sun-track {
  top: calc(34% - var(--dg-sun) / 2);
  right: auto;
  left: 11%;
}
.dg-horizon[data-variant='dusk'] .dg-sun {
  background: #ff9d5c;
  box-shadow: 0 0 120px 30px rgb(255 140 80 / 18%);
}
.dg-horizon[data-variant='dusk'] .dg-wave-1 {
  fill: #6c62f0;
  fill-opacity: 0.42;
}
.dg-horizon[data-variant='dusk'] .dg-wave-2 {
  fill: #2f28a4;
  fill-opacity: 0.86;
}
.dg-horizon[data-variant='dusk'] .dg-wave-3 {
  fill: var(--dg-night-deep);
}

/* Night footer */
.dayglide .dg-footer-night {
  padding-block: 12px 40px;
  background: var(--dg-night-deep);
  color: var(--dg-night-muted);
  font-size: 13px;
}
.dayglide .dg-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px 40px;
  align-items: start;
}
.dayglide .dg-footer-night .dg-wordmark {
  width: 132px;
}
.dayglide .dg-footer-night p {
  margin-top: 12px;
}
.dayglide .dg-footer-night nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  max-width: 780px;
}
.dayglide .dg-footer-night nav :is(a, button) {
  padding: 0;
  border: 0;
  background: none;
  color: #d6d3f5;
  font-size: 13px;
}
.dayglide .dg-footer-night nav :is(a, button):hover {
  color: #fdfcff;
}
.dayglide .dg-footer-night nav :is(a, button):focus-visible {
  outline-color: var(--dg-lilac);
}
.dayglide .dg-footer-night small {
  color: #9793c4;
  font-size: 12px;
}
.dayglide .dg-footer-night small:last-child {
  text-align: right;
}

/* Your privacy, your call: the same card as dayglide.ai's. */
.dayglide .measurement {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 35;
  width: min(420px, calc(100vw - 40px));
  padding: 20px 22px;
  border: 1px solid var(--dg-line);
  border-radius: 24px;
  background: var(--dg-paper-bright);
  color: var(--dg-ink);
  box-shadow: 0 24px 60px -20px rgb(23 20 60 / 35%);
  font-size: 14px;
}
.dayglide #measurement-title {
  font-family: var(--dg-text);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.dayglide .measurement p {
  margin-top: 8px;
  color: var(--dg-ink-soft);
}
.dayglide #measurement-state:empty {
  display: none;
}
.dayglide .measurement a {
  color: var(--dg-violet-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dayglide .measurement > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.dayglide .measurement button {
  min-height: 44px;
  border: 1px solid var(--dg-line);
  border-radius: 999px;
  background: var(--dg-white);
  font-size: 14px;
  font-weight: 600;
}
.dayglide .measurement button:hover {
  border-color: #c9c6d6;
}
.dayglide #allow-measurement {
  border-color: var(--dg-violet);
  background: var(--dg-violet);
  color: #fdfdff;
}

/* Motion */
@keyframes dg-rise {
  from {
    transform: translateY(42%);
  }
}
@keyframes dg-glide-in {
  from {
    opacity: 0;
    transform: translate(-80px, 36px) rotate(-8deg);
  }
}
@keyframes dg-glide-up {
  from {
    opacity: 0;
    transform: translate(-24px, 88px) rotate(-12deg) scale(0.92);
  }
}
@keyframes dg-float {
  50% {
    transform: translateY(-10px) rotate(1.5deg);
  }
}
@keyframes dg-drift {
  to {
    transform: translateX(-50%);
  }
}
@keyframes dg-drift-back {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes dg-sink {
  to {
    transform: translateY(26%);
  }
}
@keyframes dg-set {
  from {
    transform: translateY(-30%);
  }
  to {
    transform: translateY(18%);
  }
}
@media (prefers-reduced-motion: no-preference) {
  /* The sunrise plays once, after the script runs. Until then the sun waits below the horizon. */
  @media (scripting: enabled) {
    .dg-landing .dg-hero:not([data-intro]) .dg-sun {
      transform: translateY(42%);
    }
    .dg-landing .dg-hero:not([data-intro]) .dg-hero-glider img {
      opacity: 0;
    }
  }
  .dg-landing .dg-hero[data-intro] .dg-sun {
    animation: dg-rise 2.6s var(--dg-ease-out) both;
  }
  .dg-landing .dg-hero[data-intro] .dg-hero-glider img {
    animation:
      dg-glide-in 1.8s 0.45s var(--dg-ease-out) both,
      dg-float 7s 2.4s ease-in-out infinite;
  }
  @media (max-width: 640px), (max-width: 860px) and (max-height: 560px) {
    .dg-landing .dg-hero[data-intro] .dg-hero-glider img {
      animation-name: dg-glide-up, dg-float;
    }
  }
  .dg-horizon .dg-wave-1 {
    animation: dg-drift 120s linear infinite;
  }
  .dg-horizon .dg-wave-2 {
    animation: dg-drift-back 90s linear infinite;
  }
  @supports (animation-timeline: view()) {
    .dg-horizon[data-variant='sunrise'] .dg-sun-track {
      animation: dg-sink linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }
    .dg-horizon[data-variant='dusk'] .dg-sun-track {
      animation: dg-set linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 55%;
    }
  }
}

/* Responsive */
@media (max-width: 960px) {
  .dg-landing .dg-band-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'title'
      'shot'
      'copy'
      'steps';
  }
  .dg-landing .dg-band-copy {
    padding-bottom: 0;
  }
  .dg-landing .dg-apps-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .dg-landing .offer-details {
    grid-column: auto;
    margin-top: 0;
  }
}
@media (max-width: 900px) {
  .dayglide .dg-footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .dayglide .dg-footer-night nav {
    justify-content: flex-start;
  }
  .dayglide .dg-footer-night small:last-child {
    text-align: left;
  }
}
@media (max-width: 860px) {
  .dayglide .dg-nav-section {
    display: none;
  }
  .dg-landing .dg-hero-glider {
    top: auto;
    right: 30%;
    bottom: calc(clamp(250px, 36%, 380px) - 24px);
  }
}
@media (max-width: 720px) {
  .dg-landing .dg-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
}
@media (max-width: 640px) {
  .dayglide {
    --dg-header: 64px;
    font-size: 15.5px;
  }
  .dayglide .dg-wordmark {
    width: 118px;
  }
  .dayglide .dg-nav {
    gap: 14px;
    font-size: 13.5px;
  }
  .dayglide .dg-nav > .dg-button {
    min-height: 44px;
    padding: 8px 14px 8px 16px;
    font-size: 13.5px;
  }
  .dayglide .dg-nav > .dg-button svg {
    display: none;
  }
  .dg-landing .dg-hero {
    min-height: clamp(600px, calc(100svh - var(--dg-header)), 760px);
    padding-top: 36px;
  }
  .dg-landing .dg-hero-description {
    font-size: 17.5px;
  }
  .dg-landing .dg-hero .platform-actions {
    gap: 10px;
  }
  .dg-landing .dg-hero .platform-action-web {
    width: 100%;
    justify-content: space-between;
  }
  .dg-landing .dg-hero .platform-native-actions {
    width: 100%;
  }
  .dg-landing .dg-hero .platform-action-apple {
    flex: 1;
    justify-content: center;
  }
  .dg-horizon {
    height: clamp(210px, 30%, 280px);
  }
  .dg-landing .dg-week-shot img {
    border-radius: 14px;
  }
  .dg-landing .dg-band-copy > p,
  .dg-landing .dg-apps-copy > p:not(.dg-eyebrow),
  .dg-landing .dg-outro-content > p {
    font-size: 17px;
  }
  .dg-landing .signup-row {
    flex-direction: column;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .dg-landing .signup-row:focus-within {
    box-shadow: none;
  }
  .dg-landing .signup-row input {
    min-height: 50px;
    border: 1px solid #d6d4de;
    border-radius: 999px;
    background: var(--dg-white);
    padding: 0 18px;
  }
  .dg-landing .signup-row input:focus-visible {
    outline: 3px solid var(--dg-violet);
    outline-offset: 2px;
  }
  .dg-landing #signup-button {
    min-height: 50px;
  }
  .dg-landing .choices {
    grid-template-columns: minmax(0, 1fr);
  }
  .dg-landing .dg-moon {
    top: 7%;
    right: 8%;
  }
  .dayglide .measurement {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
}
/* On phones and short screens Glider follows the buttons, rising from the hills on the left. */
@media (max-width: 640px), (max-width: 860px) and (max-height: 560px) {
  .dg-landing .dg-hero-glider {
    position: relative;
    display: block;
    top: auto;
    right: auto;
    bottom: auto;
    width: clamp(96px, 26vw, 148px);
    margin: clamp(16px, 5vw, 32px) 0 0 calc(var(--dg-gutter) + clamp(4px, 5vw, 40px));
  }
}
@media (max-width: 380px) {
  .dayglide .dg-nav {
    gap: 10px;
  }
  .dayglide .dg-nav > .dg-button {
    padding-inline: 14px;
  }
  .dayglide .dg-wordmark {
    width: 104px;
  }
  /* The smallest phones read "Start"; assistive tech still hears "Start planning". */
  .dg-landing .dg-header .dg-cta-tail {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .dayglide *,
  .dayglide *::before,
  .dayglide *::after {
    animation: none !important;
    transition: none !important;
  }
  .dayglide .dg-will-reveal {
    opacity: 1;
    transform: none;
  }
}
