:root {
  /* 14" MacBook Pro: Liquid Retina XDR native grid (points match 2× scaling) */
  --mbp14-screen-w: 3024;
  --mbp14-screen-h: 1964;
  --apple-bg: #f5f5f7;
  --apple-text: #1d1d1f;
  --apple-muted: #6e6e73;
  --glass-border: rgba(255, 255, 255, 0.45);
  --glass-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius-window: 14px;
  --radius-device: 22px;
  --menu-h: 28px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --stick-orange: #ff5a1f;
  --cream-btn: #efe6d8;
  --app-icon-radius: 22%;
}

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

html {
  scroll-behavior: smooth;
  background: #fff;
}

body {
  margin: 0;
  font-family: var(--font);
  background: #fff;
  color: var(--apple-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Top strip: agents install prompt */
.install-ai-strip {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0a0c;
}

.install-ai-strip__inner {
  --install-prompt-chip: min(10.25rem, 36vw);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px clamp(10px, 3vw, 16px) 10px;
  min-width: 0;
}

.install-ai-strip__head {
  --install-head-gap: 6px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--install-head-gap);
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.install-ai-strip__tag,
.install-ai-strip__logos {
  flex-shrink: 0;
}

.install-ai-strip__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  background: #3432c7;
}

.install-ai-strip__logos {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
}

.install-ai-strip__logo {
  display: block;
  height: 22px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  opacity: 0.95;
}

.install-ai-strip__lead {
  margin: 0;
  padding: 0;
  /* Do not flex-grow: a full-width <p> leaves a visual hole before the prompt chip. */
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc(100% - var(--install-prompt-chip) - var(--install-head-gap));
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.install-ai-strip__prompt-box {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  width: 10.25rem;
  max-width: var(--install-prompt-chip);
  margin: 0;
  padding: 3px 5px 3px 4px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #e6e6ea;
  min-width: 0;
}

.install-ai-strip__prompt-line {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.45;
  color: #1d1d1f;
  cursor: default;
  user-select: text;
  -webkit-user-select: text;
}

.install-ai-strip__copy {
  flex-shrink: 0;
  align-self: center;
  margin: 0;
  padding: 3px 8px;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  color: #fff;
  background: #3432c7;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.install-ai-strip__copy:hover {
  background: #2a28b8;
}

.install-ai-strip__copy:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.install-ai-strip__copy:disabled {
  cursor: default;
  opacity: 0.95;
}

/* Install strip: phones & narrow viewports */
@media (max-width: 640px) {
  .install-ai-strip__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding:
      max(10px, env(safe-area-inset-top, 0px))
      max(12px, env(safe-area-inset-right, 0px))
      max(12px, env(safe-area-inset-bottom, 0px))
      max(12px, env(safe-area-inset-left, 0px));
  }

  .install-ai-strip__tag {
    align-self: center;
  }

  .install-ai-strip__logos {
    align-self: center;
    justify-content: center;
  }

  .install-ai-strip__logo {
    height: 20px;
    max-width: 58px;
  }

  .install-ai-strip__head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    flex: 0 1 auto;
    width: 100%;
    min-width: 0;
  }

  .install-ai-strip__lead {
    flex: none;
    width: 100%;
    max-width: none;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    text-align: center;
    text-wrap: balance;
    font-size: 11px;
    line-height: 1.5;
  }

  .install-ai-strip__prompt-box {
    width: 100%;
    max-width: none;
    flex: 0 0 auto;
    box-sizing: border-box;
  }

  .install-ai-strip__prompt-line {
    font-size: 10.5px;
  }

  .install-ai-strip__copy {
    min-height: 40px;
    padding: 0 12px;
    touch-action: manipulation;
  }
}

/* Tablet-ish: keep one row but let the head block wrap to full width if tight */
@media (min-width: 641px) and (max-width: 820px) {
  .install-ai-strip__inner {
    flex-wrap: wrap;
    row-gap: 8px;
    justify-content: center;
  }

  .install-ai-strip__head {
    flex: 1 1 100%;
    min-width: 0;
    justify-content: center;
  }

  .install-ai-strip__lead {
    max-width: min(22rem, calc(100% - var(--install-prompt-chip) - var(--install-head-gap)));
    text-wrap: balance;
  }
}

.seo-page > .install-ai-strip:first-child {
  margin-top: calc(-1 * clamp(20px, 4vw, 48px));
  margin-left: calc(-1 * clamp(16px, 5vw, 40px));
  margin-right: calc(-1 * clamp(16px, 5vw, 40px));
  margin-bottom: clamp(12px, 2.5vw, 20px);
}

