/* Raycast design tokens */
:root {
  --grey-50: #e6e6e6;
  --grey-100: #cdcece;
  --grey-200: #9c9c9d;
  --grey-300: #6a6b6c;
  --grey-400: #434345;
  --grey-500: #2f3031;
  --grey-600: #1b1c1e;
  --grey-700: #111214;
  --grey-800: #0c0d0f;
  --grey-900: #07080a;
  --white: #fff;
  --blue: #56c2ff;
  --red: #ff6363;
  --rounding-sm: 6px;
  --rounding-md: 12px;
  --rounding-lg: 16px;
  --container: 1204px;
  --navbar-height: 58px;
  --font: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --card-border: rgba(255, 255, 255, 0.06);
  --card-bg: linear-gradient(137deg, rgba(17, 18, 20, 0.85) 4.87%, rgba(12, 13, 15, 0.95) 75.88%);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-feature-settings: 'liga' 1, 'calt' 1;
  -webkit-font-smoothing: antialiased;
  color: var(--white);
  background: var(--grey-900);
  overflow-x: hidden;
}

.shell { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { color: white; background: var(--red); }

/* ── Raycast navbar ── */
.navbar-wrap {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 100;
  width: 100%;
  padding: 16px 16px 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.navbar {
  pointer-events: auto;
  display: grid;
  grid-template-rows: 24px auto;
  max-width: var(--container);
  margin: 0 auto;
  height: var(--navbar-height);
  padding: 16px;
  overflow: hidden;
  background: linear-gradient(137deg, rgba(17, 18, 20, 0.75) 4.87%, rgba(12, 13, 15, 0.9) 75.88%);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--rounding-lg);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.15);
  transition: height 0.3s ease;
}

.navbar.open { height: auto; overflow: visible; }

.navbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
  transition: transform 0.2s;
}

.navbar-logo .logo-text {
  font-family: "MacsTweakedMinecraft", monospace;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.4px;
  line-height: 1;
}

.navbar-logo:hover { transform: scale(1.03); }

.logo-mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(150deg, #dceaff, #6397ff);
  color: #10235a;
  font-size: 14px;
  line-height: 0;
}

.navbar-toggle {
  position: relative;
  width: 24px;
  height: 16px;
}

.navbar-toggle span {
  position: absolute;
  left: 50%;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
  transition: transform 0.3s, opacity 0.25s;
}

.navbar-toggle span:nth-child(1) { top: 10%; }
.navbar-toggle span:nth-child(2) { top: 50%; transform: translate(-50%, -50%); }
.navbar-toggle span:nth-child(3) { top: 90%; }

.navbar.open .navbar-toggle span:nth-child(1) { top: 50%; transform: translate(-50%, -50%) rotate(-45deg); }
.navbar.open .navbar-toggle span:nth-child(2) { opacity: 0; }
.navbar.open .navbar-toggle span:nth-child(3) { top: 50%; transform: translate(-50%, -50%) rotate(45deg); }

.navbar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 48px 0 24px;
}

.navbar-nav a {
  padding: 12px 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--grey-200);
  border-radius: var(--rounding-sm);
  transition: color 0.2s, background 0.2s;
}

.navbar-nav a:hover { 
  color: var(--white); 
  background: rgba(255, 255, 255, 0.08);
}

.navbar-secondary {
  display: flex;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-discord {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: var(--grey-600);
  border: 0.5px solid var(--grey-500);
  border-radius: var(--rounding-sm);
  transition: color 0.2s;
}

.navbar-discord:hover { 
  color: var(--grey-100);
}

.navbar-search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--grey-200);
  background: var(--grey-600);
  border: 0.5px solid var(--grey-500);
  border-radius: var(--rounding-sm);
  transition: color 0.2s;
}

.navbar-search:hover { color: var(--white); }

.btn-download {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: rgb(24, 25, 26);
  background: rgba(255, 255, 255, 0.815);
  border-radius: var(--rounding-sm);
  transition: background 0.2s;
}

.btn-download:hover { background: var(--white); }

@media (min-width: 880px) {
  :root { --navbar-height: 76px; }

  .navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    overflow: visible;
  }

  .navbar-top { position: absolute; left: 32px; top: 50%; transform: translateY(-50%); width: auto; }
  .navbar-toggle { display: none; }

  .navbar-nav {
    flex-direction: row;
    gap: 16px;
    padding: 0;
  }

  .navbar-nav a { padding: 12px 8px; }

  .navbar-secondary {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    border: none;
    align-items: center;
  }

  .btn-download { flex: none; }
}

/* ── Hero ── */
.hero {
  padding-top: calc(var(--navbar-height) + 48px);
  padding-bottom: 80px;
  padding-left: 200px;
  padding-right: 200px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding-left: 300px;
    padding-right: 300px;
  }
}

