/* Didcal marketing site. Dark only, matching the app's design system. */

:root {
  color-scheme: dark;

  --bg: #07090d;
  --bg-2: #0b0e14;
  --panel: #0e1117;
  --card: #161b25;
  --card-2: #121722;
  --line: #1f2633;
  --line-2: #2a3344;
  --text: #edf0f6;
  --text-2: #a9b1c2;
  --text-3: #8790a3;
  --accent: #5cb8ff;
  --accent-ink: #04121f;
  --amber: #ffb54d;
  --now: #ff8a5c;

  --c-blue: #6ea8fe;
  --c-orange: #f2a65a;
  --c-purple: #c792ea;
  --c-green: #57c7a5;
  --c-pink: #e86a92;
  --c-yellow: #e8c547;
  --habit: #a78bfa;

  --sans:
    -apple-system, BlinkMacSystemFont, 'SF Pro Text', Inter, system-ui, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Geist Mono', Menlo, Consolas, monospace;

  --wrap: 1180px;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img,
svg {
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

code {
  font: 0.9em var(--mono);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--text);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap.narrow {
  max-width: 760px;
}

.mono {
  font-family: var(--mono);
}

.eyebrow {
  font: 500 11px/1.4 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--card);
  color: var(--text);
  font: 500 15px/1 var(--sans);
  white-space: nowrap;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}

.btn:hover {
  text-decoration: none;
  background: #1c2230;
  border-color: #3a4558;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

.btn-primary:hover {
  background: #7ac6ff;
  border-color: #7ac6ff;
}

.btn-sm {
  height: 34px;
  padding: 0 14px;
  font-size: 14px;
  border-radius: 9px;
}

.btn-lg {
  height: 48px;
  padding: 0 22px;
  font-size: 16px;
  border-radius: 12px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(7 9 13 / 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgb(31 38 51 / 0.7);
}

.header-in {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
}

.mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  box-shadow: 0 0 0 1px var(--line-2);
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-right: auto;
}

.site-nav a {
  color: var(--text-2);
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 8px;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--card-2);
  text-decoration: none;
}

.site-nav a[aria-current='page'] {
  color: var(--text);
  background: var(--card);
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--card-2);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-btn i {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s;
}

.menu-btn[aria-expanded='true'] i:first-of-type {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-btn[aria-expanded='true'] i:last-of-type {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  padding: 88px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -200px 0 auto;
  height: 900px;
  background:
    radial-gradient(600px 340px at 50% 30%, rgb(92 184 255 / 0.13), transparent 70%),
    radial-gradient(500px 300px at 78% 70%, rgb(255 181 77 / 0.05), transparent 70%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.lede {
  margin: 22px auto 0;
  max-width: 640px;
  font-size: clamp(17px, 2vw, 19px);
  color: var(--text-2);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.cta-note {
  margin-top: 16px;
  font: 12px/1.5 var(--mono);
  color: var(--text-3);
}

.hero-visual {
  position: relative;
  margin-top: 72px;
  padding-right: 170px;
}

/* Mac window */

.mac,
.window {
  position: relative;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.6),
    0 40px 100px -20px rgb(0 0 0 / 0.8),
    0 0 120px -40px rgb(92 184 255 / 0.18);
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
}

.mac-bar {
  position: relative;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #12151c;
  border-bottom: 1px solid var(--line);
}

.lights {
  position: absolute;
  left: 13px;
  display: flex;
  gap: 8px;
}

.lights i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
}

.lights i:nth-child(2) {
  background: #febc2e;
}

.lights i:nth-child(3) {
  background: #28c840;
}

.mac-title {
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
}

.mac-body {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  min-height: 560px;
}

.mac-side {
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  padding: 12px 10px;
}

.side-nav {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.side-nav li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 13px;
}

.side-nav li.on {
  background: var(--card);
  color: var(--text);
  font-weight: 600;
}

.badge {
  margin-left: auto;
  font: 10px var(--mono);
  color: var(--accent);
  background: rgb(92 184 255 / 0.12);
  border-radius: 6px;
  padding: 2px 6px;
}

.later {
  margin-left: auto;
  font-size: 10px;
  color: var(--text-3);
  border: 1px solid var(--line-2);
  border-radius: 5px;
  padding: 1px 6px;
}

.ico {
  width: 14px;
  height: 14px;
  flex: none;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  opacity: 0.9;
}

.ico-cal {
  border-top-width: 3px;
}

.ico-agents {
  border-radius: 50%;
  border-style: dotted;
}

.ico-routine {
  border-radius: 50%;
  border-right-color: transparent;
}

.ico-proj {
  border-radius: 2px;
  border-left-width: 4px;
}

.side-label {
  font: 500 10px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 10px 8px;
}

.side-group {
  color: var(--text-3);
  font-size: 11px;
  margin: 10px 10px 4px;
}

.cal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cal-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 10px;
  color: var(--text);
  font-size: 12.5px;
}

.cal-list li::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--c);
}