.slides {
  min-height: 100vh;
}

.slide {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Slide 1: Alcove-style hero + device */
.slide-desktop {
  /* Fades into slide 2’s top (#3432c7) for a seamless section boundary */
  background: linear-gradient(
    180deg,
    var(--apple-bg) 0%,
    var(--apple-bg) 38%,
    #5c5adb 78%,
    #3432c7 100%
  );
  padding: 0;
  justify-content: flex-start;
  align-items: stretch;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

.slide-desktop-main--experimental {
  gap: clamp(10px, 2vh, 20px);
}

.experimental-lede {
  flex: 0 0 auto;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 clamp(12px, 3vw, 20px);
}

.experimental-lede__title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--apple-text);
}

.experimental-lede__desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--apple-muted);
}

.experimental-lede__desc a {
  color: #0066cc;
  font-weight: 500;
  text-decoration: none;
}

.experimental-lede__desc a:hover {
  text-decoration: underline;
}

/* Apple logo (U+F8FF): use system fonts so  renders on Apple platforms */
.apple-mark {
  display: inline-block;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    system-ui,
    sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  vertical-align: middle;
}

.apple-mark--inherit {
  font-size: 1em;
  font-weight: inherit;
  vertical-align: -0.06em;
}

.apple-mark--btn {
  flex-shrink: 0;
  font-size: 17px;
  position: relative;
  top: 0.05em;
}

.slide-desktop-main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: transparent;
  padding: clamp(20px, 4vw, 40px) clamp(10px, 3vw, 28px) clamp(10px, 2vh, 20px);
  gap: clamp(10px, 2vh, 18px);
}

.hero-landing {
  flex: 0 0 auto;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(8px, 2vh, 20px) 0 clamp(4px, 1vh, 12px);
}

.hero-landing__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35em;
  text-align: center;
  line-height: 1.15;
  color: #14120f;
}