@media (min-width: 1200px) {
  .hero {
    padding-left: 420px;
    padding-right: 420px;
  }
}

@media (min-width: 1600px) {
  .hero {
    padding-left: 530px;
    padding-right: 530px;
  }
}

.hero-inner { 
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.hero-box {
  position: relative;
  padding: clamp(70px, 10vw, 130px) clamp(48px, 8vw, 100px);
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 12px !important;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 50px 100px -20px rgba(0, 0, 0, 0.8),
    0 30px 60px -30px rgba(0, 0, 0, 0.9);
  text-align: center;
  overflow: hidden;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
}

.hero-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.02) 0px,
      transparent 1px,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 3px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 0px,
      transparent 1px,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 3px
    );
  background-size: 60px 60px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}

.hero-box .rc-tag {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.hero-box h1 {
  position: relative;
  z-index: 2;
  margin: 28px 0 24px;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  max-width: 1100px;
}

.hero-box .hero-muted { 
  color: rgba(255, 255, 255, 0.85); 
}

.hero-subtitle {
  position: relative;
  z-index: 2;
  margin: 0 auto 40px;
  max-width: 700px;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
}

.hero-box .hero-cta {
  position: relative;
  z-index: 2;
}

.hero-box .btn-primary {
  background: #ffffff;
  color: #000000;
  border: none;
  font-size: 15px;
  height: 44px;
  padding: 0 28px;
  font-weight: 600;
  transition: opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-box .btn-primary:hover {
  opacity: 0.9;
}

.btn-icon-hero {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.rc-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--grey-600);
  border-radius: var(--rounding-sm);
}

@media (min-width: 480px) { .rc-tag { font-size: 13px; } }

.hero h1 {
  margin: 24px 0 32px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.btn-icon { flex-shrink: 0; opacity: 0.85; }

.hero-muted { color: var(--grey-200); }

/* Cloudflare-style rotating highlight - v3 FIXED */
.cf-rotating-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
}

.cf-rotating-prefix {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.cf-rotating {
  margin: 0 !important;
  max-width: 100% !important;
  font-size: clamp(28px, 3.5vw, 42px) !important;
  line-height: 1.4 !important;
  letter-spacing: -0.01em !important;
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 500 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: baseline !important;
}

.cf-rotating-box {
  position: relative;
  display: inline-block;
  align-items: baseline;
  vertical-align: baseline;
  overflow: hidden;
  padding: 0.1em 0.22em;
  margin: -0.1em 0;
  border-radius: 5px;
  transition: color 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  text-align: left;
}

.cf-rotating-track {
  position: relative;
  z-index: 2;
  display: inline-block;
  white-space: nowrap;
  transition: transform 0.38s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.38s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.cf-rotating-track.is-exiting {
  transform: translateY(-0.35em);
  opacity: 0.2;
}

.cf-rotating-track.is-entering {
  transform: translateY(0.35em);
}

.cf-rotating-track [data-word] {
  display: inline-block;
  white-space: nowrap;
  transition: opacity 0.35s cubic-bezier(0.25, 0.1, 0.25, 1), filter 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.cf-rotating-track.is-exiting [data-word] {
  opacity: 0;
  filter: blur(4px);
}

.cf-rotating-track.is-entering [data-word] {
  opacity: 0;
  filter: blur(4px);
}

.cf-rotating[data-rotating-text-active='true'] .cf-rotating-track.is-entering [data-word],
.cf-rotating[data-rotating-text-active='true'] .cf-rotating-track:not(.is-exiting):not(.is-entering) [data-word] {
  opacity: 1;
  filter: blur(0);
}

.cf-rotating[data-rotating-text-active='true'] .cf-rotating-track [data-word] {
  mix-blend-mode: lighten;
}

.cf-rotating-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 5px;
  pointer-events: none;
  background-color: rgba(255, 72, 1, 0);
  box-shadow: inset 0 0 0 1px rgba(255, 72, 1, 0);
  transition: background-color 0.35s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.cf-rotating[data-rotating-text-active='true'] .cf-rotating-glow {
  background-color: rgba(255, 72, 1, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 72, 1, 0.35);
}

.cf-rotating[data-rotating-text-active='true'] .cf-rotating-box {
  color: #ff9f6b;
}

.cf-rotating-noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 5px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: plus-lighter;
  transition: opacity 0.35s ease;
}

.cf-rotating[data-rotating-text-active='true'] .cf-rotating-noise {
  opacity: 1;
}

.cf-rotating-noise > span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background-image:
    radial-gradient(55% 70% at 0% 28%, rgba(255, 150, 80, 0.2), transparent 70%),
    radial-gradient(55% 70% at 100% 28%, rgba(255, 150, 80, 0.2), transparent 70%),
    radial-gradient(55% 65% at 50% 72%, rgba(200, 40, 0, 0.15), rgba(200, 40, 0, 0.01) 70%),
    radial-gradient(40% 60% at 50% 45%, rgba(255, 90, 20, 0.05), rgba(200, 40, 0, 0.01) 75%);
  background-size: 50% 100%;
  background-repeat: repeat-x;
  animation: cf-rotating-noise-drift 2s linear infinite;
  will-change: transform;
}

@keyframes cf-rotating-noise-drift {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .cf-rotating-noise > span { animation: none; }
  .cf-rotating-track [data-word] { transition: none; filter: none; }
}

.hero-lead {
  margin: 0 auto 32px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: rgb(24, 25, 26);
  background: rgba(255, 255, 255, 0.815);
  border-radius: var(--rounding-sm);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--white); }
.btn-primary:active { transform: scale(0.98); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--grey-200);
  background: var(--grey-600);
  border: 0.5px solid var(--grey-500);
  border-radius: var(--rounding-sm);
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover { color: var(--white); border-color: var(--grey-400); }

/* ── RaycastWindow ── */
.window-frame {
  display: flex;
  justify-content: center;
  padding: 64px 16px 0;
  perspective: 1200px;
  position: relative;
}

.window-frame::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  width: 600px;
  height: 400px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(86, 194, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.rc-window {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 56px 1fr 40px;
  width: min(750px, 100%);
  height: 420px;
  isolation: isolate;
  border-radius: var(--rounding-md);
  transform: translateZ(0);
}

.rc-window::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(36px);
  border: 1px solid rgba(142, 140, 144, 0.2);
  box-shadow:
    0 4px 40px 8px rgba(0, 0, 0, 0.4),
    0 0 0 0.5px rgba(0, 0, 0, 0.8),
    inset 0 0.5px 0 0 rgba(255, 255, 255, 0.3);
}

.rc-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-size: 16px;
  letter-spacing: 0.1px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
}

