/* Pinafore landing page. Colours and type follow the app's tokens (src/theme/colors.ts,
   src/theme/tokens.ts): warm neutrals, the Sage accent and Nunito. */

@font-face {
  font-family: Nunito;
  src: url(/fonts/Nunito_400Regular.ttf) format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url(/fonts/Nunito_700Bold.ttf) format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url(/fonts/Nunito_800ExtraBold.ttf) format('truetype');
  font-weight: 800;
  font-display: swap;
}

:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --text: #2f2a26;
  --muted: #6f6760;
  --accent: #6a977a;
  --accent-deep: #557d63;
  --accent-tint: #e4eee7;
  --amber: #9a5b12;
  --amber-tint: #f7ead6;
  --line: #e9e2d8;
  --shadow: 0 1px 2px rgba(92, 74, 58, 0.06), 0 10px 30px rgba(92, 74, 58, 0.1);
  --radius: 22px;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1f1c1a;
    --surface: #2a2623;
    --text: #f2ede7;
    --muted: #b3aaa1;
    --accent: #86b396;
    --accent-deep: #9cc4aa;
    --accent-tint: #2e3a32;
    --amber: #e3aa62;
    --amber-tint: #3a2e20;
    --line: #3a3430;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Nunito, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(
        circle at 1px 1px,
        color-mix(in srgb, var(--muted) 14%, transparent) 1px,
        transparent 0
      )
      0 0 / 22px 22px,
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--surface);
  padding: 8px 14px;
  border-radius: 10px;
  z-index: 20;
}
.skip:focus {
  left: 8px;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- Top banner ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1.5px dashed var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
}
.brand img {
  border-radius: 9px;
}
.topbar nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.5vw, 26px);
  font-weight: 700;
}
.topbar nav a:not(.btn) {
  text-decoration: none;
  color: var(--muted);
}
.topbar nav a:not(.btn):hover {
  color: var(--text);
}
.tab {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px dashed color-mix(in srgb, var(--accent) 60%, transparent);
}

/* ---------- Buttons ---------- */
.btn,
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.25s var(--ease-spring),
    box-shadow 0.25s,
    background 0.2s;
}
.btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 40%, transparent);
}
@media (prefers-color-scheme: dark) {
  .btn-primary {
    color: #1f1c1a;
  }
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-deep);
}
.btn-small {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  font-size: 15px;
}
.btn-small:hover {
  transform: translateY(-1px);
}
.store {
  background: var(--text);
  color: var(--bg);
  padding: 0 18px;
  line-height: 1.1;
}
.store svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.store span {
  display: flex;
  flex-direction: column;
  font-size: 17px;
}
.store small {
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.02em;
  opacity: 0.85;
}
a.store:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.store.is-soon {
  background: transparent;
  color: var(--muted);
  border: 1.5px dashed var(--line);
  cursor: default;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 96px) clamp(16px, 4vw, 48px) 40px;
}
.eyebrow {
  color: var(--accent-deep);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  margin: 0 0 14px;
}
h1 {
  font-size: clamp(38px, 5.6vw, 66px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.stitched {
  position: relative;
  color: var(--accent-deep);
  white-space: nowrap;
}
.stitched::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -0.06em;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 9px, transparent 9px 15px);
  border-radius: 3px;
  transform-origin: left;
  animation: sew 1.4s 0.4s ease-out both;
}
@keyframes sew {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
.lead {
  font-size: clamp(18px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 34em;
  margin: 22px 0 30px;
}

/* Phone mock-up with a Today list that ticks itself */
.phone {
  justify-self: center;
  width: min(320px, 80vw);
  aspect-ratio: 9 / 18.5;
  padding: 12px;
  border-radius: 44px;
  background: var(--text);
  box-shadow:
    var(--shadow),
    0 30px 60px rgba(92, 74, 58, 0.18);
  transform: rotate(3deg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: rotate(3deg) translateY(-12px);
  }
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 34px;
  background: var(--bg);
  padding: 26px 16px;
  overflow: hidden;
}
.app-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.app-title {
  font-size: 26px;
  font-weight: 800;
}
.app-list {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}
.seam {
  height: 2px;
  margin: 10px 0 14px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 10px);
  opacity: 0.6;
}
.demo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.demo-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(92, 74, 58, 0.08);
  font-size: 14px;
  font-weight: 700;
  transition:
    opacity 0.5s,
    transform 0.5s;
}
.demo-list li > span {
  flex: 1;
  transition: color 0.4s;
}
.demo-list li.is-done > span {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--accent);
}
.demo-list li.event {
  background: var(--amber-tint);
  color: var(--amber);
  box-shadow: none;
}
.check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  position: relative;
  transition:
    background 0.3s var(--ease-spring),
    transform 0.3s var(--ease-spring);
}
.check::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2.5px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.3s 0.1s var(--ease-spring);
}
.is-done .check,
.check.on {
  background: var(--accent);
  transform: scale(1.1);
}
.is-done .check::after,
.check.on::after {
  transform: rotate(45deg) scale(1);
}
.tag {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  background: var(--bg);
  padding: 2px 7px;
  border-radius: 99px;
}
.who {
  font-style: normal;
  display: flex;
}
.who b,
.avatars b,
.art-log b {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  border: 2px solid var(--surface);
  margin-left: -6px;
}
.toast {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--text);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(140%);
  transition: transform 0.5s var(--ease-spring);
}
.toast.show {
  transform: none;
}