.mac-main {
  padding: 16px 18px 18px;
  min-width: 0;
}

.day-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.day-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.day-sub {
  margin-top: 4px;
  font: 11px var(--mono);
  color: var(--text-3);
}

.seg {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: var(--bg-2);
  flex: none;
}

.seg > span {
  padding: 5px 13px;
  border-radius: 6px;
  color: var(--text-3);
  font-size: 12px;
}

.seg > span.on {
  background: var(--card);
  color: var(--text);
  font-weight: 600;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 16px;
}

.stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 5px 10px;
  color: var(--text-2);
  white-space: nowrap;
}

.stat b {
  font: 500 12px var(--mono);
  color: var(--text);
}

.stat.habit b {
  color: var(--text-2);
  font-weight: 400;
}

.hatch-ico {
  width: 14px;
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--text-2) 0 1.5px, transparent 1.5px 4px);
  border-radius: 2px;
}

.dots {
  display: inline-flex;
  gap: 3px;
}

.dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid var(--habit);
}

.dots i.on {
  background: var(--habit);
}

/* Lanes are positioned by time: --s and --e are decimal hours from --start. */

.lanes {
  --pph: 64px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 12px;
}

.lane-head {
  grid-row: 1;
  color: var(--text-3);
  font-size: 11px;
  padding-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lane-head:first-child {
  grid-column: 2;
}

.lane-head:nth-child(2) {
  grid-column: 3;
}

.lane-head b {
  color: var(--text);
  font-weight: 600;
}

.lanes-body {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  position: relative;
  height: calc(var(--hours) * var(--pph) + 10px);
  background-image: repeating-linear-gradient(
    to bottom,
    var(--line) 0 1px,
    transparent 1px var(--pph)
  );
  background-repeat: no-repeat;
  background-position: 56px 6px;
  background-size: calc(100% - 56px) calc(var(--hours) * var(--pph) + 1px);
}

.hours {
  position: relative;
}

.hours span {
  position: absolute;
  right: 0;
  top: calc((var(--h) - var(--start)) * var(--pph));
  font: 10px var(--mono);
  color: var(--text-3);
  white-space: nowrap;
}

.lane {
  position: relative;
  margin-top: 6px;
}

.blk {
  --c: var(--accent);
  position: absolute;
  left: 0;
  right: 0;
  top: calc((var(--s) - var(--start)) * var(--pph));
  height: calc((var(--e) - var(--s)) * var(--pph) - 3px);
  border-radius: 7px;
  padding: 5px 9px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.blk b {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blk small {
  color: var(--text-2);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sq {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--c);
  flex: none;
  display: inline-block;
}

.hatch,
.blk.mix .w,
.legend-blk.w,
.ml .w {
  background:
    repeating-linear-gradient(
      -45deg,
      color-mix(in srgb, var(--c) 46%, transparent) 0 1.5px,
      transparent 1.5px 7px
    ),
    color-mix(in srgb, var(--c) 9%, var(--panel));
}

.blk.mix {
  padding: 0;
  gap: 0;
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
}

.blk.mix > i {
  display: block;
  min-height: 0;
}

.blk.mix .k,
.legend-blk.k,
.ml .k {
  background: color-mix(in srgb, var(--c) 38%, var(--panel));
}

.blk-text {
  position: absolute;
  inset: 0;
  padding: 6px 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: linear-gradient(to bottom, rgb(14 17 23 / 0.85), rgb(14 17 23 / 0) 40px);
}

.blk > b,
.blk > small,
.blk-text > * {
  flex: none;
}

.blk-text small {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text);
  opacity: 0.8;
}

.blk.mix.live::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--c);
}