.rc-nav-icon { color: rgba(255, 255, 255, 0.4); }

.rc-nav-input {
  flex: 1;
  text-align: left;
  color: rgba(255, 255, 255, 0.4);
}

.rc-body {
  overflow-y: auto;
  padding: 0 8px;
  text-align: left;
  scrollbar-width: none;
}

.rc-body::-webkit-scrollbar { display: none; }

.rc-section-title {
  padding: 16px 8px 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1px;
  color: rgba(255, 255, 255, 0.6);
}

.rc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 8px;
  font-size: 13px;
  letter-spacing: 0.1px;
  border-radius: var(--rounding-sm);
  transition: background 0.15s, transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rc-item-active,
.rc-item:hover { background: rgba(255, 255, 255, 0.1); }

.rc-item-icon {
  display: inline-flex;
  width: 20px;
  justify-content: center;
  color: var(--grey-200);
}

.rc-item-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.rc-item-accessory { color: rgba(255, 255, 255, 0.6); font-size: 13px; }

.rc-actionbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  isolation: isolate;
}

.rc-actionbar::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(48px);
  border-top: 1px solid rgba(142, 140, 144, 0.2);
  border-radius: 0 0 var(--rounding-md) var(--rounding-md);
}

.rc-action-left,
.rc-action-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rc-action-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.rc-action-sep {
  width: 2px;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.rc-hotkeys { display: inline-flex; gap: 2px; }

.rc-hotkeys kbd,
.search-results kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 21px;
  padding: 0 4px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* ── Sections ── */
.section { padding: 100px 0 48px; }

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

.section-head.center { margin: 0 auto; text-align: center; }
.section-head.center p { margin: 0 auto; }

.section-head h2 {
  margin: 16px 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-head p {
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
}

/* ── Intro + cinematic feature cards ── */
.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: 200px 0 80px;
  text-align: center;
}

.intro .section-label {
  align-self: flex-start;
}

.intro h2 {
  font-size: clamp(36px, 4.5vw, 48px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.intro p:not(.cf-rotating) {
  max-width: 465px;
  color: var(--grey-200);
  line-height: 1.75;
  font-size: 14px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 200px;
}

.feature-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card {
  min-height: 460px;
  position: relative;
  padding: 28px;
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: var(--rounding-md);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 0.5px solid var(--grey-500);
  border-radius: var(--rounding-sm);
  background: var(--grey-600);
  color: var(--grey-100);
  font-size: 17px;
}

.card-number {
  position: absolute;
  right: 28px;
  top: 31px;
  color: var(--grey-400);
  font: 500 11px var(--mono), monospace;
  letter-spacing: 0.2px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 79px 0 10px;
}

.feature-card p {
  color: var(--grey-200);
  font-size: 14px;
  line-height: 1.6;
  max-width: 285px;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  color: var(--grey-200);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: color 0.3s;
}

.feature-link:hover { color: var(--white); }
.feature-link span { margin-left: 8px; }

.map, .sound, .sun {
  position: absolute;
  inset: auto 0 0;
  height: 165px;
  opacity: 0.85;
  pointer-events: none;
}

.map {
  background:
    radial-gradient(circle at 35% 55%, #3e64ba3c, transparent 32%),
    linear-gradient(50deg, transparent 49%, #5c69761d 50%, transparent 51%),
    linear-gradient(-30deg, transparent 49%, #5c69761d 50%, transparent 51%);
}

.map-node {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(86, 194, 255, 0.5);
}

.n1 { left: 30%; top: 54%; }
.n2 { left: 62%; top: 39%; }
.n3 { left: 71%; top: 73%; }

.map-line {
  position: absolute;
  height: 1px;
  background: rgba(86, 194, 255, 0.35);
  transform-origin: left;
}

.l1 { left: 31%; top: 57%; width: 112px; transform: rotate(-17deg); }
.l2 { left: 63%; top: 42%; width: 65px; transform: rotate(48deg); }

.map-beam { display: none; }

.map b {
  position: absolute;
  left: 22%;
  top: 77%;
  font: 9px var(--mono), monospace;
  letter-spacing: 0.6px;
  color: var(--grey-100);
}

.map b small { color: #6c7480; }

.sound {
  display: flex;
  gap: 7px;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 28px;
  background: linear-gradient(0deg, #2d5eb033, transparent);
}

.sound i {
  width: 7px;
  border-radius: 5px;
  background: linear-gradient(#9fe0ff, var(--blue));
  box-shadow: 0 0 12px rgba(86, 194, 255, 0.4);
}

.sound i:nth-child(1) { height: 28px; }
.sound i:nth-child(2) { height: 63px; }
.sound i:nth-child(3) { height: 93px; }
.sound i:nth-child(4) { height: 56px; }
.sound i:nth-child(5) { height: 35px; }
.sound i:nth-child(6) { height: 17px; }

.sound span {
  position: absolute;
  bottom: 15px;
  color: var(--grey-300);
  font: 8px var(--mono), monospace;
  letter-spacing: 1px;
}

.sun {
  background: radial-gradient(circle at 76% 78%, #ffb75d88 0, transparent 25%);
}

.sun-core {
  position: absolute;
  bottom: -38px;
  right: -22px;
  width: 170px;
  height: 170px;
  border: 1px solid #fac989;
  border-radius: 50%;
  box-shadow: 0 0 50px #f8a43d80, inset 0 0 45px #f6b75980;
}

.sun span {
  position: absolute;
  left: 30px;
  bottom: 35px;
  color: #f2bc75;
  font: 9px var(--mono), monospace;
  letter-spacing: 0.8px;
}

.arrow-link {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--grey-200);
  transition: color 0.3s;
}

.arrow-link:hover { color: var(--white); }

/* ── Module list ── */
.module-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.module-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-height: 120px;
  padding: 24px;
  background: var(--grey-800);
  border: 1px solid var(--card-border);
  border-radius: var(--rounding-md);
  transition: background 0.2s;
}

.module-row:hover { background: var(--grey-700); }

.module-icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--grey-100);
  background: var(--grey-600);
  border-radius: var(--rounding-sm);
}

.module-row strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.module-row p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--grey-200);
}

/* ── Split + notifications ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 200px 0;
}

.split-copy h2 {
  margin: 16px 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.split-copy p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.notify-stack {
  position: relative;
  min-height: 420px;
  background: radial-gradient(circle at 55% 48%, rgba(86, 194, 255, 0.06), transparent 50%);
}

.mac-notify {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 360px;
  padding: 16px 18px;
  background: linear-gradient(137deg, rgba(17, 18, 20, 0.92) 4.87%, rgba(12, 13, 15, 0.96) 75.88%);
  border: 1px solid var(--card-border);
  border-radius: var(--rounding-sm);
  backdrop-filter: blur(20px);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.4), inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
}

.mac-notify span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--rounding-sm);
  background: var(--grey-600);
  color: var(--grey-100);
  font-size: 16px;
}

.mac-notify p { margin: 0; font-size: 14px; font-weight: 500; }
.mac-notify small { display: block; font-size: 12px; color: var(--grey-300); margin-top: 3px; }

.mac-notify.front { top: 150px; left: 48px; z-index: 2; }
.mac-notify.back { top: 52px; left: 0; opacity: 0.55; transform: rotate(-3deg); }
.mac-notify.low { top: 260px; left: 12px; opacity: 0.7; transform: rotate(2deg); }

/* ── Testimonials ── */
.testimonials { padding: 160px 0; }

.testimonial-carousel { max-width: 560px; margin: 48px auto 0; }

.testimonial-track { position: relative; min-height: 160px; }

.testimonial {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.testimonial.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.testimonial p {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 24px;
}

.testimonial footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar { border-radius: 50%; }

.testimonial footer strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}

.testimonial footer span {
  font-size: 13px;
  color: var(--grey-200);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.testimonial-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border-radius: 50%;
  background: var(--grey-500);
  transition: background 0.2s, transform 0.2s;
}

.testimonial-dots button.active { background: var(--white); transform: scale(1.3); }

/* ── Discord Chat Animation ── */
.discord-showcase {
  display: flex;
  flex-grow: 1;
  justify-content: center;
  padding: 0 16px 16px;
  z-index: 1;
}

.discord-window {
  width: min(459px, 100%);
  height: 280px;
  background: #1e1f22;
  border-radius: var(--rounding-md);
  overflow: hidden;
  position: relative;
  box-shadow: 0 7px 3px 0 rgba(0, 0, 0, 0.03), 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

/* Cinematic gradient overlays */
.discord-window::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(180deg, 
    rgba(0, 0, 0, 0.9) 0%, 
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 10;
}

.discord-window::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 25%;
  background: linear-gradient(0deg, 
    rgba(30, 31, 34, 0.7) 0%, 
    rgba(30, 31, 34, 0) 100%);
  pointer-events: none;
  z-index: 10;
}

.discord-messages {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #1e1f22;
  position: relative;
}

.discord-messages::-webkit-scrollbar {
  width: 8px;
}

.discord-messages::-webkit-scrollbar-track {
  background: #0d0d0d;
}

.discord-messages::-webkit-scrollbar-thumb {
  background: #1a1b1e;
  border-radius: 4px;
}

.discord-msg {
  display: flex;
  gap: 12px;
  opacity: 0;
  will-change: opacity;
  position: relative;
  min-height: 56px;
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.discord-msg.visible {
  opacity: 1;
}

.discord-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5865f2, #7289da);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: white;
  overflow: hidden;
}

.discord-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discord-content {
  flex: 1;
  min-width: 0;
}

.discord-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.discord-username {
  font-weight: 600;
  font-size: 15px;
  color: #f2f3f5;
}

.discord-timestamp {
  font-size: 12px;
  color: #6d6f78;
  font-weight: 400;
}

.discord-text {
  font-size: 15px;
  color: #dbdee1;
  line-height: 1.375;
  word-wrap: break-word;
  margin: 0;
}

.discord-text.highlight {
  color: #8cd6ff;
  font-weight: 500;
}

.discord-text code {
  background: #0d0d0d;
  padding: 2px 5px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 14px;
}

/* ── Themes Showcase (Customization) ── */
.themes-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  min-height: 200px;
}

.themes-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  opacity: 0.95;
}

/* ── Raycast Automation section ── */
.automation {
  padding: 200px 0 200px;
}

.auto-section-title {
  max-width: 510px;
  margin: 0 auto 48px;
  text-align: center;
}

.auto-section-title h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.auto-section-title p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--grey-200);
  letter-spacing: 0.2px;
}