/* ---------- Features ---------- */
.features {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px clamp(16px, 4vw, 48px) 40px;
}
.section-title {
  text-align: center;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  margin-bottom: 56px;
}
.section-title span {
  color: var(--muted);
  font-weight: 700;
}
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: 40px 0;
  border-top: 1.5px dashed var(--line);
}
.feature.flip .feature-text {
  order: 2;
}
.feature h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  margin-bottom: 12px;
}
.feature p {
  color: var(--muted);
  margin: 0;
}
.art {
  position: relative;
  min-height: 230px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  outline: 1.5px dashed color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: -10px;
}
.art-caption {
  text-align: center;
  font-size: 14px;
  margin-top: 18px !important;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Recurring */
.week,
.periods {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  text-align: center;
}
.week span {
  font-weight: 800;
  color: var(--muted);
  font-size: 13px;
}
.periods {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 22px;
}
.periods i {
  height: 56px;
  border-radius: 14px;
  background: var(--bg);
  position: relative;
  transform: scale(0.6);
  opacity: 0;
}
.in .periods i {
  animation: pop 0.5s var(--ease-spring) forwards;
}
.periods i:nth-child(2) {
  animation-delay: 0.15s !important;
}
.periods i:nth-child(3) {
  animation-delay: 0.3s !important;
}
.periods i:nth-child(4) {
  animation-delay: 0.45s !important;
}
.periods i:nth-child(5) {
  animation-delay: 0.6s !important;
}
.periods .done {
  background: var(--accent);
}
.periods .done::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
}
.periods .miss {
  background: var(--amber-tint);
}
.periods .now {
  background: transparent;
  border: 2px dashed var(--accent);
}
@keyframes pop {
  to {
    transform: none;
    opacity: 1;
  }
}

