@font-face {
  font-family: "Pretendard";
  src: url("/fonts/pretendard-subset.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Nanum Pen";
  src: url("/fonts/nanumpen-subset.woff2") format("woff2");
  font-display: swap;
}

:root {
  --wall: #e6e9ee;
  --wall-ink: #1b1d22;
  --wall-muted: #555b66;
  --bezel: #16181d;
  --bezel-edge: #2a2d34;
  --desk: #f4f5f7;
  --window: #ffffff;
  --window-line: #e3e5ea;
  --ink: #1c1d21;
  --ink-muted: #686c75;
  --blue: #2457e6;
  --blue-deep: #1a44bd;
  --blue-soft: rgba(36, 87, 230, 0.12);
  --added: rgba(22, 163, 74, 0.17);
  --added-line: rgba(22, 163, 74, 0.6);
  --removed: rgba(220, 38, 38, 0.13);
  --selection: rgba(36, 87, 230, 0.28);
  --note-yellow: #ffd84d;
  --note-pink: #ff8fb1;
  --note-blue: #7fd1ff;
  --pen: #23252b;
  --sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --hand: "Nanum Pen", "Pretendard", cursive;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

/* Components set their own display; `hidden` must still win. */
[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  background: var(--wall);
  color: var(--wall-ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

::selection {
  background: var(--selection);
  color: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2.5px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2 {
  margin: 0;
  text-wrap: balance;
}

/* ---------- Pinned menu bar (appears once the monitor scrolls away) ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 22px;
  height: 46px;
  padding: 0 max(16px, calc((100% - 1120px) / 2));
  background: rgba(246, 247, 249, 0.82);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 14px;
  transform: translateY(-100%);
  transition: transform 0.35s var(--ease-out);
}

.topbar.show {
  transform: none;
}

.topbar a {
  color: inherit;
  text-decoration: none;
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.topbar-links {
  display: flex;
  gap: 18px;
  color: #3e424b;
}

.topbar-links a:hover {
  color: var(--wall-ink);
}

.topbar .topbar-cta {
  margin-left: auto;
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}

.topbar .topbar-cta:hover {
  background: var(--blue-deep);
}

/* ---------- Hero: the monitor ---------- */

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vh, 44px) clamp(16px, 4vw, 56px) clamp(16px, 3vh, 32px);
}

.monitor {
  position: relative;
  width: min(1180px, 100%, calc((100svh - 150px) * 1.62));
}

.bezel {
  padding: clamp(10px, 1.4vw, 18px);
  border-radius: clamp(14px, 1.6vw, 22px);
  background: var(--bezel);
  box-shadow:
    inset 0 0 0 1px var(--bezel-edge),
    0 30px 60px -28px rgba(20, 24, 33, 0.55),
    0 8px 18px -10px rgba(20, 24, 33, 0.4);
}

.screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px;
  background: var(--desk);
  container-type: inline-size;
  color: var(--ink);
}

.stand {
  display: grid;
  justify-items: center;
}

.neck {
  width: 13%;
  height: clamp(18px, 3.2vh, 34px);
  background: linear-gradient(90deg, #b9bec8, #d9dde4 45%, #aeb3bd);
}

.foot {
  width: 30%;
  height: 8px;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #cdd1d8, #a9aeb8);
  box-shadow: 0 10px 18px -10px rgba(20, 24, 33, 0.5);
}

.menubar {
  display: flex;
  align-items: center;
  gap: 1.6cqi;
  height: 3.2cqi;
  padding: 0 1.6cqi;
  font-size: 1.25cqi;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.menubar a {
  color: inherit;
  text-decoration: none;
  border-radius: 0.4cqi;
  padding: 0.2cqi 0.6cqi;
  margin: 0 -0.6cqi;
}

.menubar a:hover {
  background: rgba(0, 0, 0, 0.07);
}

.menubar-app {
  font-weight: 700;
}

.menubar-items {
  display: flex;
  gap: 1.6cqi;
  color: #3e424b;
}

.menubar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.3cqi;
}

.menubar-right svg {
  width: 1.5cqi;
  height: auto;
}

.menubar-hoe {
  color: var(--ink);
}

.menubar-clock {
  font-variant-numeric: tabular-nums;
}

.wallpaper-caption {
  position: absolute;
  left: 5cqi;
  top: 7cqi;
  max-width: 52cqi;
}

.wallpaper-caption h1 {
  font-size: clamp(44px, 8.4cqi, 112px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.wallpaper-caption p {
  margin: 1.4cqi 0 0;
  font-size: clamp(16px, 2.05cqi, 26px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #3a3d45;
}

.notes {
  position: absolute;
  left: 5cqi;
  top: 30cqi;
  width: 50cqi;
  height: 26cqi;
  border-radius: 1cqi;
  background: var(--window);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 1.6cqi 3.4cqi -1.2cqi rgba(20, 24, 33, 0.28);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 1.4cqi;
  height: 3.4cqi;
  padding: 0 1.2cqi;
  border-bottom: 1px solid var(--window-line);
  background: #f6f7f9;
}

.lights {
  display: flex;
  gap: 0.6cqi;
}

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

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

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

.window-title {
  font-size: 1.2cqi;
  color: var(--ink-muted);
}

.notes-body {
  margin: 0;
  padding: 2.2cqi 2.6cqi;
  font-size: clamp(14px, 1.95cqi, 24px);
  line-height: 1.65;
  letter-spacing: -0.01em;
}

.notes-text {
  border-radius: 3px;
  transition: background-color 0.1s;
}

.notes-text .sel {
  background: var(--selection);
}

.notes-text.swapped {
  animation: swap-light 1.4s var(--ease-out);
}

@keyframes swap-light {
  0% {
    background: rgba(36, 87, 230, 0.32);
    box-shadow: 0 0 0 0.4cqi rgba(36, 87, 230, 0.32);
  }
  100% {
    background: transparent;
    box-shadow: 0 0 0 0.4cqi transparent;
  }
}

.notes-caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: var(--ink);
  animation: blink 1.05s steps(1) infinite;
}

.cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 1.6cqi;
  height: auto;
  transform: translate(60cqi, 60cqi);
  transition: transform 0.9s var(--ease-out);
  z-index: 6;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}

.cursor.dragging {
  transition: transform 1s linear;
}

.keys {
  position: absolute;
  left: 50%;
  bottom: 4cqi;
  display: flex;
  gap: 0.8cqi;
  padding: 1cqi;
  border-radius: 1.4cqi;
  background: rgba(22, 24, 29, 0.82);
  transform: translate(-50%, 1cqi);
  opacity: 0;
  transition:
    opacity 0.25s,
    transform 0.4s var(--ease-out);
  z-index: 7;
}

.keys.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.keys kbd {
  display: grid;
  place-items: center;
  min-width: 4.6cqi;
  height: 4.6cqi;
  padding: 0 1cqi;
  border-radius: 0.8cqi;
  background: #2b2e36;
  box-shadow:
    inset 0 -0.3cqi 0 #121418,
    inset 0 0 0 1px #3b3f49;
  color: #f2f3f5;
  font-family: var(--sans);
  font-size: 1.9cqi;
  font-weight: 600;
  transition:
    transform 0.08s,
    background 0.08s;
}

.keys kbd.wide {
  min-width: 11cqi;
  font-size: 1.5cqi;
}

.keys kbd.down {
  transform: translateY(0.25cqi);
  background: var(--blue);
  box-shadow: inset 0 -0.1cqi 0 var(--blue-deep);
}

/* The popup mirrors the real app's panel. */
.popup {
  position: absolute;
  left: 0;
  top: 0;
  width: 39cqi;
  display: flex;
  flex-direction: column;
  border-radius: 1.2cqi;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.1),
    0 2.4cqi 5cqi -2cqi rgba(20, 24, 33, 0.4);
  font-size: 1.35cqi;
  opacity: 0;
  transform: translateY(0.6cqi) scale(0.98);
  transform-origin: top left;
  transition:
    opacity 0.16s,
    transform 0.3s var(--ease-out);
  pointer-events: none;
  z-index: 5;
}

.popup.show {
  opacity: 1;
  transform: none;
}

.popup-chips {
  display: flex;
  align-items: center;
  gap: 0.4cqi;
  padding: 1cqi 1cqi 0.8cqi;
  border-bottom: 1px solid var(--window-line);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45cqi;
  padding: 0.45cqi 0.85cqi;
  border-radius: 0.7cqi;
  color: var(--ink-muted);
  white-space: nowrap;
}

.chip i {
  font-style: normal;
  font-size: 0.85em;
  color: #71757e;
}

.chip.active {
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
}

.chip.active i {
  color: inherit;
}

.popup-result {
  min-height: 9cqi;
  padding: 1.5cqi 1.7cqi 1cqi;
}

.popup-result p {
  margin: 0;
  font-size: 1.7cqi;
  line-height: 1.6;
}

.popup-result .thinking {
  color: #71757e;
  animation: pulse 1.2s ease-in-out infinite;
}

.typing-caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: var(--blue);
  animation: blink 1s steps(1) infinite;
}

mark.add {
  background: var(--added);
  color: inherit;
  border-radius: 2px;
  box-shadow: inset 0 -1.5px 0 var(--added-line);
}

mark.del {
  background: var(--removed);
  color: inherit;
  border-radius: 2px;
  text-decoration: line-through;
  text-decoration-color: #71757e;
}

.popup-original {
  margin: 0 1.7cqi;
  padding: 0.8cqi 0 1cqi;
  border-top: 1px dashed var(--window-line);
  color: var(--ink-muted);
  font-size: 1.2cqi;
}

.popup-original-label {
  color: #71757e;
  font-size: 1.05cqi;
}

.popup-original p {
  margin: 0.3cqi 0 0;
  line-height: 1.5;
}

.popup-actions {
  display: flex;
  align-items: center;
  gap: 0.3cqi;
  padding: 0.8cqi 1cqi;
  border-top: 1px solid var(--window-line);
  border-radius: 0 0 1.2cqi 1.2cqi;
  background: #f6f7f9;
}

.act {
  display: inline-flex;
  align-items: center;
  gap: 0.5cqi;
  padding: 0.4cqi 0.7cqi;
  border-radius: 0.6cqi;
  color: var(--ink-muted);
  font-size: 1.15cqi;
}

.act kbd {
  padding: 0 0.45cqi;
  border: 1px solid var(--window-line);
  border-radius: 0.4cqi;
  background: #fff;
  font-family: var(--sans);
  font-size: 0.95cqi;
}

.act.primary {
  color: var(--blue);
  font-weight: 700;
}

.act.primary.pressed {
  background: var(--blue);
  color: #fff;
}

.act.primary.pressed kbd {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.spacer {
  flex: 1;
}

.demo-caption {
  position: absolute;
  left: 5cqi;
  bottom: 1.6cqi;
  margin: 0;
  font-size: clamp(11px, 1.1cqi, 14px);
  color: #4f5560;
}

/* ---------- Post-its ---------- */

.postit {
  --tilt: -2deg;
  margin: 0;
  padding: 18px 20px 22px;
  color: var(--pen);
  font-family: var(--hand);
  font-size: 25px;
  line-height: 1.15;
  background: var(--note-yellow);
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.045) 0, rgba(0, 0, 0, 0.045) 16px, transparent 16px);
  transform: rotate(var(--tilt));
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.08),
    0 12px 18px -12px rgba(20, 24, 33, 0.45);
  /* The adhesive strip keeps the top flat; the free edge lifts a little. */
  clip-path: polygon(0 0, 100% 0, 100% 96%, 97% 100%, 0 100%);
}