@media (min-width: 768px) {
  .auto-section-title p { font-size: 18px; }
}

.auto-grid {
  display: grid;
  grid-template-areas:
    "top"
    "left"
    "right";
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 720px) {
  .auto-grid {
    grid-template-areas:
      "top top"
      "left right";
    grid-template-columns: 1fr 1fr;
  }
}

.auto-top-wrap {
  position: relative;
  grid-area: top;
}

.auto-backdrop {
  position: absolute;
  inset: -13px 24px;
  z-index: -1;
  filter: blur(37.5px);
  pointer-events: none;
}

.auto-backdrop::before {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 50% 14%, 100% 0, 92% 50%, 100% 100%, 50% 86%, 0 100%, 8% 50%);
  content: "";
  background: radial-gradient(96.53% 62.13% at 22.87% 46.84%, rgba(255, 255, 255, 0) 17.89%, rgba(154, 170, 255, 0.1) 100%);
}

.auto-card {
  overflow: hidden;
  background: linear-gradient(45deg, var(--grey-800) 0%, var(--grey-900) 100.67%);
  border: 1px solid var(--card-border);
  border-radius: var(--rounding-md);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.auto-top {
  position: relative;
  display: grid;
  grid-auto-flow: row;
  height: 100%;
  padding-top: 0;
}

@media (min-width: 720px) {
  .auto-top {
    grid-auto-flow: column;
    padding-right: 16px;
    padding-bottom: 16px;
  }
}

.auto-snippets-bg {
  position: absolute;
  top: -80%;
  right: -5%;
  width: 90%;
  height: 180%;
  pointer-events: none;
  opacity: 0.75;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(86, 194, 255, 0.35), transparent 70%),
    radial-gradient(ellipse 40% 35% at 40% 60%, rgba(120, 160, 255, 0.2), transparent 65%);
}