.blk.ghost {
  border: 1px dashed color-mix(in srgb, var(--c) 60%, transparent);
  background: transparent;
  justify-content: center;
  align-items: center;
  border-top: 0;
  border-radius: 0 0 7px 7px;
}

.blk.ghost small {
  color: var(--text-2);
}

.blk.ev {
  background: color-mix(in srgb, var(--c) 16%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--c) 50%, transparent);
}

.blk.ev b::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--c);
  flex: none;
}

.blk.routine {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border: 1px dashed rgb(242 166 90 / 0.75);
  background: rgb(242 166 90 / 0.08);
  color: var(--c-orange);
}

.blk.routine .dots i {
  border-color: var(--c-orange);
  border-radius: 2px;
}

.blk.routine .dots i.on {
  background: var(--c-orange);
}

.ring {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid currentColor;
  flex: none;
  display: inline-block;
}

.blk-end {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 10.5px var(--mono);
  flex: none;
}

.blk.focus {
  border: 1px solid color-mix(in srgb, var(--c) 70%, transparent);
  background: color-mix(in srgb, var(--c) 10%, var(--panel));
  color: var(--c);
}

.blk.focus .blk-end {
  position: absolute;
  top: 6px;
  right: 9px;
}

.blk.focus b {
  padding-right: 54px;
}

.clock {
  width: 11px;
  height: 11px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}

.now {
  position: absolute;
  left: 50px;
  right: 0;
  top: calc((var(--t) - var(--start)) * var(--pph) + 6px);
  height: 0;
  border-top: 1.5px solid var(--now);
  pointer-events: none;
}

.now::before {
  content: '';
  position: absolute;
  left: -4px;
  top: -4.5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--now);
}

.now span {
  position: absolute;
  left: -58px;
  top: -9px;
  z-index: 2;
  width: 50px;
  padding: 2px 4px 9px 0;
  text-align: right;
  font: 600 10px var(--mono);
  color: var(--now);
  background: var(--panel);
}

/* iPhone frame */

.phone {
  width: 290px;
  aspect-ratio: 9 / 19.5;
  border-radius: 48px;
  padding: 11px;
  background: linear-gradient(145deg, #3a3f4a, #15181e 40%, #2a2e36);
  box-shadow:
    0 0 0 1px #4a505c,
    0 40px 90px -10px rgb(0 0 0 / 0.85),
    inset 0 0 0 2px #0a0b0e;
  flex: none;
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 38px;
  background: var(--bg);
  overflow: hidden;
  padding: 14px 14px 0;
  font-size: 11px;
  line-height: 1.35;
}

.island {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 84px;
  height: 24px;
  margin-left: -42px;
  border-radius: 14px;
  background: #000;
  z-index: 2;
}

.hero-phone {
  position: absolute;
  right: 0;
  bottom: -120px;
}

.p-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 20px;
  padding: 0 14px;
  font-weight: 600;
  font-size: 12px;
}

.p-bat {
  width: 20px;
  height: 9px;
  border: 1px solid var(--text-2);
  border-radius: 3px;
  background: linear-gradient(to right, var(--text) 70%, transparent 70%) 1px 1px / calc(100% - 2px)
    calc(100% - 2px) no-repeat;
}

.p-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.p-head > div {
  margin-right: auto;
}

.p-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.p-sub {
  white-space: nowrap;
  font: 9.5px var(--mono);
  color: var(--text-3);
}

.p-pill {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line-2);
  background: var(--card-2);
  border-radius: 999px;
  padding: 5px 9px;
  font-weight: 600;
  color: var(--accent);
  font-size: 10.5px;
}

.p-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.p-plus {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 500;
}

.p-habits {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 5px;
  margin-top: 10px;
}

.p-habits > span {
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 4px;
  border: 1px solid var(--line-2);
  background: var(--card-2);
  border-radius: 8px;
  padding: 5px 7px;
  font-size: 10px;
}

.p-habits b {
  font-weight: 500;
}

.p-habits em {
  font: normal 9px var(--mono);
  color: var(--text-2);
}

.p-habits .dots {
  grid-column: 1 / -1;
  gap: 2px;
}

.p-habits .dots i {
  width: 5px;
  height: 5px;
}

.p-now {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font: 500 9.5px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--now);
}

