/* Redpen Scheduling guest pages. After Linear, Polar and Resend (D-1055): one dark ground lit from above,
   the booking shown as a small app window on a lit floor, white and grey type, colour only in the tiny status marks. */
@font-face {
  font-family: "Inter";
  src: url("/static/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #08090A; --win: #0D0E0F; --raise: rgba(255,255,255,.035); --on: rgba(255,255,255,.07);
  --line: rgba(255,255,255,.07); --line-2: rgba(255,255,255,.12); --edge: rgba(255,255,255,.18); --field: rgba(255,255,255,.30);
  --t1: #F7F8F8; --t2: #8A8F98; --t3: #62666D;
  --red: #E5484D; --green: #4CB782;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --pad-side: clamp(16px, 5vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; color: var(--t1); font: 400 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid rgba(255,255,255,.5); outline-offset: 2px; }

/* The light: a soft wash from above and a faint diagonal beam, after Resend. */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background:
    radial-gradient(56% 46% at 50% -6%, rgba(255,255,255,.075), transparent 72%),
    linear-gradient(104deg, transparent 57%, rgba(255,255,255,.026) 63%, transparent 71%);
}

.page { position: relative; max-width: 1120px; margin: 0 auto; padding: clamp(40px, 9vw, 104px) var(--pad-side) 40px; }

/* Who and what, in two tones, after Polar. */
.intro { animation: rise .8s var(--ease) backwards; }
.who { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; color: var(--t2); font-size: 15px; }
.intro > .avatar { margin-bottom: 28px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--t1);
  background: linear-gradient(160deg, #2C2E33, #131416); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255,255,255,.08);
}
h1 { margin: 0; font-size: clamp(30px, 5.2vw, 54px); font-weight: 520; line-height: 1.07; letter-spacing: -0.034em; }
h1 > span { display: block; }
h1 > span:first-child { text-wrap: balance; }
h1 .ph { display: inline-block; }
h1 .dim { color: var(--t2); text-wrap: balance; }
.swap { animation: rise .6s var(--ease) both; }

/* The window on its lit floor, after Linear. */
.stage { position: relative; margin-top: clamp(40px, 7vw, 72px); animation: rise .9s .08s var(--ease) backwards; }
.stage::before {
  content: ""; position: absolute; left: -4%; right: -4%; top: 30%; bottom: -36px; z-index: -1; border-radius: 4px;
  background: linear-gradient(to bottom, transparent, rgba(140,146,158,.20) 78%, rgba(140,146,158,.26));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.win {
  display: grid; grid-template-columns: 216px minmax(0, 1fr) 300px; grid-template-areas: "side main rail";
  grid-template-rows: minmax(0, 1fr); height: 560px;
  background: var(--win); border: 1px solid var(--line-2); border-top-color: var(--edge); border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.7), 0 30px 90px -20px rgba(0,0,0,.9); overflow: clip;
}
.win.solo { grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "main rail"; height: auto; }

/* Side: who, then the days. */
.side { grid-area: side; padding: 12px 8px 16px; border-right: 1px solid var(--line); overflow-y: auto; scrollbar-width: none; }
.me { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 8px; font-size: 13.5px; font-weight: 500; }
.me .avatar { width: 20px; height: 20px; margin: 0; font-size: 9px; }
.side-h { margin: 16px 8px 4px; font-size: 12px; font-weight: 500; color: var(--t3); }
.tab {
  display: flex; align-items: center; gap: 10px; width: 100%; height: 30px; padding: 0 8px; border: 0; border-radius: 4px;
  background: none; color: var(--t2); font-size: 13.5px; text-align: left; cursor: pointer; white-space: nowrap;
  transition: background .12s, color .12s;
}
.tab:hover { background: var(--raise); color: var(--t1); }
.tab[aria-selected="true"] { background: var(--on); color: var(--t1); }
.tab .n { margin-left: auto; color: var(--t3); font-size: 12px; font-variant-numeric: tabular-nums; }
.tab svg { width: 14px; height: 14px; flex: none; }

/* Main: the times. */
.main { grid-area: main; display: flex; flex-direction: column; min-width: 0; }
.bar { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 12px 0 20px; border-bottom: 1px solid var(--line); flex: none; }
.bar h2 { margin: 0; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar h2 .n { margin-left: 4px; color: var(--t3); font-weight: 400; font-variant-numeric: tabular-nums; }
.zone { margin-left: auto; display: flex; align-items: center; gap: 6px; color: var(--t3); font-size: 12.5px; white-space: nowrap; }
.zone svg { width: 13px; height: 13px; }
.step { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 4px; background: none; color: var(--t2); cursor: pointer; }
.step:hover:not(:disabled) { background: var(--on); color: var(--t1); }
.step:disabled { opacity: .3; cursor: default; }
.step svg { width: 14px; height: 14px; }
.list { list-style: none; margin: 0; padding: 0 8px 16px; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.12) transparent; }
/* Group headings stay pinned while their times scroll under them, after Linear's grouped lists. */
.group { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 8px; height: 34px; margin: 0 -8px; padding: 0 20px; background: #121314; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 500; color: var(--t2); }
.group:not(:first-child) { margin-top: 12px; }
.group + li { margin-top: 6px; }
.group .n { color: var(--t3); font-variant-numeric: tabular-nums; }
.row {
  display: grid; grid-template-columns: 14px 76px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; height: 40px;
  padding: 0 12px; border: 0; border-radius: 4px; background: none; color: var(--t1); font-size: 14.5px; text-align: left; cursor: pointer;
  transition: background .12s;
}
.row:hover { background: var(--raise); }
.row[aria-pressed="true"] { background: var(--on); }
.row:disabled { cursor: default; color: var(--t3); }
.row:disabled .t { text-decoration: line-through; }
.row .t { font-weight: 500; font-variant-numeric: tabular-nums; }
.row .d { color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .why { color: var(--t3); font-size: 12.5px; white-space: nowrap; }
.nothing { padding: 48px 20px; color: var(--t3); text-align: center; }

/* Questions first: one mark per question, filling in as it's answered. */
.ask { display: grid; gap: 4px; padding: 12px 8px 20px; }
.q { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px 14px; padding: 14px 12px; border-radius: 4px; transition: background .15s; }
.q:focus-within { background: var(--raise); }
.qm { display: block; padding-top: 3px; }
.qt { font-size: 15px; font-weight: 500; }
.q textarea {
  grid-column: 2; width: 100%; min-height: 60px; padding: 9px 11px; border: 1px solid var(--field); border-radius: 4px; background: rgba(0,0,0,.35);
  color: var(--t1); font-size: 14.5px; line-height: 1.5; resize: vertical; transition: border-color .15s, box-shadow .15s;
}
.q textarea::placeholder { color: var(--t3); }
.q textarea:focus { outline: none; border-color: rgba(255,255,255,.55); box-shadow: 0 0 0 3px rgba(255,255,255,.07); }
.ask .error, .ask .fine { padding: 0 12px 0 40px; }
.ask-foot { display: flex; justify-content: flex-end; padding: 8px 12px 0; }
.ask-foot .go { width: auto; padding: 0 18px; }
.qm-s { display: block; padding-top: 3px; }

/* The steps: options as list rows, the follow-up opening under the one picked. */
.ask .list { padding: 0 0 8px; overflow: visible; }
.ask .group { position: static; margin: 12px 0 4px; }
.ask .group:first-child { margin-top: 0; }
.ask .gap { height: 8px; }
.row.opt { grid-template-columns: 14px minmax(0, 1fr); height: auto; min-height: 40px; padding: 9px 12px; }
.row.opt .d { color: var(--t1); white-space: normal; text-wrap: balance; }
.row.opt[aria-pressed="false"] .d { color: var(--t2); }
.row.opt.quiet[aria-pressed="false"] .d { color: var(--t3); }
.ask #s1 .row.opt { min-height: 46px; font-size: 15px; }
.row.area { grid-template-columns: minmax(0, 1fr) 14px; min-height: 72px; height: auto; padding: 14px 16px; margin-bottom: 6px;
  background: var(--raise); box-shadow: inset 0 0 0 1px var(--line); }
.row.area:hover { background: var(--on); box-shadow: inset 0 0 0 1px var(--line-2); }
.row.area .d { display: grid; gap: 3px; white-space: normal; }
.row.area b { color: var(--t1); font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.row.area small { color: var(--t3); font-size: 13.5px; }
.row.area .mk { color: var(--t3); transition: transform .15s var(--ease), color .15s; }
.row.area:hover .mk { color: var(--t1); transform: translateX(2px); }
#problems { padding-top: 8px; }
#problems.enter > li { animation: rise .4s var(--ease) both; }
#problems.enter > li:nth-child(2) { animation-delay: .04s; }
#problems.enter > li:nth-child(3) { animation-delay: .08s; }
#problems.enter > li:nth-child(4) { animation-delay: .12s; }
.row.opt:hover .d { color: var(--t1); }
.follow { display: grid; gap: 10px; margin: 2px 0 10px; padding: 4px 12px 12px 40px; animation: rise .35s var(--ease) both; }
.follow .qt { margin: 0; }
.follow textarea, .follow input.line {
  width: 100%; padding: 9px 11px; border: 1px solid var(--field); border-radius: 4px; background: rgba(0,0,0,.35);
  color: var(--t1); font-size: 14.5px; line-height: 1.5; resize: vertical; transition: border-color .15s, box-shadow .15s;
}
.follow input.line { height: 38px; }
.follow textarea { min-height: 76px; }
.follow textarea::placeholder, .follow input.line::placeholder { color: var(--t3); }
.follow textarea:focus, .follow input.line:focus { outline: none; border-color: rgba(255,255,255,.55); box-shadow: 0 0 0 3px rgba(255,255,255,.07); }
#s3 .follow { padding: 16px 12px 4px; }
#s2 .follow { padding-top: 0; }
.promise { display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 0; color: var(--t2); font-size: 14px; }
.promise .mk { margin-top: 3px; color: var(--green); }
.bring { margin: 8px 0 0; color: var(--t1); font-size: 13.5px; line-height: 1.5; }
.starters { display: flex; flex-wrap: wrap; gap: 6px; }
.starter { height: 28px; padding: 0 10px; border: 0; border-radius: 4px; background: var(--raise); box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--t2); font-size: 13px; cursor: pointer; transition: background .12s, color .12s; }
.starter:hover { background: var(--on); color: var(--t1); }
.also { margin: 10px 0 0; padding: 0 16px; color: var(--t3); font-size: 13px; }
.also a { color: var(--t2); text-underline-offset: 3px; }
.also a:hover, .also a[aria-current="true"] { color: var(--t1); }
#sideFollow .list { padding-top: 8px; }
.echo { margin: 12px 12px 8px; color: var(--t3); font-size: 13.5px; }
.echo q { color: var(--t2); quotes: "\201C" "\201D"; }
.hint-more { margin: 0; color: var(--t2); font-size: 13.5px; animation: rise .35s var(--ease) both; }
.count { margin-left: auto; color: var(--t3); font-size: 12.5px; white-space: nowrap; }

/* Questions first, with nothing else on screen: the headline is the question, the answers sit under it. */
.askflow { max-width: 720px; margin-top: clamp(32px, 5vw, 56px); animation: rise .6s var(--ease) both; }
.askflow .ask { padding: 0; gap: 8px; }
.askflow .list { padding: 0; }
.askflow .row.opt, .askflow .row.area { min-height: 54px; margin-bottom: 8px; padding: 14px 16px; background: var(--raise); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 15.5px; transition: background .12s, box-shadow .12s; }
.askflow .row.area { min-height: 76px; }
.askflow .row.opt:hover, .askflow .row.area:hover { background: var(--on); box-shadow: inset 0 0 0 1px var(--line-2); }
.askflow .row.opt[aria-pressed="true"] { background: var(--on); box-shadow: inset 0 0 0 1px var(--edge); }
.askflow .follow { padding: 6px 0 14px 46px; }
.askflow #s3 .follow { padding: 0; }
.askflow .echo { margin: 0 0 14px; }
.askflow .error, .askflow .fine { padding: 0; }
.askflow .ask-foot { justify-content: space-between; align-items: center; padding: 12px 0 0; }
.askflow .ask-foot .go { margin-left: auto; }
.back { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px 0 4px; border: 0; border-radius: 4px; background: none;
  color: var(--t3); font-size: 14px; cursor: pointer; }
.back:hover { color: var(--t1); }
.back .mk { width: 13px; height: 13px; color: currentColor; }

/* The kind of call, in the bar, with a small menu to change it. */
.bar { position: relative; }
.kind {
  display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 8px; border: 0; border-radius: 4px; background: var(--raise);
  box-shadow: inset 0 0 0 1px var(--line-2); color: var(--t1); font-size: 12.5px; white-space: nowrap; cursor: pointer; min-width: 0;
}
.kind:hover, .kind[aria-expanded="true"] { background: var(--on); }
.kind span:first-child { overflow: hidden; text-overflow: ellipsis; }
.kind .n { color: var(--t3); }
.kind .mk { width: 11px; height: 11px; color: var(--t2); }
.menu {
  position: absolute; top: 42px; left: 12px; z-index: 20; min-width: 280px; padding: 4px; background: #161718;
  border: 1px solid var(--line-2); border-top-color: var(--edge); border-radius: 4px; box-shadow: 0 16px 48px rgba(0,0,0,.6);
  animation: fade .12s ease both;
}
.menu button { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 10px; width: 100%; height: 34px; padding: 0 10px;
  border: 0; border-radius: 4px; background: none; color: var(--t1); font-size: 13.5px; text-align: left; cursor: pointer; }
.menu button:hover { background: var(--on); }
.menu .n { color: var(--t3); font-size: 12.5px; }

/* The week in miniature. */
.week { display: flex; gap: 4px; margin-top: 12px; }
.wk { flex: 1; display: grid; justify-items: center; gap: 3px; padding: 8px 0 6px; border: 0; border-radius: 4px; background: none; cursor: pointer; transition: background .12s; }
.wk:hover { background: var(--raise); }
.wk i { width: 100%; max-width: 22px; height: 5px; border-radius: 1px; background: rgba(255,255,255,.05); animation: fade .5s calc(var(--i) * 50ms + .3s) ease both; }
.wk i.on { background: rgba(255,255,255,.42); }
.wk:hover i.on { background: rgba(255,255,255,.8); }
.wk span { margin-top: 8px; font-size: 11.5px; color: var(--t3); }
.wk b { font-size: 12px; font-weight: 500; color: var(--t2); }
#weekSpan { margin-top: 10px; }

/* Status marks: the only colour on the page. */
.mk { width: 14px; height: 14px; display: block; color: var(--t3); }
.mk.picked { color: var(--red); }
.mk.booked { color: var(--green); }
.mk.booked path { stroke-dasharray: 10; stroke-dashoffset: 10; animation: draw .45s .15s var(--ease) forwards; }

/* Rail: the chosen time and the two fields. */
.rail { grid-area: rail; display: flex; flex-direction: column; gap: 20px; padding: 20px; border-left: 1px solid var(--line); overflow-y: auto; }
.rail > * { animation: fade .25s ease both; }
.rail-h { margin: 0; font-size: 12px; font-weight: 500; color: var(--t3); }
.props { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px 12px; margin: 0; font-size: 13px; }
.props dt { color: var(--t3); }
.props dd { margin: 0; color: var(--t1); }
.hint { margin: auto 0 0; color: var(--t3); font-size: 13px; }
.when-day { margin: 0; color: var(--t2); font-size: 13px; }
.when-time { margin: 4px 0 0; font-size: 23px; font-weight: 520; letter-spacing: -0.025em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.when-note { margin: 6px 0 0; color: var(--t3); font-size: 12.5px; }
form { display: grid; gap: 12px; margin: 0; }
.field { display: grid; gap: 6px; font-size: 12.5px; color: var(--t2); }
.field input, .field textarea {
  width: 100%; height: 36px; padding: 0 10px; border: 1px solid var(--field); border-radius: 4px; background: rgba(0,0,0,.35);
  color: var(--t1); font-size: 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; min-height: 72px; padding: 8px 10px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(255,255,255,.55); box-shadow: 0 0 0 3px rgba(255,255,255,.07); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.go, .ghost {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 36px; padding: 0 14px;
  border: 0; border-radius: 4px; font-size: 14px; font-weight: 550; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, transform .1s;
}
.go { background: #E9EAEC; color: #08090A; box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0,0,0,.4); }
.go:hover { background: #fff; }
.ghost { background: var(--raise); color: var(--t1); box-shadow: inset 0 0 0 1px var(--line-2); }
.ghost:hover { background: var(--on); }
.go:active, .ghost:active { transform: translateY(1px); }
.go:disabled { opacity: .6; cursor: default; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.error { margin: 0; color: var(--red); font-size: 13px; }
.error:empty { display: none; }
.fine { margin: 0; color: var(--t3); font-size: 12.5px; }
.fine a { color: var(--t2); text-underline-offset: 3px; }
.fine a:hover { color: var(--t1); }

/* After booking: what happened, in order, after Linear's activity list. */
.log { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 13px; color: var(--t2); }
.log li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: start; animation: rise .5s var(--ease) both; }
.log li:nth-child(2) { animation-delay: .14s; }
.log li:nth-child(3) { animation-delay: .28s; }
.log li .mk { margin-top: 3px; }
.log b { color: var(--t1); font-weight: 500; }

.below { margin: 28px 0 0; color: var(--t2); font-size: 14px; }
.below a { text-decoration: none; color: var(--t1); }
.below a:hover { text-decoration: underline; text-underline-offset: 3px; }
footer { margin-top: clamp(56px, 9vw, 96px); display: flex; align-items: center; gap: 8px; color: var(--t3); font-size: 12.5px; }
footer a { color: inherit; text-decoration: none; }
footer a:hover { color: var(--t2); }
footer i { width: 6px; height: 6px; background: #C42B23; border-radius: 1px; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes sheet { from { transform: translateY(100%); } }
.unpick { display: none; }
@keyframes fade { from { opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } .mk.booked path { stroke-dashoffset: 0; } }

/* His browser width and tablets: days move into a strip above the times. */
@media (max-width: 1040px) {
  .win { grid-template-columns: minmax(0, 1fr) 280px; grid-template-areas: "side side" "main rail"; grid-template-rows: auto minmax(0, 1fr); }
  .win.solo { grid-template-columns: minmax(0, 1fr) 280px; }
  .side { display: flex; gap: 4px; padding: 8px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .side::-webkit-scrollbar { display: none; }
  .me, .side-h { display: none; }
  .tab { width: auto; flex: none; }
  .side { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
}
/* Phones: one column; the booking panel appears under the times once one is picked. */
@media (max-width: 680px) {
  .page { padding-top: 36px; }
  .win, .win.solo { grid-template-columns: minmax(0, 1fr); grid-template-areas: "side" "main" "rail"; grid-template-rows: auto; height: auto; min-height: 0; }
  .side { position: sticky; top: 0; z-index: 2; background: var(--win); }
  .list { overflow: visible; }
  .group { position: static; }
  .rail { border-left: 0; border-top: 1px solid var(--line); }
  .win:not(.picked) .rail.waits { display: none; }
  /* On a phone the chosen time opens as a sheet from the bottom, so the list stays where it was. */
  .win.picked .rail.waits {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; max-height: 88%; border: 0; border-top: 1px solid var(--edge);
    border-radius: 4px 4px 0 0; background: var(--win); box-shadow: 0 -24px 80px rgba(0,0,0,.8);
    padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); animation: sheet .4s var(--ease) both;
  }
  .unpick { display: flex; }
  .row { grid-template-columns: 14px 72px minmax(0, 1fr); }
  .row .why { display: none; }
  .ask .error, .ask .fine { padding-left: 12px; }
  .follow { padding-left: 12px; }
  .askflow .follow { padding-left: 0; }
  .menu { left: 8px; right: 8px; min-width: 0; }
  #viewTitle .n { display: none; }
  .bar .zone { display: none; }
  .kind { flex: 1; justify-content: flex-start; }
  .kind .mk { margin-left: auto; }
  .bar { padding-left: 16px; }
  .stage::before { left: 0; right: 0; }
}

/* Once booked, the other times step back. */
.win.done .row { pointer-events: none; }
.win.done .row[aria-pressed="false"] { opacity: .4; }
.win.done .tab { pointer-events: none; }

/* The home page, where "Free with Redpen" lands: the outcome first, the product as the picture, after Polar and Resend. */
.home .page { max-width: 1040px; }
.topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(56px, 10vw, 120px); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.brand i { width: 8px; height: 8px; background: #C42B23; border-radius: 1px; }
.back-to { height: 30px; padding: 0 10px; border: 0; border-radius: 4px; background: var(--raise); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--t2); font-size: 13px; cursor: pointer; }
.back-to:hover { color: var(--t1); background: var(--on); }
.hero h1 { font-size: clamp(36px, 6.4vw, 68px); }
.hero h1 .dim { margin-top: 18px; font-size: clamp(19px, 2.4vw, 24px); line-height: 1.4; letter-spacing: -0.012em; max-width: 34em; }
.cta { display: flex; align-items: center; gap: 18px; margin-top: 36px; flex-wrap: wrap; }
.cta .go { width: auto; padding: 0 18px; height: 40px; font-size: 14.5px; }
.soon { color: var(--t3); font-size: 13.5px; }
.shot { margin-top: clamp(56px, 8vw, 96px); }
.mock { position: relative; padding: 28px; background: var(--win); border: 1px solid var(--line-2); border-top-color: var(--edge); border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.7), 0 30px 90px -20px rgba(0,0,0,.9); }
.shot .mock { max-width: 640px; margin: 0 auto; padding: 36px 36px 28px; }
.mock .who { margin-bottom: 18px; }
.mock .avatar { width: 32px; height: 32px; font-size: 12px; }
.mock-q { margin: 0 0 22px; font-size: 30px; font-weight: 520; letter-spacing: -0.03em; line-height: 1.1; }
.mock .row.area { display: grid; grid-template-columns: minmax(0, 1fr) 14px; align-items: center; min-height: 64px; margin-bottom: 8px; padding: 12px 14px;
  background: var(--raise); box-shadow: inset 0 0 0 1px var(--line); border-radius: 4px; cursor: default; }
.mock .chev { width: 7px; height: 7px; border-right: 1.5px solid var(--t3); border-top: 1.5px solid var(--t3); transform: rotate(45deg); }
.point, .closer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: center; margin-top: clamp(80px, 12vw, 150px); }
.point h2, .closer h2 { margin: 0; font-size: clamp(24px, 3.2vw, 34px); font-weight: 520; line-height: 1.18; letter-spacing: -0.028em; }
.point h2 span, .closer h2 span { display: block; }
.point h2 .dim, .closer h2 .dim { margin-top: 10px; color: var(--t2); font-size: clamp(17px, 1.9vw, 19px); line-height: 1.5; letter-spacing: -0.008em; font-weight: 450; }
.closer { grid-template-columns: minmax(0, 1fr); }
.closer h2 { max-width: 30em; }
.closer .cta { margin-top: 24px; }
.note-h { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 15px; font-weight: 500; }
.note-h span:last-child { margin-left: auto; color: var(--t3); font-weight: 400; font-size: 13px; }
.mk-dot { width: 10px; height: 10px; border-radius: 2px; background: var(--green); }
.note dl { margin: 0; display: grid; gap: 4px; }
.note dt { margin-top: 10px; color: var(--t3); font-size: 12.5px; }
.note dd { margin: 0; color: var(--t1); font-size: 14px; }
.weekmock .week { gap: 6px; margin: 0 0 14px; }
.weekmock .wk { cursor: default; }
.weekmock .wk i.on { background: var(--t1); }
.mail { background: #F4F4F5; color: #0B0B0C; border-color: #E4E4E7; font-size: 14.5px; line-height: 1.6; }
.mail p { margin: 0 0 12px; }
.mail u { color: #1a5fd0; text-decoration-color: rgba(26,95,208,.4); text-underline-offset: 2px; }
.mail .fine { color: #6E6E74; margin: 0; }
.home footer { margin-top: clamp(80px, 12vw, 140px); }
@media (max-width: 800px) {
  .point, .closer { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .shot .mock { padding: 24px 18px 18px; }
  .mock-q { font-size: 24px; }
}

/* Edit mode, only inside the owner's Mac app: the page is its own editor. */
.editbar { display: none; }
.editing .editbar { display: block; margin: 0 0 24px; color: var(--t3); font-size: 13px; }
.editing [data-edit] { border-radius: 2px; outline: 1px dashed rgba(255,255,255,.22); outline-offset: 3px; cursor: text; transition: outline-color .15s, background .15s; }
.editing [data-edit]:hover { outline-color: rgba(255,255,255,.45); }
.editing [data-edit]:focus { outline: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.05); }
.editing .row.area, .editing .row.opt { cursor: pointer; }
.bring-edit .mk { color: var(--t3); }

/* The owner's window inside the Mac app (D-1085): the guest page's design, with bigger, calmer controls. */
.setup .page { max-width: 860px; padding-top: 44px; }
.setup .topline { margin-bottom: clamp(48px, 7vw, 88px); }
.ticks { display: flex; gap: 6px; }
.ticks i { width: 6px; height: 4px; border-radius: 1px; background: var(--line-2); transition: width .3s var(--ease), background .3s; }
.ticks i.done { background: var(--t2); }
.ticks i.on { width: 20px; background: var(--t1); }
.setup h1 { font-size: clamp(34px, 5vw, 50px); }
.setup h1 .dim { margin-top: 6px; }
.setup .askflow { max-width: none; }
#body.enter > * { animation: rise .45s var(--ease) both; }
#body.enter > *:nth-child(2) { animation-delay: .05s; }
#body.enter > *:nth-child(3) { animation-delay: .1s; }
.row.opt.still { cursor: default; grid-template-columns: 14px minmax(0, 1fr) auto; }
.row.opt.still .d { display: flex; gap: 10px; align-items: baseline; color: var(--t1); }
.row.opt.still .d b { font-weight: 500; }
.row.opt.still .d small { color: var(--t3); font-size: 13px; }
.row.opt.still .why { display: inline; font-size: 13px; color: var(--t2); }
.askflow .row.area[aria-pressed="true"] { background: var(--on); box-shadow: inset 0 0 0 1px var(--edge); }
.askflow .row.area .mk.picked { color: var(--red); }
.paste { margin-top: 26px; display: grid; gap: 8px; }
.paste-h { margin: 0; font-size: 15px; font-weight: 500; }
.paste-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 4px; }
.paste-row .ghost { width: auto; height: 40px; padding: 0 18px; }
input.line { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--field); border-radius: 4px; background: rgba(0,0,0,.35);
  color: var(--t1); font: inherit; font-size: 14.5px; transition: border-color .15s, box-shadow .15s; }
input.line::placeholder { color: var(--t3); }
input.line:focus { outline: none; border-color: rgba(255,255,255,.55); box-shadow: 0 0 0 3px rgba(255,255,255,.07); }
.setup .also { padding: 0; margin-top: 18px; }
.setting { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; color: var(--t3); font-size: 14px; }
select.pick { appearance: none; height: 38px; padding: 0 34px 0 12px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--t1); font: inherit; font-size: 14px; cursor: pointer;
  background-color: var(--raise);
  background-image: linear-gradient(45deg, transparent 50%, #8A8F98 50%), linear-gradient(135deg, #8A8F98 50%, transparent 50%);
  background-position: calc(100% - 17px) 17px, calc(100% - 12px) 17px; background-size: 5px 5px; background-repeat: no-repeat; }
select.pick:hover { border-color: rgba(255,255,255,.22); }
.days { display: flex; gap: 8px; flex-wrap: wrap; }
.day { width: 64px; height: 52px; border: 0; border-radius: 4px; background: var(--raise); box-shadow: inset 0 0 0 1px var(--line); color: var(--t3);
  font-size: 14px; font-weight: 500; cursor: pointer; transition: background .12s, color .12s, box-shadow .12s; }
.day:hover { color: var(--t1); box-shadow: inset 0 0 0 1px var(--line-2); }
.day[aria-pressed="true"] { background: var(--on); color: var(--t1); box-shadow: inset 0 0 0 1px var(--edge); }
.tiles { display: flex; gap: 8px; }
.tile { width: 84px; height: 76px; border: 0; border-radius: 4px; background: var(--raise); box-shadow: inset 0 0 0 1px var(--line); color: var(--t2);
  font-size: 28px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; cursor: pointer; transition: background .12s, color .12s, box-shadow .12s; }
.tile:hover { color: var(--t1); box-shadow: inset 0 0 0 1px var(--line-2); }
.tile[aria-pressed="true"] { background: var(--t1); color: #08090A; box-shadow: none; }
.sub-h { margin: 30px 0 10px; color: var(--t3); font-size: 13px; }
.fine.big { font-size: 14.5px; color: var(--t2); line-height: 1.55; }
.setup .follow { padding: 0; }
.setup-foot { max-width: none; justify-content: space-between; display: flex; align-items: center; margin-top: 40px; }
.setup-foot .go { width: auto; padding: 0 20px; height: 40px; margin-left: auto; }
.link-btn { border: 0; background: none; padding: 0; color: var(--t2); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--t1); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.actions .go, .actions .ghost { width: auto; height: 40px; padding: 0 18px; }
.log.facts { margin-top: 36px; gap: 14px; font-size: 15px; }
.log.facts li { grid-template-columns: 14px 1fr; gap: 12px; }
.log.facts .mk { margin-top: 4px; }
.mailtip { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.mailtip .sub-h { margin-top: 0; }

/* Edit mode's way back to the owner's home, inside the app. */
.editbar button { margin-left: 10px; }

/* Where you meet: the apps people use, as tiles with their names. */
.tiles.where { flex-wrap: wrap; }
.tile.svc { width: auto; min-width: 128px; height: 56px; padding: 0 18px; font-size: 15px; letter-spacing: 0; }
.where-field { margin-top: 22px; display: grid; gap: 10px; }
.where-field .fine.big { margin: 0; }
.where-check { display: flex; gap: 14px; align-items: baseline; margin: 0; }
.where-check .fine { margin: 0; }
.fine.good { color: var(--green); }
.fine.warn { color: #E5A54D; }

#where a { color: var(--t1); text-underline-offset: 3px; }
#where a:hover { color: #fff; }

/* Connect: one button, then waiting for the copy, then connected. */
.connect { margin-top: 22px; display: grid; gap: 12px; justify-items: start; }
.connect .fine.big { margin: 0; max-width: 40em; }
.connect-go { width: auto; height: 44px; padding: 0 22px; font-size: 15px; }
.connect-h { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 17px; font-weight: 500; }
.connect.waiting .connect-h .mk { animation: pulse 1.2s ease-in-out infinite; }
.connect-link { margin: 0; color: var(--t2); font-size: 14px; font-variant-numeric: tabular-nums; }
.connect.done, .connect.waiting { padding: 18px 20px; background: var(--raise); box-shadow: inset 0 0 0 1px var(--line); border-radius: 4px; width: 100%; }
@keyframes pulse { 50% { opacity: .35; } }

footer .dot { color: var(--t3); }
/* The privacy page: plain words, easy to scan. */
.privacy .page { max-width: 760px; }
.privacy section { margin-top: 44px; }
.privacy h2 { margin: 0 0 12px; font-size: 20px; font-weight: 520; letter-spacing: -0.015em; }
.privacy p, .privacy li { color: var(--t2); font-size: 16px; line-height: 1.6; }
.privacy ul { margin: 0; padding-left: 18px; }
.privacy li { margin: 6px 0; }
.privacy b { color: var(--t1); font-weight: 500; }
.privacy .stamp { margin-top: 48px; color: var(--t3); font-size: 13px; }

/* Shaping the week: a number you set, then every day with its own choice and limit. */
.setting.first { margin-top: 0; }
.goal { display: flex; align-items: center; gap: 18px; }
.goal-label { color: var(--t2); font-size: 18px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.step-btn { width: 30px; height: 30px; border: 0; border-radius: 4px; background: var(--raise); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--t1);
  font-size: 16px; line-height: 1; cursor: pointer; transition: background .12s; }
.step-btn:hover:not(:disabled) { background: var(--on); }
.step-btn:disabled { opacity: .3; cursor: default; }
.stepper .num { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; color: var(--t1); font-weight: 500; }
.stepper.big { gap: 10px; }
.stepper.big .step-btn { width: 48px; height: 48px; font-size: 22px; }
.stepper.big .num { min-width: 64px; font-size: 44px; letter-spacing: -0.03em; }
.plan { margin-top: 30px; display: grid; gap: 6px; }
.plan-row { display: grid; grid-template-columns: 130px auto 1fr; align-items: center; gap: 18px; min-height: 52px; padding: 8px 14px;
  background: var(--raise); box-shadow: inset 0 0 0 1px var(--line); border-radius: 4px; }
.plan-row.off .plan-day { color: var(--t3); }
.plan-day { font-size: 15px; font-weight: 500; }
.seg { display: inline-flex; padding: 2px; border-radius: 4px; background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { height: 30px; padding: 0 12px; border: 0; border-radius: 3px; background: none; color: var(--t3); font: inherit; font-size: 13px; cursor: pointer; }
.seg button:hover { color: var(--t1); }
.seg button[aria-pressed="true"] { background: var(--on); color: var(--t1); box-shadow: inset 0 0 0 1px var(--line-2); }
.plan-limit { justify-self: end; display: flex; align-items: center; gap: 8px; color: var(--t3); font-size: 13px; }
.plan + .fine { margin-top: 14px; }