.auto-desc {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  z-index: 1;
}

.auto-top .auto-desc {
  grid-row: 2;
  max-width: 420px;
}

@media (min-width: 720px) {
  .auto-top .auto-desc { grid-row: 1; }
}

.auto-desc h5 {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.2px;
}

.auto-desc h5 svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.auto-desc p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--grey-200);
  letter-spacing: 0.2px;
}

.snippets-showcase {
  display: flex;
  flex-grow: 1;
  justify-content: center;
  padding: 0 16px 16px;
  z-index: 1;
}

.snippet-card {
  display: flex;
  flex-direction: column;
  width: min(459px, 100%);
  padding: 20px 22px 17px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.2px;
  user-select: none;
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--card-border);
  border-radius: 0 0 var(--rounding-md) var(--rounding-md);
  box-shadow: 0 7px 3px 0 rgba(0, 0, 0, 0.03), 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  transform: translateY(-12px);
}

@media (min-width: 720px) {
  .snippet-card { font-size: 16px; }
}

.snippet-card > p:first-child { margin: 0; }

.snippet-line {
  position: relative;
  margin: 19px 0 29px;
}

.snippet-completion-text {
  color: #8cd6ff;
  background: linear-gradient(90deg, rgba(86, 194, 255, 0.16) 1.41%, rgba(86, 194, 255, 0.06) 98.59%);
}