.p-card {
  margin-top: 7px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--card-2);
  padding: 9px 10px;
}

.p-eyebrow,
.p-label {
  font: 500 9px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.p-label {
  color: var(--text-3);
  margin: 10px 0 5px;
}

.p-run {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  font-weight: 600;
  font-size: 12.5px;
  --c: var(--c-blue);
}

.p-ask {
  color: var(--text-3);
  font-size: 10px;
  margin-top: 3px;
}

.p-bar {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: var(--line-2);
  margin-top: 9px;
  overflow: hidden;
}

.p-bar i {
  display: block;
  width: 32%;
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
}

.p-meta {
  display: flex;
  white-space: nowrap;
  justify-content: space-between;
  gap: 6px;
  margin-top: 5px;
  font: 9px var(--mono);
  color: var(--text-3);
}

.p-meta b {
  color: var(--text);
  font-weight: 500;
}

.p-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 10.5px;
}

.toggle {
  width: 32px;
  height: 19px;
  border-radius: 999px;
  background: var(--line-2);
  position: relative;
  flex: none;
  display: inline-block;
}

.toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
}

.toggle.on {
  background: var(--accent);
}

.toggle.on::after {
  left: 15px;
}

.p-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--card-2);
}

.p-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  font-size: 11px;
}

.p-list li + li {
  border-top: 1px solid var(--line);
}

.p-list li > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.p-list small {
  display: block;
  color: var(--text-3);
  font-size: 9.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-list li.run small {
  color: var(--accent);
}

.p-list em {
  font: normal 9.5px var(--mono);
  color: var(--text-2);
}

.chk {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--habit);
  flex: none;
  position: relative;
}

.done .chk {
  background: var(--habit);
}

.done .chk::after {
  content: '';
  position: absolute;
  left: 4.5px;
  top: 2px;
  width: 4px;
  height: 7px;
  border: solid var(--bg);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.spin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  border-top-color: var(--accent);
  flex: none;
  animation: spin 1.4s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.p-tabs {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-around;
  padding: 8px 6px 20px;
  background: rgb(11 14 20 / 0.95);
  border-top: 1px solid var(--line);
}

.p-tabs span {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-3);
  font-size: 9px;
}

.p-tabs span.on {
  color: var(--accent);
}

.p-tabs span.dim {
  opacity: 0.6;
}

.p-tabs .ico {
  width: 15px;
  height: 15px;
}

.p-tabs b {
  position: absolute;
  top: -5px;
  right: 2px;
  min-width: 13px;
  height: 13px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 8.5px;
  display: grid;
  place-items: center;
}

/* Sections */

.section {
  padding: 120px 0 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section h2 {
  margin-top: 14px;
  font-size: clamp(32px, 4.4vw, 48px);
}

.section-lede {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 17px;
}

/* How it works */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: linear-gradient(to bottom, var(--panel), var(--bg-2));
  border-radius: var(--radius);
  padding: 24px;
}

.step-n {
  font: 500 12px var(--mono);
  color: var(--accent);
}

.step h3 {
  margin-top: 12px;
  font-size: 20px;
}

.step p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15px;
}

.step-visual {
  margin-top: auto;
  padding-top: 22px;
}

.files {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font: 12px var(--mono);
}

.files .path {
  color: var(--text-3);
}

.files .file {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--card-2);
}

.files .file i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--c);
}

.files em {
  margin-left: auto;
  font-style: normal;
  color: var(--text-3);
}

.legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legend-blk {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 52px;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
  font-size: 13px;
}

.legend-blk.w {
  height: 76px;
}

.legend-blk b {
  font-weight: 600;
}

.legend-blk em {
  font: normal 12px var(--mono);
}

.mini-lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  height: 136px;
  box-sizing: content-box;
}

.ml {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.ml i {
  display: block;
  height: var(--h);
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
}

.ml .ev {
  background: color-mix(in srgb, var(--c) 16%, var(--panel));
}

/* Agents */

.agents-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.panel {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-2);
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.panel-head h3 {
  font-size: 17px;
}

.tabs {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: var(--panel);
  font-size: 12px;
}

.tabs span {
  padding: 4px 11px;
  border-radius: 6px;
  color: var(--text-3);
}

.tabs span.on {
  background: var(--card);
  color: var(--text);
  font-weight: 600;
}

.panel-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12.5px;
  background: var(--panel);
  flex: 1;
}