.hero-landing__headline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.12em 0.2em;
  text-wrap: balance;
  font-size: clamp(2rem, 5vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.hero-landing__headline-intro {
  letter-spacing: inherit;
}

.hero-landing__mark {
  display: block;
  flex-shrink: 0;
  height: 0.92em;
  width: 0.92em;
  object-fit: contain;
  opacity: 0.45;
  filter: grayscale(1);
  margin-right: -0.26em;
}

.hero-landing__stick {
  margin-left: -0.06em;
  text-decoration: underline;
  text-decoration-color: #3432c7;
  text-decoration-thickness: clamp(2px, 0.09em, 4px);
  text-underline-offset: clamp(3px, 0.1em, 6px);
  text-decoration-skip-ink: auto;
}

.hero-landing__subline {
  display: block;
  max-width: 34ch;
  text-wrap: balance;
  font-size: clamp(0.95rem, 2.35vw, 1.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: var(--apple-muted);
}

.hero-landing__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(100%, 520px);
  margin-left: auto;
  margin-right: auto;
  gap: 8px 10px;
  margin-top: clamp(22px, 4vh, 36px);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    opacity 0.16s ease,
    box-shadow 0.16s ease;
}

.hero-btn:active {
  transform: scale(0.98);
}

.hero-btn--primary {
  background: #0f0f0f;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.hero-btn--primary:hover {
  opacity: 0.94;
}

.hero-btn--secondary {
  background: var(--cream-btn);
  color: #1d1d1f;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.hero-btn--secondary:hover {
  background: #e8dfd0;
}

.hero-btn__check {
  flex-shrink: 0;
  opacity: 0.75;
}

.hero-hq {
  flex: 0 0 auto;
  align-self: center;
  width: min(
    100%,
    99.5vw,
    min(3200px, calc((100dvh - clamp(72px, 7dvh, 160px)) * 4864 / 2938))
  );
  max-width: 100%;
  margin: clamp(8px, 1.5vh, 20px) auto 0;
}

.hero-hq__img {
  display: block;
  width: 100%;
  height: auto;
}

.device-preview-shell {
  /* True 14" MBP panel proportion (3024×1964); as large as fits under hero */
  flex: 0 1 auto;
  align-self: center;
  min-height: 0;
  width: min(
    100%,
    1920px,
    98vw,
    calc(
      max(0px, 100dvh - clamp(200px, 22dvh, 320px)) * var(--mbp14-screen-w) / var(--mbp14-screen-h)
    )
  );
  max-width: 100%;
  aspect-ratio: 3024 / 1964;
  margin: 0 auto;
  border-radius: clamp(22px, 3vw, 32px);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 28px 80px rgba(20, 18, 15, 0.18);
  display: flex;
  flex-direction: column;
}

.device-frame {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  border-radius: clamp(22px, 3vw, 30px);
  overflow: hidden;
  padding: 8px 12px 5px;
  background: linear-gradient(165deg, #1f1f22 0%, #0c0c0e 45%, #141418 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 24px 80px rgba(0, 0, 0, 0.5);
}

/* MacBook-style camera notch (sits on top bezel / into menu bar) */
.device-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: clamp(52px, 4.8vw, 76px);
  height: clamp(17px, 1.9vh, 22px);
  padding: 0;
  background: #050506;
  border-radius: 0 0 10px 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.6),
    0 2px 8px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.device-notch-lens {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #2a3a55 0%, #0d1018 55%, #000 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5) inset,
    0 0 4px rgba(40, 80, 140, 0.35);
}

.desktop {
  --desktop-radius: clamp(14px, 2.1vw, 20px);
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--desktop-radius);
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.desktop-bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background-image: url("wallpaper1.jpg");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.menu-bar {
  position: relative;
  z-index: 1;
  height: var(--menu-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(10px, 3vw, 20px);
  padding-top: 2px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(22, 22, 24, 0.35);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-top-left-radius: var(--desktop-radius);
  border-top-right-radius: var(--desktop-radius);
  overflow: hidden;
}

.menu-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-apple {
  font-size: 13px;
  opacity: 0.95;
}

.menu-app {
  font-weight: 600;
}

.menu-item {
  opacity: 0.82;
  font-weight: 500;
}

.menu-bar-right {
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
  font-size: 12px;
}

.desktop-icons {
  position: absolute;
  top: calc(var(--menu-h) + 12px);
  right: 16px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.desk-icon {
  text-align: center;
  width: 72px;
}

.desk-icon-img {
  width: 56px;
  height: 56px;
  margin: 0 auto 4px;
  border-radius: var(--app-icon-radius);
  background-image: url("stick-app.png");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Liquid glass windows */
.glass-window {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-window);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
}

.glass-window--main {
  background: rgba(255, 120, 140, 0.18);
  box-shadow:
    var(--glass-shadow),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.glass-titlebar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.glass-titlebar--traffic {
  background: rgba(0, 0, 0, 0.22);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.glass-titlebar--traffic:active {
  cursor: grabbing;
}

.glass-titlebar--note {
  background: rgba(0, 0, 0, 0.42);
  padding-left: 10px;
  min-height: 32px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.glass-titlebar--note:active {
  cursor: grabbing;
}

.traffic {
  display: flex;
  align-items: center;
  gap: 7px;
}

.traffic-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  padding: 0;
  flex-shrink: 0;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.18) inset;
}

.traffic-close {
  background: #ff5f57;
  cursor: pointer;
}

.traffic-min {
  background: #febc2e;
}

.traffic-max {
  background: #28c840;
}

.glass-title {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  margin-right: 52px;
  letter-spacing: 0.02em;
}

.glass-body {
  flex: 1;
  overflow: auto;
  padding: 14px 16px 16px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  line-height: 1.45;
}

.glass-body--main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.main-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.btn-new {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #0a84ff;
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.btn-new:hover {
  filter: brightness(1.06);
}

.btn-new:active {
  transform: scale(0.98);
}

.note-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  opacity: 0.95;
}

.note-list li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.note-list-muted {
  opacity: 0.55;
}

.appearance {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
}

.appearance-toggle {
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
  border: none;
  padding: 0;
  cursor: default;
  width: 100%;
  text-align: left;
}

.appearance-panel {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.size-a {
  font-size: 11px;
  opacity: 0.75;
}

.size-a.large {
  font-size: 15px;
}

.size-slider {
  flex: 1;
  accent-color: #0a84ff;
}

.font-row,
.variant-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  opacity: 0.9;
}

.swatch-white {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.variant-btns {
  display: flex;
  gap: 8px;
}

.variant {
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.15);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.variant.active {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
}

.path-hint {
  margin: auto 0 0;
  font-size: 10px;
  opacity: 0.55;
  word-break: break-all;
  line-height: 1.35;
}

/* Sticky note bodies */
.glass-body--note {
  font-size: 14px;
  font-weight: 500;
}

.glass-body--note p {
  margin: 0;
}

.note-bullets {
  margin: 0;
  padding-left: 1.1em;
}

.note-bullets li {
  margin-bottom: 6px;
}

.glass-tint-orange .glass-body--note {
  background: linear-gradient(180deg, rgba(255, 140, 90, 0.2), rgba(255, 80, 80, 0.12));
}

.glass-tint-mix {
  background: linear-gradient(165deg, rgba(80, 160, 255, 0.22), rgba(255, 140, 80, 0.18));
}

.glass-tint-mix-alt {
  background: linear-gradient(195deg, rgba(100, 180, 255, 0.25), rgba(255, 120, 60, 0.2));
}

.glass-tint-warm {
  background: rgba(255, 130, 70, 0.2);
}

.glass-tint-new {
  background: rgba(255, 150, 180, 0.22);
}

.note-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2) inset;
  cursor: pointer;
  padding: 0;
}

.note-dot:hover {
  background: rgba(255, 255, 255, 0.35);
}

.note-editable {
  outline: none;
  min-height: 3em;
}

.note-editable:focus {
  outline: 1px solid rgba(255, 255, 255, 0.25);
  outline-offset: 2px;
  border-radius: 4px;
}

.resize-hint {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 6;
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  border: none;
  border-radius: var(--radius-window) 0 0 0;
  cursor: nwse-resize;
  pointer-events: auto;
  touch-action: none;
  /* Quarter-ring flipped toward the window interior; dark grey */
  background: radial-gradient(
    circle at 0 0,
    transparent 0,
    transparent 10px,
    rgba(58, 58, 62, 0.62) 11px,
    rgba(58, 58, 62, 0.62) 13px,
    transparent 14px
  );
}

.resize-hint:hover {
  background: radial-gradient(
    circle at 0 0,
    transparent 0,
    transparent 9px,
    rgba(72, 72, 76, 0.72) 10px,
    rgba(72, 72, 76, 0.72) 13px,
    transparent 15px
  );
}

.dock {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 3;
  padding: 6px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

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

.dock-item {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.dock-item:hover {
  z-index: 20;
}

.dock-tooltip {
  position: absolute;
  bottom: calc(100% + 11px);
  left: 50%;
  z-index: 2;
  padding: 3px 9px 4px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.96);
  background: rgba(55, 55, 58, 0.94);
  box-shadow:
    0 0 0 0.5px rgba(255, 255, 255, 0.12),
    0 6px 20px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(3px);
  transition:
    opacity 0.14s ease,
    transform 0.14s ease,
    visibility 0.14s;
}

.dock-item:hover .dock-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dock-app-icon {
  display: flex;
  width: 38px;
  height: 38px;
  border-radius: var(--app-icon-radius);
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.18),
    0 0 0 0.5px rgba(0, 0, 0, 0.06);
}

.dock-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dock-calendar-icon {
  width: 38px;
  height: 38px;
  border-radius: 22%;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.12),
    0 0 0 0.5px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3px 4px 5px;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "Inter",
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

.dock-calendar-dow {
  font-size: 8.5px;
  font-weight: 600;
  color: #e42313;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: capitalize;
}

.dock-calendar-day {
  font-size: 19px;
  font-weight: 600;
  color: #0f0f0f;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-top: 2px;
}

.dock-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.35), rgba(120, 120, 130, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dock-icon--stick {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: transparent;
  border: none;
  border-radius: var(--app-icon-radius);
}

.dock-icon--stick img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slide 2 & 3 */
.slide-about {
  background: linear-gradient(0deg, #000000, #3432c7);
}

.slide-footer {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  min-height: unset;
  justify-content: flex-start;
}

.slide-inner {
  width: min(1080px, 92vw);
  padding: clamp(48px, 10vh, 120px) 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 24px;
}

.feature-card {
  background: #fff;
  border-radius: 28px;
  padding: 38px 26px 42px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 4px 32px rgba(0, 0, 0, 0.06);
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.feature-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.2;
  color: var(--apple-text);
}

.feature-card__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--apple-muted);
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.slide-footer .slide-inner {
  padding: clamp(28px, 5vh, 48px) 0 clamp(36px, 6vh, 64px);
}

.slide-inner--footer {
  text-align: left;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  align-self: center;
}

.footer-title {
  margin: 0 0 8px;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--apple-text);
}

.footer-copy {
  margin: 0 0 14px;
  max-width: 38rem;
  font-size: 14px;
  line-height: 1.55;
  color: var(--apple-muted);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.social-link {
  font-size: 14px;
  font-weight: 500;
  color: #0066cc;
  text-decoration: none;
}

.social-link:hover {
  text-decoration: underline;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 12px;
  line-height: 1.45;
  color: var(--apple-muted);
}

.footer-legal {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.footer-legal__link {
  color: #0066cc;
  font-weight: 500;
  text-decoration: none;
}

.footer-legal__link:hover {
  text-decoration: underline;
}

.footer-legal__sep {
  margin: 0 0.35em;
  color: var(--apple-muted);
  user-select: none;
}

.copyright {
  margin: 0;
  font-size: inherit;
  color: inherit;
}

.site-legal-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px clamp(14px, 4vw, 28px) 24px;
  font-size: 13px;
  text-align: center;
  color: var(--apple-muted);
}

.site-legal-footer a {
  color: #0066cc;
  font-weight: 500;
  text-decoration: none;
}

.site-legal-footer a:hover {
  text-decoration: underline;
}

.site-legal-footer__sep {
  margin: 0 0.4em;
  user-select: none;
  opacity: 0.55;
}

/* Legal docs (Privacy / Terms) */
.legal-doc .seo-article__header {
  margin-bottom: 28px;
}

.legal-effective {
  margin: 0 0 12px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--apple-muted);
}

.legal-draft-note {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--apple-muted);
  background: rgba(52, 50, 199, 0.06);
  border: 1px solid rgba(52, 50, 199, 0.12);
}

.legal-toc {
  margin: 0 0 32px;
  padding: 16px 18px 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.legal-toc__title {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--apple-text);
}

.legal-toc__list {
  margin: 0;
  padding-left: 1.35rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--apple-muted);
}