.snippet-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.snippet-emoji {
  display: inline-flex;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--rounding-sm);
  box-shadow: 0 7px 3px 0 rgba(0, 0, 0, 0.03), 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  opacity: 0.6;
}

.snippet-emoji svg { width: 14px; height: 14px; }

.snippet-send {
  height: auto;
  padding: 2px 12px;
  font-size: inherit;
  font-weight: 500;
  line-height: 1.6;
  color: rgb(24, 25, 26);
  background: rgba(255, 255, 255, 0.815);
  border: none;
  border-radius: 4px;
  opacity: 0.85;
}

.auto-left {
  display: flex;
  flex-direction: column;
  grid-area: left;
}

.auto-right {
  display: grid;
  grid-area: right;
  grid-template-rows: 1fr auto;
  grid-template-columns: 1fr;
}

.ql-showcase {
  display: flex;
  justify-content: center;
  padding: 24px 16px 0;
  mask-image: linear-gradient(179deg, #d9d9d9 73.71%, rgba(217, 217, 217, 0) 91.16%);
}

.ql-window {
  width: min(100%, 340px);
  padding: 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--rounding-md);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.ql-search {
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  border-bottom: 1px solid var(--grey-500);
}

.ql-cursor {
  color: var(--grey-200);
  margin-left: 1px;
}

.ql-label {
  padding: 10px 12px 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--grey-300);
  letter-spacing: 0.2px;
}

.ql-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--rounding-sm);
}

.ql-item strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
}

.ql-item small {
  font-size: 11px;
  color: var(--grey-300);
}

.ql-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  flex-shrink: 0;
}

.ql-figma { background: #1e1e1e; color: #a259ff; border: 1px solid rgba(162, 89, 255, 0.3); }
.ql-framer { background: #1e1e1e; color: #0099ff; border: 1px solid rgba(0, 153, 255, 0.3); }

.auto-left .auto-desc { max-width: 399px; }

.hotkeys-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 24px 16px;
  pointer-events: none;
  user-select: none;
}

@media (min-width: 720px) {
  .hotkeys-showcase { min-height: 200px; }
}

.hotkeys-combo {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  height: 106px;
  transform: scale(0.65);
}

@media (min-width: 530px) {
  .hotkeys-combo { transform: scale(0.8); }
}

@media (min-width: 900px) {
  .hotkeys-combo { transform: scale(1); }
}

.hotkeys-plus {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 22px;
  opacity: 0.5;
}

.kb-key {
  --key-bg-start: rgb(18, 18, 18);
  --key-bg-end: rgb(13, 13, 13);
  display: grid;
  grid-template-rows: 1fr 1fr;
  flex-shrink: 0;
  width: 110px;
  height: 100%;
  padding: 14.5px 15px;
  font-size: 18px;
  font-weight: 500;
  text-shadow: 0 0.5px 0.5px rgba(0, 0, 0, 0.1);
  background: radial-gradient(75% 75% at 50% 91.9%, var(--key-bg-start) 0%, var(--key-bg-end) 100%);
  border-radius: 11px;
  box-shadow:
    0 1.5px 0.5px 2.5px rgba(0, 0, 0, 0.4),
    0 0 0.5px 1px rgb(0, 0, 0),
    inset 0 2px 1px 1px rgba(0, 0, 0, 0.25),
    inset 0 1px 1px 1px rgba(255, 255, 255, 0.2);
}

.kb-key-wide { width: 138px; }

.kb-key-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
}