.panel-body .row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.panel-body .row b {
  font-weight: 600;
  font-size: 13px;
}

.dim {
  color: var(--text-3);
}

.pill {
  margin-left: auto;
  font: 500 10.5px var(--mono);
  border-radius: 6px;
  padding: 2px 7px;
}

.pill.amber {
  color: var(--amber);
  background: rgb(255 181 77 / 0.14);
}

.pill.solid {
  margin-left: 0;
  background: var(--amber);
  color: #1b1204;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tiles.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 9px 11px;
  background: var(--card-2);
  color: var(--text-3);
  font-size: 11px;
  min-width: 0;
}

.tile b {
  font: 500 18px var(--mono);
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.waiting-you {
  border: 1px solid rgb(255 181 77 / 0.5);
  background: linear-gradient(to bottom, rgb(255 181 77 / 0.08), rgb(255 181 77 / 0.03));
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.work,
.chart,
.away,
.ran {
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--card-2);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.kind {
  color: var(--text-3);
  font-size: 11px;
}

.due {
  margin-left: auto;
  font: 11px var(--mono);
  color: var(--accent);
}

.progress {
  display: flex;
  align-items: center;
  gap: 8px;
}

.boxes {
  display: inline-flex;
  gap: 4px;
}

.boxes i {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  border: 1px solid var(--line-2);
}

.boxes i.on {
  background: var(--c-blue);
  border-color: var(--c-blue);
}

.boxes i.q {
  background: #c3cad8;
  border-color: #c3cad8;
}

.agent {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 10px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.agent span:nth-child(2) {
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.agent em {
  font: normal 11px var(--mono);
  color: var(--text-3);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 84px;
  border-bottom: 1px solid var(--line-2);
}

.bars .col {
  flex: 1;
  display: flex;
  flex-direction: column-reverse;
}

.bars i {
  display: block;
  height: calc(var(--n) * 6.5px);
}

.k0 {
  --k: var(--c-blue);
}

.k1 {
  --k: var(--c-green);
}

.k2 {
  --k: var(--c-orange);
}

.k3 {
  --k: var(--c-yellow);
}

.bars i {
  background: var(--k);
}

.chart-key {
  display: flex;
  gap: 14px;
  color: var(--text-2);
  font-size: 11px;
}

.chart-key span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.chart-key span::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--k);
}

.away-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.ac {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 9px 10px;
  background: var(--panel);
  min-width: 0;
}

.ac.need {
  border-color: rgb(255 181 77 / 0.45);
  background: rgb(255 181 77 / 0.05);
}

.ac b {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}

.ac small {
  font-size: 11px;
  color: var(--text-2);
}

.ac.need small {
  color: var(--amber);
}

.quote {
  font-size: 14px;
  line-height: 1.4;
}

.gantt {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px 12px;
  background: var(--panel);
}

.g-axis {
  display: flex;
  justify-content: space-between;
  font: 10px var(--mono);
  color: var(--text-3);
}

.g-axis i {
  font-style: normal;
}

.g-bars {
  position: relative;
  display: block;
  height: 82px;
  margin-top: 6px;
}

.g-bars::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-left: 1px solid var(--text-2);
}

.g-bars i {
  position: absolute;
  left: calc(var(--a) / 4 * 100%);
  width: calc((var(--b) - var(--a)) / 4 * 100% - 2px);
  top: calc(var(--r) * 13.5px + 2px);
  height: 8px;
  border-radius: 3px;
  background: var(--c-blue);
}

.panel-points {
  list-style: none;
  margin: 0;
  padding: 18px 20px 22px;
  display: grid;
  gap: 8px;
  color: var(--text-2);
  font-size: 14.5px;
}

.panel-points li,
.checks li {
  position: relative;
  padding-left: 22px;
}

.panel-points li::before,
.checks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 9px;
  height: 5px;
  border: solid var(--accent);
  border-width: 0 0 1.5px 1.5px;
  transform: rotate(-45deg);
}

/* Split sections */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: center;
}

.split.reverse .split-copy {
  order: 2;
}

.split-copy h2 {
  margin-top: 14px;
}

.checks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  color: var(--text-2);
}

.modes {
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}