.legal-toc__list li {
  margin-bottom: 6px;
}

.legal-toc__list li:last-child {
  margin-bottom: 0;
}

.legal-toc a {
  color: #0066cc;
  font-weight: 500;
  text-decoration: none;
}

.legal-toc a:hover {
  text-decoration: underline;
}

.legal-doc .seo-section[id] {
  scroll-margin-top: 1.25rem;
}

.legal-doc code {
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-size: 0.88em;
  background: rgba(0, 0, 0, 0.06);
}

/* Standalone SEO / keyword guide page */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.seo-page {
  min-height: 100dvh;
  padding: clamp(20px, 4vw, 48px) clamp(16px, 5vw, 40px) 64px;
  background: #fafafa;
}

.seo-page__back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 15px;
  font-weight: 500;
  color: #0066cc;
  text-decoration: none;
}

.seo-page__back:hover {
  text-decoration: underline;
}

.seo-article {
  max-width: 720px;
  margin: 0 auto;
  color: var(--apple-text);
}

.seo-article__header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.seo-article__title {
  margin: 0 0 20px;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.seo-article__lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--apple-muted);
}

.seo-section {
  margin-bottom: 36px;
}

.seo-section h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.seo-section p {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--apple-muted);
}

.seo-section ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--apple-muted);
  line-height: 1.6;
}