.kb-key-letter .kb-stretch {
  font-size: 32px;
  color: var(--white);
}

.kb-alt {
  grid-row: 1;
  text-align: right;
  font-size: 20px;
  color: #d8d8d8;
  line-height: 1;
}

.kb-primary {
  grid-row: 2;
  align-self: end;
  font-size: 16px;
  color: var(--grey-100);
  line-height: 1;
}

/* ── Community ── */
.final-feature {
  padding: 200px 0 200px;
}

.final-feature-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.final-feature-text h2 {
  margin: 0 0 20px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.final-feature-description {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 40px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.final-feature-description strong {
  color: var(--white);
  font-weight: 600;
}

/* Rotating highlight spans - NO LAYOUT SHIFT FIX */
.final-feature-description [data-highlight] {
  position: relative;
  display: inline;
  color: rgba(255, 255, 255, 0.25);
  font-weight: 500;
  transition: color 0.45s cubic-bezier(0.25, 0.1, 0.25, 1), font-weight 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
  /* Reserve space for bold to prevent layout shift */
  letter-spacing: inherit;
}

.final-feature-description [data-highlight].active {
  color: #ff9f6b;
  font-weight: 600;
}

/* Highlight box wrapper - positioned absolutely to avoid affecting text flow */
.final-feature-description [data-highlight]::before,
.final-feature-description [data-highlight]::after {
  content: '';
  position: absolute;
  left: -0.22em;
  right: -0.22em;
  top: -0.05em;
  bottom: -0.05em;
  border-radius: 5px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.25, 0.1, 0.25, 1), 
              background-color 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
              box-shadow 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Glow layer */
.final-feature-description [data-highlight]::before {
  z-index: -1;
  background-color: rgba(255, 72, 1, 0);
  box-shadow: inset 0 0 0 1px rgba(255, 72, 1, 0);
}

.final-feature-description [data-highlight].active::before {
  opacity: 1;
  background-color: rgba(255, 72, 1, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 72, 1, 0.35);
}

/* Noise texture layer */
.final-feature-description [data-highlight]::after {
  z-index: -2;
  overflow: hidden;
  mix-blend-mode: plus-lighter;
  background-image:
    radial-gradient(55% 70% at 0% 28%, rgba(255, 150, 80, 0.2), transparent 70%),
    radial-gradient(55% 70% at 100% 28%, rgba(255, 150, 80, 0.2), transparent 70%),
    radial-gradient(55% 65% at 50% 72%, rgba(200, 40, 0, 0.15), rgba(200, 40, 0, 0.01) 70%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  animation: highlight-noise-drift 2s linear infinite paused;
}

.final-feature-description [data-highlight].active::after {
  opacity: 1;
  animation-play-state: running;
}

@keyframes highlight-noise-drift {
  from { background-position: 0% 0%; }
  to { background-position: 100% 0%; }
}

@media (prefers-reduced-motion: reduce) {
  .final-feature-description [data-highlight]::after {
    animation: none;
  }
  .final-feature-description [data-highlight] {
    transition: none;
  }
}

.final-feature-integration {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.final-feature-integration svg {
  width: 16px;
  height: 16px;
  color: var(--white);
}

.integration-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.integration-description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--grey-200);
  margin: 0;
}

.final-feature-visual {
  position: relative;
}

.reminders-mockup {
  background: linear-gradient(137deg, rgba(17, 18, 20, 0.85) 4.87%, rgba(12, 13, 15, 0.95) 75.88%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--rounding-md);
  padding: 16px;
  box-shadow: 0 4px 40px 8px rgba(0, 0, 0, 0.4);
}

.reminders-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

.reminders-back {
  font-size: 18px;
  color: var(--grey-200);
}

.reminders-search {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--grey-300);
  font-size: 14px;
  font-family: var(--font);
}

.reminders-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reminders-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-300);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 12px;
}

.section-title .count {
  font-weight: 400;
  color: var(--grey-400);
  text-transform: none;
  margin-left: 8px;
}