.postit-pink {
  background: var(--note-pink);
}

.postit-blue {
  background: var(--note-blue);
}

.postit b {
  font-weight: normal;
  font-family: var(--sans);
  font-size: 0.72em;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.note-shortcut,
.note-facts,
.note-cta {
  position: absolute;
  z-index: 2;
}

.note-shortcut {
  --tilt: 5deg;
  right: -2.6%;
  top: 7%;
  width: clamp(130px, 13%, 170px);
}

/* Windows visitors see the longer Ctrl+Shift+Space on one line. */
.note-shortcut.wide {
  width: clamp(170px, 15%, 210px);
}

.note-shortcut.wide b {
  white-space: nowrap;
}

.note-aside {
  font-size: 0.82em;
}

.note-facts {
  --tilt: 4deg;
  left: -2.4%;
  bottom: 22%;
  width: clamp(140px, 14%, 180px);
}

.note-cta {
  --tilt: -3deg;
  right: -2.6%;
  bottom: 9%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 22px 24px 26px;
  font-size: clamp(28px, 2.6vw, 38px);
  text-decoration: none;
  transition: transform 0.35s var(--ease-out);
}

.note-cta svg {
  flex: none;
  transition: transform 0.35s var(--ease-out);
}

.note-cta:hover {
  transform: rotate(-1deg) translateY(-3px);
}

.note-cta:hover svg {
  transform: translateX(4px);
}

/* ---------- Sections ---------- */

.section-head,
.people,
.promises,
.invite {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

.examples {
  padding: clamp(72px, 12vh, 140px) 0 clamp(40px, 8vh, 96px);
}

.section-head {
  max-width: 1120px;
}

.section-head h2,
.people h2,
.invite h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section-head p {
  max-width: 44ch;
  margin: 14px 0 0;
  color: var(--wall-muted);
}

.wall {
  width: min(1120px, 100% - 32px);
  margin: 44px auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 34px 30px;
  align-items: start;
}

.wall .postit {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 250px;
  padding: 18px 22px 26px;
  font-size: 23px;
}

.wall .postit:nth-child(3n + 1) {
  --tilt: -1.6deg;
}

.wall .postit:nth-child(3n + 2) {
  --tilt: 1.2deg;
  margin-top: 18px;
}

.wall .postit:nth-child(3n) {
  --tilt: -0.6deg;
  margin-top: 6px;
}

.tone {
  align-self: flex-start;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.wall s {
  font-size: 26px;
  line-height: 1.2;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(35, 37, 43, 0.5);
  color: var(--pen);
}

.wall p {
  margin: 0;
  padding-top: 10px;
  border-top: 1.5px dashed rgba(35, 37, 43, 0.25);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.wall p.as-list {
  font-size: 15px;
}

/* People */

.people {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding: clamp(56px, 10vh, 120px) 0;
}

.people-copy p {
  max-width: 40ch;
  margin: 16px 0 0;
  color: var(--wall-muted);
}

.people-copy .fine {
  font-size: 14px;
}

.people-demo {
  position: relative;
  padding: 24px 0 40px;
}

.mini-popup {
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 26px 50px -26px rgba(20, 24, 33, 0.45);
  font-size: 15px;
  overflow: hidden;
}

.popup-chips.static {
  gap: 4px;
  padding: 12px 12px 10px;
  flex-wrap: wrap;
}

.popup-chips.static .chip {
  gap: 5px;
  padding: 5px 10px;
  border-radius: 8px;
}

.slot-row {
  display: flex;
  gap: 8px;
  padding: 18px 18px 8px;
}

.slot-name,
.slot-tone {
  padding: 8px 12px;
  border: 1px solid var(--window-line);
  border-radius: 8px;
}

.slot-name {
  flex: 1;
  font-weight: 600;
}

.slot-tone {
  color: var(--ink-muted);
}

.slot-memo {
  margin: 0 18px 20px;
  padding: 10px 12px;
  min-height: 64px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.memo-note {
  --tilt: 5deg;
  position: absolute;
  right: -14px;
  bottom: -6px;
  width: 170px;
  font-size: 26px;
}

/* Promises */

.promises {
  padding: clamp(24px, 6vh, 64px) 0 clamp(56px, 10vh, 110px);
}

.promise-sheet {
  --tilt: -0.8deg;
  max-width: 600px;
  margin: 0 auto;
  padding: 34px clamp(24px, 4vw, 44px) 40px;
  font-size: 22px;
}

.promise-sheet h2 {
  font-family: var(--hand);
  font-size: 40px;
  font-weight: normal;
  line-height: 1.1;
}

.promise-sheet ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.promise-sheet li {
  position: relative;
  padding-left: 34px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

.promise-sheet li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 3px;
  width: 20px;
  height: 18px;
  background: var(--pen);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='M2 10.5c2.2 1.4 3.6 3 4.8 5C9.6 9.4 13 4.6 18 1.6' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='M2 10.5c2.2 1.4 3.6 3 4.8 5C9.6 9.4 13 4.6 18 1.6' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.promise-sheet li b {
  font-family: var(--sans);
  font-size: 1em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Download */

.download {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding: clamp(40px, 8vh, 96px) 0;
}

.download h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.download-copy > p {
  max-width: 40ch;
  margin: 14px 0 26px;
  color: var(--wall-muted);
}

.os-tabs {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(27, 29, 34, 0.08);
}

.os-tabs button {
  padding: 7px 18px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--wall-muted);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.os-tabs button[aria-selected="true"] {
  background: #fff;
  color: var(--wall-ink);
  box-shadow: 0 1px 3px rgba(20, 24, 33, 0.18);
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dl {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 18px;
  border-radius: 12px;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s var(--ease-out);
}

.dl span {
  display: grid;
  line-height: 1.3;
}

.dl b {
  font-size: 17px;
  font-weight: 700;
}

.dl small {
  font-size: 13px;
  opacity: 0.85;
}

.dl-mac {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 20px -12px rgba(26, 68, 189, 0.8);
}

.dl-mac:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
}

.dl-win {
  border: 1.5px dashed rgba(27, 29, 34, 0.3);
  color: var(--wall-muted);
}

.dl-win small {
  opacity: 1;
}

.dl-win:hover {
  border-color: var(--wall-ink);
  color: var(--wall-ink);
}

.install-steps {
  --tilt: 1.4deg;
  margin: 0;
  padding: 30px 30px 32px 54px;
  display: grid;
  gap: 14px;
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.55;
}

.install-steps li::marker {
  font-family: var(--hand);
  font-size: 26px;
}

.install-steps b {
  font-size: 1em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.done-dl {
  margin-top: 18px;
}

/* Invite: a post-it pad */

.invite {
  padding: clamp(32px, 6vh, 64px) 0 clamp(80px, 14vh, 160px);
  scroll-margin-top: 24px;
}

.pad {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.pad-sheet {
  position: absolute;
  inset: 0;
  background: #f5cc3c;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.pad-sheet-2 {
  transform: rotate(2.4deg) translate(6px, 8px);
  background: #e9bf2f;
}

.pad-sheet-1 {
  transform: rotate(-1.4deg) translate(-3px, 4px);
}

.pad-top {
  position: relative;
  padding: clamp(28px, 5vw, 48px);
  background: var(--note-yellow);
  box-shadow: 0 18px 30px -20px rgba(20, 24, 33, 0.5);
}

.pad-top h2 {
  font-family: var(--hand);
  font-size: clamp(44px, 6vw, 60px);
  font-weight: normal;
  letter-spacing: 0;
  line-height: 1;
}

.pad-lead {
  margin: 10px 0 26px;
  color: #3d3a2a;
  font-size: 16px;
}

.field {
  display: block;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.field > span,
.field legend {
  display: block;
  margin-bottom: 4px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
}

.field small,
.consent small {
  margin-left: 4px;
  font-weight: 500;
  color: #554e2c;
}

.field input:not([type="radio"]) {
  width: 100%;
  padding: 8px 2px 7px;
  border: 0;
  border-bottom: 2px solid rgba(35, 37, 43, 0.35);
  border-radius: 0;
  background: transparent;
  color: var(--pen);
  font-family: var(--sans);
  font-size: 18px;
  outline: none;
  transition: border-color 0.2s;
}

.field input::placeholder {
  color: rgba(52, 48, 30, 0.8);
}

.field input:focus {
  border-bottom-color: var(--blue);
}

.field input[aria-invalid="true"] {
  border-bottom-color: #c2410c;
}

.os {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.os legend {
  width: 100%;
}

.os label,
.consent label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  cursor: pointer;
}

.os small {
  font-size: 13px;
}

input[type="radio"],
input[type="checkbox"] {
  appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 2px solid var(--pen);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

input[type="checkbox"] {
  border-radius: 5px;
}

input[type="radio"]::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  transform: scale(0);
  transition: transform 0.18s var(--ease-out);
}

input[type="radio"]:checked {
  border-color: var(--blue);
}

input[type="radio"]:checked::after {
  transform: scale(1);
}

input[type="checkbox"]:checked {
  border-color: var(--blue);
  background: var(--blue);
}

input[type="checkbox"]::after {
  content: "";
  width: 13px;
  height: 11px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 12'%3E%3Cpath d='M1.5 6.5 5 10l7.5-8.5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 12'%3E%3Cpath d='M1.5 6.5 5 10l7.5-8.5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: scale(0);
  transition: transform 0.18s var(--ease-out);
}

input[type="checkbox"]:checked::after {
  transform: scale(1);
}

input[aria-invalid="true"][type="checkbox"],
fieldset input[aria-invalid="true"] {
  border-color: #c2410c;
}

.consent {
  margin: 4px 0 22px;
}

.consent details {
  margin: 6px 0 0 28px;
  font-size: 14px;
  color: #423e28;
}

.consent summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent summary::-webkit-details-marker {
  display: none;
}

.consent summary::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s var(--ease-out);
}

.consent details[open] summary::before {
  transform: rotate(45deg) translate(-2px, -2px);
}

.consent details p {
  margin: 8px 0 0;
  line-height: 1.7;
}

.trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
}

.form-error {
  margin: 0 0 14px;
  padding: 10px 12px;
  background: rgba(194, 65, 12, 0.12);
  color: #9a3412;
  font-size: 15px;
  font-weight: 600;
}

.submit {
  width: 100%;
  padding: 16px 20px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 10px 20px -12px rgba(26, 68, 189, 0.8);
  transition:
    background 0.2s,
    transform 0.2s var(--ease-out);
}

.submit:hover {
  background: var(--blue-deep);
}

.submit:active {
  transform: translateY(1px);
}

.submit:disabled {
  opacity: 0.6;
  cursor: progress;
}

.form-done {
  outline: none;
}

.done-big {
  margin: 0 0 6px;
  font-family: var(--hand);
  font-size: 54px;
  line-height: 1;
}

.form-done p {
  margin: 0;
}

.foot-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
  padding: 26px 0 40px;
  border-top: 1px solid rgba(27, 29, 34, 0.12);
  color: var(--wall-muted);
  font-size: 14px;
}

.foot-line a {
  color: inherit;
  text-underline-offset: 3px;
}

.foot-line span:first-child {
  font-weight: 800;
  color: var(--wall-ink);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes pulse {
  50% {
    opacity: 0.45;
  }
}

/* ---------- Narrow screens: the monitor becomes a laptop-sized screen with a stacked desktop ---------- */

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
  }

  .monitor {
    width: 100%;
  }

  .screen {
    aspect-ratio: auto;
    min-height: 600px;
    padding-bottom: 300px;
  }

  .menubar {
    height: 30px;
    gap: 12px;
    padding: 0 12px;
    font-size: 12px;
  }

  .menubar-items {
    display: none;
  }

  .topbar {
    gap: 12px;
  }

  .topbar-links a:not([href="#download"]) {
    display: none;
  }

  .menubar-right {
    gap: 10px;
  }

  .menubar-right svg {
    width: 15px;
  }

  .wallpaper-caption {
    position: static;
    max-width: none;
    padding: 26px 18px 0;
  }

  .wallpaper-caption p {
    margin-top: 10px;
    font-size: 17px;
  }

  .br-wide {
    display: none;
  }

  .notes {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    margin: 22px 14px 0;
    border-radius: 10px;
  }

  .window-bar {
    height: 30px;
    gap: 10px;
    padding: 0 10px;
  }

  .lights {
    gap: 5px;
  }

  .lights i {
    width: 9px;
    height: 9px;
  }

  .window-title {
    font-size: 12px;
  }

  .notes-body {
    padding: 14px 16px 18px;
    font-size: 16px;
  }

  .cursor {
    width: 14px;
  }

  .popup {
    width: calc(100% - 28px);
    border-radius: 12px;
    font-size: 13px;
  }

  .popup-chips {
    gap: 2px;
    padding: 9px 9px 7px;
    overflow: hidden;
  }

  .chip {
    gap: 3px;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 12.5px;
  }

  .popup-result {
    min-height: 84px;
    padding: 12px 14px 8px;
  }

  .popup-result p {
    font-size: 15px;
  }

  .popup-original {
    margin: 0 14px;
    padding: 7px 0 9px;
    font-size: 12px;
  }

  .popup-original-label {
    font-size: 11px;
  }

  .popup-actions {
    gap: 2px;
    padding: 7px 8px;
    border-radius: 0 0 12px 12px;
  }

  .act {
    gap: 4px;
    padding: 3px 5px;
    font-size: 12px;
  }

  .act kbd {
    padding: 0 4px;
    font-size: 11px;
  }

  .keys {
    bottom: 54px;
    gap: 6px;
    padding: 8px;
    border-radius: 12px;
  }

  .keys kbd {
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 17px;
  }

  .keys kbd.wide {
    min-width: 88px;
    font-size: 14px;
  }

  .demo-caption {
    left: 14px;
    bottom: 14px;
  }

  .note-shortcut,
  .note-facts {
    display: none;
  }

  .note-cta {
    position: relative;
    right: auto;
    bottom: auto;
    width: max-content;
    margin: -18px 0 0 auto;
    font-size: 30px;
  }

  .people,
  .download {
    grid-template-columns: 1fr;
  }

  .wall {
    gap: 0;
  }

  .wall .postit {
    min-height: 0;
    width: 92%;
  }

  .wall .postit:nth-child(n) {
    margin-top: -16px;
  }

  .wall .postit:first-child {
    margin-top: 0;
  }

  .wall .postit:nth-child(odd) {
    --tilt: -2.2deg;
    justify-self: start;
  }

  .wall .postit:nth-child(even) {
    --tilt: 1.8deg;
    justify-self: end;
  }

  .memo-note {
    right: 0;
    width: 150px;
    font-size: 23px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* 서명 경고 안심 메모: 내려받기 버튼 아래, 맥·윈도우 공통 */
.download-copy > .sign-note {
  --tilt: -1.2deg;
  max-width: 400px;
  margin: 30px 0 0;
  color: var(--pen);
}

.sign-note span {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.55;
}

.sign-note b {
  font-size: 1em;
}