.seo-section li {
  margin-bottom: 10px;
}

.seo-section li strong {
  color: var(--apple-text);
}

.seo-keyword-list {
  list-style: disc;
  padding-left: 1.35rem;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--apple-muted);
}

@media (min-width: 640px) {
  .seo-keyword-list {
    column-count: 2;
    column-gap: 2rem;
  }

  .seo-keyword-list li {
    break-inside: avoid;
  }
}

.seo-keyword-list li {
  margin-bottom: 6px;
}

.seo-note {
  margin: 20px 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--apple-muted);
  font-style: italic;
}

.seo-table-wrap {
  overflow-x: auto;
  margin-top: 8px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.seo-table th,
.seo-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.seo-table thead th {
  font-weight: 600;
  color: var(--apple-text);
  background: rgba(0, 0, 0, 0.03);
}

.seo-table tbody tr:last-child th,
.seo-table tbody tr:last-child td {
  border-bottom: none;
}

.seo-table tbody th {
  width: 28%;
  font-weight: 600;
  color: var(--apple-text);
}

.seo-article__footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 15px;
}

.seo-article__footer a {
  color: #0066cc;
  font-weight: 500;
  text-decoration: none;
}

.seo-article__footer a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .glass-title {
    font-size: 11px;
    margin-right: 40px;
  }

  .menu-item {
    display: none;
  }

  .menu-bar-left .menu-item:first-of-type {
    display: none;
  }
}