/* Sync */
.art-sync {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mini-phone {
  width: 34%;
  aspect-ratio: 9 / 15;
  border-radius: 22px;
  border: 8px solid var(--text);
  background: var(--bg);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
}
.mini-phone span {
  flex: 1;
  height: 10px;
  border-radius: 6px;
  background: var(--line);
}
.in .mini-phone:first-child .check {
  animation: tick 0.4s 1s var(--ease-spring) forwards;
}
.in .mini-phone:last-child .check {
  animation: tick 0.4s 1.9s var(--ease-spring) forwards;
}
@keyframes tick {
  to {
    background: var(--accent);
  }
}
.in .mini-phone:first-child .check::after {
  animation: tickmark 0.3s 1.1s forwards;
}
.in .mini-phone:last-child .check::after {
  animation: tickmark 0.3s 2s forwards;
}
@keyframes tickmark {
  to {
    transform: rotate(45deg) scale(1);
  }
}
.wave {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.wave i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.2;
}
.in .wave i {
  animation: dot 1.2s 1.1s ease-in-out infinite;
}
.in .wave i:nth-child(2) {
  animation-delay: 1.3s;
}
.in .wave i:nth-child(3) {
  animation-delay: 1.5s;
}
@keyframes dot {
  30% {
    opacity: 1;
    transform: translateY(-6px);
  }
  60% {
    opacity: 0.2;
    transform: none;
  }
}

/* People */
.art-people {
  display: grid;
  place-items: center;
}
.item-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--bg);
  font-weight: 800;
}
.avatars {
  display: flex;
  padding-left: 6px;
}
.avatars b {
  width: 36px;
  height: 36px;
  font-size: 15px;
  margin-left: -10px;
  transform: translateX(-30px) scale(0.4);
  opacity: 0;
}
.in .avatars b {
  animation: slidein 0.5s var(--ease-spring) forwards;
}
.in .avatars b:nth-child(2) {
  animation-delay: 0.2s;
}
.in .avatars b:nth-child(3) {
  animation-delay: 0.4s;
}
.in .avatars b:nth-child(4) {
  animation-delay: 0.6s;
}
@keyframes slidein {
  to {
    transform: none;
    opacity: 1;
  }
}

/* Activity log */
.art-log {
  display: grid;
  gap: 10px;
  align-content: center;
}
.art-log p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text) !important;
  font-size: 15px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg);
  opacity: 0;
  transform: translateX(24px);
}
.art-log b {
  margin-left: 0;
  flex: none;
}
.art-log time {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.in .art-log p {
  animation: logIn 0.5s ease-out forwards;
}
.in .art-log p:nth-child(2) {
  animation-delay: 0.15s;
}
.in .art-log p:nth-child(3) {
  animation-delay: 0.3s;
}
.in .art-log p:nth-child(4) {
  animation-delay: 0.45s;
}
@keyframes logIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Calendar */
.art-cal {
  display: grid;
  gap: 10px;
  align-content: center;
}
.cal-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cal-row time {
  width: 46px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}
.event-chip,
.todo-chip {
  flex: 1;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
}
.event-chip {
  background: var(--amber-tint);
  color: var(--amber);
  border-left: 4px solid var(--amber);
}
.event-chip.busy {
  background: var(--bg);
  color: var(--muted);
  border-left-color: var(--line);
}
.todo-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
}
.in .todo-chip .check {
  animation: tick 0.4s 0.8s var(--ease-spring) forwards;
}
.in .todo-chip .check::after {
  animation: tickmark 0.3s 0.9s forwards;
}

/* Heatmap */
.art-heat {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 5px;
  align-content: center;
}
.art-heat i {
  aspect-ratio: 1;
  border-radius: 5px;
  background: var(--bg);
  transition: background 0.4s;
}
.art-heat i.l1 {
  background: color-mix(in srgb, var(--accent) 30%, var(--bg));
}
.art-heat i.l2 {
  background: color-mix(in srgb, var(--accent) 60%, var(--bg));
}
.art-heat i.l3 {
  background: var(--accent);
}

/* Themes */
.art-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: center;
  justify-content: center;
}
.art-themes i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.5);
  transform: scale(0);
}
.in .art-themes i {
  animation: pop 0.45s var(--ease-spring) forwards;
}
.art-themes i:nth-child(2) {
  animation-delay: 0.08s !important;
}
.art-themes i:nth-child(3) {
  animation-delay: 0.16s !important;
}
.art-themes i:nth-child(4) {
  animation-delay: 0.24s !important;
}
.art-themes i:nth-child(5) {
  animation-delay: 0.32s !important;
}
.art-themes i:nth-child(6) {
  animation-delay: 0.4s !important;
}
.art-themes i:nth-child(7) {
  animation-delay: 0.48s !important;
}
.bell {
  width: 100%;
  margin-top: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  font-size: 15px;
  transform: translateY(16px);
  opacity: 0;
}
.in .bell {
  animation: logIn 0.5s 0.8s var(--ease-spring) forwards;
  transform: translateY(16px);
}

.pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 40px 0 0;
  margin: 0;
  border-top: 1.5px dashed var(--line);
}
.pills li {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-deep);
  font-weight: 800;
  font-size: 15px;
}

/* ---------- Finale: the get-the-app buttons come back, sewn in ---------- */
.finale {
  position: relative;
  max-width: 980px;
  margin: 40px auto 80px;
  padding: 64px 24px 56px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 14px;
}
.finale-stitch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.finale-stitch rect {
  fill: color-mix(in srgb, var(--accent) 9%, var(--surface));
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 0.012 0.008;
  stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.6s cubic-bezier(0.6, 0, 0.2, 1);
}
.finale.in .finale-stitch rect {
  clip-path: inset(0 0 0 0);
}
.finale > :not(svg) {
  position: relative;
}
.finale h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
}
.finale p {
  color: var(--muted);
  margin: 0 0 12px;
}
.finale-icon {
  border-radius: 22px;
  box-shadow: var(--shadow);
  transform: translateY(-40px) rotate(-14deg) scale(0.6);
  opacity: 0;
}
.finale.in .finale-icon {
  animation: drop 1s 0.5s var(--ease-spring) forwards;
}
@keyframes drop {
  60% {
    transform: translateY(6px) rotate(4deg) scale(1.05);
    opacity: 1;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.finale h2,
.finale p {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s,
    transform 0.6s;
}
.finale.in h2 {
  opacity: 1;
  transform: none;
  transition-delay: 0.8s;
}
.finale.in p {
  opacity: 1;
  transform: none;
  transition-delay: 0.95s;
}
.finale-cta {
  justify-content: center;
}
.finale-cta > * {
  opacity: 0;
  transform: translateY(30px) scale(0.8);
}
.finale.in .finale-cta > * {
  animation: rise 0.7s var(--ease-spring) forwards;
}
.finale.in .finale-cta > :nth-child(1) {
  animation-delay: 1.15s;
}
.finale.in .finale-cta > :nth-child(2) {
  animation-delay: 1.3s;
}
.finale.in .finale-cta > :nth-child(3) {
  animation-delay: 1.45s;
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}
.finale.in .finale-cta .btn-primary {
  animation:
    rise 0.7s 1.15s var(--ease-spring) forwards,
    glow 2.4s 2.2s ease-in-out infinite;
}
@keyframes glow {
  50% {
    box-shadow: 0 6px 30px color-mix(in srgb, var(--accent) 70%, transparent);
  }
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(16px, 4vw, 48px);
  border-top: 1.5px dashed var(--line);
  color: var(--muted);
  font-size: 15px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--text);
}
.footer-brand img {
  border-radius: 8px;
}
.footer nav {
  display: flex;
  gap: 20px;
  font-weight: 700;
}
.footer nav a {
  text-decoration: none;
}
.footer nav a:hover {
  color: var(--text);
}
.footer p {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 13px;
}

/* ---------- Privacy page ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px clamp(16px, 4vw, 32px) 80px;
}
.legal h1 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 8px;
}
.legal h2 {
  font-size: 22px;
  margin: 36px 0 10px;
}
.legal p,
.legal li {
  color: var(--muted);
}
.legal strong {
  color: var(--text);
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 12px 0;
}
.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 10px;
  border-bottom: 1px dashed var(--line);
}
.legal th {
  color: var(--text);
}
.draft {
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--amber-tint);
  color: var(--amber);
  font-weight: 700;
  border: 1.5px dashed var(--amber);
  margin: 18px 0 8px;
}

/* ---------- Small screens ---------- */
@media (max-width: 820px) {
  .hero,
  .feature {
    grid-template-columns: 1fr;
  }
  .feature.flip .feature-text {
    order: 0;
  }
  .hero {
    text-align: left;
  }
  .phone {
    width: min(280px, 76vw);
  }
  .topbar nav a[href='#features'] {
    display: none;
  }
}
@media (max-width: 420px) {
  .btn-small {
    display: none;
  }
  .cta > * {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  html {
    scroll-behavior: auto;
  }
}
