/* postque.com: the public pages (home, privacy, terms). The app has its own styles.
   The home page's one picture is a small HTML copy of the app's calendar (.mock). The logo is inline SVG (worker/site.ts). */
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/site/fonts/schibsted-grotesk-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/site/fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* postque's own color is ink: black on white by default, like the mark; white on black once someone picks dark
   (the header's switch sets data-theme="dark" on <html>, saved per browser and shared with the app). The only other
   colors are the sample brands' and the platforms', inside the calendar. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --soft: #f4f4f3;
  --ink: #161616;
  --slate: #5f5f5b;
  --line: #e7e7e5;
  --accent: #161616; /* buttons, focus */
  --accent-hover: #000000;
  --accent-fg: #ffffff;
  --shadow: rgb(0 0 0 / 0.28);
  /* the app's own palette, for the calendar copy */
  --m-bg: #fafaf9;
  --m-card: #ffffff;
  --m-line: #e7e5e4;
  --m-ink: #1c1917;
  --m-dim: #78716c;
  --m-soft: #f5f5f4;
  --m-brand: #161616;
  --m-brand-fg: #ffffff;
  --m-brand-soft: #f2f2f1;
  --m-brand-ink: #161616;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0f0f0f;
  --surface: #171717;
  --soft: #1b1b1b;
  --ink: #f2f2f0;
  --slate: #a3a3a0;
  --line: #2a2a2a;
  --accent: #f5f5f4;
  --accent-hover: #ffffff;
  --accent-fg: #161616;
  --shadow: rgb(0 0 0 / 0.6);
  --m-bg: #0c0a09;
  --m-card: #1c1917;
  --m-line: #2c2826;
  --m-ink: #f5f5f4;
  --m-dim: #a8a29e;
  --m-soft: #24201e;
  --m-brand: #f5f5f4;
  --m-brand-fg: #161616;
  --m-brand-soft: #2c2826;
  --m-brand-ink: #f5f5f4;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    400 17px/1.6 "Schibsted Grotesk",
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a {
  color: var(--ink);
  text-underline-offset: 3px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
p {
  margin: 0;
}
.wrap {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  background: var(--surface);
  padding: 8px 12px;
  z-index: 10;
}

/* ---------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.btn.big {
  height: 52px;
  padding: 0 26px;
  font-size: 16px;
}
.btn.primary {
  background: var(--accent);
  color: var(--accent-fg);
}
.btn.primary:hover {
  background: var(--accent-hover);
}
.btn.quiet {
  color: var(--ink);
}
.btn.quiet:hover {
  background: var(--soft);
}
/* the light/dark switch: shows the moon in light mode, the sun in dark mode */
.theme {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--slate);
  cursor: pointer;
}
.theme:hover {
  background: var(--soft);
  color: var(--ink);
}
.theme svg {
  width: 18px;
  height: 18px;
}
.theme .sun,
[data-theme="dark"] .theme .moon {
  display: none;
}
[data-theme="dark"] .theme .sun {
  display: block;
}

/* ---------- header and footer */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--line);
}
.top-in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.logo svg {
  height: 17px;
  width: auto;
  flex: none;
}
.foot .logo svg {
  height: 15px;
}
.top .acct {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.foot {
  margin-top: 136px;
  padding: 56px 0 32px;
  background: var(--soft);
  color: var(--slate);
  font-size: 15px;
}
.foot-in {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.foot-brand p {
  margin-top: 12px;
  max-width: 26em;
}
.foot h4 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.foot ul a {
  color: var(--slate);
  text-decoration: none;
}
.foot ul a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.foot-base {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

/* ---------- home: the headline, then the calendar */
.hero {
  padding: 104px 0 64px;
}
.hero h1 {
  font-size: clamp(42px, 6.4vw, 84px);
  font-weight: 780;
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 16.5ch;
  text-wrap: balance;
}
.hero .lede {
  margin-top: 28px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--slate);
  max-width: 34em;
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 36px;
}
.hero .note {
  font-size: 15px;
  color: var(--slate);
}

/* the calendar on a soft stage, cropped at the bottom like a screenshot */
.stage {
  background: var(--soft);
  border-radius: 28px;
  padding: 40px 40px 0;
  overflow: hidden;
  max-height: 600px;
}
.stage .app {
  border-radius: 14px 14px 0 0;
  border-bottom: 0;
}

/* ---------- the calendar copy */
.mock {
  color: var(--m-ink);
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
}
.mock b {
  font-weight: 600;
}
.mock small {
  display: block;
  color: var(--m-dim);
  font-size: 11px;
}
.app-logo svg {
  height: 11px;
  width: auto;
  flex: none;
}
.tiles {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 4px;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--m-soft);
  flex: none;
}
.tiles i {
  border-radius: 2px;
}
.mav {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex: none;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--c);
}
.mig,
.mtt {
  position: absolute;
  right: -3px;
  bottom: -2px;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  box-shadow: 0 0 0 2px var(--m-card);
}
.mig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
/* TikTok: the app's note glyph (src/ui.tsx) in white on black */
.mtt {
  background: #000
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.2 4.5v10.3a3 3 0 1 1-3-3M13.2 4.5c.4 2.2 1.9 3.6 4.1 3.8'/%3E%3C/svg%3E")
    center / 9px no-repeat;
}
.mseg {
  display: inline-flex;
  padding: 2px;
  border-radius: 7px;
  background: var(--m-soft);
  font-size: 12px;
}
.mseg span {
  padding: 3px 9px;
  border-radius: 5px;
  color: var(--m-dim);
}
.mseg .on {
  background: var(--m-card);
  color: var(--m-ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.08);
}
.mbtn {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 7px;
  border: 1px solid var(--m-line);
  background: var(--m-card);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.app {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  background: var(--m-bg);
  border: 1px solid var(--m-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px var(--shadow);
}
.app-side {
  background: var(--m-card);
  border-right: 1px solid var(--m-line);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
}
.app-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border: 1px solid var(--m-line);
  border-radius: 9px;
}
.app-create {
  display: grid;
  place-items: center;
  height: 30px;
  border-radius: 8px;
  background: var(--m-brand);
  color: var(--m-brand-fg);
  font-weight: 600;
  font-size: 12px;
}
.app-nav {
  display: grid;
  gap: 2px;
}
.app-nav span {
  padding: 6px 9px;
  border-radius: 7px;
  color: var(--m-dim);
  font-size: 12.5px;
}
.app-nav .on {
  background: var(--m-brand-soft);
  color: var(--m-brand-ink);
  font-weight: 600;
}
.app-main {
  padding: 16px 18px 18px;
  min-width: 0;
}
.app-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.app-head > div {
  margin-right: auto;
}
.app-head > div b {
  font-size: 16px;
}
.board-grid {
  display: grid;
  grid-template-columns: 150px repeat(var(--days), minmax(0, 1fr));
  background: var(--m-card);
  border: 1px solid var(--m-line);
  border-radius: 10px;
  overflow: hidden;
}
.board-grid > div {
  border-bottom: 1px solid var(--m-line);
  min-width: 0;
}
.board-grid > .gh + .gh,
.board-grid > .cell {
  border-left: 1px solid var(--m-line);
}
.gh {
  padding: 7px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--m-dim);
  background: var(--m-soft);
}
.gh.today {
  color: var(--m-brand-ink);
}
.acc {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
}
.acc > span:last-child {
  min-width: 0;
}
.acc b {
  display: block;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cell {
  padding: 6px;
  display: grid;
  align-content: center;
  gap: 4px;
}
.post {
  display: block;
  padding: 6px 8px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--c) 14%, var(--m-card));
  font-size: 11.5px;
  line-height: 1.3;
}
.post em {
  display: flex;
  align-items: center;
  gap: 6px;
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
  margin-bottom: 1px;
  color: color-mix(in srgb, var(--c) 60%, var(--m-ink));
}
/* a TikTok photo slideshow's slide count */
.post em i {
  font-style: normal;
  font-weight: 600;
  font-size: 10px;
  padding: 0 5px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--c) 24%, var(--m-card));
}
.post .t {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.free {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 4px 7px;
  border-radius: 7px;
  border: 1px dashed var(--m-line);
  color: var(--m-dim);
  font-size: 11px;
}

/* ---------- home: what it does, steps (a real sequence), questions, closing */
.block {
  margin-top: 136px;
}
.block > h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 760;
  letter-spacing: -0.035em;
}
.features,
.steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 40px;
}
.features li,
.steps li {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.features h3,
.steps h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.features p,
.steps p {
  margin-top: 8px;
  color: var(--slate);
  font-size: 16px;
  max-width: 30em;
}
.steps {
  counter-reset: step;
}
.steps li {
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 14px;
  font-size: 32px;
  font-weight: 780;
  line-height: 1;
  letter-spacing: -0.04em;
}
.qs {
  max-width: 820px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.qs details {
  border-bottom: 1px solid var(--line);
}
.qs summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 2px;
  font-size: 18px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.qs summary::-webkit-details-marker {
  display: none;
}
.qs summary::after {
  content: "+";
  flex: none;
  color: var(--slate);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.15s ease;
}
.qs details[open] summary::after {
  transform: rotate(45deg);
}
.qs details p {
  padding: 0 2px 22px;
  color: var(--slate);
  max-width: 40em;
}
.closing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.closing h2 {
  max-width: 16ch;
}
@media (prefers-reduced-motion: reduce) {
  .qs summary::after {
    transition: none;
  }
}

/* ---------- legal pages */
.doc {
  max-width: 68ch;
  padding: 48px 0 0;
}
.doc h1 {
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 760;
  letter-spacing: -0.035em;
}
.doc .updated {
  margin-top: 10px;
  color: var(--slate);
  font-size: 15px;
}
.doc .summary {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--soft);
}
.doc h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
}
.doc p,
.doc ul,
.doc ol {
  margin-top: 12px;
}
.doc ul,
.doc ol {
  padding-left: 1.3em;
}
.doc li + li {
  margin-top: 8px;
}

/* ---------- smaller screens */
@media (max-width: 960px) {
  .hero {
    padding-top: 72px;
  }
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-in {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .stage {
    padding: 20px 16px 0;
    border-radius: 22px;
    max-height: 540px;
  }
  .app {
    grid-template-columns: minmax(0, 1fr);
  }
  .app-side {
    display: none;
  }
  .app-main {
    padding: 12px;
  }
  .app-head .mseg {
    display: none;
  }
  .board-grid {
    grid-template-columns: 118px repeat(3, minmax(0, 1fr));
  }
  .board-grid > .d3,
  .board-grid > .d4 {
    display: none;
  }
  .acc .mav {
    display: none;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .block {
    margin-top: 104px;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .top-in {
    gap: 8px;
  }
  .top .acct .btn {
    padding: 0 14px;
  }
  .hero {
    padding: 48px 0 40px;
  }
  .board-grid {
    grid-template-columns: 104px repeat(2, minmax(0, 1fr));
  }
  .board-grid > .d2 {
    display: none;
  }
  .features {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .foot-in {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 420px) {
  /* Sign in and Get started open the same page; on a phone the header keeps one of them, and the switch */
  .top .acct .btn.quiet {
    display: none;
  }
}