.modes div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.modes dt {
  font-weight: 600;
  font-size: 14px;
}

.modes dd {
  margin: 0;
  color: var(--text-2);
  font-size: 14.5px;
}

.settings-body {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 300px;
}

.accounts {
  list-style: none;
  margin: 0;
  padding: 12px 10px;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  display: grid;
  align-content: start;
  gap: 4px;
}

.accounts li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 9px;
  color: var(--text-2);
}

.accounts li.on {
  background: var(--card);
}

.accounts b {
  color: var(--text);
  font-weight: 600;
}

.accounts small {
  display: block;
  color: var(--text-3);
  font-size: 11px;
}

.av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  font-weight: 600;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 18%, var(--panel));
}

.cal-rows {
  padding: 16px;
}

.cal-rows-head {
  display: flex;
  justify-content: space-between;
  font: 500 10px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 0 4px 8px;
}

.cal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 4px;
  border-top: 1px solid var(--line);
}

.cname {
  display: grid;
  grid-template-columns: 12px auto;
  column-gap: 9px;
  align-items: center;
  min-width: 0;
}

.cname::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--c);
}

.cname b {
  font-weight: 600;
  font-size: 13px;
}

.cname small {
  grid-column: 2;
  color: var(--text-3);
  font-size: 11px;
}

.seg3 {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  flex: none;
}

.seg3 span {
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--text-3);
  font-size: 11.5px;
  white-space: nowrap;
}

.seg3 span.on {
  background: var(--card);
  color: var(--text);
}

/* Routines */

.routine-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
  justify-self: center;
  width: 100%;
}

.routine-card {
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: var(--panel);
  padding: 20px;
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.8);
  font-size: 14px;
}

.rc-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.rc-head b {
  display: block;
  font-size: 17px;
  font-weight: 650;
}

.rc-head small {
  color: var(--text-3);
  font-size: 12.5px;
}

.ring.big {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 2.5px solid #3a3020;
  border-top-color: var(--c-orange);
}

.seg.wide {
  display: flex;
  margin: 16px 0 6px;
}

.seg.wide span {
  flex: 1;
  text-align: center;
  padding: 7px;
  font-size: 13px;
}

.rc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rc-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 2px;
  border-top: 1px solid var(--line);
}

.rc-steps li:first-child {
  border-top: 0;
}

.rc-steps .chk {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border-color: var(--line-2);
}

.rc-steps li > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.rc-steps small {
  display: block;
  font-size: 12px;
  color: var(--text-3);
}

.rc-steps em {
  font: normal 12px var(--mono);
  color: var(--text-2);
}

.tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--habit);
  background: rgb(167 139 250 / 0.14);
}

.habit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.habit-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: var(--card-2);
  padding: 7px 12px;
  font-size: 13px;
}

.habit-chip b {
  font: 400 12px var(--mono);
  color: var(--text-2);
}

/* Lock screen */

.phone.lock {
  justify-self: center;
}

.lock .phone-screen {
  background: radial-gradient(120% 60% at 50% 0%, #141a28, transparent 70%), #05070a;
  padding: 0 10px;
}

.lock-date {
  margin-top: 54px;
  text-align: center;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
}

.lock-time {
  text-align: center;
  font-size: 78px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #e9edf7;
}

.notifs {
  position: absolute;
  inset: auto 10px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.notif {
  display: flex;
  gap: 9px;
  padding: 10px;
  border-radius: 16px;
  background: rgb(36 41 52 / 0.92);
  font-size: 11px;
  line-height: 1.3;
}

.notif-ico {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 7px;
  background: url('/favicon.svg') center / cover;
}

.notif-body {
  flex: 1;
  min-width: 0;
}

.notif-body b {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 11.5px;
}

.notif-body b em {
  font: normal 9.5px var(--sans);
  color: var(--text-3);
}

.notif-body small {
  display: block;
  color: var(--text-3);
  font-size: 10px;
}

.amber {
  color: var(--amber);
}

/* Privacy */

.where {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.where-card,
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 22px;
}

.where-k {
  font: 500 11px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

.where-card h3 {
  margin-top: 10px;
  font-size: 19px;
}

.where-card p:last-child {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15px;
}

.where.compact {
  margin-top: 32px;
}

.where.compact .where-card {
  padding: 16px;
}

.where.compact h3 {
  font-size: 16px;
}

.where.compact .where-card p:last-child {
  font-size: 14px;
}

.center-link {
  text-align: center;
  margin-top: 28px;
}

.inline-link {
  font-weight: 500;
}

.inline-link::after {
  content: ' →';
}

/* Early access CTA */

#early-access {
  padding-bottom: 120px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  padding: 44px 48px;
  background:
    radial-gradient(500px 220px at 0% 0%, rgb(92 184 255 / 0.12), transparent 70%), var(--bg-2);
}

.cta-box h2 {
  margin-top: 12px;
}

.cta-box p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--text-2);
  max-width: 560px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex: none;
}