.reminder-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--rounding-sm);
  transition: background 0.15s;
}

.reminder-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.reminder-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--grey-400);
  background: transparent;
  cursor: pointer;
}

.reminder-item span:nth-child(2) {
  flex: 1;
  font-size: 14px;
  color: var(--white);
}

.reminder-item .tag {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--grey-200);
  flex: none;
}

/* ── Footer ── */
.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 32px 0 48px;
  font-size: 13px;
  color: var(--grey-200);
}

.footer-links { display: flex; gap: 20px; }

.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

.footer small { grid-column: 1 / -1; font-size: 12px; color: var(--grey-300); }

/* ── Raycast search overlay ── */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  overflow-y: auto;
  transform: translateZ(0);
}

.search-overlay[hidden] { display: none; }

.search-box {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 20vh auto 0;
  background-image: radial-gradient(100% 100% at 50% 0, var(--grey-800) 0, var(--grey-700) 150%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--rounding-md);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.search-input {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--grey-500);
  outline: none;
}

.search-results {
  list-style: none;
  margin: 0;
  padding: 8px 8px 16px;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  font-size: 15px;
  color: var(--grey-200);
  border-radius: var(--rounding-sm);
  cursor: pointer;
  transition: background 0.15s;
}

.search-result span:nth-child(2) { flex: 1; }

.search-result small {
  font-size: 12px;
  color: var(--grey-300);
}

.search-result:hover,
.search-result.active { background: rgba(255, 255, 255, 0.08); color: var(--white); }

/* ── Mobile ── */
@media (max-width: 768px) {
  .intro { display: flex; padding: 120px 0 50px; }
  .intro h2 { font-size: 32px; margin-top: 20px; }
  .cf-rotating { font-size: clamp(22px, 6vw, 32px) !important; }
  .cf-rotating-box { display: inline-block !important; }
  .features { grid-template-columns: 1fr; gap: 32px; margin-bottom: 100px; }
  .feature-card { min-height: 410px; }
  .split { grid-template-columns: 1fr; padding: 120px 0; }
  .automation { padding: 120px 0; }
  .final-feature { padding: 120px 0; }
  .final-feature-content { grid-template-columns: 1fr; gap: 40px; }
  .notify-stack { min-height: 360px; margin: 0 -8px; }
  .mac-notify.front { left: calc(50% - 150px); }
  .mac-notify.back { left: calc(50% - 170px); }
  .mac-notify.low { left: calc(50% - 160px); }
  .hotkeys-combo { transform: scale(0.55); }
  .snippet-card { transform: none; }
  .quote-inner { padding: 32px 24px; }
  .footer { grid-template-columns: 1fr; }
  .footer p { display: none; }
  .rc-window { height: 380px; }
}


/* ── Community Section (Discord) - Raycast Style ── */
.community {
  padding: 200px 0 160px;
  text-align: center;
}

.community-title {
  max-width: 600px;
  margin: 0 auto 48px;
}

.community-title h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.community-title p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.2px;
}

.community-card {
  display: block;
  max-width: 720px;
  margin: 0 auto;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.community-card:hover {
  transform: translateY(-4px);
}

.community-card-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 32px;
  background: linear-gradient(137deg, rgba(17, 18, 20, 0.85) 4.87%, rgba(12, 13, 15, 0.95) 75.88%);
  border: 1px solid var(--card-border);
  border-radius: var(--rounding-md);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.04), 
              0 20px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: border-color 0.3s cubic-bezier(0.25, 0.1, 0.25, 1),
              box-shadow 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.community-card:hover .community-card-inner {
  border-color: rgba(88, 101, 242, 0.4);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.06),
              0 24px 60px rgba(88, 101, 242, 0.15),
              0 0 0 1px rgba(88, 101, 242, 0.2);
}

.community-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--rounding-sm);
  flex-shrink: 0;
}

.discord-icon {
  background: linear-gradient(135deg, #5865f2, #7289da);
  color: white;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.3);
}

.community-content {
  text-align: left;
  min-width: 0;
}

.community-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.community-platform {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
}

.community-members {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.2px;
}

.community-description {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.2px;
}

.community-arrow {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s, transform 0.2s;
}

.community-card:hover .community-arrow {
  color: var(--white);
  transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .community {
    padding: 120px 0 100px;
  }

  .community-card-inner {
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 24px;
  }

  .community-arrow {
    grid-column: 1 / -1;
    justify-content: center;
    margin-top: 8px;
  }

  .community-header {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .community-card-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .community-icon {
    margin: 0 auto;
  }

  .community-content {
    text-align: center;
  }

  .community-header {
    align-items: center;
  }
}