/* Inner pages */

.page {
  padding-top: 72px;
  padding-bottom: 120px;
}

.page-title {
  margin-top: 14px;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.03em;
}

.page-lede {
  margin-top: 16px;
  font-size: 18px;
  color: var(--text-2);
}

.legal {
  margin-top: 40px;
  display: grid;
  gap: 32px;
}

.legal section {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal h2 {
  font-size: 20px;
}

.legal p {
  margin-top: 10px;
  color: var(--text-2);
}

.ea-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ea-grid h2 {
  margin-top: 10px;
  font-size: 22px;
}

.ea-grid p:not(.where-k) {
  margin: 8px 0 18px;
  color: var(--text-2);
  font-size: 15px;
}

.dl-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.mark-xl {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  margin-bottom: 28px;
  box-shadow:
    0 0 0 1px var(--line-2),
    0 20px 60px -10px rgb(92 184 255 / 0.25);
}

.dl-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.dl-cards {
  display: grid;
  gap: 14px;
}

.card p:not(.where-k) {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 15px;
}

.num {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--text-2);
  font-size: 15px;
  display: grid;
  gap: 6px;
}

.num li::marker {
  font-family: var(--mono);
  color: var(--accent);
}

.notfound {
  padding-top: 110px;
  padding-bottom: 160px;
  text-align: center;
}

.nf-blk {
  margin: 28px auto 8px;
  max-width: 320px;
  height: 92px;
  border: 1px dashed var(--line-2);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  --c: var(--text-3);
  background:
    repeating-linear-gradient(-45deg, rgb(135 144 163 / 0.18) 0 1.5px, transparent 1.5px 8px),
    var(--panel);
}

.nf-blk b {
  font-weight: 600;
}

.nf-blk small {
  font: 11px var(--mono);
  color: var(--text-3);
}

/* Blog */

.post-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
}

.post-list li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.date,
.kicker,
.meta,
.byline {
  font: 12px var(--mono);
  color: var(--text-3);
}

.kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}

.entry h2 {
  margin: 6px 0;
  font-size: 24px;
}

.entry h2 a {
  color: var(--text);
}

.dek {
  color: var(--text-2);
  margin-bottom: 8px;
}

.feed-note {
  margin-top: 32px;
  color: var(--text-3);
  font-size: 14px;
}

.back {
  display: inline-block;
  font-size: 14px;
  margin-bottom: 20px;
}

.back::before {
  content: '← ';
}

.post .eyebrow {
  display: block;
}

.byline {
  margin-top: 14px;
}

.note {
  margin-top: 28px;
  padding: 14px 16px;
  border: 1px solid rgb(255 181 77 / 0.4);
  border-radius: 12px;
  background: rgb(255 181 77 / 0.06);
  color: var(--text-2);
  font-size: 15px;
}

.prose {
  margin-top: 32px;
  color: #cdd3df;
  font-size: 17px;
  line-height: 1.7;
}

.prose p,
.prose ul {
  margin: 0 0 18px;
}

.prose h2 {
  margin: 44px 0 14px;
  font-size: 24px;
  color: var(--text);
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--text);
}

.diary-lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 8px 0 24px;
}

.diary-lane {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.diary-lane-head {
  font: 500 11px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.diary-slot {
  border-radius: 8px;
  padding: 10px 12px;
  font: 13px/1.4 var(--mono);
  border: 1px solid var(--line-2);
  background: var(--panel);
}

.diary-slot.actual {
  border-color: rgb(110 168 254 / 0.55);
  background: rgb(110 168 254 / 0.14);
}

.diary-slot.meeting {
  border-color: rgb(232 106 146 / 0.5);
  background: rgb(232 106 146 / 0.12);
}

.diary-slot.gap {
  border-style: dashed;
  color: var(--text-3);
  background:
    repeating-linear-gradient(-45deg, rgb(135 144 163 / 0.16) 0 1.5px, transparent 1.5px 7px),
    var(--panel);
}

.post-foot {
  display: flex;
  gap: 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 56px 0 28px;
}

.footer-in {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 32px;
}

.site-footer .col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.site-footer .eyebrow {
  color: var(--text-3);
}

.site-footer .col a:not(.brand) {
  color: var(--text-2);
  font-size: 14px;
}

.site-footer .col a:not(.brand):hover {
  color: var(--text);
}

.small {
  font-size: 13px;
  color: var(--text-3);
}

.footer-base {
  margin-top: 44px;
}

.footer-base span {
  display: block;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* Motion */

.blk.mix.live .w {
  background-size:
    20px 20px,
    auto;
  animation: drift 2.4s linear infinite;
}

@keyframes drift {
  to {
    background-position:
      0 20px,
      0 0;
  }
}

.p-bar i {
  animation: grow 6s ease-out infinite alternate;
}

@keyframes grow {
  from {
    width: 26%;
  }
  to {
    width: 34%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Responsive */

@media (max-width: 1100px) {
  .hero-visual {
    padding-right: 120px;
  }

  .mac-body {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .split {
    gap: 40px;
  }
}

@media (max-width: 960px) {
  .hero-visual {
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }

  .mac {
    width: 100%;
  }

  .hero-phone {
    position: static;
  }

  .mac-side {
    display: none;
  }

  .mac-body {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .steps,
  .where {
    grid-template-columns: minmax(0, 1fr);
  }

  .agents-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .split.reverse .split-copy {
    order: 0;
  }

  .step-visual {
    max-width: 420px;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .dl-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .footer-in {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .header-in {
    gap: 12px;
  }

  .header-cta {
    margin-left: auto;
  }

  .menu-btn {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 10px 16px 16px;
    background: rgb(11 14 20 / 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav a {
    padding: 12px;
    font-size: 16px;
  }

  .menu-open .site-nav {
    display: flex;
  }

  .hero {
    padding: 56px 0 72px;
  }

  .hero-visual {
    margin-top: 48px;
  }

  .section {
    padding-top: 88px;
  }

  .section-head {
    text-align: left;
    margin-bottom: 32px;
  }

  .lanes {
    --pph: 54px;
    grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 6px;
  }

  .lanes-body {
    background-position: 40px 6px;
    background-size: calc(100% - 40px) calc(var(--hours) * var(--pph) + 1px);
  }

  .now {
    left: 40px;
  }

  .now span {
    display: none;
  }

  .hours span {
    font-size: 9px;
  }

  .mac-main {
    padding: 12px 10px 12px;
  }

  .day-sub {
    font-size: 10px;
  }

  .stat-row {
    flex-wrap: nowrap;
    overflow: hidden;
    mask-image: linear-gradient(to right, #000 85%, transparent);
  }

  .lane-head span,
  .lane-head {
    font-size: 10.5px;
  }

  .blk {
    padding: 4px 6px;
  }

  .blk-text {
    padding: 4px 6px;
  }

  .blk b {
    font-size: 11px;
  }

  .blk small {
    font-size: 10px;
  }

  .blk.routine .dots,
  .blk.focus .blk-end {
    display: none;
  }

  .blk.focus b {
    padding-right: 0;
  }

  .tiles.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .away-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .settings-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .accounts {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow: hidden;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .accounts small {
    display: none;
  }

  .cal-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .modes div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .cta-box {
    padding: 28px 22px;
  }

  .ea-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .post-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .diary-lanes {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .header-cta {
    padding: 0 12px;
  }

  .cta-row .btn,
  .cta-actions .btn,
  .dl-cta .btn {
    width: 100%;
  }

  .cta-actions {
    width: 100%;
  }

  .seg {
    display: none;
  }

  .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tile b {
    font-size: 15px;
  }

  .agent {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .agent span:first-child {
    display: none;
  }

  .due {
    margin-left: 0;
    width: 100%;
  }

  .footer-in {
    grid-template-columns: minmax(0, 1fr);
  }

  .phone {
    width: 280px;
  }
}
